ktextaddons

This commit is contained in:
Rmys
2025-01-23 09:26:19 +03:00
committed by GitHub
parent 79753e5f43
commit e84431cda9
@@ -1,19 +1,42 @@
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools 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 kde6
from pisi.actionsapi import get
def setup(): def setup():
kde6.configure() # 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()
def build(): def build():
kde6.make() # cmaketools.make("-C build")
cmaketools.make("-C build6")
def install(): def install():
kde6.install() # cmaketools.install("-C build")
#pisitools.dodoc("COPYING", "COPYING.BSD", "COPYING.LIB") cmaketools.install("-C build6")
pisitools.dodoc("LICENSES/*", "README*")