[SCM] abgate/master: Add patch to pass cflags and cppflags.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Wed Dec 28 15:55:28 UTC 2016
The following commit has been merged in the master branch:
commit 100d3a8cf2cb609ec003458b4ac127550ad2aa68
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Wed Dec 28 16:47:49 2016 +0100
Add patch to pass cflags and cppflags.
diff --git a/debian/patches/0001-lv2core_to_lv2.patch b/debian/patches/0002-flags.patch
similarity index 51%
copy from debian/patches/0001-lv2core_to_lv2.patch
copy to debian/patches/0002-flags.patch
index ffa9172..1dca751 100644
--- a/debian/patches/0001-lv2core_to_lv2.patch
+++ b/debian/patches/0002-flags.patch
@@ -1,24 +1,21 @@
-Description: Port to LV2's new release.
-Author: Alessio Treglia <alessio at debian.org>
-Forwarded: Antanas Bružas <antanas at hippie.lt>
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+Description: Pass clags and cppflags.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
Index: abgate/Makefile
===================================================================
---- abgate.orig/Makefile 2014-02-01 21:48:06.998316241 +0100
-+++ abgate/Makefile 2014-02-01 21:48:06.994316226 +0100
-@@ -13,10 +13,10 @@
+--- abgate.orig/Makefile
++++ abgate/Makefile
+@@ -13,10 +13,10 @@ abGateQt/libabGateQt.so:
cd abGateQt; qmake-qt4; make
gate.so: gate.cpp
-- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
-+ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
+- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
++ g++ $(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 ui.h plugin_configuration.h
-- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
-+ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC 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
+- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC 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
++ 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
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)
diff --git a/debian/patches/series b/debian/patches/series
index e0954f6..c1c837b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-lv2core_to_lv2.patch
+0002-flags.patch
--
abgate packaging
More information about the pkg-multimedia-commits
mailing list