summaryrefslogtreecommitdiff
path: root/community/lightspark
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
committerroot <root@rshg047.dnsready.net>2011-05-09 22:34:00 +0000
commitbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (patch)
treec05f121bc450e6f4528e13b4eef371f3b0d2bc0f /community/lightspark
parentd2f2d3b5c845807249680c275031f94047f9e762 (diff)
Mon May 9 22:34:00 UTC 2011
Diffstat (limited to 'community/lightspark')
-rw-r--r--community/lightspark/PKGBUILD35
1 files changed, 5 insertions, 30 deletions
diff --git a/community/lightspark/PKGBUILD b/community/lightspark/PKGBUILD
index 574f89dbf..95b4ef31e 100644
--- a/community/lightspark/PKGBUILD
+++ b/community/lightspark/PKGBUILD
@@ -3,44 +3,20 @@
pkgname=lightspark
pkgver=0.4.7.1
-pkgrel=1
+pkgrel=2
pkgdesc='An alternative Flash Player for Linux.'
arch=('i686' 'x86_64')
url='http://lightspark.sourceforge.net'
license=('LGPL3')
conflicts=('lightspark-git')
-# add libxml++ back after repos update it
-depends=('mesa' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'boost-libs' 'glibmm' 'gtkglext' 'desktop-file-utils')
-makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'pkgconfig' 'libxml2>=2.7.7' 'fontconfig')
+depends=('mesa' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'boost-libs' 'glibmm' 'gtkglext' 'desktop-file-utils' 'libxml++' 'libxml2')
+makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'pkgconfig' 'fontconfig')
optdepends=('gnash-gtk: fallback support')
install="${pkgname}.install"
-source=("http://launchpad.net/${pkgname}/trunk/${pkgname}-${pkgver:0:5}/+download/${pkgname}-${pkgver}.tar.gz"
- 'http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.33/libxml++-2.33.1.tar.bz2')
-md5sums=('fee5cd52a8a23e858979a8f4ec778266'
- '90919b5a5e92381722ef004898eba343')
+source=("http://launchpad.net/${pkgname}/trunk/${pkgname}-${pkgver:0:5}/+download/${pkgname}-${pkgver}.tar.gz")
+md5sums=('fee5cd52a8a23e858979a8f4ec778266')
build() {
- # statically link against libxml++ 2.33.1 because of constant crashes
- # DIRTEH HACK -- reading below code may cause eye leakage
- export CFLAGS="-fPIC ${CFLAGS}"
- export CXXFLAGS="-fPIC ${CXXFLAGS}"
- # need to add fPIC since liblightspark itself is a shared object
- cd libxml++-2.33.1
- ./configure \
- --prefix=${srcdir}/iamsorry \
- --enable-static \
- --disable-shared \
- --disable-documentation \
- --disable-examples
- make
- make install
-
- export PKG_CONFIG_PATH=${srcdir}/iamsorry/lib/pkgconfig/
-
- cd ${srcdir}
-
- sed -i '213iLINK_DIRECTORIES(${LIBXMLPP_LIB_DIR})' ${srcdir}/${pkgname}-${pkgver}/CMakeLists.txt
-
rm -rf build
mkdir build
cd build
@@ -50,7 +26,6 @@ build() {
-DCOMPILE_PLUGIN=1 \
-DCMAKE_BUILD_TYPE=Release \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
- -DLIBXMLPP_LIB_DIR=${srcdir}/iamsorry/lib \
../${pkgname}-${pkgver}
make