diff options
Diffstat (limited to 'abs/extra-testing/xine-lib')
-rw-r--r-- | abs/extra-testing/xine-lib/ChangeLog | 11 | ||||
-rw-r--r-- | abs/extra-testing/xine-lib/PKGBUILD | 38 | ||||
-rw-r--r-- | abs/extra-testing/xine-lib/xine-header.patch | 11 | ||||
-rw-r--r-- | abs/extra-testing/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch | 13 |
4 files changed, 73 insertions, 0 deletions
diff --git a/abs/extra-testing/xine-lib/ChangeLog b/abs/extra-testing/xine-lib/ChangeLog new file mode 100644 index 0000000..57c843e --- /dev/null +++ b/abs/extra-testing/xine-lib/ChangeLog @@ -0,0 +1,11 @@ +2008-08-14 Eric Belanger <eric@archlinux.org> + + * xine-lib 1.1.15-1 + * Upstream update + +2008-07-28 Eric Belanger <eric@archlinux.org> + + * xine-lib 1.1.14-2 + * Switched to the more recent externel ffmpeg snapshot (close FS#10286) + * Updated win32 codecs directory location (close FS#11011) + * Added ChangeLog diff --git a/abs/extra-testing/xine-lib/PKGBUILD b/abs/extra-testing/xine-lib/PKGBUILD new file mode 100644 index 0000000..de79173 --- /dev/null +++ b/abs/extra-testing/xine-lib/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 10479 2008-08-29 07:46:38Z pierre $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=xine-lib +pkgver=1.1.15 +pkgrel=2 +pkgdesc="A free video player for Unix" +arch=('i686' 'x86_64') +url="http://xinehq.de/" +license=('LGPL' 'GPL') +depends=('libgl' 'libxvmc' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora' + 'libxcb' 'wavpack' 'ffmpeg>=20080715') +makedepends=('pkgconfig' 'libtool' 'automake' 'autoconf' 'imagemagick' + 'smbclient' 'mesa' 'alsa-lib' ) +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2 + xine-lib-1.1.1-configure-no-mcpu-march.patch xine-header.patch) +md5sums=('42a2b4893b7f892eb334de2fc36d49c8' '9776df4eb54d2f1f68d8268adbc3b5c2' + 'b139ee72700f8d118f9051e9140473f5') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np0 -i ../xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1 + patch -p0 -i ../xine-header.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-libflac --with-wavpack \ + --without-arts --without-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 +} diff --git a/abs/extra-testing/xine-lib/xine-header.patch b/abs/extra-testing/xine-lib/xine-header.patch new file mode 100644 index 0000000..a37bfb9 --- /dev/null +++ b/abs/extra-testing/xine-lib/xine-header.patch @@ -0,0 +1,11 @@ +--- src/xine-engine/buffer.h 2008-07-16 23:01:56.000000000 +0200 ++++ src/xine-engine/buffer.h 2008-08-24 21:14:39.000000000 +0200 +@@ -676,7 +676,7 @@ + /* convert xine_waveformatex struct from little endian */ + void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED; + +-static inline _x_is_fourcc(void *ptr, void *tag) { ++static __inline _x_is_fourcc(void *ptr, void *tag) { + return memcmp(ptr, tag, 4) == 0; + } + diff --git a/abs/extra-testing/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch b/abs/extra-testing/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch new file mode 100644 index 0000000..4b6ba9e --- /dev/null +++ b/abs/extra-testing/xine-lib/xine-lib-1.1.1-configure-no-mcpu-march.patch @@ -0,0 +1,13 @@ +--- m4/optimizations.m4.orig 2005-11-27 01:20:08.000000000 +0100 ++++ m4/optimizations.m4 2005-11-27 01:22:56.000000000 +0100 +@@ -161,10 +161,6 @@ + ;; + + esac +- if test x"$archopt_val" != x; then +- CFLAGS="$sarchopt=$archopt_val $CFLAGS" +- DEBUG_CFLAGS="$sarchopt=$archopt_val $DEBUG_CFLAGS" +- fi + fi + else + dnl we have the Intel compiler |