-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
-inherit autotools epatch epunt-cxx
+EAPI=7
+
+inherit autotools
DESCRIPTION="The MAD audio player"
HOMEPAGE="http://www.underbit.com/products/mad/"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="alsa debug nls"
-RDEPEND=">=media-libs/libid3tag-0.15.1b
- >=media-libs/libmad-0.15.1b
- alsa? ( media-libs/alsa-lib )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
+RDEPEND="
+ media-libs/libid3tag:=
+ media-libs/libmad:=
+ alsa? ( media-libs/alsa-lib:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="nls? ( sys-devel/gettext )"
-DOCS="CHANGES CREDITS README TODO"
+PATCHES=( "${FILESDIR}"/${PN}-macos.patch )
src_prepare() {
- epatch "${FILESDIR}"/${PN}-macos.patch
- eautoreconf #need new libtool for interix
- epunt_cxx #74499
+ default
+ eautoreconf
}
src_configure() {