qt6 new package
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
#NoStrip = "/"
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import qt6
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
# shelltools.system("sed -i 's/python /python3 /' qtdeclarative.pro \
|
||||
# src/3rdparty/masm/masm.pri")
|
||||
#shelltools.system("sed -i 's/python /python3 /' qtdeclarative/src/3rdparty/masm/masm.pri")
|
||||
# shelltools.export("CFLAGS", "CXXFLAGS")
|
||||
qt6.configure("-DQT_FEATURE_system_freetype=ON")
|
||||
|
||||
def build():
|
||||
qt6.make()
|
||||
#qt6.make("docs")
|
||||
|
||||
def install():
|
||||
#pisitools.insinto("/usr/lib/qt6/qml", "qml/QtQml")
|
||||
#pisitools.insinto("/usr/lib/qt6/qml", "qml/Qt")
|
||||
#pisitools.insinto("/usr/lib/qt6/qml", "qml/QtQuick")
|
||||
#pisitools.insinto("/usr/lib/qt6/qml", "qml/QtQuick.2")
|
||||
#pisitools.insinto("/usr/lib/qt6/qml", "qml/QtTest")
|
||||
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.insinto("/usr/share/licenses/qt6-declarative/", "LICENSE*")
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qt6-declarative</Name>
|
||||
<Homepage>http://qt.digia.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<Summary>Classes for QML and JavaScript languages</Summary>
|
||||
<Description>Classes for QML and JavaScript languages</Description>
|
||||
<License>LGPLv2.1-linking-exception</License>
|
||||
<Archive sha1sum="6507c431fb870847fc9ae27d970a25f054eed9ee" type="tarxz">https://download.qt.io/official_releases/qt/6.4/6.4.0/submodules/qtdeclarative-everywhere-src-6.4.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>libxkbcommon-devel</Dependency>
|
||||
<Dependency versionFrom="13.0.4">mesa-devel</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-sql-sqlite</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-languageserver-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">qt_kde.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qt6-declarative</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<!-- <Dependency>libglvnd</Dependency> -->
|
||||
<Dependency versionFrom="6.4.0">qt6-base</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-languageserver</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<!-- <Dependency versionFrom="6.4.0">qt6-xmlpatterns</Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="library">/usr/lib/qt6</Path>
|
||||
<Path fileType="data">/usr/share/licenses</Path>
|
||||
<Path fileType="executable">/usr/lib/qt6/bin</Path>
|
||||
<Path fileType="executable">/usr/bin/</Path>
|
||||
<Path fileType="data">/usr/share/qt6/modules</Path>
|
||||
</Files>
|
||||
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>qt6-declarative-devel</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="header">/usr/include/qt6</Path>
|
||||
</Files>
|
||||
<RuntimeDependencies>
|
||||
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
|
||||
<Dependency release="current">qt6-declarative</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<!--Package>
|
||||
<Name>qt6-declarative-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency versionFrom="6.4.0">qt6-base</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/qt6</Path>
|
||||
</Files>
|
||||
</Package-->
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-10-05</Date>
|
||||
<Version>6.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qt5-declarative</Name>
|
||||
<Summary xml:lang="tr">QML ve JavaScript dilleri için sınıflar</Summary>
|
||||
<Description xml:lang="tr">QML ve JavaScript dilleri için sınıflar</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qt5-declarative-devel</Name>
|
||||
<Summary xml:lang="tr">qt5-declarative için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user