This commit is contained in:
Rmys
2025-01-23 09:29:28 +03:00
committed by GitHub
parent e84431cda9
commit d121aebe0c
@@ -1,42 +1,19 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import kde5
from pisi.actionsapi import kde6
from pisi.actionsapi import get
def setup():
# cmaketools.configure("-B build -DBUILD_TESTING=OFF \
# -DBUILD_DESIGNERPLUGIN=ON \
# -DCMAKE_INSTALL_PREFIX=/usr \
# -DCMAKE_INSTALL_LIBDIR=lib \
# -DQT_MAJOR_VERSION=5 \
# -DBUILD_QCH=ON")
cmaketools.configure("-B build6 -DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_DESIGNERPLUGIN=ON \
-DBUILD_WITH_QT5:BOOL=OFF \
-DBUILD_QCH=ON \
-DQT_MAJOR_VERSION=6")
# kde5.configure()
kde6.configure()
def build():
# cmaketools.make("-C build")
cmaketools.make("-C build6")
kde6.make()
def install():
# cmaketools.install("-C build")
kde6.install()
cmaketools.install("-C build6")
pisitools.dodoc("LICENSES/*", "README*")
#pisitools.dodoc("COPYING", "COPYING.BSD", "COPYING.LIB")