# Template file for 'freshplayerplugin'
pkgname=freshplayerplugin
version=0.3.7
revision=5
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"
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=e4c67ff382aacbdf6ecc45095fa48c582e89ce70f94fe6499e00f7d664d5e05f

nocross="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2815/steps/shell_3/logs/stdio"

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