New package: guitarix2-0.36.1

Closes: #9963 [via git-merge-pr]
This commit is contained in:
cr6git 2017-12-13 09:45:09 +01:00 committed by Jürgen Buchmüller
parent 7329b43fa9
commit 52675ca7ec
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# Template file for 'guitarix2'
pkgname=guitarix2
version=0.36.1
revision=1
wrksrc="guitarix-${version}"
build_style=waf
configure_args="--no-faust --no-lv2"
hostmakedepends="python pkg-config intltool gperf"
makedepends="boost-devel gtkmm2-devel liblrdf-devel eigen
libbluetooth-devel zita-convolver-devel zita-resampler-devel jack-devel
libsndfile-devel fftw-devel ladspa-sdk lilv-devel sratom-devel avahi-glib-libs-devel"
depends="desktop-file-utils"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Virtual guitar amplifier running on Jack Audio Connection Kit"
homepage="http://guitarix.org"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/guitarix/guitarix/guitarix2-${version}.tar.xz"
checksum=608d641bebed88691b2f2154606bc99d0785565b6c0e2d7b29c70ac86522a9bc
CFLAGS="-fpermissive"
CXXFLAGS="-fpermissive"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" --disable-sse" ;;
esac
if [ -n "$CROSS_BUILD" ]; then
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/raptor2"
post_extract() {
# dont test load the ladspa plugin when cross compiling
sed -i -e "s/\(features='cxx cshlib\) test_loadable/\1/" src/ladspa/wscript
}
fi