diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-16 05:29:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-16 05:29:50 +0000 |
commit | f174ed40d3cca6ab6b3bb718e8b5fccca6b04b3f (patch) | |
tree | d5b82bd892cb75d60b0adf4c44305caa9f3fce7a /media-sound/audacity/audacity-3.3.3.ebuild | |
parent | 02f2811de683662c5c6f5f120de6b59898ed6b98 (diff) |
gentoo auto-resync : 16:01:2024 - 05:29:50
Diffstat (limited to 'media-sound/audacity/audacity-3.3.3.ebuild')
-rw-r--r-- | media-sound/audacity/audacity-3.3.3.ebuild | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/media-sound/audacity/audacity-3.3.3.ebuild b/media-sound/audacity/audacity-3.3.3.ebuild index 4e68dd30ca14..f77da513d7d2 100644 --- a/media-sound/audacity/audacity-3.3.3.ebuild +++ b/media-sound/audacity/audacity-3.3.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 WX_GTK_VER="3.2-gtk3" -inherit cmake wxwidgets xdg +inherit cmake wxwidgets xdg virtualx DESCRIPTION="Free crossplatform audio editor" HOMEPAGE="https://www.audacityteam.org/" @@ -37,10 +37,8 @@ LICENSE="GPL-2+ " SLOT="0" IUSE="alsa audiocom ffmpeg +flac id3tag +ladspa +lv2 mad mpg123 ogg - opus +portmixer sbsms twolame vamp +vorbis wavpack" - -# The testsuite consists of two tests, 50% of which fail. -RESTRICT="test" + opus +portmixer sbsms test twolame vamp +vorbis wavpack" +RESTRICT="!test? ( test )" # dev-db/sqlite:3 hard dependency. # dev-libs/glib:2, x11-libs/gtk+:3 hard dependency, from @@ -104,7 +102,8 @@ RDEPEND="dev-db/sqlite:3 vorbis? ( media-libs/libvorbis ) wavpack? ( media-sound/wavpack ) " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( dev-cpp/catch:0 )" BDEPEND="app-arch/unzip sys-devel/gettext virtual/pkgconfig @@ -135,6 +134,9 @@ PATCHES=( # gettext 0.22 "${FILESDIR}/${PN}-3.3.3-gettext-0.22.patch" + + # Allows running tests without conan + "${FILESDIR}/${PN}-3.3.3-remove-conan-test-dependency.patch" ) src_prepare() { @@ -215,11 +217,17 @@ src_configure() { ## Keep watch of PA_HAS_OSS in lib-src/portmixer/CMakeLists.txt; ## AFAICT it introduces no deps as-is, but that could change. ## Similar goes for PA_HAS_JACK. + + -Daudacity_has_tests=$(usex test ON OFF) ) cmake_src_configure } +src_test() { + virtx cmake_src_test +} + src_install() { cmake_src_install |