summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/gnash-gtk/PKGBUILD
blob: 45ba8049a0b44e0d5513e5523f0ee66430afdd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id: PKGBUILD 17609 2008-10-31 06:16:21Z pierre $

pkgname=gnash-gtk
pkgver=0.8.4
pkgrel=1
pkgdesc='A GNU Flash movie player (gtk)'
arch=('i686' 'x86_64')
url='http://www.gnu.org/software/gnash/'
license=("GPL3")
depends=("gnash-common=$pkgver" 'gtk2' 'gtkglext')
makedepends=('pkgconfig')
source=("http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2")
options=('!libtool' '!emptydirs' '!docs')
md5sums=('b47a7ed4b7c66b8c2ebacc2286ef0d4b')

build() {
	cd $srcdir/gnash-$pkgver

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-gui=gtk \
		--with-plugins-install=system \
		--with-npapi-plugindir=/usr/lib/mozilla/plugins \
		--enable-renderer=ogl \
		--enable-z \
		--enable-jpeg \
		--enable-libpng \
		--enable-gif \
		--enable-fontconfig \
		--enable-Xft \
		--enable-expat \
		--enable-gstreamer \
		--enable-media=gst || return 1

	make || return 1
	make DESTDIR=$pkgdir install install-plugin || return 1
	rm -rf $pkgdir/usr/{lib/gnash,share}
	rm -f $pkgdir/usr/bin/{gnash,gprocessor,dumpshm,soldumper,flvdumper}
	rm -rf $pkgdir/etc
}