yaml-cpp-0.6.0-1-x86_64
[frugalware-current.git] / source / xlib-extra / gnash / FrugalBuild
1 # Compiling Time: 2.19 SBU
2 # Maintainer: Miklos Vajna <vmiklos@frugalware.org>
3
4 USE_DEVEL=${USE_DEVEL:-"n"}
5
6 pkgname=gnash
7 pkgver=0.8.5
8 Fuse $USE_DEVEL && pkgver=bzr9976
9 pkgrel=2
10 pkgdesc="A GNU Flash movie player."
11 url="http://www.gnu.org/software/gnash/"
12 depends=('sdl_mixer' 'cairo>=1.8.6-3' 'libjpeg' 'libxml2' 'libmad' 'boost' 'agg' 'curl' \
13         'gtkglext>=1.2.0-5' 'libboost-mt>=1.37.0' 'gstreamer' 'libungif')
14 makedepends=('boost')
15 groups=('xlib-extra')
16 archs=('i686' 'x86_64' 'ppc')
17 up2date="lynx -dump http://ftp.gnu.org/pub/gnu/gnash/|grep [0-9]/$|sed -n 's|.*/\(.*\)/$|\1|;$ p'"
18
19 if ! Fuse $USE_DEVEL; then
20         source=(http://ftp.gnu.org/pub/gnu/gnash/$pkgver/gnash-$pkgver.tar.bz2)
21         sha1sums=('26304322728d10dda1a0da2951946d981a507ca6')
22 else
23         _F_scm_type="bzr"
24         _F_scm_url="http://bzr.savannah.gnu.org/r/gnash/trunk"
25         Finclude scm
26 fi
27
28 # test page: http://www.4kids.org/funstuff/music/
29
30 build()
31 {
32         if Fuse $USE_DEVEL; then
33                 export CFLAGS="$CFLAGS -g"
34                 export CXXFLAGS="$CXXFLAGS -g"
35                 options=('nostrip')
36                 Funpack_scm
37                 sh autogen.sh || return 1
38         fi
39         Fmake --enable-mp3 --enable-plugin \
40                 --with-plugindir=/usr/lib/mozilla/plugins --enable-gui=gtk \
41                 --enable-visibility --enable-media=gst
42         Fmakeinstall install-plugin
43 }
44
45 # optimization OK