summaryrefslogtreecommitdiff
path: root/x11-themes/kvantum
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-14 00:09:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-14 00:09:04 +0100
commit5e41a38157bb40e8513e8e34426e85faba672fe7 (patch)
tree38e9365afd56c161d0e970ddf5420b2585130587 /x11-themes/kvantum
parent0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (diff)
gentoo auto-resync : 14:06:2024 - 00:09:04
Diffstat (limited to 'x11-themes/kvantum')
-rw-r--r--x11-themes/kvantum/Manifest2
-rw-r--r--x11-themes/kvantum/kvantum-1.1.2.ebuild80
2 files changed, 82 insertions, 0 deletions
diff --git a/x11-themes/kvantum/Manifest b/x11-themes/kvantum/Manifest
index f58bdc4fc5fc..7036c4b09bfa 100644
--- a/x11-themes/kvantum/Manifest
+++ b/x11-themes/kvantum/Manifest
@@ -1,3 +1,5 @@
DIST kvantum-1.0.10.tar.gz 2969117 BLAKE2B f2e9cc954a3a6cf4cac77d1e0b5a455faf95927cb78101113d99bf9a8e3d1875dff248909c1d95af028d5a369b517ad501e298e2c54fbd785d254afd7e30e465 SHA512 fb31f424a16c37eafaaa0a1cdddde165bcaa58ed6ea3ef76e77d689c2b8b47e516a651d066712eaf14b1344e4b30955ce6c955367caf25d51f2aaa2c8970b0fd
+DIST kvantum-1.1.2.tar.gz 3041246 BLAKE2B 7587adb7858fad2e4e3cf953fd4419d8a518d0e4b641afc426bc0c5417b91ff2d174af9c1e6d198d8eb979130f4704fb475bc0a84766957500e8913b6738706d SHA512 71c714df902ac4d7ac707e26842e2227eb7eeddad03af0bbd1ab1fcfa132204a9dd0453eafac3000cd3187dcb4ff03d64f01674c442f5a225e0c9b3652277f0e
EBUILD kvantum-1.0.10.ebuild 1457 BLAKE2B a8a084ea322c639af90ddc8c75904882f6459797b05243341394bd8830eb86304b9495721e7bcd1557b3f7c92567d77e0bca293c551b63e333392dbc6fad063d SHA512 45d71e383c13f423510190073686e7f358bf010e2d9054c4c1d505720822bb1ff19c45dad1a3d08794ba51641132e12b7d72458fc603c49d3c8a3a0c9a46727d
+EBUILD kvantum-1.1.2.ebuild 1659 BLAKE2B 546b76361b59e42f16d135ccf65d7b2d8d1b1108e405a41cb3e1d0f52936ebca93c62632bedfb5abc30ccc8030a0bb90d979d71945e2a18160ab06b224217630 SHA512 0cd86de55e24112fb57ce4f6762053527770b7724ee103b1bd6ba92d780944d90cd1167dfdadf5278a13686d8ad6b21fc2d934014189185d0cac539c1ed2d31f
MISC metadata.xml 247 BLAKE2B b22c4c30b10b7beb7b900d4f482453585e8bc75103a149c7deda453b1d489f0551de50822390507e8c01410c9ce42bad906b58ff240531ed0e3cbe85205e8b1d SHA512 f8b54205044777608007ff35f33b9a5383b69c80f580e899401d355bbb98f3c8a7f7c3e315179f7f6a5e77544d49152d3f1109327f1d65207b4e24085a332d29
diff --git a/x11-themes/kvantum/kvantum-1.1.2.ebuild b/x11-themes/kvantum/kvantum-1.1.2.ebuild
new file mode 100644
index 000000000000..e56f43d71527
--- /dev/null
+++ b/x11-themes/kvantum/kvantum-1.1.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# taken from Kvantum/style/CMakeLists.txt
+QT5MIN="5.15.0"
+QT6MIN="6.2.0"
+KF5MIN="5.82.0"
+
+inherit cmake multibuild 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="kde +qt5 qt6"
+REQUIRED_USE="|| ( qt5 qt6 ) kde? ( qt5 )"
+RESTRICT="test" # no tests
+
+RDEPEND="
+ x11-libs/libX11
+ qt5? (
+ >=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? ( >=kde-frameworks/kwindowsystem-${KF5MIN}:5 )
+ )
+ qt6? (
+ >=dev-qt/qtbase-${QT6MIN}:6[gui,widgets]
+ >=dev-qt/qtsvg-${QT6MIN}:6
+ )
+"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ qt5? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+"
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) )
+}
+
+src_configure() {
+ my_src_configure() {
+ local mycmakeargs=(
+ -DENABLE_QT4=OFF
+ )
+ if [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
+ mycmakeargs+=(
+ -DENABLE_QT5=ON
+ -DWITHOUT_KF=$(usex !kde)
+ )
+ elif [[ ${MULTIBUILD_VARIANT} = qt6 ]]; then
+ mycmakeargs+=(
+ -DENABLE_QT5=OFF
+ -DWITHOUT_KF=ON
+ )
+ fi
+ cmake_src_configure
+ }
+
+ multibuild_foreach_variant my_src_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}