summaryrefslogtreecommitdiff
path: root/community-staging/lightspark
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-02 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-02 23:14:55 +0000
commit6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (patch)
tree71f462606f0e719d1e04bd2232763bfe05a68a29 /community-staging/lightspark
parent9343f37ee7ba1aa98f65272412d331a280890e12 (diff)
Wed Nov 2 23:14:55 UTC 2011
Diffstat (limited to 'community-staging/lightspark')
-rw-r--r--community-staging/lightspark/PKGBUILD16
-rw-r--r--community-staging/lightspark/llvm29.diff12
2 files changed, 23 insertions, 5 deletions
diff --git a/community-staging/lightspark/PKGBUILD b/community-staging/lightspark/PKGBUILD
index 32785be10..cff8dd04a 100644
--- a/community-staging/lightspark/PKGBUILD
+++ b/community-staging/lightspark/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=lightspark
-pkgver=0.5.1
-pkgrel=3
+pkgver=0.5.2.1
+pkgrel=2
pkgdesc='An alternative Flash Player for Linux.'
arch=('i686' 'x86_64')
url='http://lightspark.sourceforge.net'
@@ -13,10 +13,16 @@ 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'
+ '5f717d1d9ead478184ca68f6ac068099')
build() {
+ cd lightspark-${pkgver}
+ patch -Np0 -i ${srcdir}/llvm29.diff
+ cd ${srcdir}
+
rm -rf build
mkdir build
cd build
@@ -26,7 +32,7 @@ build() {
-DCOMPILE_PLUGIN=1 \
-DCMAKE_BUILD_TYPE=Release \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
- ..
+ ../lightspark-${pkgver}
make
}
diff --git a/community-staging/lightspark/llvm29.diff b/community-staging/lightspark/llvm29.diff
new file mode 100644
index 000000000..f859852af
--- /dev/null
+++ b/community-staging/lightspark/llvm29.diff
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.old 2011-11-01 22:07:52.475608726 +0000
++++ CMakeLists.txt 2011-11-01 22:08:52.046241925 +0000
+@@ -152,7 +152,8 @@
+ MESSAGE(FATAL_ERROR "LLVM >=2.8 is required!")
+ ENDIF(${LLVM_STRING_VERSION} VERSION_LESS 2.8)
+ IF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.9)
+- MESSAGE(FATAL_ERROR "LLVM !=2.9 is required!")
++ #MESSAGE(FATAL_ERROR "LLVM !=2.9 is required!")
++ ADD_DEFINITIONS(-DLLVM_29)
+ ENDIF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.9)
+ IF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.8)
+ ADD_DEFINITIONS(-DLLVM_28)