media-libs/munt-mt32emu: add 2.7.2

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-10-04 17:01:04 +02:00
parent 8af1dd81ec
commit 5903f8f9e8
2 changed files with 31 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libmt32emu_2_7_0.tar.gz 583565 BLAKE2B 7cfdff3533553cb0db5d498b9ab3b963fe472cdff5f2008a627b2abac463c4ac600323429df4a04cca3dadcd7349d0c77931661f8eaa908a0cc5ab506f1f8c60 SHA512 d06a1ae3a7de1cc7e79aa9e642a05f1101f562f6da174cbbcb2d77732c086483aad4572e0406b7a92d498f45c083c73bb75bb28a909626d00bffe9249c18db1d
DIST libmt32emu_2_7_2.tar.gz 583917 BLAKE2B af97564a099c8d38d31f1725dfcd7807a3e3fd64d0fe82dc45d783589ac11c694e6d45a3231b19e10ce2bba6325f343f836bc94b9696779366ca773e50dab88d SHA512 a4d7b8e9db7e87ad35e0e577b060520e48ee85da0c6e55c7023596fa675a8c32be5f69d4efafaf80dd06c24c505e63abd9892c0836c820c5917448681e052b62

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="libmt32emu_${PV//./_}"
inherit cmake
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"
S="${WORKDIR}/munt-${MY_P}/mt32emu"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
PATCHES=( "${FILESDIR}"/${PN}-2.6.1-docs.patch )
src_configure() {
local libdir=${EPREFIX}/usr/$(get_libdir)
local mycmakeargs=(
-DLIB_INSTALL_DIR="${libdir}"
-Dlibmt32emu_PKGCONFIG_INSTALL_PREFIX="${libdir}"
)
cmake_src_configure
}