guitarix2: update to 0.38.1, enable lv2

This commit is contained in:
Daniel Eyßer 2019-08-20 16:17:04 +02:00 committed by Helmut Pozimski
parent e939a0b10b
commit b07235a16b
2 changed files with 6 additions and 22 deletions

View file

@ -1,15 +0,0 @@
There is no mallopt in musl.
--- src/gx_head/gui/machine.cpp.orig 2018-07-22 06:24:50.000000000 +0200
+++ src/gx_head/gui/machine.cpp 2018-08-26 09:31:01.815078037 +0200
@@ -44,8 +44,10 @@
long int total_size = 0;
if (mlockall(MCL_CURRENT | MCL_FUTURE))
gx_print_error("system init", "mlockall failed:");
+#ifdef __GLIBC__
mallopt(M_TRIM_THRESHOLD, -1);
mallopt(M_MMAP_MAX, 0);
+#endif
for (unsigned int i = 0; i < sizeof(regions)/sizeof(regions[0]); i++) {
total_size +=regions[i].len;
if (mlock(regions[i].start, regions[i].len) != 0) {

View file

@ -1,15 +1,15 @@
# Template file for 'guitarix2'
pkgname=guitarix2
version=0.37.3
revision=4
version=0.38.1
revision=1
wrksrc="guitarix-${version}"
build_style=waf
configure_args="--cxxflags-release=-DNDEBUG --ladspa --new-ladspa --no-faust --no-lv2
configure_args="--cxxflags-release=-DNDEBUG --ladspa --new-ladspa --no-faust
$(vopt_if avahi '' '--no-avahi') $(vopt_if bluez '' '--no-bluez')"
make_build_args="--progress"
hostmakedepends="gperf intltool pkg-config"
makedepends="boost-devel eigen fftw-devel gtkmm2-devel jack-devel
ladspa-sdk liblrdf-devel libsndfile-devel lilv-devel sratom-devel
ladspa-sdk liblrdf-devel libsndfile-devel lilv-devel lv2 sratom-devel
zita-convolver-devel zita-resampler-devel
$(vopt_if avahi avahi-glib-libs-devel) $(vopt_if bluez libbluetooth-devel)"
depends="desktop-file-utils"
@ -18,7 +18,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://guitarix.org"
distfiles="${SOURCEFORGE_SITE}/guitarix/guitarix/guitarix2-${version}.tar.xz"
checksum=4ca93bd4226cd175456f37612acd28b46e13133db61c0f235917dbcc3347d5f1
checksum=00fda3e1ce1d5f1691665f9ff32bb3c9800381313d49b7c2e25618d0b3ed872f
build_options="avahi bluez"
desc_option_avahi="Build with avahi support"
@ -34,7 +34,6 @@ esac
if [ -n "$CROSS_BUILD" ]; then
post_extract() {
# dont test load the ladspa plugin when cross compiling
sed -i "s/\(features='cxx cshlib\) test_loadable/\1/" src/ladspa/wscript
vsed -i "s/\(features='cxx cshlib\) test_loadable/\1/" src/ladspa/wscript
}
fi