From cc3f9cf9ac1b88ec4a7632fc7eea81ecb3194a0b Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 14 Jan 2017 15:59:46 +0000 Subject: media-libs/libgfx: QA work Bump EAPI to 6 Shorten DESCRIPTION Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher --- media-libs/libgfx/files/1.1.0-gcc4.3.patch | 4 ++-- media-libs/libgfx/libgfx-1.1.0.ebuild | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'media-libs/libgfx') diff --git a/media-libs/libgfx/files/1.1.0-gcc4.3.patch b/media-libs/libgfx/files/1.1.0-gcc4.3.patch index c3990dc34..811d5dbcc 100644 --- a/media-libs/libgfx/files/1.1.0-gcc4.3.patch +++ b/media-libs/libgfx/files/1.1.0-gcc4.3.patch @@ -1,5 +1,5 @@ ---- src/raster.cxx 2004-09-27 06:45:31.000000000 +0200 -+++ src/raster.cxx.new 2009-05-17 23:48:58.417607175 +0200 +--- a/src/raster.cxx 2004-09-27 06:45:31.000000000 +0200 ++++ b/src/raster.cxx.new 2009-05-17 23:48:58.417607175 +0200 @@ -9,7 +9,7 @@ #include #include diff --git a/media-libs/libgfx/libgfx-1.1.0.ebuild b/media-libs/libgfx/libgfx-1.1.0.ebuild index baac528c6..f40993ed0 100644 --- a/media-libs/libgfx/libgfx-1.1.0.ebuild +++ b/media-libs/libgfx/libgfx-1.1.0.ebuild @@ -1,12 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -inherit eutils - -DESCRIPTION="The purpose of this library is to simplify the creation of computer graphics software" +DESCRIPTION="Simplify the creation of computer graphics software" HOMEPAGE="http://mgarland.org/software/libgfx.html" SRC_URI="http://mgarland.org/dist/${P}.tar.gz" @@ -15,9 +13,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_prepare() { - epatch "${FILESDIR}"/${PV}-gcc4.3.patch -} +PATCHES=( "${FILESDIR}"/${PV}-gcc4.3.patch ) src_compile() { cd src || die -- cgit v1.2.3-65-gdbad