summaryrefslogtreecommitdiff
path: root/media-sound/abcm2ps
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/abcm2ps')
-rw-r--r--media-sound/abcm2ps/Manifest2
-rw-r--r--media-sound/abcm2ps/abcm2ps-8.14.13.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/abcm2ps/Manifest b/media-sound/abcm2ps/Manifest
index 0b2c1677c3f1..49d250e7dac5 100644
--- a/media-sound/abcm2ps/Manifest
+++ b/media-sound/abcm2ps/Manifest
@@ -1,3 +1,5 @@
DIST abcm2ps-8.14.12.tar.gz 259618 BLAKE2B d0efa0b8a624447791a56591b4a2c0d775c3c3f628dab437a0cb02d49614e21e587d13467f7fa72955a2846704dde0a0da28ae6888faa0032edcb6d026365f47 SHA512 a9bd26b21ed057be11f0de6c89e76615820c476b18e521fb7f478e6f685fb768824879d441d616b3de1bbb4a4335ec169aa819a609bea295e0d522d1466e42ed
+DIST abcm2ps-8.14.13.tar.gz 259695 BLAKE2B 7554976bc55a0f254dd6645bb0b7ca36566a98b0b2cb76f5fcd01ddf243fba92426aadc0e5f5e71d2644048fa9b1aba6cf091f23ac4bac7f4e634288186a015f SHA512 d48f44051aa62b3ee0dcd5cd4a32199d36d4ba056e6473b3c5eb378afabd40831f2a9abb2bbad2acb1c8bd3197a5b36177fabfb4e712b71589f835cba6c87c25
EBUILD abcm2ps-8.14.12.ebuild 878 BLAKE2B 36b88fa45779d165602ae5b5805d501e3dda59ebf6d0712e0201b6af0922a8e7cc7a3322d7b9ac0efbaee636f59079caf3fa14b83d28071efb3e50b931139901 SHA512 8d166545f746551422117be43d011fcab1efc2591065a8e599089537c098f39220de25354f7963040d462c6faf203ee13957993bc66d6ca1c7ee0daaec2404eb
+EBUILD abcm2ps-8.14.13.ebuild 880 BLAKE2B 04b11064df17602877ef0e5c849327b5197179b1a008517858af2d7ad4613a903566ee101b90b896789bd72ee8de432a0e02f762ee57fd6a2a5c346c18041925 SHA512 2f9a732eda8314534652df24c17ff40ccac99c9335ea4f36ca420525e655794c85ece549394ffe89c237c672762743646d11886adbae2bb9d1fd7a9d43b463f6
MISC metadata.xml 443 BLAKE2B 24e8ba1f04b867fa9b4e5ac6f195f696e417213feb6232f77b8ad266e57dea92a53b65fd252eda339e6a6a733a05e0aaa747f8a386c94de78d768dec387cfa68 SHA512 d213b82bddb08dd5624ce85deaf9d7962af180df83ac33288ee2b716ab3b50b590e1693f11fd68640728221b1dbad8c86389f09a24b883e3430862854cc39f9b
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
+}