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/xine-lib-vdpau-svn | |
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/xine-lib-vdpau-svn')
-rw-r--r-- | abs/extra-testing/community/xine-lib-vdpau-svn/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/abs/extra-testing/community/xine-lib-vdpau-svn/PKGBUILD b/abs/extra-testing/community/xine-lib-vdpau-svn/PKGBUILD new file mode 100644 index 0000000..c97b160 --- /dev/null +++ b/abs/extra-testing/community/xine-lib-vdpau-svn/PKGBUILD @@ -0,0 +1,48 @@ +# Contributor: Dennis Brendel <buddabrod@gmail.com> + +pkgname=xine-lib-vdpau-svn +pkgver=222 +pkgrel=1 +pkgdesc="A free video player library for Unix with support for vdpau" +arch=('i686' 'x86_64') +url="http://xinehq.de/" +license=('GPL') +depends=('libxvmc' 'esound' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora' 'libxcb' 'wavpack' 'ffmpeg>=20080715' 'heimdal>=1.2.1' 'nvidia-utils>=180.16' 'nvidia>=180.16') +optdepends=('codecs') +makedepends=('subversion' 'pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib' 'vcdimager' 'jack-audio-connection-kit' 'cvs') +conflicts=('xine-lib') +provides=('xine-lib=1.1.4' 'xine-lib') + +_svntrunk=svn://jusst.de/xine-vdpau +_svnmod=xine-vdpau + +build() { + + cd ${srcdir} + + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + unset CFLAGS + + ./autogen.sh --prefix=/usr --with-w32-path=/usr/lib/codecs \ + --with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \ + --with-libflac --with-wavpack --with-xcb \ + --without-arts --with-jack --without-speex \ + --disable-gnomevfs --without-pulseaudio --disable-aalib \ + --disable-modplug --with-external-ffmpeg || return 1 + + make || return 1 + make DESTDIR=$pkgdir install || return 1 + + rm -rf ${srcdir}/${_svnmod}-build +} |