ae69000001
* arduino and antiword 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 ```
25 lines
890 B
Bash
25 lines
890 B
Bash
# Template file for 'attract'
|
|
pkgname=attract
|
|
version=2.6.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="VERBOSE=1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="SFML-devel ffmpeg-devel fontconfig-devel glu-devel libarchive-devel
|
|
libcurl-devel libjpeg-turbo-devel xine-lib rapidjson"
|
|
depends="git"
|
|
short_desc="Attract-Mode is a graphical frontend for emulators"
|
|
maintainer="Pedro Narciso García Revington <p.revington@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://attractmode.org/"
|
|
distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz"
|
|
checksum=4c17641ce0a0b9ff77da5e75f0cb26cc48e4c6295ef57d86a37db18b2bd9fbe9
|
|
|
|
CFLAGS="-std=gnu++11 \
|
|
-I extlibs/audio/include \
|
|
-I extlibs/gameswf \
|
|
-I extlibs/nowide \
|
|
-I extlibs/sqrat/include \
|
|
-I extlibs/squirrel/include \
|
|
-I ${XBPS_CROSS_BASE}/usr/include/freetype2 \
|
|
-I ${XBPS_CROSS_BASE}/usr/include/SFML"
|