summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/nuvexport
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/nuvexport')
-rw-r--r--abs/core-testing/nuvexport/PKGBUILD31
-rw-r--r--abs/core-testing/nuvexport/nuvexport-ipod-disable.patch12
2 files changed, 43 insertions, 0 deletions
diff --git a/abs/core-testing/nuvexport/PKGBUILD b/abs/core-testing/nuvexport/PKGBUILD
new file mode 100644
index 0000000..e414b1e
--- /dev/null
+++ b/abs/core-testing/nuvexport/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Contributor: Paul Mattal <paul@mattal.com>
+# Maintainer: Paul Mattal <paul@archlinux.org>
+pkgname=nuvexport
+pkgver=20080311
+relnum=0.5
+pkgrel=1
+pkgdesc="Export for MythTV nuv files to other formats (DVD/SVCD/DivX,etc.)"
+arch=(i686 x86_64)
+url="http://forevermore.net/files/nuvexport"
+license=""
+depends=(perl perl-dbi 'ffmpeg>=20060920' perl-dbd-mysql perl-date-manip)
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+install=
+source=(http://forevermore.net/files/nuvexport/$pkgname-$relnum-0.$pkgver.svn.tar.bz2 $pkgname-ipod-disable.patch)
+md5sums=('2d0a99623f06394daf3bf8769536d3cd' 'acd2dad9987e68359ead8b0be5e5797c')
+
+build() {
+ cd $startdir/src/$pkgname-$relnum
+
+ sed -i "s|prefix=/usr/local|prefix=$startdir/pkg/usr|g" Makefile || return 1
+ sed -i "s|/usr/bin/install|/bin/install|g" Makefile || return 1
+ sed -i "s|sysconfdir=/etc|sysconfdir=$startdir/pkg/etc|g" Makefile || return 1
+
+ mkdir $startdir/pkg/usr || return 1
+ make install || return 1
+ sed -i "s|/tmp/fifodir|/var/tmp/fifodir|g" $startdir/pkg/usr/share/nuvexport/export/*.pm || return 1
+}
diff --git a/abs/core-testing/nuvexport/nuvexport-ipod-disable.patch b/abs/core-testing/nuvexport/nuvexport-ipod-disable.patch
new file mode 100644
index 0000000..dfb17a9
--- /dev/null
+++ b/abs/core-testing/nuvexport/nuvexport-ipod-disable.patch
@@ -0,0 +1,12 @@
+diff -urN nuvexport-0.3/nuvexport nuvexport-0.3-fixed/nuvexport
+--- nuvexport-0.3/nuvexport 2006-07-26 03:37:13.000000000 -0400
++++ nuvexport-0.3-fixed/nuvexport 2006-07-27 20:58:41.000000000 -0400
+@@ -93,7 +93,7 @@
+ push @Exporters, export::ffmpeg::ASF->new;
+ push @Exporters, export::ffmpeg::MP3->new;
+ push @Exporters, export::ffmpeg::PSP->new;
+- push @Exporters, export::ffmpeg::iPod->new;
++# push @Exporters, export::ffmpeg::iPod->new;
+ }
+ elsif ($export_prog eq 'mencoder') {
+ push @Exporters, export::mencoder::XviD->new;