summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-09-18 00:10:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-09-18 01:06:46 -0400
commitd3145ec09627210f35aee62b3b655c91fc23a8e3 (patch)
treecb718146737bc538c84c734d447080d737e34e7d /gui-apps
parentmedia-gfx/inkscape: fix building tests, fix gtksourceview automagic (diff)
downloadgentoo-d3145ec09627210f35aee62b3b655c91fc23a8e3.tar.gz
gentoo-d3145ec09627210f35aee62b3b655c91fc23a8e3.tar.bz2
gentoo-d3145ec09627210f35aee62b3b655c91fc23a8e3.zip
gui-apps/qt6ct: new package, 0.8_p20230917
see bug #914179 wrt snapshot Closes: https://bugs.gentoo.org/914179 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/qt6ct/Manifest1
-rw-r--r--gui-apps/qt6ct/metadata.xml11
-rw-r--r--gui-apps/qt6ct/qt6ct-0.8_p20230917.ebuild45
3 files changed, 57 insertions, 0 deletions
diff --git a/gui-apps/qt6ct/Manifest b/gui-apps/qt6ct/Manifest
new file mode 100644
index 000000000000..15c82c7d6ab8
--- /dev/null
+++ b/gui-apps/qt6ct/Manifest
@@ -0,0 +1 @@
+DIST qt6ct-0.8_p20230917.tar.gz 159468 BLAKE2B bf7c5446932a5e8152ee7121f8ee679aeacabae3c3be636bef0e6c1d128abfea571971efabb6366a654ea5845cce028ab641d795d6c56963d894a21732b8656b SHA512 751f9f6b2264ef04661b8b3ccdda599dfc0109aa35f60334857d382414872155b4d5b0e3b14cd6130385dfccb945e1547900a30a7cf08d87a0a592839ef05dba
diff --git a/gui-apps/qt6ct/metadata.xml b/gui-apps/qt6ct/metadata.xml
new file mode 100644
index 000000000000..68805024ec91
--- /dev/null
+++ b/gui-apps/qt6ct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">trialuser02/qt6ct</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/gui-apps/qt6ct/qt6ct-0.8_p20230917.ebuild b/gui-apps/qt6ct/qt6ct-0.8_p20230917.ebuild
new file mode 100644
index 000000000000..2018581685c6
--- /dev/null
+++ b/gui-apps/qt6ct/qt6ct-0.8_p20230917.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt6 Configuration Tool"
+HOMEPAGE="https://github.com/trialuser02/qt6ct/"
+#SRC_URI="https://github.com/trialuser02/qt6ct/releases/download/${PV}/${P}.tar.xz"
+
+# temporary snapshot for https://github.com/trialuser02/qt6ct/issues/32
+QT6CT_HASH=f083799f1495dabaeeb482274ee90c73a0a78a43
+SRC_URI="
+ https://github.com/trialuser02/qt6ct/archive/${QT6CT_HASH}.tar.gz
+ -> ${P}.tar.gz
+"
+S=${WORKDIR}/${PN}-${QT6CT_HASH}
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# uses Qt private APIs wrt :=
+DEPEND="dev-qt/qtbase:6=[gui,widgets]"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtsvg:6
+"
+BDEPEND="
+ dev-qt/qtbase:6
+ dev-qt/qttools:6[linguist]
+"
+
+pkg_postinst() {
+ if [[ ! ${REPLACING_VERSIONS} ]]; then
+ elog "Note need to export QT_QPA_PLATFORMTHEME=qt6ct in the used environment"
+ elog "for theming to take effect (not done automatically, may want to set in"
+ elog "the HOME's shell initialization scripts, or use /etc/env.d followed by"
+ elog "running env-update then re-login)."
+ elog
+ elog "If also using x11-misc/qt5ct, =qt5ct is alternatively recognized so it"
+ elog "can be activated for both Qt5 and Qt6 at once."
+ fi
+}