# Template file for 'freshplayerplugin'
pkgname=freshplayerplugin
version=0.3.9
revision=8
build_style=cmake
hostmakedepends="pkg-config ragel"
makedepends="libevent-devel libXcursor-devel alsa-lib-devel libXrandr-devel gtk+-devel
 libvdpau-devel libva-devel ffmpeg-devel v4l-utils-devel libdrm-devel MesaLib-devel"
short_desc="PPAPI2NPAPI compatibility layer for Pepper Flash"
maintainer="Emanuel Serpa <emanuel@openmailbox.org>"
license="MIT"
homepage="https://github.com/i-rinat/freshplayerplugin"
changelog="https://raw.githubusercontent.com/i-rinat/freshplayerplugin/master/ChangeLog"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4fa4fe07e812f6e10784ff984e1389b9b444ca44b84101999c6fad8f55db59d9

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