commit:     f246bd98bf7bb9744c0ba2d699d280f8c866efff
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 23:27:57 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 10:19:32 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=f246bd98

kde-frameworks/oxygen-icons: add 6.0.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../oxygen-icons/oxygen-icons-6.0.0.ebuild         | 42 ++++++++++++++++++++++
 profiles/package.mask/kde-frameworks-6.0.0         |  1 +
 2 files changed, 43 insertions(+)

diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-6.0.0.ebuild 
b/kde-frameworks/oxygen-icons/oxygen-icons-6.0.0.ebuild
new file mode 100644
index 0000000000..5205a05fea
--- /dev/null
+++ b/kde-frameworks/oxygen-icons/oxygen-icons-6.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=6.0.0
+QTMIN=6.6.2
+inherit cmake kde.org xdg-utils
+
+DESCRIPTION="Oxygen SVG icon theme"
+HOMEPAGE="https://develop.kde.org/frameworks/oxygen-icons/";
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+       SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-3"
+SLOT="6"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="!kde-frameworks/${PN}:5"
+DEPEND="test? ( >=dev-qt/qtbase-${QTMIN}:6 )"
+BDEPEND="
+       >=kde-frameworks/extra-cmake-modules-${KFMIN}:0
+       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
+}

diff --git a/profiles/package.mask/kde-frameworks-6.0.0 
b/profiles/package.mask/kde-frameworks-6.0.0
index b55af89525..de2c2acf54 100644
--- a/profiles/package.mask/kde-frameworks-6.0.0
+++ b/profiles/package.mask/kde-frameworks-6.0.0
@@ -29,6 +29,7 @@
 ~kde-frameworks/kwindowsystem-6.0.0
 ~kde-frameworks/modemmanager-qt-6.0.0
 ~kde-frameworks/networkmanager-qt-6.0.0
+~kde-frameworks/oxygen-icons-6.0.0
 ~kde-frameworks/prison-6.0.0
 ~kde-frameworks/solid-6.0.0
 ~kde-frameworks/sonnet-6.0.0

Reply via email to