PKGBUILDs/extra/xine-lib/PKGBUILD
2009-10-09 21:23:22 -05:00

39 lines
1.6 KiB
Bash

# $Id: PKGBUILD 36147 2009-04-20 03:12:56Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=xine-lib
pkgver=1.1.16.3
pkgrel=3
pkgdesc="A free video player for Unix"
arch=('i686' 'x86_64')
url="http://xinehq.de/"
license=('LGPL' 'GPL')
depends=('libgl' 'libxvmc' 'esound' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora'
'libxcb' 'wavpack' 'ffmpeg>=0.5' 'heimdal>=1.2.1' 'faad2>=2.7')
makedepends=('pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib'
'vcdimager' 'jack-audio-connection-kit')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
xine-lib-1.1.1-configure-no-mcpu-march.patch)
md5sums=('4f508abf088cf427a731f85634c8260d' '9776df4eb54d2f1f68d8268adbc3b5c2')
sha1sums=('64c57c5f55ff37023cc4c3d93d4df3c06950d235' '121a8358d7919b2e51067412373f52848290338a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
libtoolize --force --copy || return 1
aclocal -I m4 || return 1
autoconf || return 1
automake --add-missing || return 1
./configure --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
}