From 1c86f2842cb6b2030398bb2832d739f326a14d6d Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 2 Oct 2021 13:25:21 +0100 Subject: media-libs/munt-mt32emu: Fix pkg-config file install location Closes: https://bugs.gentoo.org/814044 Signed-off-by: James Le Cuirot --- .../munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild | 31 ++++++++++++++++++++++ media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild | 28 ------------------- 2 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild delete mode 100644 media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild diff --git a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild new file mode 100644 index 000000000000..69e3f2578ea5 --- /dev/null +++ b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3-r1.ebuild @@ -0,0 +1,31 @@ +# 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 libdir=${EPREFIX}/usr/$(get_libdir) + + local mycmakeargs=( + -DLIB_INSTALL_DIR="${libdir}" + -Dlibmt32emu_PKGCONFIG_INSTALL_PREFIX="${libdir}" + ) + + cmake_src_configure +} diff --git a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild b/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild deleted file mode 100644 index f1a27e25b8c9..000000000000 --- a/media-libs/munt-mt32emu/munt-mt32emu-2.5.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# 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 -} -- cgit v1.2.3-18-g5258