public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/dvdimagecmp/
@ 2019-11-09 19:11 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-11-09 19:11 UTC (permalink / raw
  To: gentoo-commits

commit:     65d989396b2786d5ba3411d220af2c2181c7f350
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 19:00:22 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 19:11:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d98939

media-video/dvdimagecmp: Bump to EAPI 7

Bug: https://bugs.gentoo.org/697264
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
index 17bd464ecd1..de6ad2452c5 100644
--- a/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
+++ b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
@@ -1,29 +1,26 @@
-# 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 eutils toolchain-funcs flag-o-matic
-
-IUSE=""
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Tool to compare a burned DVD with an image to check for errors"
 HOMEPAGE="http://panteltje.com/panteltje/dvd/"
 SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
+IUSE=""
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	epatch "${FILESDIR}/${P}.diff"
-}
+PATCHES=(
+	"${FILESDIR}/${P}.diff"
+)
 
 src_compile() {
-	append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE	-D_LARGEFILE64_SOURCE
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+	append-lfs-flags
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-10 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 19:11 [gentoo-commits] repo/gentoo:master commit in: media-video/dvdimagecmp/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox