summaryrefslogtreecommitdiffstats
path: root/abs/extra/tablet-encode
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-21 21:08:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-21 21:08:04 (GMT)
commitcc93e7bf2a105982eeaa5d268e92796805483f11 (patch)
treefc6d976c1055756a76d8b79e8ef70f7911708ff0 /abs/extra/tablet-encode
parent14166c817b594c43dddb0883e66f96cb32013643 (diff)
parent616f8b211ed7e269a46930e7bfe04a69b369aed0 (diff)
downloadlinhes_pkgbuild-cc93e7bf2a105982eeaa5d268e92796805483f11.zip
linhes_pkgbuild-cc93e7bf2a105982eeaa5d268e92796805483f11.tar.gz
linhes_pkgbuild-cc93e7bf2a105982eeaa5d268e92796805483f11.tar.bz2
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/tablet-encode')
-rw-r--r--abs/extra/tablet-encode/PKGBUILD7
-rw-r--r--abs/extra/tablet-encode/linhes.diff12
2 files changed, 17 insertions, 2 deletions
diff --git a/abs/extra/tablet-encode/PKGBUILD b/abs/extra/tablet-encode/PKGBUILD
index e547e82..cd4bc9b 100644
--- a/abs/extra/tablet-encode/PKGBUILD
+++ b/abs/extra/tablet-encode/PKGBUILD
@@ -3,18 +3,21 @@
pkgname=tablet-encode
pkgver=2.30
-pkgrel=1
+pkgrel=3
pkgdesc="Transcodes videos for playback on a Nokia Internet Tablet"
arch=('i686' 'x86_64')
license=('ARTISTIC')
depends=(mplayer)
url="http://mediautils.garage.maemo.org/tablet-encode.html"
-source=(https://garage.maemo.org/frs/download.php/6892/tablet-encode-2.30.tar.gz)
+source=(https://garage.maemo.org/frs/download.php/6892/tablet-encode-2.30.tar.gz linhes.diff)
build() {
cd ${srcdir}/$pkgname-$pkgver
+ patch -p1 < ../linhes.diff || return 1
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/doc/tablet-encode
install -D -m755 tablet-encode $startdir/pkg/usr/bin
cp README.txt $startdir/pkg/usr/share/doc/tablet-encode
}
+md5sums=('cc81a2a375724543cf40ea2ed97d3e6a'
+ 'ce525cbdcc1a6e2cf82f51b56c874630')
diff --git a/abs/extra/tablet-encode/linhes.diff b/abs/extra/tablet-encode/linhes.diff
new file mode 100644
index 0000000..5f5c5c7
--- /dev/null
+++ b/abs/extra/tablet-encode/linhes.diff
@@ -0,0 +1,12 @@
+diff -ruaN tablet-encode-2.30.orig//tablet-encode tablet-encode-2.30/tablet-encode
+--- tablet-encode-2.30.orig//tablet-encode 2009-11-07 16:39:06.000000000 +0000
++++ tablet-encode-2.30/tablet-encode 2011-12-18 09:45:28.000000000 +0000
+@@ -31,7 +31,7 @@
+ mplayer => { abitrate => 192, vbitrate => 1200, width => 400, height => 240 },
+ n900 => { abitrate => 192, vbitrate => 2000, width => 800, height => 480 }
+ );
+-$CONFIGURE_FILE = "$ENV{HOME}/.tablet-encode.conf";
++$CONFIGURE_FILE = "/home/mythtv/.tablet-encode.conf";
+
+ our %options = ();
+ Getopt::Long::Configure("bundling");