summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-12-18 09:48:41 (GMT)
committerCecil <knoppmyth@gmail.com>2011-12-18 09:48:41 (GMT)
commitb0e1f2b031c139e76d26743aaf3de7450a383280 (patch)
treed19ed2f864633170397c6f9ec64841b389bb8e93 /abs
parent8e347fecbc74ed8a3dab9d78546ad9dd9cf2a232 (diff)
downloadlinhes_pkgbuild-b0e1f2b031c139e76d26743aaf3de7450a383280.zip
linhes_pkgbuild-b0e1f2b031c139e76d26743aaf3de7450a383280.tar.gz
linhes_pkgbuild-b0e1f2b031c139e76d26743aaf3de7450a383280.tar.bz2
tablet-encode:Hardcoded location of tablet-encode.conf so tablet-encode can work w/o issue w/ MythExport.
Diffstat (limited to 'abs')
-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");