summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2023-12-31 16:02:57 +0200
committerSam James <sam@gentoo.org>2024-01-20 12:40:26 +0000
commitd2cfc8a6e4904941e59c7949815be57744c72adb (patch)
tree3b4d27426a9820b03e06fe14da899a6288a18426 /x11-themes
parentx11-misc/xdaliclock: drop 2.44 (diff)
downloadgentoo-d2cfc8a6e4904941e59c7949815be57744c72adb.tar.gz
gentoo-d2cfc8a6e4904941e59c7949815be57744c72adb.tar.bz2
gentoo-d2cfc8a6e4904941e59c7949815be57744c72adb.zip
x11-themes/kvantum: add 1.0.10
Closes: https://bugs.gentoo.org/892878 Closes: https://bugs.gentoo.org/914386 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34580 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/kvantum/Manifest1
-rw-r--r--x11-themes/kvantum/kvantum-1.0.10.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/x11-themes/kvantum/Manifest b/x11-themes/kvantum/Manifest
index ca645e962b05..7bd309f193b6 100644
--- a/x11-themes/kvantum/Manifest
+++ b/x11-themes/kvantum/Manifest
@@ -1 +1,2 @@
+DIST kvantum-1.0.10.tar.gz 2969117 BLAKE2B f2e9cc954a3a6cf4cac77d1e0b5a455faf95927cb78101113d99bf9a8e3d1875dff248909c1d95af028d5a369b517ad501e298e2c54fbd785d254afd7e30e465 SHA512 fb31f424a16c37eafaaa0a1cdddde165bcaa58ed6ea3ef76e77d689c2b8b47e516a651d066712eaf14b1344e4b30955ce6c955367caf25d51f2aaa2c8970b0fd
DIST kvantum-1.0.7.tar.gz 2975088 BLAKE2B 0c2408cc56b40dca5659d39a67bce521ddf72477d855fea10268e44bb40a2498a4f5c09f399626002d79e850962ccd45877cd99fe9cdbb10fb98d19d27b389de SHA512 327a9dfec5725230a59f2ead811c7e7223c3c1ca442caec500ad7b031877d2f323adeffbad034047728bd94570bd03a37eeb650622cce149b84bd6a219e6d1e0
diff --git a/x11-themes/kvantum/kvantum-1.0.10.ebuild b/x11-themes/kvantum/kvantum-1.0.10.ebuild
new file mode 100644
index 000000000000..9c13749cad81
--- /dev/null
+++ b/x11-themes/kvantum/kvantum-1.0.10.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QT5MIN="5.15.0"
+QT6MIN="6.2.0"
+KF5MIN="5.82.0"
+
+inherit cmake xdg
+
+DESCRIPTION="SVG-based theme engine for Qt5, KDE Plasma and LXQt"
+HOMEPAGE="https://github.com/tsujan/Kvantum"
+SRC_URI="https://github.com/tsujan/${PN^}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN^}-${PV}/${PN^}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="qt6"
+
+RESTRICT="test" # no tests
+
+CDEPEND="
+ >=dev-qt/qtcore-${QT5MIN}:5
+ >=dev-qt/qtgui-${QT5MIN}:5
+ >=dev-qt/qtsvg-${QT5MIN}:5
+ >=dev-qt/qtwidgets-${QT5MIN}:5
+ >=dev-qt/qtx11extras-${QT5MIN}:5
+ >=kde-frameworks/kwindowsystem-${KF5MIN}:5
+ x11-libs/libX11
+ qt6? (
+ >=dev-qt/qtbase-${QT6MIN}:6[gui,widgets]
+ >=dev-qt/qtsvg-${QT6MIN}:6
+ )
+"
+DEPEND="
+ ${CDEPEND}
+ x11-base/xorg-proto
+"
+RDEPEND="
+ ${CDEPEND}
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ qt6? ( dev-qt/qttools:6[linguist] )
+"
+
+BUILD_DIR_QT6="${S}_qt6"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_QT4=OFF
+ -DENABLE_QT5=ON
+ -DWITHOUT_KF=OFF
+ )
+ cmake_src_configure
+
+ local mycmakeargs=(
+ -DENABLE_QT4=OFF
+ -DENABLE_QT5=OFF
+ -DWITHOUT_KF=ON
+ )
+ use qt6 && BUILD_DIR="${BUILD_DIR_QT6}" cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use qt6 && BUILD_DIR="${BUILD_DIR_QT6}" cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ use qt6 && BUILD_DIR="${BUILD_DIR_QT6}" cmake_src_install
+
+ einstalldocs
+}