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