summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/abcmidi/Manifest1
-rw-r--r--media-sound/abcmidi/abcmidi-2022.12.05.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest
index 13574c5661d3..78d754722d1b 100644
--- a/media-sound/abcmidi/Manifest
+++ b/media-sound/abcmidi/Manifest
@@ -1 +1,2 @@
DIST abcMIDI-2022.09.01.zip 613296 BLAKE2B f91ae072768af52a4709146cefba1cb4af4a10d08ab1bb042d606672d666065a7a639771d7f2bc9b11af7dd898d230b160c19276ededc932b174f1fb717f3cd4 SHA512 45d52ccc90aed618649d18026f2142e0fb4665b97df4cbe20e9cb06ceb08769ab5d00a5bb2e60a9f0de6496cd5d222ea9f865d6c6cffc8efc626b994f8e0ed61
+DIST abcMIDI-2022.12.05.zip 1317718 BLAKE2B d2c61e60f14f9495dd134824b41035a59c03418a529cfffb91794d918fa0d3f8ef9b46e49dbbce2840a2d07f7348885fd51536c979ce5a782020ad63da488293 SHA512 59dc2672629f1e532418eaa187f5d2edfc2691b56c3db64ba032e994c0cda2e1ebaf33d550ebe1b19e205502ad6be5dc21370241ea6efcd4a3c746163dd1e141
diff --git a/media-sound/abcmidi/abcmidi-2022.12.05.ebuild b/media-sound/abcmidi/abcmidi-2022.12.05.ebuild
new file mode 100644
index 000000000000..11f547f4cb8e
--- /dev/null
+++ b/media-sound/abcmidi/abcmidi-2022.12.05.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+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_install() {
+ default
+
+ if use examples ; then
+ docinto examples
+ dodoc samples/*.abc
+ fi
+}