diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2023-11-12 11:26:20 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-18 03:53:22 +0000 |
commit | 2ca6e563ea90e0abfa8fab07876c5282ad2bf1f0 (patch) | |
tree | 6681ea271fa20a3723760add97cfc82d695c8274 /net-print/cups-meta | |
parent | net-print/cups-browsed: new package, add 2.0.0 (diff) | |
download | gentoo-2ca6e563ea90e0abfa8fab07876c5282ad2bf1f0.tar.gz gentoo-2ca6e563ea90e0abfa8fab07876c5282ad2bf1f0.tar.bz2 gentoo-2ca6e563ea90e0abfa8fab07876c5282ad2bf1f0.zip |
net-print/cups-meta: new package, add 1
New metapackage to pull in all the parts for a functional cups printing
stack. This will allow to avoid relying on net-print/cups for that
purpose -- because, with the advent of cups-filters 2.0.0 and the
ongoing work to refactor CUPS 3, things are broken out into various
interconnected components and configuring each one is not perfectly
straightforward. Eventually, there will not be a "cups" package at all
anyway.
Additionally, this helps solve a longstanding cycle with cups <-->
cups-filters that has only gotten worse since the latter was broken up
into various packages which require libcups from cups, which in turn
depends on -filters. There are a number of use cases for having cups
installed in "minimal" mode so that other packages can build against it.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-print/cups-meta')
-rw-r--r-- | net-print/cups-meta/cups-meta-1.ebuild | 23 | ||||
-rw-r--r-- | net-print/cups-meta/metadata.xml | 14 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-print/cups-meta/cups-meta-1.ebuild b/net-print/cups-meta/cups-meta-1.ebuild new file mode 100644 index 000000000000..865ef6ab6d0e --- /dev/null +++ b/net-print/cups-meta/cups-meta-1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Metapackage for a fully configured cups printer setup" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" + +LICENSE="metapackage" +SLOT="0" +IUSE="+browsed +foomatic pdf +postscript +poppler zeroconf" +KEYWORDS="~amd64" + +RDEPEND=" + net-print/cups[zeroconf?] + net-print/libppd[postscript?,poppler?] + net-print/libcupsfilters[pdf?,poppler?] + net-print/cups-filters[foomatic?] + + browsed? ( net-print/cups-browsed ) + pdf? ( app-text/mupdf ) + postscript? ( >=app-text/ghostscript-gpl-9.09[cups] ) +" diff --git a/net-print/cups-meta/metadata.xml b/net-print/cups-meta/metadata.xml new file mode 100644 index 000000000000..45b1ab54c522 --- /dev/null +++ b/net-print/cups-meta/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>printing@gentoo.org</email> + <name>Gentoo Printing Project</name> + </maintainer> + <stabilize-allarches/> + <use> + <flag name="browsed">Include support for the cups-browsed daemon.</flag> + <flag name="foomatic">Include support for the foomatic-rip printer driver. Strongly recommended.</flag> + <flag name="poppler">Include support for the <pkg>app-text/poppler</pkg> filters.</flag> + </use> +</pkgmetadata> |