summaryrefslogtreecommitdiff
path: root/media-libs/munt-mt32emu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-26 15:48:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-26 15:48:02 +0000
commit38b7258d086dd5e263c3bbe3880c8c956676bc71 (patch)
tree6fce284d5bfddaf597a490ac66069d16c6a485db /media-libs/munt-mt32emu
parent0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 (diff)
gentoo resync : 25.01.2018
Diffstat (limited to 'media-libs/munt-mt32emu')
-rw-r--r--media-libs/munt-mt32emu/Manifest4
-rw-r--r--media-libs/munt-mt32emu/files/docs.patch27
-rw-r--r--media-libs/munt-mt32emu/metadata.xml15
-rw-r--r--media-libs/munt-mt32emu/munt-mt32emu-2.3.0.ebuild28
4 files changed, 74 insertions, 0 deletions
diff --git a/media-libs/munt-mt32emu/Manifest b/media-libs/munt-mt32emu/Manifest
new file mode 100644
index 000000000000..d223d67dab55
--- /dev/null
+++ b/media-libs/munt-mt32emu/Manifest
@@ -0,0 +1,4 @@
+AUX docs.patch 810 BLAKE2B 941da013c47dd7b51ceb18be748b21edaec86157afa43fbaeab2310229302b3fb7ca2cbf058fc104ce9d9135089084aa2b009706618c81e8c4cae48a601fafde SHA512 99a2707a7eb94579de27a8f0351641d22dd963257edc58ae5d01f8d79722827f25677e6d7ca0b4d24ffbf71281df5cac428a8c0ddde8f42925995f5451d326bf
+DIST munt_2_3_0.tar.gz 418703 BLAKE2B d9c4290f11f4114b26aa45d6591c04a73d56981e7f618c1466db81fd35be3588b2853fb60b9cf65dd523ce8ea120a5a187bd805b58ba2f75719d460929c2e4e1 SHA512 87fe4891628ea33967270fe3c6c3840e40deb14bd7c8d61490d4c0057438af6bc0099c10e24e813ef1613ca9cc9fc1567a0340c7ea1f4254b209f7fc99c8c7a1
+EBUILD munt-mt32emu-2.3.0.ebuild 592 BLAKE2B 124ac1da68cbe70f86a61c9de2f1cc50fc9bb0ccdd0387b85e5dff56a344bf2a9ce551314d6046964ce05d1b7f846e90e40dcc02a6869e8ec15fab3d8530c502 SHA512 ff901148241e2ac1358146798ec08d7f0251a048c0970a88064dbe3e8abcd17a6704ba618662a4efacce9afb25640c46df8eb449e61bfc941f63ca3ae1b16d2e
+MISC metadata.xml 620 BLAKE2B be9835ba92d5c8d4cf03c2a716886e422e2539ae773a8e281f4e804192caae29c185e8bac79a5b3a0ca9f7e639f9c5aa099c1ee8f496e1a508b096d4216bc1a9 SHA512 80cde499938128dc44148fdce298a26a49a8cd2660508cd5c6b0e5a9ed8c07eb9d067561d96f8fa94798edff7aa439d9d9269b9ee19a2f83759f574e08e192b3
diff --git a/media-libs/munt-mt32emu/files/docs.patch b/media-libs/munt-mt32emu/files/docs.patch
new file mode 100644
index 000000000000..20034b933641
--- /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 <chewi@gentoo.org>
+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 000000000000..168b3b7149fc
--- /dev/null
+++ b/media-libs/munt-mt32emu/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">munt</remote-id>
+ <remote-id type="github">munt/munt</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+</pkgmetadata>
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 000000000000..8e19616aa4da
--- /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
+}