void-packages/srcpkgs/freshplayerplugin/template

27 lines
1001 B
Bash

# Template file for 'freshplayerplugin'
pkgname=freshplayerplugin
version=0.3.6
revision=4
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=3e2cfda78d836365ce3cafcaa3238a51a90ab86cb0e7e30eb31db9ecacfd115d
nocross="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/2815/steps/shell_3/logs/stdio"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/186/steps/shell_3/logs/stdio";;
esac
do_install() {
vinstall build/libfreshwrapper-flashplayer.so 755 usr/lib/mozilla/plugins
vsconf data/freshwrapper.conf.example
vlicense LICENSE
}