summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-18 23:59:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-18 23:59:57 (GMT)
commit48d7bac6ed97ad6b739752bd2086a3dc2be6458d (patch)
treea28bee690d6d871141d109d131b7caf984038a25
parent84249e85222f40c8b6855d9822f52d273a3d979f (diff)
downloadlinhes_pkgbuild-48d7bac6ed97ad6b739752bd2086a3dc2be6458d.zip
linhes_pkgbuild-48d7bac6ed97ad6b739752bd2086a3dc2be6458d.tar.gz
linhes_pkgbuild-48d7bac6ed97ad6b739752bd2086a3dc2be6458d.tar.bz2
MPlayer should work on all CPUs.
-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
-}