summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-01-10 10:47:31 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-01-10 10:47:31 +0100
commitbe4736846684d3504519b2322b86620a58cde741 (patch)
treed80863dc269b960173a09bc5474ed46bc686e771 /media-sound/abcm2ps
parentmedia-sound/sidplayfp: bump to 2.6.1, dropped 2.6.0 (diff)
downloadgentoo-be4736846684d3504519b2322b86620a58cde741.tar.gz
gentoo-be4736846684d3504519b2322b86620a58cde741.tar.bz2
gentoo-be4736846684d3504519b2322b86620a58cde741.zip
media-sound/abcm2ps: bump to 8.14.15
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.15.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/abcm2ps/Manifest b/media-sound/abcm2ps/Manifest
index 7fdb4df863ff..5d89e8f2bea4 100644
--- a/media-sound/abcm2ps/Manifest
+++ b/media-sound/abcm2ps/Manifest
@@ -1 +1,2 @@
DIST abcm2ps-8.14.14.tar.gz 260030 BLAKE2B 432be5097dc403bc1cb4377472d6107479b75456427c339f3675fcae37acd0ab1eb67026788535f428f620d62caa0e472a5d8b1518a0cfea03111e8132c70db6 SHA512 9b562911de4a98fd132d580bd0fff7599d97a740445f05bfa327d09737dd0a95580b8ec8e158bdadda0baacd7e00e089a133f4614b4d54d1e6d2da2f974c2053
+DIST abcm2ps-8.14.15.tar.gz 260077 BLAKE2B 4791e66efb741f2d3ea5f8ef252d60da80018f843059510c32dd4e4dfadf7ad7626592f6b84e93ee93053b436eda2da5246b2150a0af29e866c4517c6077ce8a SHA512 5466051b337328cccf9c12838aecfffc782e9906b7b659f4929c5da3af9d25eb67bf679720a924197cf0ffaae68e0bdc5e3e8efcc7614524fe954769379a79e1
diff --git a/media-sound/abcm2ps/abcm2ps-8.14.15.ebuild b/media-sound/abcm2ps/abcm2ps-8.14.15.ebuild
new file mode 100644
index 000000000000..44376a2aebd5
--- /dev/null
+++ b/media-sound/abcm2ps/abcm2ps-8.14.15.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 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/lewdlime/abcm2ps"
+SRC_URI="https://github.com/lewdlime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+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
+}