logo

overlay

Personnal gentoo overlay
commit: 1273b2582ed6fb932b7e248f06d1275b81f02023
parent: b7c59ce7254033de521f5e2cc4f7ac6baae9e5ef
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 10 Apr 2017 04:10:01 +0200

media-libs/rtmidi-2.1.1

Diffstat:

media-libs/rtmidi/Manifest | 1+
media-libs/rtmidi/metadata.xml | 8++++++++
media-libs/rtmidi/rtmidi-2.1.1.ebuild | 49+++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/media-libs/rtmidi/Manifest b/media-libs/rtmidi/Manifest @@ -0,0 +1 @@ +DIST rtmidi-2.1.1.tar.gz 474049 SHA256 1dd990705fbe003616af9207c5ea2ece2a6212388a41c8b2b2e191055181e286 SHA512 964825a73ca24cbda5b6546cf89e9e28f8d0c3528ad1e4996e525892a09b94c5df039044b9c47b58177e80441fd1b4feb81b71b4e88d58ef2bf98d186e4db880 WHIRLPOOL 07c8beb25b658ec5390e84856be98e8214b9c5b5256ca1fa6697e8750e70f7bdfa1096bff4f138a0a1247a616a8b3cf78043258654ab56ab710813fd5878e41f diff --git a/media-libs/rtmidi/metadata.xml b/media-libs/rtmidi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<name>Haelwenn (lanodan) Monnier</name> +<email>contact@hacktivis.me</email> +</maintainer> +</pkgmetadata> diff --git a/media-libs/rtmidi/rtmidi-2.1.1.ebuild b/media-libs/rtmidi/rtmidi-2.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 + +DESCRIPTION="common C++ API for realtime MIDI input/output" +HOMEPAGE="http://www.music.mcgill.ca/~gary/rtmidi/" +SRC_URI="http://www.music.mcgill.ca/~gary/rtmidi/release/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa doc +jack" +RDEPEND="alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" + +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}_buildsystem.patch" + eautoreconf + eapply_user +} + +src_configure() { + econf $(use_with alsa) \ + $(use_with jack) || die "./configure failed" +} + +#src_compile() { +# emake -j1 || die "make failed" +#} + +#src_install() { +# dodoc readme +# if use doc; then +# dodoc doc/release.txt +# dohtml doc/html/* +# fi +# dolib.so librtmidi.so.1.2.0.1 +# dosym "librtmidi.so.1.2.0.1" "/usr/$(get_libdir)/librtmidi.so" +# dosym "librtmidi.so.1.2.0.1" "/usr/$(get_libdir)/librtmidi.so.1" +# insinto /usr/$(get_libdir)/pkgconfig +# doins rtmidi.pc +# insinto /usr/include +# doins RtMidi.h RtError.h +#}