summaryrefslogtreecommitdiff
path: root/virtual/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/libudev')
-rw-r--r--virtual/libudev/libudev-314.1337-r1.ebuild19
-rw-r--r--virtual/libudev/libudev-314.1337.ebuild19
2 files changed, 19 insertions, 19 deletions
diff --git a/virtual/libudev/libudev-314.1337-r1.ebuild b/virtual/libudev/libudev-314.1337-r1.ebuild
new file mode 100644
index 00000000..feae96ea
--- /dev/null
+++ b/virtual/libudev/libudev-314.1337-r1.ebuild
@@ -0,0 +1,19 @@
+# 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="systemd"
+
+# eudev does not provide v251 APIs, see
+# https://github.com/eudev-project/eudev/issues/249
+RDEPEND="
+ !systemd? ( >=sys-apps/systemd-utils-251[udev,${MULTILIB_USEDEP}] )
+ systemd? ( >=sys-apps/systemd-251:0/2[${MULTILIB_USEDEP}] )
+"
diff --git a/virtual/libudev/libudev-314.1337.ebuild b/virtual/libudev/libudev-314.1337.ebuild
deleted file mode 100644
index 9e940592..00000000
--- a/virtual/libudev/libudev-314.1337.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-build
-
-DESCRIPTION="Virtual for libudev providers"
-
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="static-libs systemd"
-
-RDEPEND="
- !systemd? ( || (
- >=sys-fs/udev-232:0/0[${MULTILIB_USEDEP},static-libs(-)?]
- ) )
- systemd? ( >=sys-apps/systemd-232:0/2[${MULTILIB_USEDEP},static-libs(-)?] )
-"