From 09d55fe1a12269d9eae8608624002fc28a4bed05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 29 Jun 2017 23:39:17 +0200 Subject: [PATCH] media-gfx/pixels2pgf: Modernize to EAPI=6 --- media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild | 8 +++---- media-gfx/pixels2pgf/pixels2pgf-9999.ebuild | 26 ++++++++------------- 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 +} -- 2.26.2