aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-15 23:53:57 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-28 00:12:38 +0100
commit2740ce1d0b20a24d3440d7058928ff66b705273e (patch)
tree528699bf6e54f0387eb19f492e23254a96ce9502 /kde-frameworks/oxygen-icons
parentkde-frameworks/modemmanager-qt: add 9999 (diff)
downloadkde-2740ce1d0b20a24d3440d7058928ff66b705273e.tar.gz
kde-2740ce1d0b20a24d3440d7058928ff66b705273e.tar.bz2
kde-2740ce1d0b20a24d3440d7058928ff66b705273e.zip
kde-frameworks/oxygen-icons: add 9999
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/oxygen-icons')
-rw-r--r--kde-frameworks/oxygen-icons/oxygen-icons-9999.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-9999.ebuild b/kde-frameworks/oxygen-icons/oxygen-icons-9999.ebuild
new file mode 100644
index 0000000000..ea0675e10b
--- /dev/null
+++ b/kde-frameworks/oxygen-icons/oxygen-icons-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_NAME="oxygen-icons"
+PVCUT=$(ver_cut 1-2)
+QTMIN=6.6.0
+inherit cmake frameworks.kde.org xdg-utils
+
+DESCRIPTION="Oxygen SVG icon theme"
+
+LICENSE="LGPL-3"
+KEYWORDS=""
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( >=dev-qt/qtbase-${QTMIN}:6[test] )"
+RDEPEND="!kde-frameworks/${PN}:5"
+BDEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6
+ >=kde-frameworks/extra-cmake-modules-${PVCUT}:*
+ test? ( app-misc/fdupes )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ use test || cmake_comment_add_subdirectory autotests
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}