summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mplayer-vdpau-nogui
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-16 05:02:52 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-16 05:02:52 (GMT)
commit39c2b31a9bfb656be1c7fba9bc73d297230f6d60 (patch)
tree90406a7c1356ebdd7e48e7ee0322be05a22a8610 /abs/extra-testing/community/mplayer-vdpau-nogui
parentee08c3133373b7a4d14d655e052c3175eaf558fe (diff)
downloadlinhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.zip
linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.gz
linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.bz2
VDPAU!
Diffstat (limited to 'abs/extra-testing/community/mplayer-vdpau-nogui')
-rw-r--r--abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD56
-rw-r--r--abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig55
-rw-r--r--abs/extra-testing/community/mplayer-vdpau-nogui/no_segfault_configure.diff11
3 files changed, 122 insertions, 0 deletions
diff --git a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD
new file mode 100644
index 0000000..0beb3e5
--- /dev/null
+++ b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD
@@ -0,0 +1,56 @@
+#Contributor: Vincent Kriek [Vintendo] <vincent@vincentkriek.nl>
+#Contributor: Reiser <metal@pop3.ru>
+
+pkgname=mplayer-vdpau-nogui
+pkgver=28348
+pkgrel=1
+pkgdesc="Famous multimedia player, dev. version, without its GUI and support for nvidia VDPAU"
+arch=('i686' 'x86_64')
+url="http://www.mplayerhq.hu/"
+license=('GPL')
+depends=('ttf-dejavu' 'nvidia-beta')
+makedepends=('subversion')
+conflicts=('mplayer')
+provides=('mplayer')
+source=('ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3482714.tar.bz2'
+ 'no_segfault_configure.diff')
+md5sums=(60547e0d950c414fe72ede79cf801327
+ ed962f7642ffcf2411ec6465fdc8c132)
+
+build() {
+# if [ "${CFLAGS}" != *"-fpic"* ]; then
+# CFLAGS=$CFLAGS' -fpic'
+# fi
+ unset CFLAGS
+
+ cd $srcdir/mplayer-vdpau-3482714
+
+ co_dir=mplayer-vdpau
+ svn co --ignore-externals -r 28348 svn://svn.mplayerhq.hu/mplayer/trunk ${co_dir}
+ cd ${co_dir}
+ svn co -r 16724 svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc
+ svn co -r 16724 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat
+ svn co -r 16724 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec
+ svn co -r 16724 svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil
+ svn co -r 1166 svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src libdvdread4
+ svn co -r 1166 svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src libdvdnav
+
+ patch -p0 < ../mplayer-vdpau-mplayer.patch
+ patch -p0 < ../mplayer-vdpau-libavcodec.patch
+
+ patch -p1 < ../../no_segfault_configure.diff
+ ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
+ --disable-runtime-cpudetection --enable-largefiles --enable-menu \
+ --disable-libdv --disable-aa --disable-liblzo --disable-speex \
+ --disable-fribidi --disable-arts --disable-smb --disable-dvdnav \
+ --disable-openal --disable-faad-internal --disable-jack \
+ --disable-musepack --disable-libamr_nb --disable-libamr_wb --disable-lirc \
+ --disable-lircc --disable-x264 --disable-x264-lavc --enable-vdpau
+
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+
+ install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
+ install -d $pkgdir/usr/share/mplayer/
+ ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
+}
diff --git a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig
new file mode 100644
index 0000000..d3a381e
--- /dev/null
+++ b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig
@@ -0,0 +1,55 @@
+#Contributor: Vincent Kriek [Vintendo] <vincent@vincentkriek.nl>
+#Contributor: Reiser <metal@pop3.ru>
+
+
+pkgname=mplayer-vdpau-nogui
+pkgver=28348
+pkgrel=2
+pkgdesc="Famous multimedia player, dev. version, without its GUI and support for nvidia VDPAU"
+arch=('i686' 'x86_64')
+url="http://www.mplayerhq.hu/"
+license=('GPL')
+depends=('ttf-dejavu' 'nvidia-beta')
+makedepends=('subversion')
+conflicts=('mplayer')
+provides=('mplayer')
+source=('ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3482714.tar.bz2' 'no_segfault_configure.diff')
+md5sums=(60547e0d950c414fe72ede79cf801327 ed962f7642ffcf2411ec6465fdc8c132)
+
+_ffmpeg_rev=16726
+_dvdnav_rev=1166
+
+build() {
+
+ [ "${CFLAGS}" != *"-fpic"* ] && CFLAGS="${CFLAGS} -fpic"
+
+ cd $srcdir/mplayer-vdpau-3482714
+
+ co_dir=mplayer-vdpau
+ svn co --ignore-externals -r $pkgver svn://svn.mplayerhq.hu/mplayer/trunk ${co_dir}
+ cd ${co_dir}
+ svn co -r $_ffmpeg_rev svn://svn.mplayerhq.hu/ffmpeg/trunk/libpostproc
+ svn co -r $_ffmpeg_rev svn://svn.mplayerhq.hu/ffmpeg/trunk/libavformat
+ svn co -r $_ffmpeg_rev svn://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec
+ svn co -r $_ffmpeg_rev svn://svn.mplayerhq.hu/ffmpeg/trunk/libavutil
+ svn co -r $_dvdnav_rev svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread/src libdvdread4
+ svn co -r $_dvdnav_rev svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav/src libdvdnav
+
+ patch -p0 < ../mplayer-vdpau-mplayer.patch
+ patch -p1 < ../../no_segfault_configure.diff
+
+ ./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
+ --disable-runtime-cpudetection --enable-largefiles --enable-menu \
+ --disable-libdv --disable-aa --disable-liblzo --disable-speex \
+ --disable-fribidi --disable-arts --disable-smb --disable-dvdnav \
+ --disable-openal --disable-faad-internal --disable-jack \
+ --disable-musepack --disable-libamr_nb --disable-libamr_wb --disable-lirc \
+ --disable-lircc --disable-x264 --disable-x264-lavc --enable-vdpau
+
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+
+ install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer
+ install -d $pkgdir/usr/share/mplayer/
+ ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf
+}
diff --git a/abs/extra-testing/community/mplayer-vdpau-nogui/no_segfault_configure.diff b/abs/extra-testing/community/mplayer-vdpau-nogui/no_segfault_configure.diff
new file mode 100644
index 0000000..2dd5fe4
--- /dev/null
+++ b/abs/extra-testing/community/mplayer-vdpau-nogui/no_segfault_configure.diff
@@ -0,0 +1,11 @@
+--- a/configure.old 2008-11-15 23:27:59.000000000 +0100
++++ b/configure 2008-11-15 23:28:26.000000000 +0100
+@@ -79,7 +79,7 @@
+ }
+
+ tmp_run() {
+- "$TMPEXE" >> "$TMPLOG" 2>&1
++ :
+ }
+
+ # Display error message, flushes tempfile, exit