Index: 0.8.2/Makefile
===================================================================
--- 0.8.2/Makefile (revision 124)
+++ 0.8.2/Makefile (revision 125)
@@ -56,6 +56,7 @@
SOURCE_REQUIRES = sources/GNOME/core/libnotify
REQUIRES = X11/libs/gdk-pixbuf2/2.42.9
+REQUIRES += X11/libs/gtk+3/3.24.37
# ======= __END_OF_REQUIRES__ =======
@@ -171,12 +172,18 @@
endif
-extra_configure_switches += -Dintrospection=disabled
+extra_configure_switches += -Dintrospection=enabled
extra_configure_switches += -Dgtk_doc=false
extra_configure_switches += -Ddocbook_docs=disabled
extra_configure_switches += -Dman=false
+PYTHON3_VERSION = 3.10
+
+python_environment = PYTHON=$(PYTHON3)
+python_environment += PYTHONPATH='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gobject-introspection:$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/python$(PYTHON3_VERSION)/lib-dynload'
+
+
TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
@@ -217,7 +224,8 @@
@echo "strip = '$(STRIP)'" >> $(cross_file)
@echo "pkgconfig = 'pkg-config'" >> $(cross_file)
@echo "" >> $(cross_file)
- @meson setup \
+ @$(python_environment) \
+ meson setup \
--prefix=/usr \
--libdir=lib$(LIBSUFFIX) \
--libexecdir=/usr/libexec \
@@ -236,7 +244,10 @@
-Dtests=false \
$(extra_configure_switches) \
--cross-file=$(cross_file) $(SRC_DIR) $(build_dir)
- @cd $(build_dir) && ninja -v
+ @( cd $(build_dir) ; \
+ sed -i '/COMMAND = /s, /usr/bin/g-ir-scanner , $(python_environment) $(TARGET_DEST_DIR)/usr/bin/g-ir-scanner-wrapper ,g' build.ninja ; \
+ )
+ @( cd $(build_dir) ; env -i ninja -v )
@touch $@
$(install_target): $(build_target)
Index: 0.8.2-ppc32/Makefile
===================================================================
--- 0.8.2-ppc32/Makefile (revision 124)
+++ 0.8.2-ppc32/Makefile (revision 125)
@@ -17,6 +17,7 @@
REQUIRES = X11/libs/libnotify/0.8.2
REQUIRES += X11/libs/gdk-pixbuf2/2.42.9-ppc32
+REQUIRES += X11/libs/gtk+3/3.24.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: 0.8.2-x86_32/Makefile
===================================================================
--- 0.8.2-x86_32/Makefile (revision 124)
+++ 0.8.2-x86_32/Makefile (revision 125)
@@ -14,6 +14,7 @@
REQUIRES = X11/libs/libnotify/0.8.2
REQUIRES += X11/libs/gdk-pixbuf2/2.42.9-x86_32
+REQUIRES += X11/libs/gtk+3/3.24.37-x86_32
# ======= __END_OF_REQUIRES__ =======