commit:     3c97fa8ee1fe68d3e500b103bf47ae970e06ecce
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  7 03:45:16 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Jun  7 04:08:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c97fa8e

app-misc/arttime: QA Fixes

Fix UnknownUseFlags ('notify') by dropping the USE.
It should be an optfeature anyway.

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 app-misc/arttime/arttime-2.3.4.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-misc/arttime/arttime-2.3.4.ebuild 
b/app-misc/arttime/arttime-2.3.4.ebuild
index 76fac115f9..e751bce164 100644
--- a/app-misc/arttime/arttime-2.3.4.ebuild
+++ b/app-misc/arttime/arttime-2.3.4.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit optfeature
+
 DESCRIPTION="CLI application that blends beauty of ASCII"
 HOMEPAGE="https://github.com/poetaman/arttime";
 SRC_URI="https://github.com/poetaman/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
@@ -10,11 +12,9 @@ 
SRC_URI="https://github.com/poetaman/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="notify"
 
 DEPEND="
        app-shells/zsh
-       notify? ( x11-libs/libnotify )
 "
 RDEPEND="
        ${DEPEND}
@@ -26,7 +26,6 @@ src_prepare() {
        gunzip share/man/man1/artprint.1.gz || die
 }
 
-
 src_install() {
        dobin bin/arttime
        dobin bin/artprint
@@ -41,3 +40,7 @@ src_install() {
 
        dodoc README.md
 }
+
+pkg_postinst() {
+       optfeature "Desktop notifications" x11-libs/libnotify
+}

Reply via email to