1 |
commit: 7ba76b0556d87fad3368f35c0559ed74f8184ffe |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 13 09:11:01 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 13 09:11:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba76b05 |
7 |
|
8 |
net-print/cups-filters: Bump to version 1.25.12 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-print/cups-filters/Manifest | 1 + |
14 |
net-print/cups-filters/cups-filters-1.25.12.ebuild | 137 +++++++++++++++++++++ |
15 |
2 files changed, 138 insertions(+) |
16 |
|
17 |
diff --git a/net-print/cups-filters/Manifest b/net-print/cups-filters/Manifest |
18 |
index 085b5815fff..34fd819e393 100644 |
19 |
--- a/net-print/cups-filters/Manifest |
20 |
+++ b/net-print/cups-filters/Manifest |
21 |
@@ -2,4 +2,5 @@ DIST cups-filters-1.21.6.tar.xz 1474944 BLAKE2B a4c3418accb9d2bf46a366ec6004919d |
22 |
DIST cups-filters-1.22.6.tar.xz 1477584 BLAKE2B 7d833c3e97c510eabcc906bbd01d4d1ef2bf3106d963bdec7f735942e96a830c53ec2c03a4ef580d9fc01f19bae3962c1bd2a98d2af7f03f71988ae374366fee SHA512 6c1c46bd74f700b3ab0a46cb4b5b7ecc93000122e9deb20b43878d876cbe2ceeeb4a3c16ef6de00497b10447d04f2689a5d939d0d49212e7274cc51b4617c296 |
23 |
DIST cups-filters-1.25.10.tar.xz 1483276 BLAKE2B 34961ec157db992b4225413143566e9d74f8effc879848ff4a47cbd1b87d3fab7b41b75d3a48310c2b56cc834e7999d4268eaa5f30a7e20a3969c13cb4c98585 SHA512 1ac2e05e4a9c7ccc000f39d4a0cfa66e1328a049154cede71602bdef5ba5a19a13fa4e48d33adb7e19849bc4f659559ff73151f8b2b36c1eb6d1625396704abf |
24 |
DIST cups-filters-1.25.11.tar.xz 1482792 BLAKE2B 67801904dbe025933d1209817e23ff74b661b35c3af560081f12d4f9a26102e009bac9d4741e15dc257dd477967b18ae23911647f8f56b361e9f8d51b0d619f2 SHA512 67e7c624952b5e2db33a698ac1287a3448a4787fa28000cefc5a982c2fa18a4f56e11e3ba65da8a6e565a53a193c6eb31ba1867ad36ca8dc7e61250f11232681 |
25 |
+DIST cups-filters-1.25.12.tar.xz 1484148 BLAKE2B 55f05d9c5bf8ae7eb3416de8b1bc2fe919a43875753ee0c02a1fae319d72e7d71a2e46ae8888e840972ba79bb39d515a54b276729648c872ac6c59bfbca02fa0 SHA512 587b8d550923fb5be9f71172e613af7b2bd0e70f780143574482c5efcc2cf869f7d715f63323e63a8f00acd3f08f7e0803cc5a723cdd903229389e7ce11b0c16 |
26 |
DIST cups-filters-1.25.6.tar.xz 1482160 BLAKE2B 13587dc5153e7e0368b2d4edcfab0aec3864b1b17e403fc54bd1f0677ed8611934b55bfbd5ce2a474486a9e56e946530493afba3a7d7bc2731f08bb11dbe2bdb SHA512 14c958bcb98e4addde84c3c0d27e7056f1b4790b8502f5fb0c23c1e2cf80a6fd22fa39816a2f2e6c0501272a57cfcc84ce939a8614563e795e5d2ae035972f33 |
27 |
|
28 |
diff --git a/net-print/cups-filters/cups-filters-1.25.12.ebuild b/net-print/cups-filters/cups-filters-1.25.12.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..f0b38336f1b |
31 |
--- /dev/null |
32 |
+++ b/net-print/cups-filters/cups-filters-1.25.12.ebuild |
33 |
@@ -0,0 +1,137 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+GENTOO_DEPEND_ON_PERL=no |
40 |
+ |
41 |
+inherit perl-module systemd flag-o-matic |
42 |
+ |
43 |
+if [[ "${PV}" == "9999" ]] ; then |
44 |
+ inherit autotools git-r3 |
45 |
+ EGIT_REPO_URI="https://github.com/OpenPrinting/cups-filters.git" |
46 |
+else |
47 |
+ SRC_URI="http://www.openprinting.org/download/${PN}/${P}.tar.xz" |
48 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~m68k-mint" |
49 |
+fi |
50 |
+DESCRIPTION="Cups filters" |
51 |
+HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/cups-filters" |
52 |
+ |
53 |
+LICENSE="MIT GPL-2" |
54 |
+SLOT="0" |
55 |
+IUSE="dbus +foomatic ipp_autosetup jpeg ldap pclm pdf perl png +postscript static-libs test tiff zeroconf" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils] |
59 |
+ >=app-text/qpdf-8.3.0:= |
60 |
+ dev-libs/glib:2 |
61 |
+ media-libs/fontconfig |
62 |
+ media-libs/freetype:2 |
63 |
+ media-libs/lcms:2 |
64 |
+ >=net-print/cups-1.7.3 |
65 |
+ !<=net-print/cups-1.5.9999 |
66 |
+ sys-devel/bc |
67 |
+ sys-libs/zlib |
68 |
+ dbus? ( sys-apps/dbus ) |
69 |
+ foomatic? ( !net-print/foomatic-filters ) |
70 |
+ jpeg? ( virtual/jpeg:0 ) |
71 |
+ ldap? ( net-nds/openldap ) |
72 |
+ pdf? ( app-text/mupdf ) |
73 |
+ perl? ( dev-lang/perl:= ) |
74 |
+ png? ( media-libs/libpng:0= ) |
75 |
+ postscript? ( >=app-text/ghostscript-gpl-9.09[cups] ) |
76 |
+ tiff? ( media-libs/tiff:0 ) |
77 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
78 |
+" |
79 |
+DEPEND="${RDEPEND}" |
80 |
+BDEPEND=" |
81 |
+ dev-util/gdbus-codegen |
82 |
+ >=sys-devel/gettext-0.18.3 |
83 |
+ virtual/pkgconfig |
84 |
+ test? ( media-fonts/dejavu ) |
85 |
+" |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ default |
89 |
+ [[ "${PV}" == "9999" ]] && eautoreconf |
90 |
+ |
91 |
+ # Bug #626800 |
92 |
+ append-cxxflags -std=c++11 |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ local myeconfargs=( |
97 |
+ --enable-imagefilters |
98 |
+ --localstatedir="${EPREFIX}"/var |
99 |
+ --with-browseremoteprotocols=DNSSD,CUPS |
100 |
+ --with-cups-rundir="${EPREFIX}"/run/cups |
101 |
+ --with-fontdir="fonts/conf.avail" |
102 |
+ --with-pdftops=pdftops |
103 |
+ --with-rcdir=no |
104 |
+ --without-php |
105 |
+ $(use_enable dbus) |
106 |
+ $(use_enable foomatic) |
107 |
+ $(use_enable ipp_autosetup auto-setup-driverless) |
108 |
+ $(use_enable ldap) |
109 |
+ $(use_enable pclm) |
110 |
+ $(use_enable pdf mutool) |
111 |
+ $(use_enable postscript ghostscript) |
112 |
+ $(use_enable static-libs static) |
113 |
+ $(use_enable zeroconf avahi) |
114 |
+ $(use_with jpeg) |
115 |
+ $(use_with png) |
116 |
+ $(use_with tiff) |
117 |
+ ) |
118 |
+ econf "${myeconfargs[@]}" |
119 |
+} |
120 |
+ |
121 |
+src_compile() { |
122 |
+ default |
123 |
+ |
124 |
+ if use perl; then |
125 |
+ pushd "${S}/scripting/perl" > /dev/null |
126 |
+ perl-module_src_configure |
127 |
+ perl-module_src_compile |
128 |
+ popd > /dev/null |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ default |
134 |
+ |
135 |
+ if use perl; then |
136 |
+ pushd "${S}/scripting/perl" > /dev/null |
137 |
+ perl-module_src_install |
138 |
+ perl_delete_localpod |
139 |
+ popd > /dev/null |
140 |
+ fi |
141 |
+ |
142 |
+ if use postscript; then |
143 |
+ # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831 |
144 |
+ dosym gstoraster /usr/libexec/cups/filter/pstoraster |
145 |
+ dosym gstopxl /usr/libexec/cups/filter/pstopxl |
146 |
+ fi |
147 |
+ |
148 |
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
149 |
+ |
150 |
+ cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die |
151 |
+ |
152 |
+ if ! use zeroconf ; then |
153 |
+ sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die |
154 |
+ sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die |
155 |
+ fi |
156 |
+ |
157 |
+ doinitd "${T}"/cups-browsed |
158 |
+ systemd_dounit "${S}/utils/cups-browsed.service" |
159 |
+} |
160 |
+ |
161 |
+src_test() { |
162 |
+ emake check |
163 |
+} |
164 |
+ |
165 |
+pkg_postinst() { |
166 |
+ if ! use foomatic ; then |
167 |
+ ewarn "You are disabling the foomatic code in cups-filters. Please do that ONLY if absolutely." |
168 |
+ ewarn "necessary. net-print/foomatic-filters as replacement is deprecated and unmaintained." |
169 |
+ fi |
170 |
+} |