summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-29 23:39:17 +0200
committerMichał Górny <mgorny@gentoo.org>2017-06-30 00:22:04 +0200
commit09d55fe1a12269d9eae8608624002fc28a4bed05 (patch)
tree421a42b1320031dee598efa2758ffae958614f7d /media-gfx
parentmedia-gfx/pixels2pgf: Moved back to GitHub (diff)
downloadgentoo-09d55fe1a12269d9eae8608624002fc28a4bed05.tar.gz
gentoo-09d55fe1a12269d9eae8608624002fc28a4bed05.tar.bz2
gentoo-09d55fe1a12269d9eae8608624002fc28a4bed05.zip
media-gfx/pixels2pgf: Modernize to EAPI=6
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild8
-rw-r--r--media-gfx/pixels2pgf/pixels2pgf-9999.ebuild26
2 files changed, 13 insertions, 21 deletions
diff --git a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
index c0a0029775c8..c69380b1d9b4 100644
--- a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
+++ b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-
-inherit autotools-utils
+EAPI=6
DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles"
HOMEPAGE="https://github.com/mgorny/pixels2pgf/"
@@ -14,6 +12,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="media-libs/libsdl
- media-libs/sdl-image"
+RDEPEND="media-libs/libsdl:0=
+ media-libs/sdl-image:0="
DEPEND="${RDEPEND}"
diff --git a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
index 73c8e38db29a..765618b50660 100644
--- a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
+++ b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
@@ -1,31 +1,25 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
-
-inherit git-r3
-#endif
-
-inherit autotools-utils
+inherit autotools git-r3
DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles"
HOMEPAGE="https://github.com/mgorny/pixels2pgf/"
-SRC_URI="https://github.com/mgorny/pixels2pgf/releases/download/${P}/${P}.tar.bz2"
+SRC_URI=""
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
IUSE=""
-RDEPEND="media-libs/libsdl
- media-libs/sdl-image"
+RDEPEND="media-libs/libsdl:0=
+ media-libs/sdl-image:0="
DEPEND="${RDEPEND}"
-#if LIVE
-KEYWORDS=
-SRC_URI=
-#endif
+src_prepare() {
+ default
+ eautoreconf
+}