summaryrefslogtreecommitdiff
path: root/community-testing/lightspark
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
commit4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (patch)
tree3ea5705a573fd320639395f484fc12335e0a1b88 /community-testing/lightspark
parent54b7119c36756b86ea463649ee972cd6c1ce5863 (diff)
Thu Feb 9 23:14:54 UTC 2012
Diffstat (limited to 'community-testing/lightspark')
-rw-r--r--community-testing/lightspark/PKGBUILD40
-rw-r--r--community-testing/lightspark/lightspark.install13
2 files changed, 53 insertions, 0 deletions
diff --git a/community-testing/lightspark/PKGBUILD b/community-testing/lightspark/PKGBUILD
new file mode 100644
index 000000000..509a1c439
--- /dev/null
+++ b/community-testing/lightspark/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 64083 2012-02-08 23:53:49Z allan $
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=lightspark
+pkgver=0.5.4.1
+pkgrel=1
+pkgdesc='An alternative Flash Player for Linux.'
+arch=('i686' 'x86_64')
+url='http://lightspark.sourceforge.net'
+license=('LGPL3')
+conflicts=('lightspark-git')
+depends=('ftgl' 'ffmpeg' 'glew' 'curl' 'boost-libs' 'gtkglext' 'libxml++' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'fontconfig')
+optdepends=('gnash-gtk: fallback support')
+install="lightspark.install"
+source=(http://launchpad.net/lightspark/trunk/lightspark-${pkgver}/+download/lightspark-${pkgver}.tar.gz{,.asc})
+md5sums=('cf24336e42ad356f1026b7071b110a88'
+ '9bd295cd6d56bfee6370bbaeef034d4c')
+
+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
+}
diff --git a/community-testing/lightspark/lightspark.install b/community-testing/lightspark/lightspark.install
new file mode 100644
index 000000000..75e2b7b55
--- /dev/null
+++ b/community-testing/lightspark/lightspark.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}