diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-28 09:54:40 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-28 10:05:13 +0300 |
commit | e2e5fe201a22bbc580e2e728b25dafb3313333d4 (patch) | |
tree | 6a09f9b688c777023b3e36cf4b3fb5e3cd2c1d49 /sys-firmware/midisport-firmware | |
parent | sys-boot/mbr: EAPI 6 -> 8 (diff) | |
download | gentoo-e2e5fe201a22bbc580e2e728b25dafb3313333d4.tar.gz gentoo-e2e5fe201a22bbc580e2e728b25dafb3313333d4.tar.bz2 gentoo-e2e5fe201a22bbc580e2e728b25dafb3313333d4.zip |
sys-firmware/midisport-firmware: EAPI=8, fix udev_reload
Closes: https://bugs.gentoo.org/852107
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sys-firmware/midisport-firmware')
-rw-r--r-- | sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild (renamed from sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild) | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild index 5d3073ba9383..1c341163476a 100644 --- a/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild +++ b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 inherit autotools linux-info udev @@ -13,10 +13,12 @@ LICENSE="Midisport" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="sys-apps/fxload - virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND=" + sys-apps/fxload + virtual/udev +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" CONFIG_CHECK="~SND_USB_AUDIO" @@ -33,3 +35,11 @@ src_prepare() { src_configure() { econf --with-udev="$(get_udevdir)" } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |