pyside6 new package

This commit is contained in:
Rmys
2024-04-25 14:16:06 +03:00
parent 2bafa13ece
commit e6a666ef1b
10 changed files with 599 additions and 42 deletions
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
#
# Copyright 2011 TUBITAK/BILGEM
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
def setup():
shelltools.cd("sources/shiboken6")
shelltools.makedirs("build3")
shelltools.cd("build3")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DUSE_PYTHON_VERSION=3", sourceDir="..")
def build():
shelltools.cd("sources/shiboken6/build3")
cmaketools.make()
def install():
shelltools.cd("sources/shiboken6/build3")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())