1 |
commit: 050f85c575e395a82b1029675a86739dab961946 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 2 08:06:39 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 2 08:07:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050f85c5 |
7 |
|
8 |
media-gfx/asymptote: Bump to EAPI=6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6-prefix, Repoman-2.3.2 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
media-gfx/asymptote/asymptote-2.41.ebuild | 25 ++++++++++++++----------- |
14 |
1 file changed, 14 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/asymptote/asymptote-2.41.ebuild b/media-gfx/asymptote/asymptote-2.41.ebuild |
17 |
index f48cbea6178..b0de1fb4946 100644 |
18 |
--- a/media-gfx/asymptote/asymptote-2.41.ebuild |
19 |
+++ b/media-gfx/asymptote/asymptote-2.41.ebuild |
20 |
@@ -1,11 +1,11 @@ |
21 |
# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
PYTHON_COMPAT=( python2_7 ) |
28 |
|
29 |
-inherit autotools elisp-common eutils latex-package multilib python-single-r1 |
30 |
+inherit autotools elisp-common latex-package multilib python-single-r1 |
31 |
|
32 |
DESCRIPTION="A vector graphics language that provides a framework for technical drawing" |
33 |
HOMEPAGE="http://asymptote.sourceforge.net/" |
34 |
@@ -53,24 +53,27 @@ DEPEND="${RDEPEND} |
35 |
|
36 |
TEXMF=/usr/share/texmf-site |
37 |
|
38 |
+PATCHES=( |
39 |
+ # gc.h -> gc/gc.h |
40 |
+ "${FILESDIR}/${P}-configure-ac.patch" |
41 |
+ |
42 |
+ # Changing pdf, ps, image viewers to xdg-open |
43 |
+ "${FILESDIR}/${P}-xdg-utils.patch" |
44 |
+ |
45 |
+ # Bug #322473 |
46 |
+ "${FILESDIR}/${P}-info.patch" |
47 |
+) |
48 |
+ |
49 |
pkg_setup() { |
50 |
(use python || use X) && python-single-r1_pkg_setup |
51 |
} |
52 |
|
53 |
src_prepare() { |
54 |
- # gc.h -> gc/gc.h |
55 |
- epatch "${FILESDIR}/${P}-configure-ac.patch" |
56 |
- |
57 |
sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ |
58 |
-i configure.ac \ |
59 |
|| die "sed configure.ac failed" |
60 |
|
61 |
- # Changing pdf, ps, image viewers to xdg-open |
62 |
- epatch "${FILESDIR}/${P}-xdg-utils.patch" |
63 |
- |
64 |
- # Bug #322473 |
65 |
- epatch "${FILESDIR}/${P}-info.patch" |
66 |
- |
67 |
+ default |
68 |
eautoreconf |
69 |
} |