summaryrefslogtreecommitdiff
path: root/pcr/lightspark-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-09 13:44:11 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-09 13:44:11 -0500
commit0e1042d5059cc2d7226b9fcad24846ff2b776e1e (patch)
tree20080e9a24e4eaddb94fb503d1008ee6d94b103e /pcr/lightspark-git
parent1c2dc8bb97b3ff21c82ff72ba48ef441f90028de (diff)
Removing lightspark. Use lightspark-git instead
Diffstat (limited to 'pcr/lightspark-git')
-rw-r--r--pcr/lightspark-git/PKGBUILD46
-rw-r--r--pcr/lightspark-git/lightspark-git.install13
2 files changed, 59 insertions, 0 deletions
diff --git a/pcr/lightspark-git/PKGBUILD b/pcr/lightspark-git/PKGBUILD
new file mode 100644
index 000000000..51d513920
--- /dev/null
+++ b/pcr/lightspark-git/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer (Arch): Daniel Lanadu <daniel+aur@landau.fi>
+# Contributor (Arch): sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+# Contributor (Arch): mmm
+# Contributor (Arch): bslackr <brendan at vastactive dot com>
+# Contributor (Arch): Jan "heftig" Steffens <jan.steffens@gmail.com>
+# Contributor (Arch): Thomas Dziedzic < gostrc at gmail >
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+_pkgname=lightspark
+pkgname=$_pkgname-git
+pkgver=0.7.2.r461.g10b91ea
+pkgrel=1.1
+pkgdesc="An open source flash player implementation"
+arch=('i686' 'x86_64')
+url="http://lightspark.sourceforge.net"
+license=('LGPL3')
+depends=('gtk2' 'boost-libs' 'glew' 'ffmpeg' 'curl' 'desktop-file-utils' 'rtmpdump' 'sdl_mixer' 'glibmm')
+makedepends=('git' 'cmake' 'nasm' 'llvm' 'boost')
+optdepends=('gnash-gtk: Gnash fallback support')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+install=$pkgname.install
+source=("$_pkgname::git+https://github.com/lightspark/lightspark.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long --tags | sed -r 's/^lightspark-//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$_pkgname"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCOMPILE_PLUGIN=1 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
+ -DAUDIO_BACKEND="pulseaudio sdl"
+ make
+}
+
+package() {
+ cd "$_pkgname"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/lightspark-git/lightspark-git.install b/pcr/lightspark-git/lightspark-git.install
new file mode 100644
index 000000000..27ec2eb20
--- /dev/null
+++ b/pcr/lightspark-git/lightspark-git.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+ gtk-update-icon-cache usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}