summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-01-30 10:19:40 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2022-01-30 10:19:40 +0100
commit15e630903947a38d5ff93c19982895c8d6321e35 (patch)
tree07fb190910b85b802accd9705a429b95a57b1753 /media-sound/abcm2ps
parentmedia-sound/abcmidi: bump to 2022.01.28, dropped 2022.01.27 (diff)
downloadgentoo-15e630903947a38d5ff93c19982895c8d6321e35.tar.gz
gentoo-15e630903947a38d5ff93c19982895c8d6321e35.tar.bz2
gentoo-15e630903947a38d5ff93c19982895c8d6321e35.zip
media-sound/abcm2ps: bump to 8.14.13
Package-Manager: Portage-3.0.30, 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.13.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/abcm2ps/Manifest b/media-sound/abcm2ps/Manifest
index 3dbd2d147218..386323898621 100644
--- a/media-sound/abcm2ps/Manifest
+++ b/media-sound/abcm2ps/Manifest
@@ -1 +1,2 @@
DIST abcm2ps-8.14.12.tar.gz 259618 BLAKE2B d0efa0b8a624447791a56591b4a2c0d775c3c3f628dab437a0cb02d49614e21e587d13467f7fa72955a2846704dde0a0da28ae6888faa0032edcb6d026365f47 SHA512 a9bd26b21ed057be11f0de6c89e76615820c476b18e521fb7f478e6f685fb768824879d441d616b3de1bbb4a4335ec169aa819a609bea295e0d522d1466e42ed
+DIST abcm2ps-8.14.13.tar.gz 259695 BLAKE2B 7554976bc55a0f254dd6645bb0b7ca36566a98b0b2cb76f5fcd01ddf243fba92426aadc0e5f5e71d2644048fa9b1aba6cf091f23ac4bac7f4e634288186a015f SHA512 d48f44051aa62b3ee0dcd5cd4a32199d36d4ba056e6473b3c5eb378afabd40831f2a9abb2bbad2acb1c8bd3197a5b36177fabfb4e712b71589f835cba6c87c25
diff --git a/media-sound/abcm2ps/abcm2ps-8.14.13.ebuild b/media-sound/abcm2ps/abcm2ps-8.14.13.ebuild
new file mode 100644
index 000000000000..725e2681b729
--- /dev/null
+++ b/media-sound/abcm2ps/abcm2ps-8.14.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}