diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-24 20:54:40 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-28 14:54:09 -0500 |
commit | 7cd8b5ff80da9162861e528df29eceaddc282110 (patch) | |
tree | 3260c066ff0ef47898e074e0dc6593d6252edc99 /sys-fs/udev | |
parent | sys-apps/systemd: install bundled hwdb data (diff) | |
download | gentoo-7cd8b5ff80da9162861e528df29eceaddc282110.tar.gz gentoo-7cd8b5ff80da9162861e528df29eceaddc282110.tar.bz2 gentoo-7cd8b5ff80da9162861e528df29eceaddc282110.zip |
sys-fs/udev: install bundled hwdb data
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/udev')
-rw-r--r-- | sys-fs/udev/udev-249.6-r1.ebuild (renamed from sys-fs/udev/udev-249.6.ebuild) | 11 | ||||
-rw-r--r-- | sys-fs/udev/udev-9999.ebuild | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/sys-fs/udev/udev-249.6.ebuild b/sys-fs/udev/udev-249.6-r1.ebuild index b42753db0add..cc70f84d4598 100644 --- a/sys-fs/udev/udev-249.6.ebuild +++ b/sys-fs/udev/udev-249.6-r1.ebuild @@ -83,9 +83,11 @@ RDEPEND="${COMMON_DEPEND} acct-group/video !sys-apps/gentoo-systemd-integration !sys-apps/systemd + !sys-apps/hwids[udev] +" +PDEPEND=" + >=sys-fs/udev-init-scripts-34 " -PDEPEND=">=sys-apps/hwids-20140304[udev] - >=sys-fs/udev-init-scripts-34" python_check_deps() { has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" @@ -185,6 +187,7 @@ multilib_src_compile() { man/udev.7 man/systemd-udevd.service.8 man/udevadm.8 + hwdb.d/60-autosuspend-chromiumos.hwdb rules.d/50-udev-default.rules rules.d/64-btrfs.rules ) @@ -239,6 +242,8 @@ multilib_src_install() { # Install generated rules (${BUILD_DIR}/rules.d/*.rules) insinto /lib/udev/rules.d doins rules.d/*.rules + insinto /lib/udev/hwdb.d + doins hwdb.d/*.hwdb insinto /usr/share/pkgconfig doins src/udev/udev.pc @@ -263,6 +268,8 @@ multilib_src_install_all() { insinto /lib/udev/rules.d doins rules.d/*.rules doins "${FILESDIR}"/40-gentoo.rules + insinto /lib/udev/hwdb.d + doins hwdb.d/*.hwdb dobashcomp shell-completion/bash/udevadm diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild index fc79e4aaa550..3b56e4e1f8ea 100644 --- a/sys-fs/udev/udev-9999.ebuild +++ b/sys-fs/udev/udev-9999.ebuild @@ -83,9 +83,11 @@ RDEPEND="${COMMON_DEPEND} acct-group/video !sys-apps/gentoo-systemd-integration !sys-apps/systemd + !sys-apps/hwids[udev] +" +PDEPEND=" + >=sys-fs/udev-init-scripts-34 " -PDEPEND=">=sys-apps/hwids-20140304[udev] - >=sys-fs/udev-init-scripts-34" python_check_deps() { has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" @@ -185,6 +187,7 @@ multilib_src_compile() { man/udev.7 man/systemd-udevd.service.8 man/udevadm.8 + hwdb.d/60-autosuspend-chromiumos.hwdb rules.d/50-udev-default.rules rules.d/64-btrfs.rules ) @@ -239,6 +242,8 @@ multilib_src_install() { # Install generated rules (${BUILD_DIR}/rules.d/*.rules) insinto /lib/udev/rules.d doins rules.d/*.rules + insinto /lib/udev/hwdb.d + doins hwdb.d/*.hwdb insinto /usr/share/pkgconfig doins src/udev/udev.pc @@ -263,6 +268,8 @@ multilib_src_install_all() { insinto /lib/udev/rules.d doins rules.d/*.rules doins "${FILESDIR}"/40-gentoo.rules + insinto /lib/udev/hwdb.d + doins hwdb.d/*.hwdb dobashcomp shell-completion/bash/udevadm |