[neon/qt/pyside2/Neon/release] debian: cmake

Carlos De Maine null at kde.org
Fri Jun 23 17:42:31 BST 2023


Git commit 702b68fc5ae0cecff76dc7b25970f34f6ba7b18d by Carlos De Maine.
Committed on 23/06/2023 at 16:42.
Pushed by carlosdem into branch 'Neon/release'.

cmake

M  +4    -4    debian/set-paths

https://invent.kde.org/neon/qt/pyside2/-/commit/702b68fc5ae0cecff76dc7b25970f34f6ba7b18d

diff --git a/debian/set-paths b/debian/set-paths
index 9e334a2..2636d5d 100755
--- a/debian/set-paths
+++ b/debian/set-paths
@@ -13,9 +13,9 @@ for directory in "cmake/Shiboken2-$MAIN_VERSION_UPSTREAM" "pkgconfig"; do
 	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*;
         sed -i "s|\${_IMPORT_PREFIX}/include|\${_IMPORT_PREFIX}/../include|" \
 	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*;
-        sed -i "s|libshiboken2.*\.so|libshiboken2\${PYTHON_CONFIG_SUFFIX}.so|" \
-	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/Shiboken2Targets-*.cmake;
 done
+sed -i "s|libshiboken2.*\.so|libshiboken2\${PYTHON_CONFIG_SUFFIX}.so|" \
+	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/cmake/Shiboken2Targets-*.cmake;
 
 package="libpyside2-dev"
 for directory in "pkgconfig" "cmake/PySide2-$MAIN_VERSION_UPSTREAM"; do
@@ -29,9 +29,9 @@ for directory in "pkgconfig" "cmake/PySide2-$MAIN_VERSION_UPSTREAM"; do
 	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*;
         sed -i "s|\${_IMPORT_PREFIX}/include|\${_IMPORT_PREFIX}/../include|" \
 	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*;
-        sed -i "s|libpyside2.*\.so|libpyside2\${PYTHON_CONFIG_SUFFIX}.so|" \
-	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/PySide2Targets-*.cmake;
 done
+sed -i "s|libpyside2.*\.so|libpyside2\${PYTHON_CONFIG_SUFFIX}.so|" \
+	    debian/$package/usr/lib/$DEB_HOST_MULTIARCH/cmake/PySide2Targets-*.cmake;
 
 # Set correctly the python path for pyside2 (Python3)
 sed -i "s|^set_and_check(PYSIDE_PYTHONPATH.*|set_and_check(PYSIDE_PYTHONPATH \"/usr/lib/python3/dist-packages/PySide2\")|" \


More information about the Neon-commits mailing list