* gcc is kept at -Np0, because of void-cross ```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 ```
23 lines
667 B
Bash
23 lines
667 B
Bash
# Template file for 'gavl'
|
|
pkgname=gavl
|
|
version=1.4.0
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="doxygen"
|
|
short_desc="Low level library, upon which multimedia APIs can be built"
|
|
maintainer="Logen K <logen@sudotask.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://gmerlin.sourceforge.net/gavl.html"
|
|
distfiles="${SOURCEFORGE_SITE}/gmerlin/gavl/${version}/gavl-${version}.tar.gz"
|
|
checksum=51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce
|
|
CFLAGS="-lm"
|
|
|
|
gavl-devel_package() {
|
|
depends="gavl>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|