kvantum up to 1.0.7 and rebuild qt6.

This commit is contained in:
4fury-c3440d8
2023-02-02 02:43:12 +03:00
parent 0e810c510f
commit 13532cf244
3 changed files with 39 additions and 11 deletions
+8 -4
View File
@@ -4,17 +4,21 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pisitools, qt5, get from pisi.actionsapi import cmaketools, mesontools, pisitools, get
WorkDir = "Kvantum-%s/Kvantum" % get.srcVERSION() WorkDir = "Kvantum-%s/Kvantum" % get.srcVERSION()
def setup(): def setup():
qt5.configure() pisitools.dosed("style/CMakeLists.txt", "Qt5\ Qt6", "Qt6")
cmaketools.configure("-DENABLE_QT5=ON -B_build5 -G Ninja")
cmaketools.configure("-DENABLE_QT5=OFF -B_build6 -G Ninja")
def build(): def build():
qt5.make() mesontools.build("-C _build5")
mesontools.build("-C _build6")
def install(): def install():
qt5.install() mesontools.install("-C _build5")
mesontools.install("-C _build6")
pisitools.dodoc("ChangeLog") pisitools.dodoc("ChangeLog")
+29 -5
View File
@@ -8,13 +8,17 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>GPLv3</License> <License>GPL-3</License>
<IsA>app</IsA> <IsA>app:gui</IsA>
<PartOf>desktop.lookandfeel</PartOf> <PartOf>desktop.lookandfeel</PartOf>
<Summary>Kvantum is an SVG-based theme engine for Qt4/Qt5, KDE and LXQt.</Summary> <Summary>Kvantum is an SVG-based theme engine for Qt4/Qt5, KDE and LXQt.</Summary>
<Description>Kvantum Qt4 / Qt5, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Description> <Description>Kvantum Qt4 / Qt5, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Description>
<Archive sha1sum="e6b8cac417de200cee4103293021fa3e035a82d9" type="tarxz">https://github.com/tsujan/Kvantum/releases/download/V1.0.2/Kvantum-1.0.2.tar.xz</Archive> <Archive sha1sum="8fadff2c8461fafa42725f913cf4af4b67eafc13" type="tarxz">
https://github.com/tsujan/Kvantum/releases/download/V1.0.7/Kvantum-1.0.7.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>libX11-devel</Dependency> <Dependency>libX11-devel</Dependency>
<Dependency>qt5-linguist</Dependency> <Dependency>qt5-linguist</Dependency>
<Dependency>qt5-svg-devel</Dependency> <Dependency>qt5-svg-devel</Dependency>
@@ -24,6 +28,12 @@
<Dependency>kwindowsystem-devel</Dependency> <Dependency>kwindowsystem-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency> <Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-assistant-devel</Dependency> <Dependency>qt5-assistant-devel</Dependency>
<!-- Qt6 -->
<Dependency>qt6-linguist</Dependency>
<Dependency>qt6-svg-devel</Dependency>
<Dependency>qt6-base-devel</Dependency>
<Dependency>qt6-designer-devel</Dependency>
<Dependency>qt6-assistant-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -33,20 +43,34 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>libX11</Dependency> <Dependency>libX11</Dependency>
<Dependency>qt5-svg</Dependency> <Dependency>qt5-svg</Dependency>
<Dependency>qt6-svg</Dependency>
<Dependency>qt5-base</Dependency> <Dependency>qt5-base</Dependency>
<Dependency>qt6-base</Dependency>
<Dependency>kwindowsystem</Dependency> <Dependency>kwindowsystem</Dependency>
<Dependency>qt5-x11extras</Dependency> <Dependency>qt5-x11extras</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin/kvantummanager</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="executable">/usr/bin/kvantumpreview</Path>
<Path fileType="library">/usr/lib/qt5/plugins/styles/libkvantum.so</Path>
<Path fileType="library">/usr/lib/qt6/plugins/styles/libkvantum.so</Path>
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/color-schemes</Path>
<Path fileType="data">/usr/share/Kvantum</Path> <Path fileType="data">/usr/share/Kvantum</Path>
<Path fileType="data">/usr/share/kvantummanager</Path>
<Path fileType="data">/usr/share/kvantumpreview</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="5">
<Date>2023-02-02</Date>
<Version>1.0.7</Version>
<Comment>Version bump and rebuild for Qt6.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2022-06-15</Date> <Date>2022-06-15</Date>
<Version>1.0.2</Version> <Version>1.0.2</Version>
+2 -2
View File
@@ -2,7 +2,7 @@
<PISI> <PISI>
<Source> <Source>
<Name>Kvantum</Name> <Name>Kvantum</Name>
<Summary xml:lang="tr">Kvantum Qt4 / Qt5, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Summary> <Summary xml:lang="tr">Kvantum Qt5 / Qt6, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Summary>
<Description xml:lang="tr">Kvantum Qt4 / Qt5, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Description> <Description xml:lang="tr">Kvantum Qt5 / Qt6, KDE ve LXQt için SVG tabanlı bir tema motorudur.</Description>
</Source> </Source>
</PISI> </PISI>