# Template file for 'lightspark'
pkgname=lightspark
version=0.6.0.1
revision=2
build_style=cmake
configure_args="-DAUDIO_BACKEND=pulse -DENABLE_CURL=1 -DCOMPILE_PLUGIN=1"
depends="hicolor-icon-theme desktop-file-utils"
makedepends="pkg-config cmake nasm pcre-devel>=8.30 libffi-devel libX11-devel
fontconfig-devel boost-devel SDL-devel ffmpeg-devel libcurl-devel gtk+-devel
MesaLib-devel ftgl-devel glew-devel libxml2-devel libxml++-devel glibmm-devel
jpeg-devel pulseaudio-devel llvm-devel librtmp-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
conf_files="/etc/xdg/lightspark.conf"
short_desc="Modern, free, open-source flash player implementation"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lightspark.github.com/"
license="LGPL-3"
distfiles="http://launchpad.net/lightspark/trunk/$pkgname-$version/+download/$pkgname-$version.tar.gz"
checksum=b9d638a45bb274da046e6fd7f7300547ba81c2480ce626158af2fd62312c5b86
long_desc="
 Lightspark features:

  * JIT compilation of Actionscript to native x86 bytecode using LLVM
  * Hardware accelerated rendering using OpenGL Shaders (GLSL)
  * Very good and robust support for current-generation Actionscript 3
  * A new, clean, codebase exploiting multithreading and optimized for modern
    hardware. Designed from scratch after the official Flash documentation was
    released."
