diff --git a/desktop/toolkit/qt6/qt6ct/actions.py b/desktop/toolkit/qt6/qt6ct/actions.py new file mode 100644 index 0000000000..43f32a427e --- /dev/null +++ b/desktop/toolkit/qt6/qt6ct/actions.py @@ -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") diff --git a/desktop/toolkit/qt6/qt6ct/files/alpine/find_lrelease.patch b/desktop/toolkit/qt6/qt6ct/files/alpine/find_lrelease.patch new file mode 100644 index 0000000000..9e823adcb3 --- /dev/null +++ b/desktop/toolkit/qt6/qt6ct/files/alpine/find_lrelease.patch @@ -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}) diff --git a/desktop/toolkit/qt6/qt6ct/pspec.xml b/desktop/toolkit/qt6/qt6ct/pspec.xml new file mode 100644 index 0000000000..43d42854f0 --- /dev/null +++ b/desktop/toolkit/qt6/qt6ct/pspec.xml @@ -0,0 +1,56 @@ + + + + + qt6ct + https://github.com/trialuser02/qt6ct + + fury + uglyside@yandex.ru + + BSD-2-Clause + app:gui + desktop.toolkit.qt6 + Qt6 Configuration Tool. + This program allows users to configure Qt6 settings (theme, font, icons, etc.) under DE/WM without Qt integration. + + https://github.com/trialuser02/qt6ct/releases/download/0.7/qt6ct-0.7.tar.xz + + + cmake + ninja + ccache + qt6-linguist + qt6-svg-devel + qt6-base-devel + + + + alpine/find_lrelease.patch + + + + + qt6ct + + libgcc + qt6-svg + qt6-base + + + /usr/bin + /usr/lib/qt6/plugins + /usr/share + + + + + + 2023-02-02 + 0.7 + First build. + fury + uglyside@yandex.ru + + +