summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-09 20:00:22 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-09 20:11:19 +0100
commit65d989396b2786d5ba3411d220af2c2181c7f350 (patch)
treef73b51894187d8e476f61efc77f4d91652e2a26f /media-video
parentmedia-video/dvd9to5: Bump to EAPI 7 (diff)
downloadgentoo-65d989396b2786d5ba3411d220af2c2181c7f350.tar.gz
gentoo-65d989396b2786d5ba3411d220af2c2181c7f350.tar.bz2
gentoo-65d989396b2786d5ba3411d220af2c2181c7f350.zip
media-video/dvdimagecmp: Bump to EAPI 7
Bug: https://bugs.gentoo.org/697264 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild23
1 files 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 17bd464ecd1a..de6ad2452c5f 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() {