qt6-quick3d-6.4.2
This commit is contained in:
@@ -6,27 +6,30 @@
|
|||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import qt6
|
from pisi.actionsapi import qt6
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get, cmaketools
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.export("CC", "gcc")
|
shelltools.export("CC", "clang")
|
||||||
shelltools.export("CXX", "g++")
|
shelltools.export("CXX", "clang++")
|
||||||
shelltools.export("LDFLAGS", "%s" % get.LDFLAGS())
|
cmaketools.configure("-B build \
|
||||||
# pisitools.cflags.remove("-lto-wrapper")
|
-D-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
|
||||||
# pisitools.cxxflags.remove("-lto-wrapper")
|
-DCMAKE_BUILD_TYPE=Release")
|
||||||
# pisitools.cflags.add(" -ffat-lto-objects")
|
|
||||||
# pisitools.cxxflags.add(" -ffat-lto-objects")
|
# qt6.configure()
|
||||||
qt6.configure()
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
qt6.make()
|
cmaketools.make("-C build")
|
||||||
|
shelltools.system("cmake --build build")
|
||||||
|
# qt6.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
qt6.install()
|
shelltools.cd("build")
|
||||||
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
# qt6.install()
|
||||||
|
|
||||||
#I hope qtchooser will manage this issue
|
#I hope qtchooser will manage this issue
|
||||||
for bin in shelltools.ls("%s/usr/lib/qt6/bin" % get.installDIR()):
|
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.dosym("/usr/lib/qt6/bin/%s" % bin, "/usr/bin/%s-qt6" % bin)
|
||||||
|
|
||||||
pisitools.dodoc("LICENSES/*")
|
pisitools.dodoc("../LICENSES/*")
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<Dependency versionFrom="6.4.2">qt6-quicktimeline-devel</Dependency>
|
<Dependency versionFrom="6.4.2">qt6-quicktimeline-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">qtquick3d-fix-build-with-gcc11.patch</Patch>
|
<!-- <Patch level="1">qtquick3d-fix-build-with-gcc11.patch</Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
@@ -40,6 +40,7 @@
|
|||||||
<Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
|
<Dependency versionFrom="6.4.2">qt6-declarative</Dependency>
|
||||||
<Dependency versionFrom="6.4.2">qt6-quicktimeline</Dependency>
|
<Dependency versionFrom="6.4.2">qt6-quicktimeline</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>zlib</Dependency>
|
||||||
<Dependency versionFrom="3.3.1">assimp</Dependency>
|
<Dependency versionFrom="3.3.1">assimp</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
|
|||||||
Reference in New Issue
Block a user