summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-10 01:41:50 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-10 01:41:50 +0100
commitd52da562a137b69553c48e94406e8eef8db670ad (patch)
tree62c8dda4d21fcb33347cc84264b5033c849b9236 /media-sound/normalize
parentmedia-sound/madplay: Port to EAPI 7 (diff)
downloadgentoo-d52da562a137b69553c48e94406e8eef8db670ad.tar.gz
gentoo-d52da562a137b69553c48e94406e8eef8db670ad.tar.bz2
gentoo-d52da562a137b69553c48e94406e8eef8db670ad.zip
media-sound/normalize: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/normalize')
-rw-r--r--media-sound/normalize/normalize-0.7.7-r1.ebuild31
1 files changed, 18 insertions, 13 deletions
diff --git a/media-sound/normalize/normalize-0.7.7-r1.ebuild b/media-sound/normalize/normalize-0.7.7-r1.ebuild
index 6058be69c6e0..dbc8ff6009f1 100644
--- a/media-sound/normalize/normalize-0.7.7-r1.ebuild
+++ b/media-sound/normalize/normalize-0.7.7-r1.ebuild
@@ -1,32 +1,37 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
-inherit eutils autotools
+inherit autotools
DESCRIPTION="Audio file volume normalizer"
HOMEPAGE="http://normalize.nongnu.org/"
-SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.bz2
+SRC_URI="
+ https://savannah.nongnu.org/download/${PN}/${P}.tar.bz2
https://dev.gentoo.org/~radhermit/distfiles/${P}-m4.patch.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE="audiofile mad nls userland_BSD"
+IUSE="audiofile mad nls"
-RDEPEND="mad? ( media-libs/libmad )
- audiofile? ( >=media-libs/audiofile-0.3.1 )"
-DEPEND="${RDEPEND}
+RDEPEND="
+ audiofile? ( media-libs/audiofile:= )
+ mad? ( media-libs/libmad:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
nls? ( dev-util/intltool )"
-src_prepare() {
- use userland_BSD && sed -i -e 's/md5sum/md5/' "${S}"/test/*.sh
+PATCHES=(
+ "${FILESDIR}"/${P}-audiofile-pkgconfig.patch
+ "${WORKDIR}"/${P}-m4.patch
+)
- epatch "${FILESDIR}"/${P}-audiofile-pkgconfig.patch
- epatch "${WORKDIR}"/${P}-m4.patch
- eautoreconf
+src_prepare() {
+ default
+ AT_M4DIR="." eautoreconf
}
src_configure() {