Merge pull request #17272 from Rmys/master

pyside6-6.9.2
This commit is contained in:
Rmys
2025-08-27 21:27:51 +03:00
committed by GitHub
@@ -8,23 +8,26 @@ from pisi.actionsapi import get
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
WorkDir="pyside-setup-everywhere-src-%s/sources/pyside6" % get.srcVERSION()
def setup(): def setup():
shelltools.cd("sources/pyside6") # shelltools.cd("sources/pyside6")
shelltools.makedirs("build2") shelltools.makedirs("build2")
shelltools.cd("build2") shelltools.cd("build2")
cmaketools.configure("-G Ninja -DCMAKE_INSTALL_PREFIX=/usr \ cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \ -DBUILD_TESTS=OFF \
-DPYTHON_EXECUTABLE=/usr/bin/python3", sourceDir="..") -DPYTHON_EXECUTABLE=/usr/bin/python3", sourceDir="..")
def build(): def build():
shelltools.cd("sources/pyside6/build2") shelltools.cd("build2")
shelltools.system("ninja") # shelltools.system("ninja")
# cmaketools.make() cmaketools.make()
def install(): def install():
shelltools.cd("sources/pyside6/build2") shelltools.cd("build2")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) # shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
# cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())