summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD7
-rw-r--r--abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig55
2 files changed, 4 insertions, 58 deletions
diff --git a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD
index 0beb3e5..83cca13 100644
--- a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD
+++ b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mplayer-vdpau-nogui
pkgver=28348
-pkgrel=1
+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/"
@@ -40,12 +40,13 @@ build() {
patch -p1 < ../../no_segfault_configure.diff
./configure --prefix=/usr --confdir=/etc/mplayer --disable-gui \
- --disable-runtime-cpudetection --enable-largefiles --enable-menu \
+ --enable-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
+ --disable-lircc --disable-x264 --disable-x264-lavc --enable-vdpau \
+ --disable-directfb
make || return 1
make DESTDIR=$pkgdir install || return 1
diff --git a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig b/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig
deleted file mode 100644
index d3a381e..0000000
--- a/abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD.orig
+++ /dev/null
@@ -1,55 +0,0 @@
-#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
-}