diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-01-30 23:01:26 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-01-30 23:01:26 +0000 |
commit | 5bdffbaef369b6645a89d03c5d0ee194f7bf7afe (patch) | |
tree | ee3635d6ddc772fa317cd6455da0f4cc9cffe82c /media-libs/munt-mt32emu | |
parent | dev-ml/logs: remove failing test (diff) | |
download | gentoo-5bdffbaef369b6645a89d03c5d0ee194f7bf7afe.tar.gz gentoo-5bdffbaef369b6645a89d03c5d0ee194f7bf7afe.tar.bz2 gentoo-5bdffbaef369b6645a89d03c5d0ee194f7bf7afe.zip |
media-libs/munt-mt32emu: Version bump to 2.4.2, EAPI 7
Package-Manager: Portage-3.0.14, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs/munt-mt32emu')
-rw-r--r-- | media-libs/munt-mt32emu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/munt-mt32emu/files/munt-mt32emu-2.4.2-docs.patch | 14 | ||||
-rw-r--r-- | media-libs/munt-mt32emu/munt-mt32emu-2.4.2.ebuild | 28 |
3 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/munt-mt32emu/Manifest b/media-libs/munt-mt32emu/Manifest index c34079940fcf..4832a7a1f66d 100644 --- a/media-libs/munt-mt32emu/Manifest +++ b/media-libs/munt-mt32emu/Manifest @@ -1 +1,2 @@ +DIST libmt32emu_2_4_2.tar.gz 458962 BLAKE2B 43bd794fbb8e6483f4dd8384f375af3145f0297e974e7bc374764c40d90f0af971622004e052dff2e4235931d08e5ba3c154a45ad0f344c26811f92dc7a6d699 SHA512 6e567260bce4a7ba7f4696d08fde78a05402d8b3087d7720bf86cdbe8c6c392036ce4a5c0ec5951c547d2a98218145fa155d4730404e98ad2dcc573d3cca8da4 DIST munt_2_3_0.tar.gz 418703 BLAKE2B d9c4290f11f4114b26aa45d6591c04a73d56981e7f618c1466db81fd35be3588b2853fb60b9cf65dd523ce8ea120a5a187bd805b58ba2f75719d460929c2e4e1 SHA512 87fe4891628ea33967270fe3c6c3840e40deb14bd7c8d61490d4c0057438af6bc0099c10e24e813ef1613ca9cc9fc1567a0340c7ea1f4254b209f7fc99c8c7a1 diff --git a/media-libs/munt-mt32emu/files/munt-mt32emu-2.4.2-docs.patch b/media-libs/munt-mt32emu/files/munt-mt32emu-2.4.2-docs.patch new file mode 100644 index 000000000000..df84d643762a --- /dev/null +++ b/media-libs/munt-mt32emu/files/munt-mt32emu-2.4.2-docs.patch @@ -0,0 +1,14 @@ +diff --color -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2021-01-17 13:16:00.000000000 +0000 ++++ b/CMakeLists.txt 2021-01-30 22:56:28.027134357 +0000 +@@ -261,8 +261,8 @@ + + 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.md TODO.txt +- DESTINATION share/doc/munt/libmt32emu ++ AUTHORS.txt NEWS.txt README.md TODO.txt ++ DESTINATION share/doc/$ENV{PF} + ) + endif() + diff --git a/media-libs/munt-mt32emu/munt-mt32emu-2.4.2.ebuild b/media-libs/munt-mt32emu/munt-mt32emu-2.4.2.ebuild new file mode 100644 index 000000000000..93254801331a --- /dev/null +++ b/media-libs/munt-mt32emu/munt-mt32emu-2.4.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MY_P="libmt32emu_${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}"/${P}-docs.patch +) + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" + ) + + cmake_src_configure +} |