36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# 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() {
|
||
# don’t test load the ladspa plugin when cross compiling
|
||
sed -i -e "s/\(features='cxx cshlib\) test_loadable/\1/" src/ladspa/wscript
|
||
}
|
||
fi
|
||
|