Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: 2.7.0/Makefile
===================================================================
--- 2.7.0/Makefile	(revision 124)
+++ 2.7.0/Makefile	(revision 125)
@@ -60,6 +60,7 @@
 REQUIRES          += libs/libsoup3/3.4.2
 REQUIRES          += net/ModemManager/1.16.4
 REQUIRES          += X11/libs/libnotify/0.8.2
+REQUIRES          += dev/vala/0.56.6
 
 # ======= __END_OF_REQUIRES__ =======
 
@@ -175,8 +176,8 @@
 endif
 
 
-extra_configure_switches += -Dintrospection=false
-extra_configure_switches += -Dvapi=false
+extra_configure_switches += -Dintrospection=true
+extra_configure_switches += -Dvapi=true
 extra_configure_switches += -Dlibgeoclue=true
 extra_configure_switches += -D3g-source=true
 extra_configure_switches += -Dcdma-source=true
@@ -189,6 +190,12 @@
 extra_configure_switches += -Dgtk-doc=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)
@@ -229,7 +236,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 \
@@ -247,7 +255,10 @@
 	    -Dcpp_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
 	    $(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: 2.7.0/PATCHES
===================================================================
--- 2.7.0/PATCHES	(revision 124)
+++ 2.7.0/PATCHES	(revision 125)
@@ -1,2 +0,0 @@
-
-../../../../sources/packages/x/geoclue/patches/geoclue-2.7.0-disable-introspection.patch -p0