Commit 00c49d0b authored by Neophytos's avatar Neophytos

lightspark update

parent c1655279
#
# Chakra Packages for Chakra, part of chakra-project.org
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
......@@ -8,21 +8,27 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=lightspark
pkgver=0.5.1
pkgver=0.5.2.1
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' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'boost-libs' 'glibmm' 'desktop-file-utils' 'libxml++' 'libxml2')
depends=('mesa' 'ftgl' 'sdl' 'gtk2' 'curl' 'zlib' 'ffmpeg' 'glew' 'pcre' 'libpulse' 'libffi' 'gtkglext' 'boost-libs' 'glibmm' 'desktop-file-utils' 'libxml++' 'libxml2')
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')
install="$pkgname.install"
source=("http://launchpad.net/$pkgname/trunk/$pkgname-${pkgver}/+download/$pkgname-${pkgver}.tar.gz"
'llvm29.diff')
md5sums=('ac2233a83e8bf0b305563bbce322cd76'
'e9efe78b9462d9834a01fe2cb1ef9697')
build() {
cd $pkgname-${pkgver}
patch -Np0 -i ${srcdir}/llvm29.diff
cd ${srcdir}
rm -rf build
mkdir build
cd build
......@@ -32,7 +38,7 @@ build() {
-DCOMPILE_PLUGIN=1 \
-DCMAKE_BUILD_TYPE=Release \
-DGNASH_EXE_PATH=/usr/bin/gtk-gnash \
..
../$pkgname-${pkgver}
make
}
......@@ -41,4 +47,4 @@ package() {
cd build
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
}
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
}
\ No newline at end of file
--- 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)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment