28 lines
595 B
Bash
28 lines
595 B
Bash
# 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}"/${PN}-2.4.2-docs.patch
|
|
)
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|