qt6-quick3d-6.4.2

This commit is contained in:
Rmys
2023-03-17 16:01:04 +03:00
committed by GitHub
parent 0ceb2eefb8
commit 1772286332
2 changed files with 17 additions and 13 deletions
+15 -12
View File
@@ -6,27 +6,30 @@
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt6
from pisi.actionsapi import get
from pisi.actionsapi import get, cmaketools
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()
shelltools.export("CC", "clang")
shelltools.export("CXX", "clang++")
cmaketools.configure("-B build \
-D-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_BUILD_TYPE=Release")
# qt6.configure()
def build():
qt6.make()
cmaketools.make("-C build")
shelltools.system("cmake --build build")
# qt6.make()
def install():
qt6.install()
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
# 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("LICENSES/*")
pisitools.dodoc("../LICENSES/*")
+2 -1
View File
@@ -28,7 +28,7 @@
<Dependency versionFrom="6.4.2">qt6-quicktimeline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">qtquick3d-fix-build-with-gcc11.patch</Patch>
<!-- <Patch level="1">qtquick3d-fix-build-with-gcc11.patch</Patch> -->
</Patches>
</Source>
<Package>
@@ -40,6 +40,7 @@
<Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
<Dependency versionFrom="6.4.2">qt6-quicktimeline</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>zlib</Dependency>
<Dependency versionFrom="3.3.1">assimp</Dependency>
</RuntimeDependencies>
<Files>