From 0b268777008ceeb83a811fdf5dda50b1b15463d5 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 22 Jan 2018 21:11:31 +0000 Subject: media-libs/munt-mt32emu: New package, required by munt-mt32emu-alsadrv Package-Manager: Portage-2.3.20, Repoman-2.3.6 --- media-libs/munt-mt32emu/Manifest | 1 + media-libs/munt-mt32emu/files/docs.patch | 27 ++++++++++++++++++++++ media-libs/munt-mt32emu/metadata.xml | 15 ++++++++++++ media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild | 28 +++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 media-libs/munt-mt32emu/Manifest create mode 100644 media-libs/munt-mt32emu/files/docs.patch create mode 100644 media-libs/munt-mt32emu/metadata.xml create mode 100644 media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild diff --git a/media-libs/munt-mt32emu/Manifest b/media-libs/munt-mt32emu/Manifest new file mode 100644 index 00000000000..c34079940fc --- /dev/null +++ b/media-libs/munt-mt32emu/Manifest @@ -0,0 +1 @@ +DIST munt_2_3_0.tar.gz 418703 BLAKE2B d9c4290f11f4114b26aa45d6591c04a73d56981e7f618c1466db81fd35be3588b2853fb60b9cf65dd523ce8ea120a5a187bd805b58ba2f75719d460929c2e4e1 SHA512 87fe4891628ea33967270fe3c6c3840e40deb14bd7c8d61490d4c0057438af6bc0099c10e24e813ef1613ca9cc9fc1567a0340c7ea1f4254b209f7fc99c8c7a1 diff --git a/media-libs/munt-mt32emu/files/docs.patch b/media-libs/munt-mt32emu/files/docs.patch new file mode 100644 index 00000000000..20034b93364 --- /dev/null +++ b/media-libs/munt-mt32emu/files/docs.patch @@ -0,0 +1,27 @@ +From 43b3a932650ffd52fc1bc56f5c515ee4855bfd79 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Mon, 22 Jan 2018 21:07:52 +0000 +Subject: [PATCH] Install documentation in Gentoo-compliant manner + +--- + mt32emu/CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mt32emu/CMakeLists.txt b/mt32emu/CMakeLists.txt +index 248f576..704d4f9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -251,8 +251,8 @@ endif() + + if(libmt32emu_PACKAGE_TYPE STREQUAL "Runtime" OR NOT libmt32emu_PACKAGE_TYPE STREQUAL "Devel") + install(FILES +- AUTHORS.txt COPYING.txt COPYING.LESSER.txt NEWS.txt README.txt TODO.txt +- DESTINATION share/doc/munt/libmt32emu ++ AUTHORS.txt NEWS.txt README.txt TODO.txt ++ DESTINATION share/doc/$ENV{PF} + ) + endif() + +-- +2.15.0 + diff --git a/media-libs/munt-mt32emu/metadata.xml b/media-libs/munt-mt32emu/metadata.xml new file mode 100644 index 00000000000..168b3b7149f --- /dev/null +++ b/media-libs/munt-mt32emu/metadata.xml @@ -0,0 +1,15 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + + munt + munt/munt + + + A multi-platform software synthesiser emulating (currently inaccurately) pre-GM MIDI devices such as the Roland MT-32, CM-32L, CM-64 and LAPC-I. In no way endorsed by or affiliated with Roland Corp. + + diff --git a/media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild b/media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild new file mode 100644 index 00000000000..8e19616aa4d --- /dev/null +++ b/media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_P="munt_${PV//./_}" +DESCRIPTION="Library for emulating the Roland MT-32, CM-32L, CM-64 and LAPC-I" +HOMEPAGE="https://github.com/munt/munt" +SRC_URI="https://github.com/munt/munt/archive/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/munt-${MY_P}/mt32emu" + +PATCHES=( + "${FILESDIR}"/docs.patch +) + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + ) + + cmake-utils_src_configure +} -- cgit v1.2.3-18-g5258