mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-libs/noise-suppression-for-voice: drop 1.10
Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37752 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
cd27adc3be
commit
1d4cc0e201
@ -1,65 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="A real-time noise suppression plugin for voice"
|
||||
HOMEPAGE="https://github.com/werman/noise-suppression-for-voice"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/werman/noise-suppression-for-voice.git"
|
||||
else
|
||||
SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+ladspa lv2 vst vst3 test"
|
||||
REQUIRED_USE="|| ( ladspa lv2 vst vst3 )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
media-libs/freetype
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
lv2? ( ${COMMON_DEPEND} )
|
||||
vst? ( ${COMMON_DEPEND} )
|
||||
vst3? ( ${COMMON_DEPEND} )
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Bug #925672
|
||||
append-atomic-flags
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_LADSPA_PLUGIN=$(usex ladspa ON OFF)
|
||||
-DBUILD_LV2_PLUGIN=$(usex lv2 ON OFF)
|
||||
-DBUILD_VST_PLUGIN=$(usex vst ON OFF)
|
||||
-DBUILD_VST3_PLUGIN=$(usex vst3 ON OFF)
|
||||
-DBUILD_TESTS=$(usex test ON OFF)
|
||||
-DBUILD_AU_PLUGIN=OFF
|
||||
-DBUILD_AUV3_PLUGIN=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cp "${BUILD_DIR}/src/common/CTestTestfile.cmake" "${BUILD_DIR}/CTestTestfile.cmake" || die
|
||||
cmake_src_test
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user