# Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Jan "heftig" Steffens pkgname=lightspark pkgver=0.4.7.1 pkgrel=2 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' '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") md5sums=('fee5cd52a8a23e858979a8f4ec778266') build() { rm -rf build mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCOMPILE_PLUGIN=1 \ -DCMAKE_BUILD_TYPE=Release \ -DGNASH_EXE_PATH=/usr/bin/gtk-gnash \ ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR=${pkgdir} install }