summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev/udev-9999.ebuild')
-rw-r--r--sys-fs/udev/udev-9999.ebuild11
1 files changed, 9 insertions, 2 deletions
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