7fc9190f0e
* 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 ```
14 lines
574 B
Bash
14 lines
574 B
Bash
# Template file for 'gupnp-tools'
|
|
pkgname=gupnp-tools
|
|
version=0.10.0
|
|
revision=2
|
|
build_style=meson
|
|
hostmakedepends="pkg-config glib-devel gobject-introspection"
|
|
makedepends="gupnp-av-devel gtk+3-devel gtksourceview4-devel
|
|
libxml2-devel libsoup-devel"
|
|
short_desc="Free replacements of Intel UPnP tools that use GUPnP"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://gupnp.org/"
|
|
distfiles="${GNOME_SITE}/gupnp-tools/${version%.*}/gupnp-tools-${version}.tar.xz"
|
|
checksum=41da7ff5ba8e2425adcb64ca5e04c81f57ca20ec6fdb84923939fdad42c6a18d
|