From e2e5fe201a22bbc580e2e728b25dafb3313333d4 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 28 Apr 2024 09:54:40 +0300 Subject: sys-firmware/midisport-firmware: EAPI=8, fix udev_reload Closes: https://bugs.gentoo.org/852107 Signed-off-by: Arthur Zamarin --- .../midisport-firmware-1.2-r1.ebuild | 35 ----------------- .../midisport-firmware-1.2-r2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 35 deletions(-) delete mode 100644 sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild create mode 100644 sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild (limited to 'sys-firmware') diff --git a/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild deleted file mode 100644 index 5d3073ba9383..000000000000 --- a/sys-firmware/midisport-firmware/midisport-firmware-1.2-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools linux-info udev - -DESCRIPTION="Firmware for M-Audio/Midiman USB MIDI devices" -HOMEPAGE="http://usb-midi-fw.sourceforge.net" -SRC_URI="http://downloads.sourceforge.net/usb-midi-fw/${P}.tar.gz" - -LICENSE="Midisport" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="sys-apps/fxload - virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -CONFIG_CHECK="~SND_USB_AUDIO" - -PATCHES=( - "${FILESDIR}"/${P}-configure.patch - "${FILESDIR}"/${P}-rules.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --with-udev="$(get_udevdir)" -} diff --git a/sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild new file mode 100644 index 000000000000..1c341163476a --- /dev/null +++ b/sys-firmware/midisport-firmware/midisport-firmware-1.2-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info udev + +DESCRIPTION="Firmware for M-Audio/Midiman USB MIDI devices" +HOMEPAGE="http://usb-midi-fw.sourceforge.net" +SRC_URI="http://downloads.sourceforge.net/usb-midi-fw/${P}.tar.gz" + +LICENSE="Midisport" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + sys-apps/fxload + virtual/udev +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~SND_USB_AUDIO" + +PATCHES=( + "${FILESDIR}"/${P}-configure.patch + "${FILESDIR}"/${P}-rules.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --with-udev="$(get_udevdir)" +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3-65-gdbad