updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gxine / PKGBUILD
blobe0ec572c55266491b9eba084e91141ddd4281c1d
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
4 pkgname=gxine
5 pkgver=0.5.906
6 pkgrel=1
7 pkgdesc="GTK+ frontend for xine"
8 arch=('i686' 'x86_64')
9 url="http://www.xine-project.org/"
10 license=('GPL')
11 depends=('xine-lib' 'gtk2' 'js' 'udev' 'lirc-utils'
12          'desktop-file-utils' 'hicolor-icon-theme')
13 makedepends=('libxaw')
14 optdepends=('libxaw: Mozilla browser plugin')
15 options=('!libtool')
16 install="$pkgname.install"
17 source=("http://downloads.sourceforge.net/xine/gxine-$pkgver.tar.xz")
18 md5sums=('cb264e34e2fbed0d85ec4de14301c434')
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
23   ./configure --prefix=/usr \
24               --sysconfdir=/etc \
25               --disable-integration-wizard \
26               --with-browser-plugin \
27               --with-logo-format=image \
28               --with-dbus \
29               --with-gudev \
30               --enable-watchdog \
31               --disable-deprecated \
32               --disable-own-playlist-parsers \
33               --enable-mozjs \
34               VENDOR_PKG_VERSION="$pkgver-$pkgrel; Arch Linux"
36   make LDFLAGS="$LDFLAGS -lm"
39 package() {
40   cd "$srcdir/$pkgname-$pkgver"
42   make DESTDIR="$pkgdir/" install
44   # mozilla plugin
45   install -d "$pkgdir/usr/lib/mozilla/plugins"
46   ln -s /usr/lib/gxine/gxineplugin.so \
47     "$pkgdir/usr/lib/mozilla/plugins"