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 ```
33 lines
914 B
Bash
33 lines
914 B
Bash
# Template file for 'artyfx'
|
|
pkgname=artyfx
|
|
version=1.3
|
|
revision=2
|
|
wrksrc=openAV-ArtyFX-release-$version
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="cairo-devel libsndfile-devel lv2"
|
|
short_desc="Plugin bundle of artistic real-time audio effects"
|
|
maintainer="Samadi van Koten <samadi@vktec.org.uk>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://openavproductions.com/artyfx/"
|
|
distfiles="https://github.com/openAVproductions/openAV-ArtyFX/archive/release-$version.tar.gz"
|
|
checksum=a2a8d02b47bea44d0053cd4f8c6411f68a6fe9b9e4348a4139cd9bfd70105c00
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv7*)
|
|
build_options="neon"
|
|
build_options_default="neon"
|
|
if [ "$build_option_neon" ]; then
|
|
CXXFLAGS="-mfpu=neon"
|
|
else
|
|
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1"
|
|
fi
|
|
;;
|
|
armv*)
|
|
CXXFLAGS="-DPFFFT_SIMD_DISABLE=1" ;;
|
|
esac
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
x86_64*|i686*);;
|
|
*) configure_args+=" -DBUILD_SSE=OFF";;
|
|
esac
|