abGate: update to 1.1.9. (#457)
This commit is contained in:
parent
47a5c84950
commit
14238da08a
26
srcpkgs/abGate/patches/Makefile.patch
Normal file
26
srcpkgs/abGate/patches/Makefile.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- Makefile 2018-06-27 09:47:49.602920765 +0000
|
||||
+++ - 2018-06-27 09:48:44.684191018 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
cp $^ $(BUNDLE)
|
||||
|
||||
abGateQt/libabGateQt.so:
|
||||
- cd abGateQt; qmake; make
|
||||
+ cd abGateQt; qmake-qt5 QMAKE_CC=$(CC) QMAKE_CXX=$(CXX) QMAKE_LINK=$(CXX); make CC=$(CC) CXX=$(CXX) LINK=$(CXX)
|
||||
|
||||
gate.so: gate.cpp
|
||||
g++ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC -Wl,--as-needed gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
|
||||
--- Makefile 2018-06-27 09:50:25.705750049 +0000
|
||||
+++ - 2018-06-27 09:50:52.610670910 +0000
|
||||
@@ -13,10 +13,10 @@
|
||||
cd abGateQt; qmake-qt5 QMAKE_CC="$(CC)" QMAKE_CXX="$(CXX)" QMAKE_LINK="$(CXX)"; make CC="$(CC)" CXX="$(CXX)" LINK="$(CXX)"
|
||||
|
||||
gate.so: gate.cpp
|
||||
- g++ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC -Wl,--as-needed gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
|
||||
+ $(CXX) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC -Wl,--as-needed gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
|
||||
|
||||
gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h plugin_configuration.h
|
||||
- g++ $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC -Wl,--as-needed gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
|
||||
+ $(CXX) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -g -O3 -shared -fPIC -DPIC -Wl,--as-needed gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
|
||||
|
||||
all: $(BUNDLE)
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
# Template file for 'abGate'
|
||||
pkgname=abGate
|
||||
version=1.1.8
|
||||
version=1.1.9
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="qt-devel gtkmm2-devel lv2"
|
||||
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
||||
makedepends="qt5-devel gtkmm2-devel lv2"
|
||||
depends="lv2"
|
||||
short_desc="LV2 Noise Gate plugin"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="http://abgate.sourceforge.net/"
|
||||
distfiles="https://github.com/antanasbruzas/abGate/archive/v${version}.tar.gz"
|
||||
checksum=6313f60b3e137f68b24ce30612187101c63cbdbe6291361656472380b2b8f797
|
||||
checksum=898b50cce44dffedd82ec0e6d6d043a9d26534fbf07898d099575ea4c1057721
|
||||
|
||||
pre_build() {
|
||||
sed -e 's,qmake-qt4,qmake,g' -i Makefile
|
||||
}
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-devel"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user