summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-07-30 11:55:12 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-07-30 11:55:12 +0200
commit8fccdf28edae3e9af9d0fd05813818bdf51dc2c7 (patch)
treedd405e36190fa05470cc92f9ae62c8ccc57a7364 /media-sound/abcmidi
parentwww-apps/mediawiki: dropped obsolete 1.39.7 & 1.41.1 (diff)
downloadgentoo-8fccdf28edae3e9af9d0fd05813818bdf51dc2c7.tar.gz
gentoo-8fccdf28edae3e9af9d0fd05813818bdf51dc2c7.tar.bz2
gentoo-8fccdf28edae3e9af9d0fd05813818bdf51dc2c7.zip
media-sound/abcmidi: bump to 2024.07.26
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/abcmidi')
-rw-r--r--media-sound/abcmidi/Manifest1
-rw-r--r--media-sound/abcmidi/abcmidi-2024.07.26.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest
index 31f68b33070a..42fb9ef00cd3 100644
--- a/media-sound/abcmidi/Manifest
+++ b/media-sound/abcmidi/Manifest
@@ -1 +1,2 @@
DIST abcMIDI-2024.06.18.zip 633663 BLAKE2B 276553fa00d6a32a89e5f70505ff081acec3e151908a0829fddc6882d785d617c5ece73348689b93b7e7dfe7e5d845ffd66430ccd03ecee8dcb82d33d8f76399 SHA512 f8a16b8d47993c99571a5514b4579b697aa43039f87a794477cff54ea98f4f13c2f441ebf089f0d24cc4fe8f21482e06217f51a907cc4d0922c653b04b45b86f
+DIST abcMIDI-2024.07.26.zip 633725 BLAKE2B 8412eaea34e11d4012f56c745405a8aff445a9e9561b64152ce24bb7192da0733a4f04e3172072b01ce12b8586c841b07679cb80e78b846904bb69d3faa73288 SHA512 89e0d3c1b6fbbc0676f54c375e3f9aadace15d314b79041b6ba9c1fa352d18a5a024afd03cd151e72865ee8ff551a307613f4209feb43a1ae17e6bcfc8a5dba8
diff --git a/media-sound/abcmidi/abcmidi-2024.07.26.ebuild b/media-sound/abcmidi/abcmidi-2024.07.26.ebuild
new file mode 100644
index 000000000000..8aed3dc3a8d2
--- /dev/null
+++ b/media-sound/abcmidi/abcmidi-2024.07.26.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+MY_P="abcMIDI-${PV}"
+DESCRIPTION="Programs for processing ABC music notation files"
+HOMEPAGE="https://ifdo.ca/~seymour/runabc/top.html"
+SRC_URI="https://ifdo.ca/~seymour/runabc/${MY_P}.zip"
+S="${WORKDIR}"/${PN}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+ default
+ sed -i "s:-O2::" configure.ac || die
+ sed -i "s:@datarootdir@/doc/abcmidi:@docdir@:" Makefile.in || die
+ eautoreconf
+}
+
+src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/876421
+ # https://github.com/sshlien/abcmidi/issues/9
+ filter-lto
+
+ default
+}
+
+src_install() {
+ default
+
+ if use examples ; then
+ docinto examples
+ dodoc samples/*.abc
+ fi
+}