diff options
Diffstat (limited to 'extra/xine-ui/PKGBUILD')
-rw-r--r-- | extra/xine-ui/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/extra/xine-ui/PKGBUILD b/extra/xine-ui/PKGBUILD new file mode 100644 index 000000000..f22c7665c --- /dev/null +++ b/extra/xine-ui/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 118860 2011-04-09 04:40:36Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=xine-ui +pkgver=0.99.6 +pkgrel=2 +pkgdesc="A free video player for Unix" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +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' + 'desktop-file-utils' 'lirc-utils') +makedepends=('libxt') +options=('!emptydirs' '!strip') +install=xine-ui.install +source=(http://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz + lirc-check-a89347673097.patch lirc-makefile-a68dd15ff7ae.patch + fix_lirc.diff xine-ui-xdg.diff) +md5sums=('d468b4e7fe39ff19888261e1da9be914' + '4f06f63f5fd55b08a648e5d63f881898' + '9f5acaf14f3945aa2ce428631d09cd47' + '0174bd096756b9c6f47e9b8b5ff6e145' + '5972b4061acf3b553760de9ae2178d38') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < "${srcdir}/lirc-check-a89347673097.patch" + patch -p1 < "${srcdir}/lirc-makefile-a68dd15ff7ae.patch" + patch -p1 < "${srcdir}/fix_lirc.diff" + patch -p1 < "${srcdir}/xine-ui-xdg.diff" + autoconf + ./configure --prefix=/usr --mandir=/usr/share/man \ + --with-x --enable-lirc --without-aalib --enable-debug + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -d "${pkgdir}/usr/share/applications" + mv "${pkgdir}/usr/share/xine/desktop/xine.desktop" "${pkgdir}/usr/share/applications" +} |