From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F3E713933E for ; Mon, 5 Jul 2021 18:24:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40A6EE0A53; Mon, 5 Jul 2021 18:24:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B5D4E0A53 for ; Mon, 5 Jul 2021 18:24:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3396A342ABA for ; Mon, 5 Jul 2021 18:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 513CD7BA for ; Mon, 5 Jul 2021 18:24:05 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1625508685.6bf8dca7ee61347bec739f4739676c00c513980a.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/munt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/munt/Manifest media-sound/munt/metadata.xml media-sound/munt/munt-2.5.0.ebuild X-VCS-Directories: media-sound/munt/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 6bf8dca7ee61347bec739f4739676c00c513980a X-VCS-Branch: master Date: Mon, 5 Jul 2021 18:24:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 459e69e8-8a32-4cab-a58c-8a3f6c2d474c X-Archives-Hash: d057828cf2e5cf659ab8178fbe81fa8c commit: 6bf8dca7ee61347bec739f4739676c00c513980a Author: Bernard Cafarelli gentoo org> AuthorDate: Mon Jul 5 18:04:42 2021 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Mon Jul 5 18:11:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf8dca7 media-sound/munt: initial commit, moved from my overlay >=dosbox-staging-0.77.0 has libmt32emu support Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli gentoo.org> media-sound/munt/Manifest | 1 + media-sound/munt/metadata.xml | 9 +++++++ media-sound/munt/munt-2.5.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/media-sound/munt/Manifest b/media-sound/munt/Manifest new file mode 100644 index 00000000000..a16864fe986 --- /dev/null +++ b/media-sound/munt/Manifest @@ -0,0 +1 @@ +DIST munt-2.5.0.tar.gz 548622 BLAKE2B aa691f038bb78bf8f60db811e13c9cac75f6fe775b1414f32c5d7587fe758cb669b156397f0a349b5ab12e4a0b49402532a56b40cef62c5bc1f4ff0b9adc7baa SHA512 86240ecc0854e52350437aa70af2437dcec015cf3de876ddfb902c251516fa993d35758812158820e6b103847a9d6d5873c71c4f2391c79503c137d3b982c6fe diff --git a/media-sound/munt/metadata.xml b/media-sound/munt/metadata.xml new file mode 100644 index 00000000000..f5f2f401d7d --- /dev/null +++ b/media-sound/munt/metadata.xml @@ -0,0 +1,9 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + Munt is a multi-platform software synthesiser emulating (somewhat inaccurately) pre-GM MIDI devices such as the Roland MT-32, CM-32L, CM-64 and LAPC-I. + diff --git a/media-sound/munt/munt-2.5.0.ebuild b/media-sound/munt/munt-2.5.0.ebuild new file mode 100644 index 00000000000..36824638a56 --- /dev/null +++ b/media-sound/munt/munt-2.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake xdg + +DESCRIPTION="software synthesiser emulating pre-GM MIDI devices (Roland MT-32)" +HOMEPAGE="http://munt.sourceforge.net" +SRC_URI="mirror://sourceforge/munt/${PV}/${P}.tar.gz" + +# library: GPL-2 and LGPL-2.1, qt frontend: GPL-3 +LICENSE="LGPL-2.1+ GPL-2+ GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa pulseaudio qt5" + +DEPEND=" + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio ) + ) + || ( media-libs/soxr media-libs/libsamplerate )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -e "s#share/doc/${PN}#share/doc/${PF}#" \ + -e "s#COPYING\(.LESSER\)\?.txt ##g" \ + -i */CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + -Dlibmt32emu_SHARED=yes + -Dmunt_WITH_MT32EMU_SMF2WAV=yes + -Dmunt_WITH_MT32EMU_QT=$(usex qt5) + ) + if use qt5; then + mycmakeargs+=( + -Dmt32emu-qt_WITH_ALSA_MIDI_SEQUENCER=$(usex alsa) + -Dmt32emu-qt_USE_PULSEAUDIO_DYNAMIC_LOADING=$(usex pulseaudio) + -Dmt32emu-qt_WITH_QT5=ON + ) + fi + cmake_src_configure +}