From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/blink1/
Date: Wed, 19 Jun 2024 05:20:51 +0000 (UTC) [thread overview]
Message-ID: <1718774435.78b40eaec64f394ebcf239525b08eddae3a850f1.arthurzam@gentoo> (raw)
commit: 78b40eaec64f394ebcf239525b08eddae3a850f1
Author: Martin Kolleck <martin.kolleck <AT> gmail <DOT> com>
AuthorDate: Tue Jun 18 18:36:41 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 05:20:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b40eae
app-misc/blink1: Translate USE flag checks from pkg_setup() to REQUIRED_USE.
Bug: https://bugs.gentoo.org/711348
Signed-off-by: Martin Kolleck <martin.kolleck <AT> gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/blink1/blink1-1.98-r2.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/app-misc/blink1/blink1-1.98-r2.ebuild b/app-misc/blink1/blink1-1.98-r2.ebuild
index a80273962a5d..cdaee39d6c6f 100644
--- a/app-misc/blink1/blink1-1.98-r2.ebuild
+++ b/app-misc/blink1/blink1-1.98-r2.ebuild
@@ -30,6 +30,8 @@ SLOT="0"
LICENSE="CC-BY-SA-3.0"
IUSE="doc examples +tool mini-tool server"
+REQUIRED_USE="|| ( tool mini-tool server )"
+
RDEPEND="dev-libs/hidapi
virtual/libusb:1
virtual/libudev
@@ -43,12 +45,6 @@ pkg_setup() {
linux-info_pkg_setup
CONFIG_CHECK="USB_HID"
check_extra_config
- ## check for acceptable USE flag settings
- if ! ( use tool || use mini-tool || use server ); then
- eerror "At least one of the following USE flags must be enabled:"
- eerror "tool, mini-tool, server"
- die "unacceptable USE flag settings"
- fi
}
src_compile() {
next reply other threads:[~2024-06-19 5:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 5:20 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-19 5:20 [gentoo-commits] repo/gentoo:master commit in: app-misc/blink1/ Arthur Zamarin
2024-06-19 5:20 Arthur Zamarin
2024-06-19 5:20 Arthur Zamarin
2024-06-19 5:20 Arthur Zamarin
2024-06-19 5:20 Arthur Zamarin
2021-05-28 20:12 Sam James
2021-05-28 15:57 David Seifert
2020-01-29 6:14 Joonas Niilola
2017-09-06 21:00 Michał Górny
2016-09-05 11:49 Wolfram Schlich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1718774435.78b40eaec64f394ebcf239525b08eddae3a850f1.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox