buzztrax/buzztard-0.6.0-core_gir.patch

41 lines
1.8 KiB
Diff

Index: src/lib/core/Makefile.am
===================================================================
--- src/lib/core/Makefile.am.orig
+++ src/lib/core/Makefile.am
@@ -83,13 +83,14 @@ if USE_GIR
gir_sources=$(patsubst %,$(srcdir)/%, $(libbuzztard_core_la_SOURCES))
BuzztardCore-0.0.gir: $(G_IR_SCANNER) libbuzztard-core.la
- -$(AM_V_GEN)$(G_IR_SCANNER) -v \
+ -PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_srcdir)/src/lib/ic/" $(AM_V_GEN)$(G_IR_SCANNER) -v \
--namespace=BuzztardCore \
--nsversion 0.0 \
-I$(builddir)/libbuzztard-core \
-I$(srcdir) \
-I$(srcdir)/libbuzztard_core/ \
-I$(top_srcdir)/src/lib/ic/libbuzztard-ic/ \
+ -I$(top_srcdir)/src/lib/ic/ \
--add-include-path=$(top_srcdir)/src/lib/ic/ \
--identifier-prefix=Bt \
--symbol-prefix=bt \
Index: src/lib/core/Makefile.in
===================================================================
--- src/lib/core/Makefile.in.orig
+++ src/lib/core/Makefile.in
@@ -1278,13 +1278,14 @@ marshal.c: marshal.list
glib-genmarshal --body --prefix=bt_marshal $(srcdir)/marshal.list > marshal.c
@USE_GIR_TRUE@BuzztardCore-0.0.gir: $(G_IR_SCANNER) libbuzztard-core.la
-@USE_GIR_TRUE@ -$(AM_V_GEN)$(G_IR_SCANNER) -v \
+@USE_GIR_TRUE@ -PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_srcdir)/src/lib/ic/" $(AM_V_GEN)$(G_IR_SCANNER) -v \
@USE_GIR_TRUE@ --namespace=BuzztardCore \
@USE_GIR_TRUE@ --nsversion 0.0 \
@USE_GIR_TRUE@ -I$(builddir)/libbuzztard-core \
@USE_GIR_TRUE@ -I$(srcdir) \
@USE_GIR_TRUE@ -I$(srcdir)/libbuzztard_core/ \
@USE_GIR_TRUE@ -I$(top_srcdir)/src/lib/ic/libbuzztard-ic/ \
+@USE_GIR_TRUE@ -I$(top_srcdir)/src/lib/ic/ \
@USE_GIR_TRUE@ --add-include-path=$(top_srcdir)/src/lib/ic/ \
@USE_GIR_TRUE@ --identifier-prefix=Bt \
@USE_GIR_TRUE@ --symbol-prefix=bt \