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}] )"
-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
}