diff options
Diffstat (limited to 'net-wireless/ubertooth/ubertooth-9999.ebuild')
-rw-r--r-- | net-wireless/ubertooth/ubertooth-9999.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-9999.ebuild index 4a9603a7e8d4..580e009cffa1 100644 --- a/net-wireless/ubertooth/ubertooth-9999.ebuild +++ b/net-wireless/ubertooth/ubertooth-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 inherit cmake udev @@ -14,7 +14,7 @@ IUSE="+bluez static-libs +ubertooth1-firmware +udev" DEPEND="bluez? ( net-wireless/bluez:= ) >=net-libs/libbtbb-${PV}:=[static-libs?] static-libs? ( dev-libs/libusb[static-libs] ) - virtual/libusb:1=" + virtual/libusb:1" RDEPEND="${DEPEND} udev? ( virtual/udev )" @@ -67,3 +67,11 @@ src_install() { elog "Everyone can read from the ubertooth, but to talk to it" elog "your user needs to be in the usb group." } + +pkg_postinst() { + use udev && udev_reload +} + +pkg_postrm() { + use udev && udev_reload +} |