diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-16 05:02:52 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-16 05:02:52 (GMT) |
commit | 39c2b31a9bfb656be1c7fba9bc73d297230f6d60 (patch) | |
tree | 90406a7c1356ebdd7e48e7ee0322be05a22a8610 /abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD | |
parent | ee08c3133373b7a4d14d655e052c3175eaf558fe (diff) | |
download | linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.zip linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.gz linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.bz2 |
VDPAU!
Diffstat (limited to 'abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/mplayer-vdpau-nogui/PKGBUILD | 56 |
1 files changed, 56 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 +} |