commit:     ebc7b853ca8933824a8e5de8d0e4ef5acaf16d56
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Jan 18 10:26:55 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 10:27:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebc7b853

x11-themes/arc-kde: add optfeatures

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 x11-themes/arc-kde/arc-kde-20220908.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/x11-themes/arc-kde/arc-kde-20220908.ebuild 
b/x11-themes/arc-kde/arc-kde-20220908.ebuild
index 5b9b2a09ca..c51c77cdf0 100644
--- a/x11-themes/arc-kde/arc-kde-20220908.ebuild
+++ b/x11-themes/arc-kde/arc-kde-20220908.ebuild
@@ -1,23 +1,19 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit optfeature
 
 DESCRIPTION="Port of the popular GTK theme Arc for Plasma 5"
 HOMEPAGE="https://github.com/PapirusDevelopmentTeam/arc-kde";
-SRC_URI="https://github.com/PapirusDevelopmentTeam/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI="https://github.com/PapirusDevelopmentTeam/${PN}/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
 LICENSE="GPL-3"
 
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 
 pkg_postinst() {
-       elog ""
-       elog "This theme optionally supports \"x11-themes/kvantum\""
-       elog "See also \"x11-themes/arc-theme\" for gtk support"
-       elog ""
+       optfeature "Kvantum theme engine support" x11-themes/kvantum
+       optfeature "GTK support" x11-themes/arc-theme
 }

Reply via email to