summaryrefslogtreecommitdiffstats
path: root/abs/extra/xine-ui/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 03:47:17 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 03:47:17 (GMT)
commitd15fb78ef03a06029a4be89baf458353f3ccbbb0 (patch)
tree9107405152322d312b3356ad17701a091ddd12fa /abs/extra/xine-ui/PKGBUILD
parent01bb9d4076bee6200b34b719cc7f00d0ae5fab43 (diff)
downloadlinhes_pkgbuild-d15fb78ef03a06029a4be89baf458353f3ccbbb0.zip
linhes_pkgbuild-d15fb78ef03a06029a4be89baf458353f3ccbbb0.tar.gz
linhes_pkgbuild-d15fb78ef03a06029a4be89baf458353f3ccbbb0.tar.bz2
xine-ui:bumped to latest.
Diffstat (limited to 'abs/extra/xine-ui/PKGBUILD')
-rw-r--r--abs/extra/xine-ui/PKGBUILD49
1 files changed, 30 insertions, 19 deletions
diff --git a/abs/extra/xine-ui/PKGBUILD b/abs/extra/xine-ui/PKGBUILD
index 79ab3c3..4c5471f 100644
--- a/abs/extra/xine-ui/PKGBUILD
+++ b/abs/extra/xine-ui/PKGBUILD
@@ -1,30 +1,41 @@
-# $Id: PKGBUILD 9858 2008-08-19 23:56:23Z eric $
+# $Id: PKGBUILD 77076 2010-04-10 16:09:26Z andrea $
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=xine-ui
-pkgver=0.99.5
-pkgrel=4
+pkgver=0.99.6
+pkgrel=1
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')
+url="http://www.xine-project.org"
+depends=('xine-lib' 'curl' 'libxtst' 'libxinerama' 'libxv' 'libpng' 'libxft'
+ 'libxxf86vm' 'readline' 'xdg-utils' 'shared-mime-info' 'hicolor-icon-theme'
+ 'lirc-utils')
+makedepends=('libxt')
+options=('!emptydirs' '!strip')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz
+ lirc-check-a89347673097.patch lirc-makefile-a68dd15ff7ae.patch fix_lirc.diff)
+md5sums=('d468b4e7fe39ff19888261e1da9be914'
+ '4f06f63f5fd55b08a648e5d63f881898'
+ '9f5acaf14f3945aa2ce428631d09cd47'
+ '0174bd096756b9c6f47e9b8b5ff6e145')
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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 < "${srcdir}/lirc-check-a89347673097.patch" || return 1
+ patch -p1 < "${srcdir}/lirc-makefile-a68dd15ff7ae.patch" || return 1
+ patch -p1 < "${srcdir}/fix_lirc.diff" || return 1
+ autoconf || return 1
+
./configure --prefix=/usr --mandir=/usr/share/man \
- --with-curses --with-x --enable-lirc --without-aalib
+ --with-x --enable-lirc --without-aalib --enable-debug || return 1
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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+ install -d "${pkgdir}/usr/share/applications"
+ mv "${pkgdir}/usr/share/xine/desktop/xine.desktop" "${pkgdir}/usr/share/applications"
}