# Template file for 'freshplayerplugin'

pkgname=freshplayerplugin
version=0.3.1
revision=1
build_style=cmake
makedepends="cairo-devel pango-devel freetype-devel libressl-devel libevent-devel
libXrender-devel libXcursor-devel alsa-lib-devel libconfig-devel libXrandr-devel gtk+-devel libvdpau-devel libva-devel ffmpeg-devel v4l-utils-devel"
hostmakedepends="pkg-config libGL ragel cmake"
short_desc="PPAPI2NPAPI compatibility layer for Pepper Flash"
maintainer="Emanuel Serpa <emanuel@openmailbox.org>"
license="MIT"
homepage="https://github.com/i-rinat/freshplayerplugin"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum="4ed582896fff618d8025dd51bbf2fae0c5e36e2875065acc536b2c76befb593c"

do_install() {
	vinstall build/libfreshwrapper-pepperflash.so 755 usr/lib/mozilla/plugins
	vsconf data/freshwrapper.conf.example
	vlicense LICENSE
}
