summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-10 09:13:05 +0100
committerSam James <sam@gentoo.org>2022-09-10 09:40:22 +0100
commit88acebcb023ab1535740f5f104d5f77a1448ae2f (patch)
tree79e1606a12b1f13e5cc9c61fa25382d0f2166f8e /media-sound/moc
parentmedia-sound/audacity: add media-libs/flac subslot dep (diff)
downloadgentoo-88acebcb023ab1535740f5f104d5f77a1448ae2f.tar.gz
gentoo-88acebcb023ab1535740f5f104d5f77a1448ae2f.tar.bz2
gentoo-88acebcb023ab1535740f5f104d5f77a1448ae2f.zip
media-sound/moc: EAPI 8, add media-libs/flac subslot dep
media-libs/flac-1.4.0 breaks ABI. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/moc')
-rw-r--r--media-sound/moc/moc-2.6_alpha3-r6.ebuild (renamed from media-sound/moc/moc-2.6_alpha3-r5.ebuild)19
1 files changed, 10 insertions, 9 deletions
diff --git a/media-sound/moc/moc-2.6_alpha3-r5.ebuild b/media-sound/moc/moc-2.6_alpha3-r6.ebuild
index 3004e11e9e0a..c6dab66976fe 100644
--- a/media-sound/moc/moc-2.6_alpha3-r5.ebuild
+++ b/media-sound/moc/moc-2.6_alpha3-r6.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
@@ -9,6 +9,7 @@ MY_P=${PN}-${PV/_/-}
DESCRIPTION="Music On Console - ncurses interface for playing audio files"
HOMEPAGE="https://moc.daper.net"
SRC_URI="http://ftp.daper.net/pub/soft/moc/unstable/${MY_P}.tar.xz"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
@@ -17,7 +18,7 @@ IUSE="aac alsa +cache curl debug ffmpeg flac jack libsamplerate mad +magic modpl
oss sid sndfile sndio speex timidity tremor +unicode vorbis wavpack"
RDEPEND="
- >=dev-libs/libltdl-2:0
+ >=dev-libs/libltdl-2
dev-libs/popt
sys-libs/ncurses:=[unicode(+)?]
aac? ( media-libs/faad2 )
@@ -25,7 +26,7 @@ RDEPEND="
cache? ( >=sys-libs/db-4.1:= )
curl? ( >=net-misc/curl-7.15.1 )
ffmpeg? ( >=media-video/ffmpeg-1.2.6-r1 )
- flac? ( >=media-libs/flac-1.1.3 )
+ flac? ( >=media-libs/flac-1.1.3:= )
jack? ( virtual/jack )
libsamplerate? ( >=media-libs/libsamplerate-0.1.0 )
mad? (
@@ -54,12 +55,12 @@ RDEPEND="
)
wavpack? ( >=media-sound/wavpack-4.31 )
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-arch/xz-utils
virtual/pkgconfig
"
-S=${WORKDIR}/${MY_P}
PATCHES=(
"${FILESDIR}/ffmpeg4.patch"
"${FILESDIR}/${P}-stdint_uint_types.patch"
@@ -93,15 +94,15 @@ src_configure() {
$(use_with sndfile)
$(use_with speex)
$(use_with timidity)
- $(use_with vorbis vorbis $(usex tremor tremor ""))
+ $(use_with vorbis vorbis $(usev tremor))
$(use_with wavpack)
$(use_with curl)
)
- econf "${myconf[@]}"
+ CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
}
src_install() {
default
- find "${D}" -name '*.la' -delete || die
+ find "${ED}" -name '*.la' -delete || die
}