summaryrefslogtreecommitdiff
path: root/community/lightspark/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lightspark/PKGBUILD')
-rw-r--r--community/lightspark/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/lightspark/PKGBUILD b/community/lightspark/PKGBUILD
index bebe10722..517bbb7bc 100644
--- a/community/lightspark/PKGBUILD
+++ b/community/lightspark/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=lightspark
-pkgver=0.5.1
-pkgrel=2
+pkgver=0.5.2.1
+pkgrel=1
pkgdesc='An alternative Flash Player for Linux.'
arch=('i686' 'x86_64')
url='http://lightspark.sourceforge.net'
@@ -13,10 +13,15 @@ depends=('mesa' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpul
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}.tgz")
-md5sums=('aa0daa22646c2a663ec5045074451d45')
+source=("http://launchpad.net/lightspark/trunk/lightspark-${pkgver}/+download/lightspark-${pkgver}.tar.gz"
+ 'llvm29.diff')
+md5sums=('ac2233a83e8bf0b305563bbce322cd76')
build() {
+ cd lightspark-${pkgver}
+ patch -Np0 -i ${srcdir}/llvm29.diff
+ cd ${srcdir}
+
rm -rf build
mkdir build
cd build
@@ -26,7 +31,7 @@ build() {
-DCOMPILE_PLUGIN=1 \
-DCMAKE_BUILD_TYPE=Release \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
- ..
+ ../lightspark-${pkgver}
make
}
@@ -36,3 +41,5 @@ package() {
make DESTDIR=${pkgdir} install
}
+md5sums=('ac2233a83e8bf0b305563bbce322cd76'
+ '5f717d1d9ead478184ca68f6ac068099')