1 # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
7 pkgdesc="An alternative Flash Player for Linux - Flash for real. Now."
9 url="http://lightspark.sourceforge.net"
11 depends=(mesa ftgl gtk2 curl zlib ffmpeg glew pcre libffi boost-libs
12 hicolor-icon-theme desktop-file-utils libxml++ rtmpdump)
13 makedepends=(git cmake nasm xulrunner llvm glproto boost fontconfig
15 optdepends=('gnash-gtk: Gnash fallback support'
16 'libpulse: PulseAudio audio backend'
17 'sdl: SDL audio backend')
19 conflicts=(lightspark)
20 install=lightspark.install
21 _gitroot="git://github.com/lightspark/lightspark.git"
27 if [ -d $_gitname ] ; then
28 ( cd $_gitname && git pull ) || warning "Git pull failed!"
30 git clone $_gitroot $_gitname
33 rm -rf $_gitname-build
38 -DCMAKE_INSTALL_PREFIX=/usr \
40 -DCMAKE_BUILD_TYPE=Release \
41 -DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
42 -DAUDIO_BACKEND="pulseaudio sdl" \
49 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir" install