commit:     8dfab6971f247d726a47def8d50c32b02289fb75
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Feb 11 16:31:00 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 12:13:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfab697

net-print/poster: EAPI8 bump, fix HOMEPAGE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35277
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-print/poster/poster-20060221-r4.ebuild | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/net-print/poster/poster-20060221-r4.ebuild 
b/net-print/poster/poster-20060221-r4.ebuild
new file mode 100644
index 000000000000..b0aeabe617c5
--- /dev/null
+++ b/net-print/poster/poster-20060221-r4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Small utility for making a poster from an EPS file or a one-page 
PS document"
+HOMEPAGE="https://ctan.org/pkg/poster";
+SRC_URI="mirror://kde/printing/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=(
+       "${FILESDIR}/${P}-fix_gs_crash.patch"
+       "${FILESDIR}/${P}-fix_duplicate_DocumentMedia.patch"
+       "${FILESDIR}/${P}-fix_cutmarks.patch"
+)
+
+src_compile() {
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} ${PN}.c -lm -o ${PN} || die
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       dodoc README ChangeLog
+}

Reply via email to