pyside6 rebuild

This commit is contained in:
Rmys
2025-09-15 11:47:48 +03:00
parent 5b8558d92d
commit 5d4241ab52
3 changed files with 25 additions and 0 deletions
@@ -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="..")
@@ -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)
@@ -53,6 +53,9 @@
<Dependency>qt6-webview-devel</Dependency>
<Dependency versionFrom="6.9.2">python3-shiboken6-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>147389_fix-build.patch</Patch>
</Patches>
</Source>
<Package>
@@ -120,6 +123,13 @@
</Package>
<History>
<Update release="7">
<Date>2025-09-15</Date>
<Version>6.9.2</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2025-08-27</Date>
<Version>6.9.2</Version>