From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6BBE515800A for ; Mon, 31 Jul 2023 15:22:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7E56E0C3F; Mon, 31 Jul 2023 15:22:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87EA0E0C3F for ; Mon, 31 Jul 2023 15:22:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C95F33D3C5 for ; Mon, 31 Jul 2023 15:22:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C67A0BEE for ; Mon, 31 Jul 2023 15:22:33 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1690816914.6404b064d63d182da4a8a193533a188cdf832d41.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/libudev/ X-VCS-Repository: repo/gentoo X-VCS-Files: virtual/libudev/libudev-251-r1.ebuild virtual/libudev/libudev-251.ebuild virtual/libudev/metadata.xml X-VCS-Directories: virtual/libudev/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 6404b064d63d182da4a8a193533a188cdf832d41 X-VCS-Branch: master Date: Mon, 31 Jul 2023 15:22:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53272a73-7e09-4cdb-ac57-45beb3eb17e5 X-Archives-Hash: d03e5dd5b2020a672bd1898bf4f53eb7 commit: 6404b064d63d182da4a8a193533a188cdf832d41 Author: Mike Gilbert gentoo org> AuthorDate: Sun Jul 30 18:07:47 2023 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Jul 31 15:21:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6404b064 virtual/libudev: add eudev and sticky-tags USE flags eudev lacks API support for the new libudev functions that differentiate between sticky and current tags on device events. Add a USE flag so we can depend on the new API from libgudev. Signed-off-by: Mike Gilbert gentoo.org> virtual/libudev/{libudev-251.ebuild => libudev-251-r1.ebuild} | 11 +++++++++-- virtual/libudev/metadata.xml | 4 ++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/virtual/libudev/libudev-251.ebuild b/virtual/libudev/libudev-251-r1.ebuild similarity index 67% rename from virtual/libudev/libudev-251.ebuild rename to virtual/libudev/libudev-251-r1.ebuild index c71810b3f0de..7dd9c8abb9b8 100644 --- a/virtual/libudev/libudev-251.ebuild +++ b/virtual/libudev/libudev-251-r1.ebuild @@ -9,11 +9,18 @@ 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" +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? ( >=sys-apps/systemd-utils-251[udev,${MULTILIB_USEDEP}] ) + !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}] ) " diff --git a/virtual/libudev/metadata.xml b/virtual/libudev/metadata.xml index d3d2736bbc51..a77c7ba23870 100644 --- a/virtual/libudev/metadata.xml +++ b/virtual/libudev/metadata.xml @@ -7,5 +7,9 @@ systemd@gentoo.org + + Depend on sys-fs/eudev + Enable API support for sticky tags +