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

383 Commits   1 Branch   1 Tag
Index: radix-1.9/X11/libs/qt5/5.15.8/Makefile
===================================================================
--- radix-1.9/X11/libs/qt5/5.15.8/Makefile	(revision 48)
+++ radix-1.9/X11/libs/qt5/5.15.8/Makefile	(revision 49)
@@ -854,6 +854,14 @@
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,$(TARGET_DEST_DIR),,g'         {} \; ; \
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,/usr,$(TARGET_DEST_DIR)/usr,g' {} \; ; \
 	 )
+	# ======= Tune cmake files for development =======
+	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake ; \
+	   for file in `find . -type f -name '*.cmake' -print` ; do \
+	     if grep -q 'lib$(LIBSUFFIX)/qt5/bin/' $${file} ; then \
+	       sed -i 's,lib$(LIBSUFFIX)/qt5/bin/,lib$(LIBSUFFIX)/qt5/bin/$(TARGET)-,g' $${file} ; \
+	     fi ; \
+	   done ; \
+	 )
 	# ======= Strip binaries =======
 	@( cd $(QT5_PKG) ; \
 	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
Index: radix-1.9/X11/libs/qt5/5.15.8-ppc32/Makefile
===================================================================
--- radix-1.9/X11/libs/qt5/5.15.8-ppc32/Makefile	(revision 48)
+++ radix-1.9/X11/libs/qt5/5.15.8-ppc32/Makefile	(revision 49)
@@ -674,6 +674,14 @@
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,$(TARGET_DEST_DIR),,g'         {} \; ; \
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,/usr,$(TARGET_DEST_DIR)/usr,g' {} \; ; \
 	 )
+	# ======= Tune cmake files for development =======
+	@( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/cmake ; \
+	   for file in `find . -type f -name '*.cmake' -print` ; do \
+	     if grep -q 'lib$(MULTILIB_PPC32_SUFFIX)/qt5/bin/' $${file} ; then \
+	       sed -i 's,lib$(MULTILIB_PPC32_SUFFIX)/qt5/bin/,lib$(MULTILIB_PPC32_SUFFIX)/qt5/bin/$(TARGET32)-,g' $${file} ; \
+	     fi ; \
+	   done ; \
+	 )
 	# ======= Strip binaries =======
 	@( cd $(QT5_32_PKG) ; \
 	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
Index: radix-1.9/X11/libs/qt5/5.15.8-x86_32/Makefile
===================================================================
--- radix-1.9/X11/libs/qt5/5.15.8-x86_32/Makefile	(revision 48)
+++ radix-1.9/X11/libs/qt5/5.15.8-x86_32/Makefile	(revision 49)
@@ -671,6 +671,14 @@
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,$(TARGET_DEST_DIR),,g'         {} \; ; \
 	   find . -type f -name 'Qt5*.pc' -exec sed -i 's,/usr,$(TARGET_DEST_DIR)/usr,g' {} \; ; \
 	 )
+	# ======= Tune cmake files for development =======
+	@( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/cmake ; \
+	   for file in `find . -type f -name '*.cmake' -print` ; do \
+	     if grep -q 'lib$(MULTILIB_X86_32_SUFFIX)/qt5/bin/' $${file} ; then \
+	       sed -i 's,lib$(MULTILIB_X86_32_SUFFIX)/qt5/bin/,lib$(MULTILIB_X86_32_SUFFIX)/qt5/bin/$(TARGET32)-,g' $${file} ; \
+	     fi ; \
+	   done ; \
+	 )
 	# ======= Strip binaries =======
 	@( cd $(QT5_32_PKG) ; \
 	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \