From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-print/libppd/
Date: Sun, 23 Feb 2025 05:11:44 +0000 (UTC) [thread overview]
Message-ID: <1740287345.bc0de303ee07f044d7adcee1ea670504053e3b0d.sam@gentoo> (raw)
commit: bc0de303ee07f044d7adcee1ea670504053e3b0d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 05:05:06 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 05:09:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc0de303
net-print/libppd: add 2.1.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-print/libppd/libppd-2.1.1.ebuild | 61 ++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/net-print/libppd/libppd-2.1.1.ebuild b/net-print/libppd/libppd-2.1.1.ebuild
new file mode 100644
index 000000000000..d30e44be37fa
--- /dev/null
+++ b/net-print/libppd/libppd-2.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool
+
+DESCRIPTION="Legacy library for PPD files, split out of cups-filters"
+HOMEPAGE="https://github.com/OpenPrinting/libppd"
+SRC_URI="https://github.com/OpenPrinting/libppd/releases/download/${PV/_beta/b}/${P/_beta/b}.tar.xz"
+S="${WORKDIR}"/${P/_beta/b}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+postscript +poppler"
+
+# pdftops has various possible implementations, but the default
+# really needs to be decent
+REQUIRED_USE="|| ( postscript poppler )"
+
+RDEPEND="
+ >=net-print/cups-2
+ net-print/libcupsfilters
+ !<net-print/cups-filters-2.0.0
+ sys-libs/zlib
+ postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
+ poppler? ( >=app-text/poppler-0.32[utils] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=sys-devel/gettext-0.18.3
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ elibtoolize
+}
+
+src_configure() {
+ local myeconfargs=(
+ --localstatedir="${EPREFIX}"/var
+ --with-cups-rundir="${EPREFIX}"/run/cups
+ # This does build time checks for (preferred) tool interfaces.
+ $(use_enable postscript ghostscript)
+ $(use_enable poppler pdftops)
+ # These fallbacks are just probed for the path. Always enable them.
+ --with-mutool-path="${EPREFIX}"/usr/bin/mutool
+ --with-pdftocairo-path="${EPREFIX}"/usr/bin/pdftocairo # from poppler
+ # unpackaged
+ --disable-acroread
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
next reply other threads:[~2025-02-23 5:11 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-23 5:11 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 5:42 [gentoo-commits] repo/gentoo:master commit in: net-print/libppd/ Sam James
2025-02-23 5:31 Sam James
2025-02-23 5:31 Sam James
2025-02-23 5:21 Sam James
2025-02-23 5:16 Sam James
2024-10-18 12:39 Sam James
2024-09-30 0:25 Eli Schwartz
2024-09-28 13:33 Arthur Zamarin
2024-09-27 5:46 Arthur Zamarin
2024-09-27 5:30 Arthur Zamarin
2024-09-27 5:30 Arthur Zamarin
2024-09-26 21:36 Sam James
2024-09-26 21:35 Sam James
2024-03-08 11:09 Sam James
2024-02-22 4:45 Ionen Wolkens
2024-02-05 16:46 Sam James
2024-02-05 16:46 Sam James
2024-02-05 15:12 Sam James
2024-02-05 15:12 Sam James
2024-02-05 15:12 Sam James
2024-02-05 15:12 Sam James
2024-01-25 1:05 Ionen Wolkens
2024-01-03 8:41 Jakov Smolić
2023-12-30 1:26 Ionen Wolkens
2023-12-30 1:26 Ionen Wolkens
2023-12-29 14:55 Arthur Zamarin
2023-12-29 14:55 Arthur Zamarin
2023-12-29 14:54 Arthur Zamarin
2023-12-29 14:36 Arthur Zamarin
2023-12-22 13:24 Mart Raudsepp
2023-12-18 3:54 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740287345.bc0de303ee07f044d7adcee1ea670504053e3b0d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox