diff options
Diffstat (limited to 'virtual/libudev/libudev-251-r1.ebuild')
-rw-r--r-- | virtual/libudev/libudev-251-r1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/virtual/libudev/libudev-251-r1.ebuild b/virtual/libudev/libudev-251-r1.ebuild new file mode 100644 index 000000000000..7dd9c8abb9b8 --- /dev/null +++ b/virtual/libudev/libudev-251-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build + +DESCRIPTION="Virtual for libudev providers" + +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="eudev +sticky-tags systemd" +REQUIRED_USE=" + ?? ( eudev systemd ) + eudev? ( !sticky-tags ) +" + +# eudev does not provide v251 APIs, see +# https://github.com/eudev-project/eudev/issues/249 +RDEPEND=" + !systemd? ( + eudev? ( sys-fs/eudev[${MULTILIB_USEDEP}] ) + !eudev? ( >=sys-apps/systemd-utils-251[udev,${MULTILIB_USEDEP}] ) + ) + systemd? ( >=sys-apps/systemd-251:0/2[${MULTILIB_USEDEP}] ) +" |