b6bcd8cd34
* daemontools and dmraid 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 ```
30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# Template file for 'dvdauthor'
|
|
pkgname=dvdauthor
|
|
version=0.7.2
|
|
revision=4
|
|
wrksrc="${pkgname}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gettext gettext-devel
|
|
libxml2-devel pkg-config"
|
|
makedepends="gettext-devel libpng-devel freetype-devel fribidi-devel
|
|
libxml2-devel libdvdnav-devel"
|
|
short_desc="DVD authoring tools, generate a DVD movie from MPEG2 stream"
|
|
maintainer="Dan Kociela <dkociela@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://dvdauthor.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/dvdauthor/dvdauthor-${version}.tar.gz"
|
|
checksum="3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7"
|
|
|
|
build_options="NTSC PAL"
|
|
build_options_default="PAL"
|
|
desc_option_NTSC="Enable default video format NTSC"
|
|
desc_option_PAL="Enable default video format PAL"
|
|
vopt_conflict NTSC PAL
|
|
|
|
configure_args="--enable-localize-filenames \
|
|
$(vopt_if NTSC '--enable-default-video-format=NTSC' "" ) \
|
|
$(vopt_if PAL '--enable-default-video-format=PAL' "")"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
}
|