From 6e590f0aabc166792d3a824e5f6886b3f068603a Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 4 Apr 2009 15:32:44 -0500
Subject: xine-lib: post-install to create standard config file in
 ~mythtv/.xine/config removed jack and esound

---
 abs/extra-testing/xine-lib/PKGBUILD    | 12 +++++++-----
 abs/extra-testing/xine-lib/__changelog |  3 +++
 2 files changed, 10 insertions(+), 5 deletions(-)
 create mode 100644 abs/extra-testing/xine-lib/__changelog

diff --git a/abs/extra-testing/xine-lib/PKGBUILD b/abs/extra-testing/xine-lib/PKGBUILD
index 029175f..1cc9e2b 100644
--- a/abs/extra-testing/xine-lib/PKGBUILD
+++ b/abs/extra-testing/xine-lib/PKGBUILD
@@ -4,20 +4,22 @@
 
 pkgname=xine-lib
 pkgver=1.1.16.2
-pkgrel=1
+pkgrel=3
 pkgdesc="A free video player for Unix"
 arch=('i686' 'x86_64')
 url="http://xinehq.de/"
+install=xine.install
 license=('LGPL' 'GPL')
-depends=('libgl' 'libxvmc' 'esound' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora'
+depends=('libgl' 'libxvmc' 'flac>=1.1.4' 'libvorbis' 'sdl' 'libmng' 'libtheora'
          'libxcb' 'wavpack' 'ffmpeg>=20081220' 'heimdal>=1.2.1')
 makedepends=('pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib' 
-             'vcdimager' 'jack-audio-connection-kit')
+             'vcdimager' )
 options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
         xine-lib-1.1.1-configure-no-mcpu-march.patch)
 md5sums=('336dd1f6266e9f943430ca6009b7aa7e' '9776df4eb54d2f1f68d8268adbc3b5c2')
 sha1sums=('faa3d9207d911a535161a3cd5660aa9e6b904c28' '121a8358d7919b2e51067412373f52848290338a')
+optiona=(!emptydir)
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -31,9 +33,9 @@ build() {
   ./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 \
+    --without-arts --without-jack --without-speex \
     --disable-gnomevfs --without-pulseaudio --disable-aalib \
-    --disable-modplug --with-external-ffmpeg || return 1
+    --disable-modplug --with-external-ffmpeg --without-esd || return 1
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
 }
diff --git a/abs/extra-testing/xine-lib/__changelog b/abs/extra-testing/xine-lib/__changelog
new file mode 100644
index 0000000..0f4719d
--- /dev/null
+++ b/abs/extra-testing/xine-lib/__changelog
@@ -0,0 +1,3 @@
+add xine.install
+disable jack
+disable esound
-- 
cgit v0.12