be5369a0cb
* fpc is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
21 lines
865 B
Bash
21 lines
865 B
Bash
# Template file for 'freshplayerplugin'
|
|
pkgname=freshplayerplugin
|
|
version=0.3.9
|
|
revision=7
|
|
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
|
|
}
|