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*")
@@ -0,0 +1,24 @@
diff --git a/src/3rdparty/assimp/src/code/Common/Importer.cpp b/src/3rdparty/assimp/src/code/Common/Importer.cpp
index a2ad041..6f2438f 100644
--- a/src/3rdparty/assimp/src/code/Common/Importer.cpp
+++ b/src/3rdparty/assimp/src/code/Common/Importer.cpp
@@ -46,6 +46,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <assimp/version.h>
#include <assimp/config.h>
#include <assimp/importerdesc.h>
+#include <exception>
// ------------------------------------------------------------------------------------------------
/* Uncomment this line to prevent Assimp from catching unknown exceptions.
diff --git a/src/3rdparty/assimp/src/include/assimp/Importer.hpp b/src/3rdparty/assimp/src/include/assimp/Importer.hpp
index 09b5b68..89eb071 100644
--- a/src/3rdparty/assimp/src/include/assimp/Importer.hpp
+++ b/src/3rdparty/assimp/src/include/assimp/Importer.hpp
@@ -58,6 +58,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Public ASSIMP data structures
#include <assimp/types.h>
+#include <exception>
#include <exception>
File diff suppressed because it is too large Load Diff
+76
View File
@@ -0,0 +1,76 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qt6-quick3d</Name>
<Homepage>http://qt-project.org/</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>custom</License>
<License>FDL</License>
<License>GPL3</License>
<License>LGPL3</License>
<PartOf>desktop</PartOf>
<Summary>Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer</Summary>
<Description>Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer</Description>
<Archive sha1sum="e6015c0df058ab7082d619584a9c894900b20439" type="tarxz">https://download.qt.io/official_releases/qt/6.4/6.4.0/submodules/qtquick3d-everywhere-src-6.4.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>ninja</Dependency>
<Dependency>cmake</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
<Dependency versionFrom="6.4.0">qt6-declarative-devel</Dependency>
<Dependency versionFrom="6.4.0">qt6-shadertools-devel</Dependency>
<Dependency versionFrom="3.3.1">assimp-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">qtquick3d-fix-build-with-gcc11.patch</Patch>
</Patches>
</Source>
<Package>
<Name>qt6-quick3d</Name>
<Summary>Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer</Summary>
<RuntimeDependencies>
<Dependency versionFrom="6.4.0">qt6-base</Dependency>
<Dependency versionFrom="6.4.0">qt6-shadertools</Dependency>
<Dependency versionFrom="6.4.0">qt6-declarative</Dependency>
<Dependency>libgcc</Dependency>
<Dependency versionFrom="3.3.1">assimp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/lib/qt6/bin</Path>
<Path fileType="library">/usr/lib/qt6</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>qt6-quick3d-devel</Name>
<Summary>Development files for qt6-quick3d</Summary>
<RuntimeDependencies>
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
<Dependency versionFrom="6.4.0">qt6-declarative-devel</Dependency>
<Dependency release="current">qt6-quick3d</Dependency>
<Dependency versionFrom="6.4.0">qt6-shadertools-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/qt6</Path>
<Path fileType="config">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-10-06</Date>
<Version>6.4.0</Version>
<Comment>First release</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>