summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-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");