summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/chromaprint/chromaprint-1.4.3.ebuild')
-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
}