void-packages/srcpkgs/guitarix2/template
cr6git 52675ca7ec New package: guitarix2-0.36.1
Closes: #9963 [via git-merge-pr]
2018-01-16 04:34:19 +01:00

35 lines
1.1 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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