1 |
commit: 37fa00f409091c362bad18b521f66254b550cbb9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 27 21:11:20 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 27 21:11:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37fa00f4 |
7 |
|
8 |
media-gfx/inkscape: Drop 0.92.3 (r0) |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
media-gfx/inkscape/inkscape-0.92.3.ebuild | 179 ------------------------------ |
14 |
1 file changed, 179 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/inkscape/inkscape-0.92.3.ebuild b/media-gfx/inkscape/inkscape-0.92.3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 89ad5363774..00000000000 |
19 |
--- a/media-gfx/inkscape/inkscape-0.92.3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,179 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
-PYTHON_REQ_USE="xml" |
28 |
- |
29 |
-inherit autotools flag-o-matic gnome2-utils xdg toolchain-funcs python-single-r1 |
30 |
- |
31 |
-MY_P="${P/_/}" |
32 |
- |
33 |
-DESCRIPTION="A 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=" |
46 |
- ${PYTHON_DEPS} |
47 |
- >=app-text/poppler-0.26.0:=[cairo] |
48 |
- >=dev-cpp/glibmm-2.48 |
49 |
- >=dev-cpp/gtkmm-2.18.0:2.4 |
50 |
- >=dev-cpp/cairomm-1.9.8 |
51 |
- >=dev-libs/boehm-gc-7.1:= |
52 |
- >=dev-libs/glib-2.28 |
53 |
- >=dev-libs/libsigc++-2.0.12 |
54 |
- >=dev-libs/libxml2-2.6.20 |
55 |
- >=dev-libs/libxslt-1.0.15 |
56 |
- dev-libs/popt |
57 |
- dev-python/lxml[${PYTHON_USEDEP}] |
58 |
- media-gfx/potrace |
59 |
- media-gfx/scour[${PYTHON_USEDEP}] |
60 |
- media-libs/fontconfig |
61 |
- media-libs/freetype:2 |
62 |
- media-libs/libpng:0 |
63 |
- sci-libs/gsl:= |
64 |
- x11-libs/libX11 |
65 |
- >=x11-libs/gtk+-2.10.7:2 |
66 |
- >=x11-libs/pango-1.24 |
67 |
- cdr? ( |
68 |
- media-libs/libcdr |
69 |
- app-text/libwpg:0.3 |
70 |
- dev-libs/librevenge |
71 |
- ) |
72 |
- dbus? ( dev-libs/dbus-glib ) |
73 |
- exif? ( media-libs/libexif ) |
74 |
- gnome? ( >=gnome-base/gnome-vfs-2.0 ) |
75 |
- imagemagick? ( media-gfx/imagemagick:=[cxx] ) |
76 |
- jpeg? ( virtual/jpeg:0 ) |
77 |
- lcms? ( media-libs/lcms:2 ) |
78 |
- spell? ( |
79 |
- app-text/aspell |
80 |
- app-text/gtkspell:2 |
81 |
- ) |
82 |
- visio? ( |
83 |
- media-libs/libvisio |
84 |
- app-text/libwpg:0.3 |
85 |
- dev-libs/librevenge |
86 |
- ) |
87 |
- wpg? ( |
88 |
- app-text/libwpg:0.3 |
89 |
- dev-libs/librevenge |
90 |
- ) |
91 |
-" |
92 |
- |
93 |
-# These only use executables provided by these packages |
94 |
-# See share/extensions for more details. inkscape can tell you to |
95 |
-# install these so we could of course just not depend on those and rely |
96 |
-# on that. |
97 |
-RDEPEND="${COMMON_DEPEND} |
98 |
- dev-python/numpy[${PYTHON_USEDEP}] |
99 |
- media-gfx/uniconvertor |
100 |
- dia? ( app-office/dia ) |
101 |
- latex? ( |
102 |
- media-gfx/pstoedit[plotutils] |
103 |
- app-text/dvipsk |
104 |
- app-text/texlive-core |
105 |
- ) |
106 |
- postscript? ( app-text/ghostscript-gpl ) |
107 |
-" |
108 |
- |
109 |
-DEPEND="${COMMON_DEPEND} |
110 |
- >=dev-libs/boost-1.36 |
111 |
- >=dev-util/intltool-0.40 |
112 |
- >=sys-devel/gettext-0.17 |
113 |
- virtual/pkgconfig |
114 |
-" |
115 |
- |
116 |
-PATCHES=( |
117 |
- "${FILESDIR}/${PN}-0.92.1-automagic.patch" |
118 |
- "${FILESDIR}/${PN}-0.91_pre3-cppflags.patch" |
119 |
- "${FILESDIR}/${PN}-0.92.1-desktop.patch" |
120 |
- "${FILESDIR}/${PN}-0.91_pre3-exif.patch" |
121 |
- "${FILESDIR}/${PN}-0.91_pre3-sk-man.patch" |
122 |
- "${FILESDIR}/${PN}-0.48.4-epython.patch" |
123 |
- "${FILESDIR}/${PN}-0.92.3-freetype_pkgconfig.patch" |
124 |
- "${FILESDIR}/${PN}-0.92.3-poppler-0.64.patch" |
125 |
- "${FILESDIR}/${PN}-0.92.3-poppler-0.65.patch" |
126 |
-) |
127 |
- |
128 |
-S="${WORKDIR}/${MY_P}" |
129 |
- |
130 |
-RESTRICT="test" |
131 |
- |
132 |
-pkg_pretend() { |
133 |
- if use openmp; then |
134 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-src_prepare() { |
139 |
- default |
140 |
- |
141 |
- sed -i "s#@EPYTHON@#${EPYTHON}#" \ |
142 |
- src/extension/implementation/script.cpp || die |
143 |
- |
144 |
- eautoreconf |
145 |
- |
146 |
- # bug 421111 |
147 |
- python_fix_shebang share/extensions |
148 |
-} |
149 |
- |
150 |
-src_configure() { |
151 |
- # aliasing unsafe wrt #310393 |
152 |
- append-flags -fno-strict-aliasing |
153 |
- |
154 |
- local myeconfargs=( |
155 |
- $(use_enable static-libs static) |
156 |
- $(use_enable nls) |
157 |
- $(use_enable openmp) |
158 |
- $(use_enable exif) |
159 |
- $(use_enable jpeg) |
160 |
- $(use_enable lcms) |
161 |
- --enable-poppler-cairo |
162 |
- $(use_enable wpg) |
163 |
- $(use_enable visio) |
164 |
- $(use_enable cdr) |
165 |
- $(use_enable dbus dbusapi) |
166 |
- $(use_enable imagemagick magick) |
167 |
- $(use_with gnome gnome-vfs) |
168 |
- $(use_with inkjar) |
169 |
- $(use_with spell gtkspell) |
170 |
- $(use_with spell aspell) |
171 |
- ) |
172 |
- econf "${myeconfargs[@]}" |
173 |
-} |
174 |
- |
175 |
-src_compile() { |
176 |
- emake AR="$(tc-getAR)" |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- default |
181 |
- |
182 |
- find "${ED}" -name "*.la" -delete || die |
183 |
- python_optimize "${ED%/}"/usr/share/${PN}/extensions |
184 |
-} |
185 |
- |
186 |
-pkg_preinst() { |
187 |
- gnome2_icon_savelist |
188 |
-} |
189 |
- |
190 |
-pkg_postinst() { |
191 |
- gnome2_icon_cache_update |
192 |
- xdg_mimeinfo_database_update |
193 |
- xdg_desktop_database_update |
194 |
-} |
195 |
- |
196 |
-pkg_postrm() { |
197 |
- gnome2_icon_cache_update |
198 |
- xdg_mimeinfo_database_update |
199 |
- xdg_desktop_database_update |
200 |
-} |