1 |
commit: b26d2d4e93f796b586dda69413392799fe15aa7c |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 18:37:27 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 18:37:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26d2d4e |
7 |
|
8 |
media-gfx/inkscape: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
media-gfx/inkscape/inkscape-0.92.4-r2.ebuild | 166 --------------------------- |
14 |
1 file changed, 166 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/inkscape/inkscape-0.92.4-r2.ebuild b/media-gfx/inkscape/inkscape-0.92.4-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index f6599b277d7..00000000000 |
19 |
--- a/media-gfx/inkscape/inkscape-0.92.4-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,166 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PYTHON_COMPAT=( python2_7 ) |
28 |
-PYTHON_REQ_USE="xml" |
29 |
-inherit autotools flag-o-matic gnome2-utils xdg toolchain-funcs python-single-r1 |
30 |
- |
31 |
-MY_P="${P/_/}" |
32 |
- |
33 |
-DESCRIPTION="SVG based generic vector-drawing program" |
34 |
-HOMEPAGE="https://inkscape.org/" |
35 |
-SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2" |
36 |
- |
37 |
-LICENSE="GPL-2 LGPL-2.1" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86" |
40 |
-IUSE="cdr dia dbus exif gnome imagemagick openmp postscript inkjar jpeg latex" |
41 |
-IUSE+=" lcms nls spell static-libs visio wpg" |
42 |
- |
43 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
44 |
- |
45 |
-COMMON_DEPEND="${PYTHON_DEPS} |
46 |
- >=app-text/poppler-0.26.0:=[cairo] |
47 |
- >=dev-cpp/glibmm-2.54.1 |
48 |
- >=dev-cpp/gtkmm-2.18.0:2.4 |
49 |
- >=dev-cpp/cairomm-1.9.8 |
50 |
- >=dev-libs/boehm-gc-7.1:= |
51 |
- >=dev-libs/glib-2.28 |
52 |
- >=dev-libs/libsigc++-2.0.12 |
53 |
- >=dev-libs/libxml2-2.6.20 |
54 |
- >=dev-libs/libxslt-1.0.15 |
55 |
- dev-libs/popt |
56 |
- media-gfx/potrace |
57 |
- media-libs/fontconfig |
58 |
- media-libs/freetype:2 |
59 |
- media-libs/libpng:0= |
60 |
- sci-libs/gsl:= |
61 |
- x11-libs/libX11 |
62 |
- >=x11-libs/gtk+-2.10.7:2 |
63 |
- >=x11-libs/pango-1.24 |
64 |
- cdr? ( |
65 |
- app-text/libwpg:0.3 |
66 |
- dev-libs/librevenge |
67 |
- media-libs/libcdr |
68 |
- ) |
69 |
- dbus? ( dev-libs/dbus-glib ) |
70 |
- exif? ( media-libs/libexif ) |
71 |
- gnome? ( >=gnome-base/gnome-vfs-2.0 ) |
72 |
- imagemagick? ( <media-gfx/imagemagick-7:=[cxx] ) |
73 |
- jpeg? ( virtual/jpeg:0 ) |
74 |
- lcms? ( media-libs/lcms:2 ) |
75 |
- spell? ( |
76 |
- app-text/aspell |
77 |
- app-text/gtkspell:2 |
78 |
- ) |
79 |
- visio? ( |
80 |
- app-text/libwpg:0.3 |
81 |
- dev-libs/librevenge |
82 |
- media-libs/libvisio |
83 |
- ) |
84 |
- wpg? ( |
85 |
- app-text/libwpg:0.3 |
86 |
- dev-libs/librevenge |
87 |
- ) |
88 |
-" |
89 |
-# These only use executables provided by these packages |
90 |
-# See share/extensions for more details. inkscape can tell you to |
91 |
-# install these so we could of course just not depend on those and rely |
92 |
-# on that. |
93 |
-RDEPEND="${COMMON_DEPEND} |
94 |
- $(python_gen_cond_dep ' |
95 |
- || ( |
96 |
- dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] |
97 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
98 |
- ) |
99 |
- ') |
100 |
- media-gfx/uniconvertor |
101 |
- dia? ( app-office/dia ) |
102 |
- latex? ( |
103 |
- media-gfx/pstoedit[plotutils] |
104 |
- app-text/dvipsk |
105 |
- app-text/texlive-core |
106 |
- ) |
107 |
- postscript? ( app-text/ghostscript-gpl ) |
108 |
-" |
109 |
-DEPEND="${COMMON_DEPEND} |
110 |
- >=dev-libs/boost-1.36 |
111 |
- dev-util/glib-utils |
112 |
- >=dev-util/intltool-0.40 |
113 |
- >=sys-devel/gettext-0.17 |
114 |
- virtual/pkgconfig |
115 |
-" |
116 |
- |
117 |
-PATCHES=( |
118 |
- "${FILESDIR}/${PN}-0.92.1-automagic.patch" |
119 |
- "${FILESDIR}/${PN}-0.91_pre3-cppflags.patch" |
120 |
- "${FILESDIR}/${PN}-0.92.1-desktop.patch" |
121 |
- "${FILESDIR}/${PN}-0.91_pre3-exif.patch" |
122 |
- "${FILESDIR}/${PN}-0.91_pre3-sk-man.patch" |
123 |
- "${FILESDIR}/${PN}-0.48.4-epython.patch" |
124 |
- "${FILESDIR}/${PN}-0.92.4-poppler-0.76.0.patch" #684246 |
125 |
- "${FILESDIR}/${PN}-0.92.4-poppler-0.82.0.patch" |
126 |
- "${FILESDIR}/${PN}-0.92.4-poppler-0.83.0.patch" |
127 |
- "${FILESDIR}/${PN}-0.92.4-glibmm-2.62.patch" #715394 |
128 |
-) |
129 |
- |
130 |
-S="${WORKDIR}/${MY_P}" |
131 |
- |
132 |
-RESTRICT="test" |
133 |
- |
134 |
-pkg_pretend() { |
135 |
- if [[ ${MERGE_TYPE} != binary ]] && use openmp; then |
136 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
137 |
- fi |
138 |
-} |
139 |
- |
140 |
-src_prepare() { |
141 |
- default |
142 |
- |
143 |
- sed -i "s#@EPYTHON@#${EPYTHON}#" \ |
144 |
- src/extension/implementation/script.cpp || die |
145 |
- |
146 |
- eautoreconf |
147 |
- |
148 |
- # bug 421111 |
149 |
- python_fix_shebang share/extensions |
150 |
-} |
151 |
- |
152 |
-src_configure() { |
153 |
- # aliasing unsafe wrt #310393 |
154 |
- append-flags -fno-strict-aliasing |
155 |
- |
156 |
- local myeconfargs=( |
157 |
- $(use_enable static-libs static) |
158 |
- $(use_enable nls) |
159 |
- $(use_enable openmp) |
160 |
- $(use_enable exif) |
161 |
- $(use_enable jpeg) |
162 |
- $(use_enable lcms) |
163 |
- --enable-poppler-cairo |
164 |
- $(use_enable wpg) |
165 |
- $(use_enable visio) |
166 |
- $(use_enable cdr) |
167 |
- $(use_enable dbus dbusapi) |
168 |
- $(use_enable imagemagick magick) |
169 |
- $(use_with gnome gnome-vfs) |
170 |
- $(use_with inkjar) |
171 |
- $(use_with spell gtkspell) |
172 |
- $(use_with spell aspell) |
173 |
- ) |
174 |
- econf "${myeconfargs[@]}" |
175 |
-} |
176 |
- |
177 |
-src_compile() { |
178 |
- emake -C src helper/sp-marshal.h #686304 |
179 |
- emake AR="$(tc-getAR)" |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- default |
184 |
- |
185 |
- find "${ED}" -name "*.la" -delete || die |
186 |
- python_optimize "${ED%/}"/usr/share/${PN}/extensions |
187 |
-} |