summaryrefslogtreecommitdiff
path: root/community-testing/lightspark/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-01 15:13:07 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-01 15:13:07 -0300
commit11dd742b39ac10b320183f78d2cf81e4680f9a4e (patch)
treed6150b2fd3f3127e1aa88e173e17a4f1ad205f75 /community-testing/lightspark/PKGBUILD
parent1365d8aac05d2f167d0a1678cc291bbec3efff5c (diff)
parentc40a217db5f63be3aa88a32ad77ec93efb40d95c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/mhwaveedit/PKGBUILD extra/apr/PKGBUILD extra/xorg-server/PKGBUILD kde-unstable/calligra/PKGBUILD libre/unarchiver/PKGBUILD
Diffstat (limited to 'community-testing/lightspark/PKGBUILD')
-rw-r--r--community-testing/lightspark/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community-testing/lightspark/PKGBUILD b/community-testing/lightspark/PKGBUILD
new file mode 100644
index 000000000..d583b36bb
--- /dev/null
+++ b/community-testing/lightspark/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=lightspark
+pkgver=0.4.8.1
+pkgrel=2
+pkgdesc='An alternative Flash Player for Linux.'
+arch=('i686' 'x86_64')
+url='http://lightspark.sourceforge.net'
+license=('LGPL3')
+conflicts=('lightspark-git')
+depends=('mesa' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'boost-libs' 'glibmm' 'gtkglext' 'desktop-file-utils' 'libxml++' 'libxml2')
+makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'pkgconfig' 'fontconfig')
+optdepends=('gnash-gtk: fallback support')
+install="lightspark.install"
+source=("http://launchpad.net/lightspark/trunk/lightspark-${pkgver:0:5}/+download/lightspark-${pkgver}.tar.gz")
+md5sums=('296b859ea2b5c126e899e609014f2786')
+
+build() {
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCOMPILE_PLUGIN=1 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
+ ../lightspark-${pkgver}
+
+ make
+}
+
+package() {
+ cd build
+
+ make DESTDIR=${pkgdir} install
+}