add qt6 configuration tool.

This commit is contained in:
4fury-c3440d8
2023-02-02 08:02:11 +03:00
parent 51e1084787
commit 8e055350d3
3 changed files with 87 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/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, mesontools, pisitools
def setup():
cmaketools.configure("-B_build -G Ninja -L")
def build():
mesontools.build("-C _build")
def install():
mesontools.install("-C _build")
pisitools.dodoc("AUTHORS", "ChangeLog")
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe21597..1dd3266 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ ADD_DEFINITIONS(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DUSE_WIDGETS)
find_package(Qt6 COMPONENTS BuildInternals Widgets LinguistTools REQUIRED)
#get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
-get_target_property(QT_LRELEASE_EXECUTABLE Qt6::lrelease IMPORTED_LOCATION)
+set(QT_LRELEASE_EXECUTABLE /usr/lib/qt6/bin/lrelease)
#if(QT_QTPATHS_EXECUTABLE)
# message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE})
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qt6ct</Name>
<Homepage>https://github.com/trialuser02/qt6ct</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>BSD-2-Clause</License>
<IsA>app:gui</IsA>
<PartOf>desktop.toolkit.qt6</PartOf>
<Summary>Qt6 Configuration Tool.</Summary>
<Description>This program allows users to configure Qt6 settings (theme, font, icons, etc.) under DE/WM without Qt integration.</Description>
<Archive sha1sum="b334a82d89a5a3351fe147b68f4da3db53ab434e" type="tarxz">
https://github.com/trialuser02/qt6ct/releases/download/0.7/qt6ct-0.7.tar.xz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>ccache</Dependency>
<Dependency>qt6-linguist</Dependency>
<Dependency>qt6-svg-devel</Dependency>
<Dependency>qt6-base-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level='1'></Patch> -->
<Patch level='1'>alpine/find_lrelease.patch</Patch>
</Patches>
</Source>
<Package>
<Name>qt6ct</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt6-svg</Dependency>
<Dependency>qt6-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/qt6/plugins</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-02-02</Date>
<Version>0.7</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>