# Template file for 'freshplayerplugin'
pkgname=freshplayerplugin
version=0.3.4
revision=1
build_style=cmake
hostmakedepends="pkg-config ragel cmake"
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=6f0009e64c59caa5c674b63eabb709ba8da6c85fc7cd45a1d66392e3a24da9a5

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

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