summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-04-26 11:29:35 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-04-26 11:31:16 +0300
commitc276bbc938b58b6db186f025c1d6420ccea8c647 (patch)
tree66d4d43bdb25fcee98744feafe47b6caf8643297 /media-libs/chromaprint
parentx11-wm/xpra: migrate from libav (diff)
downloadgentoo-c276bbc938b58b6db186f025c1d6420ccea8c647.tar.gz
gentoo-c276bbc938b58b6db186f025c1d6420ccea8c647.tar.bz2
gentoo-c276bbc938b58b6db186f025c1d6420ccea8c647.zip
media-libs/chromaprint: migrate from libav
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-libs/chromaprint')
-rw-r--r--media-libs/chromaprint/chromaprint-1.4.3.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/media-libs/chromaprint/chromaprint-1.4.3.ebuild b/media-libs/chromaprint/chromaprint-1.4.3.ebuild
index ab357f8b267e..81c4f4b78a7a 100644
--- a/media-libs/chromaprint/chromaprint-1.4.3.ebuild
+++ b/media-libs/chromaprint/chromaprint-1.4.3.ebuild
@@ -16,13 +16,11 @@ SRC_URI="https://github.com/acoustid/${PN}/releases/download/v${PV}/${P}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0/1"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="libav test tools"
+IUSE="test tools"
RESTRICT="!test? ( test )"
-# note: use ffmpeg or libav instead of fftw because it's recommended and required for tools
-RDEPEND="
- libav? ( >=media-video/libav-11:0=[${MULTILIB_USEDEP}] )
- !libav? ( >=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}] )
+# note: use ffmpeg instead of fftw because it's recommended and required for tools
+RDEPEND=">=media-video/ffmpeg-2.6:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
@@ -42,7 +40,7 @@ multilib_src_configure() {
-DBUILD_TOOLS=$(multilib_native_usex tools ON OFF)
-DBUILD_TESTS=$(usex test ON OFF)
-DFFT_LIB=avfft
- -DAUDIO_PROCESSOR_LIB=$(usex libav avresample swresample)
+ -DAUDIO_PROCESSOR_LIB="swresample"
)
cmake_src_configure
}