summaryrefslogtreecommitdiffstats
path: root/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-10-12 14:41:07 +0330
committercoast <coasteen@proton.me>2026-10-12 14:41:07 +0330
commit25922912c7e37f3bc3000e71b647e77677d8f2c5 (patch)
tree8383c5569a668613eee384ee31ea8cddc2113ee5 /packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
downloadexherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.gz
exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.bz2
exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.xz
exherbo-overlay-25922912c7e37f3bc3000e71b647e77677d8f2c5.tar.zst
Diffstat (limited to 'packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0')
-rw-r--r--packages/x11-apps/qt6ct/qt6ct-0.9.exheres-040
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0 b/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
new file mode 100644
index 0000000..2dbea7d
--- /dev/null
+++ b/packages/x11-apps/qt6ct/qt6ct-0.9.exheres-0
@@ -0,0 +1,40 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake
+
+SUMMARY="Qt6 configuration tool for desktops without Qt integration"
+HOMEPAGE="https://www.opencode.net/trialuser/qt6ct/"
+DOWNLOADS="https://www.opencode.net/api/v4/projects/5459/packages/generic/qt6ct/${PV}/${PNV}.tar.xz"
+
+LICENCES="BSD-2"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEPENDENCIES="
+ build:
+ x11-libs/qttools:6[linguist]
+
+ build+run:
+ x11-libs/qtbase:6[gui]
+
+ run:
+ x11-libs/qtsvg:6
+"
+
+DEFAULT_SRC_PREPARE_PATCHES=(
+ "${FILES}/${PNV}-qt-6.10.patch"
+)
+
+src_install() {
+ cmake_src_install
+
+ hereenvd 98${PN} <<EOF
+QT_QPA_PLATFORMTHEME=qt5ct
+EOF
+}
+
+pkg_postinst() {
+ einfo "QT_QPA_PLATFORMTHEME=qt5ct enables qt6ct after re-login."
+ einfo "Avoid qt6ct on desktops with their own Qt integration, such as Plasma."
+}