summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-07-16 09:14:57 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-07-16 09:14:57 +0200
commit5ac86fc0c51f62be88a4b0b3cf075de0817347e3 (patch)
treea8e321c936a3ca6c3be7b6f1fc49b065fea030a5 /media-sound/abcm2ps
parentmedia-sound/jack2: bump to 1.9.19 (diff)
downloadgentoo-5ac86fc0c51f62be88a4b0b3cf075de0817347e3.tar.gz
gentoo-5ac86fc0c51f62be88a4b0b3cf075de0817347e3.tar.bz2
gentoo-5ac86fc0c51f62be88a4b0b3cf075de0817347e3.zip
media-sound/abcm2ps: bump to 8.14.12
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/abcm2ps')
-rw-r--r--media-sound/abcm2ps/Manifest1
-rw-r--r--media-sound/abcm2ps/abcm2ps-8.14.12.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/abcm2ps/Manifest b/media-sound/abcm2ps/Manifest
index 25e5e4e8368d..587df44be0cd 100644
--- a/media-sound/abcm2ps/Manifest
+++ b/media-sound/abcm2ps/Manifest
@@ -1 +1,2 @@
DIST abcm2ps-8.14.11.tar.gz 259453 BLAKE2B a5b2b4142b9d3190fdedd3b560f8baa582293badd90fd380ddb9991871b2e08050d07c3c97f908529be715bce62b9cda242487f3d6a7885ecf802318a64b7df8 SHA512 b156c84cfa929aa5999a42b23564af5bac399dccbf116342891b5e5ed2e34e81b4658fab9f3c51f5de084cc96d8ea0965a2bdf81de14de6eb324b8998dbb8b98
+DIST abcm2ps-8.14.12.tar.gz 259618 BLAKE2B d0efa0b8a624447791a56591b4a2c0d775c3c3f628dab437a0cb02d49614e21e587d13467f7fa72955a2846704dde0a0da28ae6888faa0032edcb6d026365f47 SHA512 a9bd26b21ed057be11f0de6c89e76615820c476b18e521fb7f478e6f685fb768824879d441d616b3de1bbb4a4335ec169aa819a609bea295e0d522d1466e42ed
diff --git a/media-sound/abcm2ps/abcm2ps-8.14.12.ebuild b/media-sound/abcm2ps/abcm2ps-8.14.12.ebuild
new file mode 100644
index 000000000000..48eee1a8dfd2
--- /dev/null
+++ b/media-sound/abcm2ps/abcm2ps-8.14.12.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Program to convert abc files to Postscript files"
+HOMEPAGE="https://github.com/leesavide/abcm2ps"
+SRC_URI="https://github.com/leesavide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples pango"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ pango? (
+ media-libs/freetype:2
+ x11-libs/pango
+ )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --enable-a4 \
+ --enable-deco-is-roll \
+ $(use_enable pango)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin abcm2ps
+
+ insinto /usr/share/${PN}
+ doins *.fmt
+
+ dodoc README.md
+
+ if use examples ; then
+ docinto examples
+ dodoc sample*.*
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}