diff options
author | Martin Kolleck <martin.kolleck@gmail.com> | 2024-06-18 18:36:41 +0000 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-19 08:20:35 +0300 |
commit | 78b40eaec64f394ebcf239525b08eddae3a850f1 (patch) | |
tree | 3fcfd1fc657f0389f7eb79169cc1986175afdc08 /app-misc | |
parent | app-misc/blink1: Bump to EAPI=8. (diff) | |
download | gentoo-78b40eaec64f394ebcf239525b08eddae3a850f1.tar.gz gentoo-78b40eaec64f394ebcf239525b08eddae3a850f1.tar.bz2 gentoo-78b40eaec64f394ebcf239525b08eddae3a850f1.zip |
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@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/blink1/blink1-1.98-r2.ebuild | 8 |
1 files 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() { |