adwaita-qt6, qgnomeplatform-qt6 new package

This commit is contained in:
Rmys
2022-10-09 18:08:14 +03:00
parent 3f05b7ee3f
commit a85ddc551f
9 changed files with 313 additions and 24 deletions
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
def setup():
cmaketools.configure("-B build-qt5 \
-DUSE_QT6=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib")
cmaketools.configure("-B build-qt6 \
-DUSE_QT6=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib")
def build():
cmaketools.make("-C build-qt5")
cmaketools.make("-C build-qt6")
def install():
cmaketools.install("-C build-qt5")
cmaketools.install("-C build-qt6")
pisitools.dodoc("LICENSE", "README.md")
@@ -0,0 +1,82 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qgnomeplatform-qt6</Name>
<Homepage>https://github.com/FedoraQt/QGnomePlatform</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>QPlatformTheme for a better Qt6 application inclusion in GNOME</Summary>
<Icon>qgnomeplatform-qt6</Icon>
<Description>QPlatformTheme for a better Qt6 application inclusion in GNOME</Description>
<Archive sha1sum="ee61cde7f6a8e1643d8deff1d2f7af56a348ba55" type="targz">https://github.com/FedoraQt/QGnomePlatform/archive/refs/tags/0.9.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>qt6-base-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
<Dependency>adwaita-qt6-devel</Dependency>
<Dependency>adwaita-qt-devel</Dependency>
<Dependency>qt6-wayland-devel</Dependency>
<Dependency>qt5-wayland-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>qgnomeplatform-qt6.patch</Patch>
<Patch level="1">qgnomeplatform-qt6.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>qgnomeplatform-qt6</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>qt6-base</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>adwaita-qt6</Dependency>
<Dependency>qt6-wayland</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libqgnomeplatform6.so</Path>
<Path fileType="library">/usr/lib/qt6</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>qgnomeplatform-qt5</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>adwaita-qt</Dependency>
<Dependency>qt5-wayland</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libqgnomeplatform.so</Path>
<Path fileType="library">/usr/lib/qt5</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-10-09</Date>
<Version>0.9.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qgnomeplatform-qt6</Name>
<Summary xml:lang="tr">QPlatformTheme for a better Qt6 application inclusion in GNOME</Summary>
<Description xml:lang="tr">QPlatformTheme for a better Qt6 application inclusion in GNOME</Description>
</Source>
</PISI>