1 |
commit: 4e781fbeb750f7d8ad70319f0f5386708aacbdb3 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 15:48:17 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 20:16:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e781fbe |
7 |
|
8 |
sci-chemistry/chemical-mime-data: Add missing png&svg support for imagemagick during build |
9 |
|
10 |
* Bump to EAPI=6 |
11 |
* Use xdg.eclass instead of fdo-mime.eclass |
12 |
* Optional usage of gnome-base/librsvg instead of media-gfx/imagemagick |
13 |
|
14 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=575904 |
15 |
|
16 |
Package-Manager: portage-2.2.27 |
17 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
18 |
|
19 |
.../chemical-mime-data-0.1.94-r3.ebuild | 49 ++++++++++++++++++++++ |
20 |
1 file changed, 49 insertions(+) |
21 |
|
22 |
diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r3.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r3.ebuild |
23 |
new file mode 100644 |
24 |
index 0000000..c486f68 |
25 |
--- /dev/null |
26 |
+++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r3.ebuild |
27 |
@@ -0,0 +1,49 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+inherit autotools xdg |
35 |
+ |
36 |
+DESCRIPTION="A collection of data files to add support for chemical MIME types" |
37 |
+HOMEPAGE="http://chemical-mime.sourceforge.net/" |
38 |
+SRC_URI="mirror://sourceforge/${PN/-data/}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="LGPL-2.1" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ gnome-base/gnome-mime-data |
47 |
+ x11-misc/shared-mime-info" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ dev-util/intltool |
50 |
+ dev-util/desktop-file-utils |
51 |
+ dev-libs/libxslt |
52 |
+ || ( |
53 |
+ media-gfx/imagemagick[xml,png,svg] |
54 |
+ gnome-base/librsvg |
55 |
+ ) |
56 |
+ media-gfx/inkscape |
57 |
+ virtual/pkgconfig" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-turbomole.patch |
61 |
+ "${FILESDIR}"/${P}-pigz.patch |
62 |
+ "${FILESDIR}"/${P}-namespace-svg.patch |
63 |
+ ) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ xdg_src_prepare |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local myeconfargs=( |
72 |
+ --disable-update-database |
73 |
+ --htmldir=/usr/share/doc/${PF}/html |
74 |
+ ) |
75 |
+ econf ${myeconfargs[@]} |
76 |
+} |