diff options
author | root <root@rshg047.dnsready.net> | 2011-07-07 04:59:01 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-07 04:59:01 +0000 |
commit | 75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 (patch) | |
tree | 9bd2c1fbe4c9a0fd5ede1a5667137113d48d2c69 /community-testing/lightspark | |
parent | a135f8563fea25509d9a92db7c03ac3d08230a3f (diff) |
Thu Jul 7 04:59:01 UTC 2011
Diffstat (limited to 'community-testing/lightspark')
-rw-r--r-- | community-testing/lightspark/PKGBUILD | 39 | ||||
-rw-r--r-- | community-testing/lightspark/lightspark.install | 13 |
2 files changed, 52 insertions, 0 deletions
diff --git a/community-testing/lightspark/PKGBUILD b/community-testing/lightspark/PKGBUILD new file mode 100644 index 000000000..4dc7cf4cd --- /dev/null +++ b/community-testing/lightspark/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> + +pkgname=lightspark +pkgver=0.5.0rc1 +pkgrel=1 +pkgdesc='An alternative Flash Player for Linux.' +arch=('i686' 'x86_64') +url='http://lightspark.sourceforge.net' +license=('LGPL3') +conflicts=('lightspark-git') +depends=('mesa' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'boost-libs' 'glibmm' 'gtkglext' 'desktop-file-utils' 'libxml++') +makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost') +optdepends=('gnash-gtk: fallback support') +install="lightspark.install" +source=("http://launchpad.net/lightspark/trunk/lightspark-0.5.0/+download/lightspark-0.5.0~rc1.tar.gz") +md5sums=('bf668cf6178fbbb75a7898bd6c6dd1e5') +_pkgver='0.5.0~rc1' + +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 +} |