qt6 new package

This commit is contained in:
Rmys
2022-10-08 21:29:58 +03:00
parent fce9a4cecb
commit 136b1ff12e
140 changed files with 13061 additions and 38 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt6
from pisi.actionsapi import get
def setup():
shelltools.export("CC", "gcc")
shelltools.export("CXX", "g++")
shelltools.export("LDFLAGS", "%s" % get.LDFLAGS())
# pisitools.cflags.remove("-lto-wrapper")
# pisitools.cxxflags.remove("-lto-wrapper")
# pisitools.cflags.add(" -ffat-lto-objects")
# pisitools.cxxflags.add(" -ffat-lto-objects")
qt6.configure()
def build():
qt6.make()
def install():
qt6.install()
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt6/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt6/bin/%s" % bin, "/usr/bin/%s-qt6" % bin)
pisitools.dodoc("LICENSE.GPL*")