midisport-firmware-1.2.ebuild 669 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="6"
  4. inherit autotools linux-info udev
  5. DESCRIPTION="Firmware for M-Audio/Midiman USB MIDI devices"
  6. HOMEPAGE="http://usb-midi-fw.sourceforge.net"
  7. SRC_URI="http://downloads.sourceforge.net/usb-midi-fw/${P}.tar.gz"
  8. LICENSE="Midisport"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. RDEPEND="sys-apps/fxload
  12. virtual/udev"
  13. DEPEND="${RDEPEND}
  14. virtual/pkgconfig"
  15. CONFIG_CHECK="~SND_USB_AUDIO"
  16. PATCHES=(
  17. "${FILESDIR}"/${P}-configure.patch
  18. "${FILESDIR}"/${P}-rules.patch
  19. )
  20. src_prepare() {
  21. default
  22. eautoreconf
  23. }
  24. src_configure() {
  25. econf --with-udev="$(get_udevdir)"
  26. }