# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson linux-info DESCRIPTION="Udev-compatible device enrichment daemon for mdevd" HOMEPAGE="https://git.pinkro.se/Rose/gardenhouse/gardendevd.git/about/" if [ ${PV} = 9999 ]; then inherit git-r3 EGIT_REPO_URI="https://git.pinkro.se/Rose/gardenhouse/gardendevd.git" KEYWORDS="" else SRC_URI="https://git.pinkro.se/Rose/gardenhouse/gardendevd.git/snapshot/${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="GPL-3+ LGPL-2+" SLOT="0" IUSE="+dracut mdevd +uaccess +hwdb" DEPEND=" uaccess? ( sys-apps/acl sys-auth/elogind ) " RDEPEND=" ${DEPEND} sys-apps/util-linux mdevd? ( sys-fs/mdevd ) hwdb? ( sys-apps/hwdb ) || ( sys-libs/libudev-zero sys-libs/libudev-garden ) " BDEPEND=" virtual/pkgconfig " RDEPEND+=" !sys-apps/systemd-utils[udev] " pkg_setup() { CONFIG_CHECK="~DEVTMPFS ~NET ~NETLINK_DIAG" linux-info_pkg_setup } src_configure() { local emesonargs=( $(meson_feature uaccess) $(meson_feature mdevd) $(meson_feature dracut) ) meson_src_configure }