1 |
commit: 09d55fe1a12269d9eae8608624002fc28a4bed05 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 21:39:17 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 22:22:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d55fe1 |
7 |
|
8 |
media-gfx/pixels2pgf: Modernize to EAPI=6 |
9 |
|
10 |
media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild | 8 +++----- |
11 |
media-gfx/pixels2pgf/pixels2pgf-9999.ebuild | 26 ++++++++++---------------- |
12 |
2 files changed, 13 insertions(+), 21 deletions(-) |
13 |
|
14 |
diff --git a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild |
15 |
index c0a0029775c..c69380b1d9b 100644 |
16 |
--- a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild |
17 |
+++ b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild |
18 |
@@ -1,9 +1,7 @@ |
19 |
# Copyright 1999-2017 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
-EAPI=4 |
23 |
- |
24 |
-inherit autotools-utils |
25 |
+EAPI=6 |
26 |
|
27 |
DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles" |
28 |
HOMEPAGE="https://github.com/mgorny/pixels2pgf/" |
29 |
@@ -14,6 +12,6 @@ SLOT="0" |
30 |
KEYWORDS="~amd64 ~x86" |
31 |
IUSE="" |
32 |
|
33 |
-RDEPEND="media-libs/libsdl |
34 |
- media-libs/sdl-image" |
35 |
+RDEPEND="media-libs/libsdl:0= |
36 |
+ media-libs/sdl-image:0=" |
37 |
DEPEND="${RDEPEND}" |
38 |
|
39 |
diff --git a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild |
40 |
index 73c8e38db29..765618b5066 100644 |
41 |
--- a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild |
42 |
+++ b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild |
43 |
@@ -1,31 +1,25 @@ |
44 |
# Copyright 1999-2017 Gentoo Foundation |
45 |
# Distributed under the terms of the GNU General Public License v2 |
46 |
|
47 |
-EAPI=4 |
48 |
+EAPI=6 |
49 |
|
50 |
-#if LIVE |
51 |
-AUTOTOOLS_AUTORECONF=yes |
52 |
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git" |
53 |
- |
54 |
-inherit git-r3 |
55 |
-#endif |
56 |
- |
57 |
-inherit autotools-utils |
58 |
+inherit autotools git-r3 |
59 |
|
60 |
DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles" |
61 |
HOMEPAGE="https://github.com/mgorny/pixels2pgf/" |
62 |
-SRC_URI="https://github.com/mgorny/pixels2pgf/releases/download/${P}/${P}.tar.bz2" |
63 |
+SRC_URI="" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
-KEYWORDS="~amd64 ~x86" |
68 |
+KEYWORDS="" |
69 |
IUSE="" |
70 |
|
71 |
-RDEPEND="media-libs/libsdl |
72 |
- media-libs/sdl-image" |
73 |
+RDEPEND="media-libs/libsdl:0= |
74 |
+ media-libs/sdl-image:0=" |
75 |
DEPEND="${RDEPEND}" |
76 |
-#if LIVE |
77 |
|
78 |
-KEYWORDS= |
79 |
-SRC_URI= |
80 |
-#endif |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ eautoreconf |
84 |
+} |