1 |
commit: f6a3afb9c6f9049449e2ad4af566853403a4f9c9 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 15 10:38:06 2019 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 15 10:38:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a3afb9 |
7 |
|
8 |
net-print/gutenprint-5.3.3: bump |
9 |
|
10 |
1) organized deps |
11 |
2) removed src_prepare as it is not needed anymore and in fact |
12 |
it breaks configuration |
13 |
Note: bug 613278 still not fixed |
14 |
Closes: https://bugs.gentoo.org/702904 |
15 |
Package-Manager: Portage-2.3.81, Repoman-2.3.20 |
16 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
17 |
|
18 |
net-print/gutenprint/Manifest | 1 + |
19 |
net-print/gutenprint/gutenprint-5.3.3.ebuild | 83 ++++++++++++++++++++++++++++ |
20 |
2 files changed, 84 insertions(+) |
21 |
|
22 |
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest |
23 |
index b70f5065797..a086990e608 100644 |
24 |
--- a/net-print/gutenprint/Manifest |
25 |
+++ b/net-print/gutenprint/Manifest |
26 |
@@ -1,2 +1,3 @@ |
27 |
DIST gutenprint-5.2.13.tar.bz2 6995005 BLAKE2B 7f9fe4bfee907fa6fe6de9bde674368701a221ea12459438053c231cc0e181601eb4fc700a95531135aecff2de6b2f41c2c78d89ad4445773efe0c11a8f45a35 SHA512 6a60a5e462bfd754ac4389b7e926715c06847c660df17e40d48cd57ece99a7ea6098bfd16c067cb27d8aef7ef705a2fdca9f05209d1f3ebf168b0ab16af4e36e |
28 |
DIST gutenprint-5.3.1.tar.xz 5153260 BLAKE2B 03465158944a77af93bfaf13878f821f13e63eac1bd92f9e33ba003b49a4cc1864e0ddf2bd3d72cec9fd2759401f90304f62ec068c3b62b0c210c53d1265c0d1 SHA512 214d07e6f78130e95c8c9d98f0862921d26f74a7c302afabdb138b35ef5f02f52fa143411983867fd7015477c16ca18cf8001e6552c27cd4a12c08ff77e92986 |
29 |
+DIST gutenprint-5.3.3.tar.xz 5050624 BLAKE2B dbcf74169d0756d991bbdad7338a6e6f995f8eeedc2610677b327abee6aecc787d1cc35949f73c1d93ad274de7d467542b72a5fe0abf58fbc4ec6f21667cbad7 SHA512 d2c47eb4ccc3c46ccb2f1042682edf7443f5c57439ead72f49ecd10537cf967251bacf7ca7da29fb8dceecc7eebd55ed021f2594ff9fb6509bab543fab1dc8d6 |
30 |
|
31 |
diff --git a/net-print/gutenprint/gutenprint-5.3.3.ebuild b/net-print/gutenprint/gutenprint-5.3.3.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..e27ce396ee4 |
34 |
--- /dev/null |
35 |
+++ b/net-print/gutenprint/gutenprint-5.3.3.ebuild |
36 |
@@ -0,0 +1,83 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=7 |
41 |
+inherit autotools |
42 |
+ |
43 |
+DESCRIPTION="Ghostscript and cups printer drivers" |
44 |
+HOMEPAGE="http://gutenprint.sourceforge.net" |
45 |
+ |
46 |
+MY_P="${P/_/-}" |
47 |
+S="${WORKDIR}/${MY_P}" |
48 |
+SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.xz" |
49 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
53 |
+ |
54 |
+IUSE="cups gimp gtk nls readline ppds static-libs" |
55 |
+REQUIRED_USE="gimp? ( gtk )" |
56 |
+ |
57 |
+BDEPEND=" |
58 |
+ virtual/pkgconfig |
59 |
+ nls? ( sys-devel/gettext ) |
60 |
+" |
61 |
+CDEPEND=" |
62 |
+ dev-lang/perl |
63 |
+ readline? ( sys-libs/readline:0= ) |
64 |
+ cups? ( >=net-print/cups-1.1.14 ) |
65 |
+ gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) |
66 |
+ gtk? ( x11-libs/gtk+:2 ) |
67 |
+ nls? ( virtual/libintl ) |
68 |
+" |
69 |
+RDEPEND="${CDEPEND}" |
70 |
+DEPEND="${CDEPEND}" |
71 |
+ |
72 |
+RESTRICT="test" |
73 |
+ |
74 |
+DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) |
75 |
+ |
76 |
+PATCHES=( |
77 |
+ "${FILESDIR}"/${PN}-5.3.1-cflags.patch |
78 |
+) |
79 |
+ |
80 |
+src_configure() { |
81 |
+ local myeconfargs=( |
82 |
+ --enable-test |
83 |
+ --disable-translated-cups-ppds |
84 |
+ $(use_enable gtk libgutenprintui2) |
85 |
+ $(use_with gimp gimp2) |
86 |
+ $(use_with gimp gimp2-as-gutenprint) |
87 |
+ $(use_with cups) |
88 |
+ $(use_enable nls) |
89 |
+ $(use_with readline) |
90 |
+ $(use_enable static-libs static) |
91 |
+ ) |
92 |
+ |
93 |
+ if use cups && use ppds; then |
94 |
+ myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) |
95 |
+ else |
96 |
+ myeconfargs+=( --disable-cups-ppds ) |
97 |
+ fi |
98 |
+ |
99 |
+ econf "${myeconfargs[@]}" |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ default |
104 |
+ |
105 |
+ dodoc doc/FAQ.html |
106 |
+ dodoc -r doc/gutenprintui2/html |
107 |
+ rm -r "${ED}"/usr/share/gutenprint/doc || die |
108 |
+ |
109 |
+ find "${ED}" -name '*.la' -exec rm -f '{}' + || die |
110 |
+} |
111 |
+ |
112 |
+pkg_postinst() { |
113 |
+ if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then |
114 |
+ elog "Updating installed printer ppd files" |
115 |
+ elog $(/usr/sbin/cups-genppdupdate) |
116 |
+ else |
117 |
+ elog "You need to update installed ppds manually using cups-genppdupdate" |
118 |
+ fi |
119 |
+} |