summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/xine-ui/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-28 21:31:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-28 21:31:00 (GMT)
commit088d235213f43978790a0f6864a84b97a4817cf5 (patch)
tree39523a00ccb73600bc30213cd85a57e161705ca9 /abs/extra-testing/xine-ui/PKGBUILD
parentc8eb0fa27c78daf50c995b94f9f72f69b3404387 (diff)
downloadlinhes_pkgbuild-088d235213f43978790a0f6864a84b97a4817cf5.zip
linhes_pkgbuild-088d235213f43978790a0f6864a84b97a4817cf5.tar.gz
linhes_pkgbuild-088d235213f43978790a0f6864a84b97a4817cf5.tar.bz2
update mplayer
add xine various other libs needed by the above
Diffstat (limited to 'abs/extra-testing/xine-ui/PKGBUILD')
-rw-r--r--abs/extra-testing/xine-ui/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra-testing/xine-ui/PKGBUILD b/abs/extra-testing/xine-ui/PKGBUILD
new file mode 100644
index 0000000..79ab3c3
--- /dev/null
+++ b/abs/extra-testing/xine-ui/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 9858 2008-08-19 23:56:23Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
+pkgname=xine-ui
+pkgver=0.99.5
+pkgrel=4
+pkgdesc="A free video player for Unix"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://xinehq.de/"
+depends=('xine-lib' 'curl>=7.16.2' 'libxtst' 'libxinerama' 'libxv' 'libpng' 'libxft' 'libsm' 'libxxf86vm' 'ncurses>=5.6-7')
+makedepends=('lirc' 'libxt')
+optdepends=('lirc')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e643cd1fcad4d98a5ae4eb877ce5087b')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ #add missing constant (defined in xine.h from xine-lib cvs)
+ echo '#define XINE_MSG_AUDIO_OUT_UNAVAILABLE 11' >> src/xitk/common.h
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --with-curses --with-x --enable-lirc --without-aalib
+ make || return 1
+ make DESTDIR=${pkgdir} install
+ install -d ${pkgdir}/usr/share/applications
+ echo "Categories=Application;AudioVideo;" >> ${pkgdir}/usr/share/xine/desktop/xine.desktop
+ mv ${pkgdir}/usr/share/xine/desktop/xine.desktop ${pkgdir}/usr/share/applications
+}