logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

rtmidi-2.1.1.ebuild (1129B)


  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="common C++ API for realtime MIDI input/output"
  5. HOMEPAGE="https://www.music.mcgill.ca/~gary/rtmidi/"
  6. SRC_URI="https://www.music.mcgill.ca/~gary/rtmidi/release/${P}.tar.gz"
  7. RESTRICT="mirror"
  8. LICENSE="MIT-with-advertising"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="+alsa doc +jack"
  12. RDEPEND="alsa? ( media-libs/alsa-lib )
  13. jack? ( media-sound/jack-audio-connection-kit )"
  14. DEPEND="${RDEPEND}"
  15. src_prepare() {
  16. epatch "${FILESDIR}/${P}_buildsystem.patch"
  17. eautoreconf
  18. eapply_user
  19. }
  20. src_configure() {
  21. econf $(use_with alsa) \
  22. $(use_with jack) || die "./configure failed"
  23. }
  24. #src_compile() {
  25. # emake -j1 || die "make failed"
  26. #}
  27. #src_install() {
  28. # dodoc readme
  29. # if use doc; then
  30. # dodoc doc/release.txt
  31. # dohtml doc/html/*
  32. # fi
  33. # dolib.so librtmidi.so.1.2.0.1
  34. # dosym "librtmidi.so.1.2.0.1" "/usr/$(get_libdir)/librtmidi.so"
  35. # dosym "librtmidi.so.1.2.0.1" "/usr/$(get_libdir)/librtmidi.so.1"
  36. # insinto /usr/$(get_libdir)/pkgconfig
  37. # doins rtmidi.pc
  38. # insinto /usr/include
  39. # doins RtMidi.h RtError.h
  40. #}