summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/gnash-common/PKGBUILD
blob: 107afb8ac5988f917efc996b25a22c0a0f975f4e (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 17544 2008-10-30 22:40:52Z pierre $

pkgname=gnash-common
pkgver=0.8.4
pkgrel=1
pkgdesc='A GNU Flash movie player'
arch=('i686' 'x86_64')
url='http://www.gnu.org/software/gnash/'
license=('GPL3')
depends=('curl' 'giflib' 'boost' 'libldap' 'gstreamer0.10-base' 'sdl' 'libgl'
         'libjpeg' 'libpng' 'mesa')
makedepends=('pkgconfig')
source=("http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2")
options=('!libtool' '!emptydirs' '!docs')
provides=('gnash')
replaces=('gnash')
md5sums=('b47a7ed4b7c66b8c2ebacc2286ef0d4b')

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

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-plugins \
		--disable-menus \
		--enable-gui=sdl \
		--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 || return 1
}