commit: c74d15941d21ebde08a06fca33119a5ba85db6c0 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Nov 9 19:16:17 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Nov 9 19:33:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74d1594
media-video/pgmfindclip: Bump to EAPI 7 Bug: https://bugs.gentoo.org/697264 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> media-video/pgmfindclip/pgmfindclip-1.13.ebuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/media-video/pgmfindclip/pgmfindclip-1.13.ebuild b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild index bb9f6025871..1024f842f37 100644 --- a/media-video/pgmfindclip/pgmfindclip-1.13.ebuild +++ b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild @@ -1,14 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit toolchain-funcs -IUSE="" - -S="${WORKDIR}" - DESCRIPTION="automatically find a clipping border for a sequence of pgm images" HOMEPAGE="http://www.lallafa.de/bp/pgmfindclip.html" SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" @@ -16,17 +12,19 @@ SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" -src_unpack() { - unpack ${A} +S="${WORKDIR}" - sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' "${S}"/Makefile +src_prepare() { + default + sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' Makefile || die } -src_compile () { - emake CC="$(tc-getCC)" || die +src_compile() { + emake CC="$(tc-getCC)" } -src_install () { - dobin ${PN} || die +src_install() { + dobin ${PN} }
