diff --git a/programming/language/python3/pyside6/actions.py b/programming/language/python3/pyside6/actions.py index 87728bc61a..b09f2006cb 100644 --- a/programming/language/python3/pyside6/actions.py +++ b/programming/language/python3/pyside6/actions.py @@ -18,6 +18,7 @@ def setup(): cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTS=OFF \ + -DSHIBOKEN_PYTHON_LIBRARIES=`pkgconf python3-embed --libs` \ -DPYTHON_EXECUTABLE=/usr/bin/python3", sourceDir="..") diff --git a/programming/language/python3/pyside6/files/147389_fix-build.patch b/programming/language/python3/pyside6/files/147389_fix-build.patch new file mode 100644 index 0000000000..bb3f763ef0 --- /dev/null +++ b/programming/language/python3/pyside6/files/147389_fix-build.patch @@ -0,0 +1,14 @@ +diff --git a/sources/pyside6/qtexampleicons/CMakeLists.txt b/sources/pyside6/qtexampleicons/CMakeLists.txt +index 1562f7b27..58ecc7c17 100644 +--- a/sources/pyside6/qtexampleicons/CMakeLists.txt ++++ b/sources/pyside6/qtexampleicons/CMakeLists.txt +@@ -32,6 +32,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release") + target_compile_definitions(QtExampleIcons PRIVATE "-DNDEBUG") + endif() + ++get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries) ++get_property(SHIBOKEN_PYTHON_INCLUDE_DIRS GLOBAL PROPERTY shiboken_python_include_dirs) ++ + target_include_directories(QtExampleIcons PRIVATE ${SHIBOKEN_PYTHON_INCLUDE_DIRS}) + + get_property(SHIBOKEN_PYTHON_LIBRARIES GLOBAL PROPERTY shiboken_python_libraries) diff --git a/programming/language/python3/pyside6/pspec.xml b/programming/language/python3/pyside6/pspec.xml index d882eca159..f71509ae24 100644 --- a/programming/language/python3/pyside6/pspec.xml +++ b/programming/language/python3/pyside6/pspec.xml @@ -53,6 +53,9 @@ qt6-webview-devel python3-shiboken6-devel + + 147389_fix-build.patch + @@ -120,6 +123,13 @@ + + 2025-09-15 + 6.9.2 + Rebuild. + Pisi Linux Community + admin@pisilinux.org + 2025-08-27 6.9.2