summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-12-07 15:22:36 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-12-07 15:22:36 +0100
commite4ca645a116e002d9f218e6384128e35cfe22fa9 (patch)
treefb3523c57021d932e805434af087d5fd6554b0fd /media-sound
parentmedia-sound/rosegarden: bump to 24.12 (diff)
downloadgentoo-e4ca645a116e002d9f218e6384128e35cfe22fa9.tar.gz
gentoo-e4ca645a116e002d9f218e6384128e35cfe22fa9.tar.bz2
gentoo-e4ca645a116e002d9f218e6384128e35cfe22fa9.zip
media-sound/abcmidi: bump to 2024.12.06
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/abcmidi/Manifest1
-rw-r--r--media-sound/abcmidi/abcmidi-2024.12.06.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest
index 12e9415e9192..00fcc0ffa5be 100644
--- a/media-sound/abcmidi/Manifest
+++ b/media-sound/abcmidi/Manifest
@@ -1 +1,2 @@
DIST abcMIDI-2024.10.10.zip 633944 BLAKE2B 4e2b550e945b261c49b1384f7580c83cbfc9f42ad8b2fa4f6ff12285d036bd8e1f66d41554630c8f65ba090d7e4ff852d11365b1003a699558995cf583773ad2 SHA512 a5361865907adedeebf3128259118d180ec0ece5c6e88751a96eaeac32abb2b48f9312ba62e706398d70947368d406763c7254ead967fba6f715f7391b54b42c
+DIST abcMIDI-2024.12.06.zip 634030 BLAKE2B 69b385908f66b03c2dee05bf9245d000f0bd3386e884eb24b07ff878498edbab0577ae6db24f022cee1bc9bada2a96ec10a29e7fe15d0edbf47441c270d97919 SHA512 188d9f46fc55676d243482dae84040ef2cb1a61033a8ad245f3ea91fa16253cefde10684e60e3c48ef0c045414ec9364845affa38231b6769d2889e98ac1f2f3
diff --git a/media-sound/abcmidi/abcmidi-2024.12.06.ebuild b/media-sound/abcmidi/abcmidi-2024.12.06.ebuild
new file mode 100644
index 000000000000..8aed3dc3a8d2
--- /dev/null
+++ b/media-sound/abcmidi/abcmidi-2024.12.06.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
+}