From d0349ca0f4903608beca459a9db2068dab9fa6ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 26 Oct 2024 04:04:26 +0100 Subject: gentoo auto-resync : 26:10:2024 - 04:04:26 --- media-sound/audacity/Manifest | 14 +-- media-sound/audacity/audacity-2.4.2-r3.ebuild | 132 -------------------- media-sound/audacity/audacity-2.4.2-r4.ebuild | 135 --------------------- ...3.3-Fix-building-against-system-portaudio.patch | 56 --------- ...audacity-2.4.2-add-missing-include-limits.patch | 10 -- ...acity-2.4.2-add-missing-include-portaudio.patch | 11 -- .../files/audacity-2.4.2-disable-ccache.patch | 19 --- .../files/audacity-2.4.2-fix-gettimeofday.patch | 12 -- ...ty-2.4.2-fix-libflac-undefined-references.patch | 61 ---------- .../files/audacity-2.4.2-fix-metainfo.patch | 12 -- ...udacity-2.4.2-fix-vertical-track-resizing.patch | 14 --- media-sound/audacity/metadata.xml | 3 - 12 files changed, 1 insertion(+), 478 deletions(-) delete mode 100644 media-sound/audacity/audacity-2.4.2-r3.ebuild delete mode 100644 media-sound/audacity/audacity-2.4.2-r4.ebuild delete mode 100644 media-sound/audacity/files/audacity-2.3.3-Fix-building-against-system-portaudio.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-add-missing-include-limits.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-fix-gettimeofday.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-fix-libflac-undefined-references.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-fix-metainfo.patch delete mode 100644 media-sound/audacity/files/audacity-2.4.2-fix-vertical-track-resizing.patch (limited to 'media-sound/audacity') diff --git a/media-sound/audacity/Manifest b/media-sound/audacity/Manifest index cdee71566992..6f63c4039cce 100644 --- a/media-sound/audacity/Manifest +++ b/media-sound/audacity/Manifest @@ -1,11 +1,3 @@ -AUX audacity-2.3.3-Fix-building-against-system-portaudio.patch 1952 BLAKE2B 9a5ef294d55dfe226175d2fdd8b23a9a4e6b3e963c26b9d4d8b430054dba5c39c6ae97f911b720dc53af5173c6a639275dd119c5292f53164e749782fa8f1e46 SHA512 ff85a33922bed3a626dd82c71406d81ac59c36dc45e5d2164662aabcd14a859479304cf684b9f64d0b110a9a1a82042b130c21e820ebd4c917fd9094c0737ed2 -AUX audacity-2.4.2-add-missing-include-limits.patch 228 BLAKE2B f820837984f9033fb3e6568fe39a4446a6f99b572e5ae576a731992ee94015262b7fd728c3d07277a0aa8028af18258461b2a5eac95d4d32e6218db83dec0092 SHA512 aff54cc21ff31e96de82c8ce240a7f9fa52b6c561bbe564c9ba4eda46a2c851d33b4f164572d2bffdd7824cde3168e88d3679e9f4d720728dd6de1035fa7d9da -AUX audacity-2.4.2-add-missing-include-portaudio.patch 346 BLAKE2B 51b3a09a2ed616364f7ded02663bd0a527a12d088e514fa494f7324756263cd73713a50391f3895366c3d92d491ef56d21ee380bf9c640228d5ab680328f37a8 SHA512 ccc7ebfc6453ef02b2ef4e546d8c96d45fb5ccd46a088225dc241371745bd8f39dd63b0044bfba24f1eeec70affcac29a4499f0d15a16fb4dd99eb87980fc4fa -AUX audacity-2.4.2-disable-ccache.patch 545 BLAKE2B 0173fc4de28ec040f457ad54885d8d0d8d68c27b683684b4eb6404771c588a6374232b0d275cb751a1466d0e20377a2eeec56d3d423167388858bbb4ddef1056 SHA512 0026bfbc25a9bb83c49492f89c60f42f4be5dbd70baef0b0afb75d4d5b2a1f87e070d3243e8432b1b283d5a437221a209126a157737fc2db601b7b3e226749d1 -AUX audacity-2.4.2-fix-gettimeofday.patch 338 BLAKE2B f9deed24aca404693a0094b83ec310d7609b6989749f42b3b6304feb9d62c02436b0c4d62116b145d44d1a0ddeaf38c86794ef449393c998f5b5a062e408ed3f SHA512 d19082009dc915b28f02e3451f06e5041b68159af138ecad10641f3c59526b4ab2873e6e676b87dff0e54320b48a6254a0da434566855605ca81b747a732e952 -AUX audacity-2.4.2-fix-libflac-undefined-references.patch 2255 BLAKE2B a1c90b3b712ef558d74edc0f8e2a4db71a8b8292b633e24a9808587923a012d0935e35e574b76ad94ade95779d917419459b83d5cf5eeb90a696ca7cc3102814 SHA512 d3cc5fd18b3869047112b930aadcf912911ed6bda0299dc3a9a284db28a56aa4545629df567844735c8c5a4c641e21e6c39f42838c41d406ac18758a74760621 -AUX audacity-2.4.2-fix-metainfo.patch 468 BLAKE2B 87133634ca1be0ce0392b044d60a1632c6a963ee11a1893064c41c9d8093adf081bc3fd6a2e2dcc909573bd22d1d21e8cb58c8bbf9e464058780cfce839d6c06 SHA512 a2cdabecf53c03b77434ddbdbfb7606eb52f8e52b67d62bd206799eb0e9399345967106d7644784de338ef68d3e87c26952c491e775b1a323e1e2a91e41fe200 -AUX audacity-2.4.2-fix-vertical-track-resizing.patch 462 BLAKE2B 3f6fe748506f39ca64b72449853bc396389c2760767d916301298951aaa7b82cc1379c2b7d9860b4579a964dedc6806c85120cd3f4f1aa2b726ae5846bae1df2 SHA512 dc7c2cb3ae1e47e00f473b0943994e352275dc41d41255b2b1ba2e042d9bd6ab046f2088cda81dbc22f2ffeb13a97d28073ce078e35bb29e868f6fa2e8b9e0df AUX audacity-3.2.3-allow-overriding-alsa-jack.patch 1683 BLAKE2B bd8081283dfc87e5e8a3c4826b1a57daed5f28a70a45ff86834d2f3ccf9fa699301cee953c2b3b51095b7bd163247efd9e07bc8548f1195a43e3e5c069a59bfc SHA512 a83ce313094533f7308bfc7c847e5fe908f3e4182c5a86f13b53f3f4df7a63ae6778a85f85c84e348b7db702f07066f4e8d552319a84e4edc459ea6751b73878 AUX audacity-3.2.3-disable-ccache.patch 850 BLAKE2B 0f8fab52e0f8205c90b0ed798d1793cbde1395715445ac66e6d9b612fd825650f38dc95759b56d0d7455f45202e901de4d2cea3c54ede17356f3ff4f1c8c61ff SHA512 468676dfeff2aa40a3ccbab3c4eb5cf04a8dae0db2772c580d6455b93b4feb9665b3badab7ea8085a6bce1ab243e7c8b0fc2974ab7b2c703db7c49f757bdd48e AUX audacity-3.3.3-Findlibmad.patch 1758 BLAKE2B c1e0ef6734f925127b0be9abc84fb1b6411d15b8b973683f84f54d9c0e557c7b4dcc786baa9962ff039529f9306144008f1f12b1edb8f519df5a0f0c4d06d9de SHA512 0724cabecd37e2c740227fdc6f0144d97d68bd9846609aea25dfaa41289e8eea790487af320e784e1e6e8c3c2e27689af9643bcc2114c9e5f9d09d679f4ed754 @@ -17,15 +9,11 @@ AUX audacity-3.3.3-remove-conan-test-dependency.patch 1140 BLAKE2B 8c74631de2604 AUX audacity-3.3.3-upstream-fix-rapidjson.patch 2461 BLAKE2B d59077e4729aa5702db6181eb3dac9a9c98f6f64c3b4e61c87c6856c76b8ddb2d9f9036db07efe8263619fa5a9b14fd1ae4be380df34a5483f102b2bde809a18 SHA512 67c6760c472c4161335f9c65129a28495ad9e8605a1f17cd1570037fc4767c9d326221598c93e0e1595bd10d6044a1d7b8dcac9b6c29babecee60a526ef6dd92 AUX audacity-3.4.2-audiocom-std-string.patch 898 BLAKE2B 697c0ce279a2d0618a7be3dc64d5b54b864516e9ddc1493244d4f555eca270057f0d4e2472ad77c897a810f262a5e8af8c86d738e59063ed5eb5b977406c708d SHA512 438c72c1139180218012c1bdebcb33a5bfd1851beef4ceeb8d60bbc64348f760710b0f64644f9aeed841bd929d3cc07f0dd302567d65fa8d37cdbb48557d56bc AUX audacity-3.4.2-fix-build-with-use-lv2-off.patch 1006 BLAKE2B cc38f68aa3febbdc604f28cb787bd66f5d67149a77dca8ab4db060147b94bb104a5480754d70200a962f297b5c0fd2dc11cdf8a34bfd71a8b7ef43489e461688 SHA512 d1a667fed915669b66cf037d25fb932e724a93e7620f837d3780a68dbf6c3afe522da7668858e7ea24523c6c0842806ed3ae8de7eb691d3272d94e669787afd0 -DIST Audacity-2.4.2.tar.gz 61248430 BLAKE2B bb7e31e22d2a09c38767b019ed5c2c2be31741594715d73452fc4622d171a6209e87009b6f820873cc1cff2f6b85547a3dea0a2d8d4dd7195617509e571ee9b8 SHA512 0d9cdabf5ba2c7207e8d8e4a8bdfc3e7d32277386436ecb480e3ff781720f5449a56b310ba91c78ca67afb752e2ab736abd5b7ce40d19d153bfc4a2067343a3d DIST Audacity-3.3.3.tar.gz 57120215 BLAKE2B 566aa2529f2708c80eb8e2887c3f3b2a1477d0825133b960f824d0697716d5b5e3a3ba0bcb14a20afc2eba7ac544da154339d1cd37261225b06326e8ee3f730c SHA512 c484e747f5207785b1872d031be2c3c50e7bbce087909c41930e593e2ab5777e0ab527a2770d90d89854bdd131e3f1f7afe3696b30420e3d8370e9f95527c937 -DIST audacity-manual-2.4.2.zip 22459298 BLAKE2B 001ca56f73c3c48f9b49b3b6478c6de6fb4c305fb869b11d93e41d5aee7ee45133bd7047c4d281fed4859d6c6061352dfaeb995e7b2602e42e09ab04e05e00dc SHA512 8afc7faffb0da87efe0c2cb64f8593777357252b4893ae0522ec7b37b4f7806ad9582ca9e4b751d085c2598aba6b580dacd805daa00b236a4ff8f6663a80135c DIST audacity-sources-3.4.2.tar.gz 57499669 BLAKE2B deb7cda94903826900c6d900883573a03a587ec3e03c6773a5452e3252f4c61ec76f09975f8e275b0fb8941f4e7d10eca66387d2f7c0a3f033ff4e1b1f08acc5 SHA512 5c754d2faa5867a98f24e8eae3fdb5d640483830ea9b62f94c6670e3689d87e61df6c14e9d557717d9fbfaca3b207188325369d8876248f1fc9edad43e4b500c DIST progschj-ThreadPool-20140926.h 2612 BLAKE2B 54d050ad443512e60e5c99449dd7133f3884c1067288cfc36b96c06855537b83d9b599cd8b8fb7f24e20cbc4898585b11d98d3a33dc7571a886b57c806ad3b14 SHA512 f927489de9afe0217bb0552c45bea238693f9f183a062cb12a48e19576dc50a4d0ba449a12397012ae790cc5ebd741decc08128b66f795310dba4778122e9f3d -EBUILD audacity-2.4.2-r3.ebuild 3926 BLAKE2B b62459d874285eabace837ac9b2f324574ea1418a6d6396c27de531177c3f9e20511488b7d8fd22e4d8febb75ff3c706eccfd26053ec64e43f82f6906a5bc06b SHA512 0036524556974517dc0ea9427664db5564e8f9312c627a8ddf70850ba457beef51b46666fb3693cbc67b75c3775c86b90a500d7d50a515fafb6536c592d1e49b -EBUILD audacity-2.4.2-r4.ebuild 4101 BLAKE2B 165c11e5773b0bfb80b93c3860331ca78cacbda755edff4ba8ba0e7d953e3bd39f34988aa27e586b2be885b915218a181895ab2906de9c321de49fb8b6efa10c SHA512 30952598e25cdef0ad003d1857174244b28b6cc81bc7d194386290666ab6f34da75cfd4cbbddd994d2915e113faaccfbd65b66fc92ff4302f51601f5980a7513 EBUILD audacity-3.3.3-r1.ebuild 7417 BLAKE2B d2765f71208c5c1df301fd33d04e880e34133e364e1789e723082c144cc4ca1138b5edb6541dc8d30f74041a5c365fccdea965e6d3b6cefb778c700e3bbc216a SHA512 57a8168d6dcc83c8412881eda35df1e17b0bd2592ca9a95dbd7366c4902b6e0ac59cf4f9709e86be5993ef8d50abe790d7a360fe37b60ba31c4024401c521d4d EBUILD audacity-3.3.3.ebuild 7247 BLAKE2B d13edb80efb3cc7da04706b30972265594527b09003be5c690e1a4f3c8fa3b918fea751eec1fc6bd29d3810547204fcc4421681ed657be63847b341e38d58708 SHA512 6120da23d94e41ceb840a3cc6e9a6295e4da03674fffce158625ab671eca780ba77985916396af40c0a19eb99facd9a4e31fda7b6ef6aff79b2f4a9d1ffa4888 EBUILD audacity-3.4.2-r1.ebuild 6904 BLAKE2B 1884b799dbbcf59ea235d4351b1fe9da68f0d3c5964e671e8ddca49eb88e63512a19d774676b182711fd9742d9f18a1bdde1f6008a449200d73df19bd6130485 SHA512 b19140ac540f2c874eec6086475a1967c5fea707a80ff490e286c305dc0538666df48d5cf88f0fec9d912e9890e7e702c128efd3c3f421321a4fbcc9ce1feb66 EBUILD audacity-9999.ebuild 7048 BLAKE2B 6c661ade492cc7d7287d7c69be4b4475b3f5fcfae01b29922842c8364260c3f05293679fd225d6a578d2a509e4b932bf0cac3b8910505bc91d5a5741b673b134 SHA512 9418de04b75ce522bc0b3d08278cae3802491a67e2a74ad120e3bf4b1dcc1d2b7c965e97773d5b4e44ef3fd029f135bfa4ccbcc53d79bd2f425199456cdc5ece -MISC metadata.xml 1642 BLAKE2B fc334dbb1c31f732eb26bc00279966ca1ddd5c60bcac5ba4cfe49101ea4b34962befc66bb151f68289a8e5f2e06a9afe9ab88d8a159ad9b47ad6c304927b2521 SHA512 d68acc20cc56c6fe5ef879d881d92843761561a8e276eb56ea0a543336c197606d8c808e11c8dee33f12bcaf8847a51c623e5dbad75e709a9d87b8a9486f253b +MISC metadata.xml 1409 BLAKE2B a3ca34262c6bc000ba252729024afdf354aa2f61cfb31a382e8d2571cb5321451ed88b6baa2c976b5adadb0b76a07aa64b2e75b61441f46d431c09b1aebb9804 SHA512 d9e0158632dfa398fd07602e65a3e5a4a8a12a3786a5b3672f7983be976cdfe023fc38b9a3c2c1742d0a0fc0411eea5989c3cf48c2ecfe33b2533c27e9098b05 diff --git a/media-sound/audacity/audacity-2.4.2-r3.ebuild b/media-sound/audacity/audacity-2.4.2-r3.ebuild deleted file mode 100644 index 1abe82ab11b8..000000000000 --- a/media-sound/audacity/audacity-2.4.2-r3.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -WX_GTK_VER="3.0-gtk3" - -inherit cmake flag-o-matic wxwidgets xdg - -MY_P="Audacity-${PV}" -DOC_PV="${PV}" -DESCRIPTION="Free crossplatform audio editor" -HOMEPAGE="https://www.audacityteam.org/" -# wget doesn't seem to work on FossHub links, so we mirror -SRC_URI="https://github.com/audacity/audacity/archive/${MY_P}.tar.gz - doc? ( https://dev.gentoo.org/~fordfrog/distfiles/${PN}-manual-${DOC_PV}.zip )" -S="${WORKDIR}/${PN}-${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86" -IUSE="alsa doc ffmpeg +flac id3tag jack +ladspa +lv2 mad ogg oss - portmidi +portmixer portsmf sbsms twolame vamp +vorbis +vst" - -RESTRICT="test" - -RDEPEND="dev-libs/expat - media-libs/libsndfile - media-libs/libsoundtouch:= - media-libs/portaudio[alsa?] - media-libs/soxr - >=media-sound/lame-3.100-r3 - x11-libs/wxGTK:${WX_GTK_VER}[X] - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( media-video/ffmpeg:= ) - flac? ( media-libs/flac:=[cxx] ) - id3tag? ( media-libs/libid3tag:= ) - jack? ( virtual/jack ) - lv2? ( - dev-libs/serd - dev-libs/sord - >=media-libs/lilv-0.24.6-r2 - media-libs/lv2 - media-libs/sratom - media-libs/suil - ) - mad? ( >=media-libs/libmad-0.15.1b ) - ogg? ( media-libs/libogg ) - portmidi? ( media-libs/portmidi ) - sbsms? ( media-libs/libsbsms ) - twolame? ( media-sound/twolame ) - vamp? ( media-libs/vamp-plugin-sdk ) - vorbis? ( media-libs/libvorbis ) -" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip - sys-devel/gettext - virtual/pkgconfig -" - -REQUIRED_USE="portmidi? ( portsmf )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.3.3-Fix-building-against-system-portaudio.patch - "${FILESDIR}/${P}-fix-vertical-track-resizing.patch" - "${FILESDIR}/${P}-fix-gettimeofday.patch" - "${FILESDIR}/${P}-fix-metainfo.patch" - "${FILESDIR}/${P}-add-missing-include-portaudio.patch" - "${FILESDIR}/${P}-disable-ccache.patch" -) - -src_prepare() { - cmake_src_prepare -} - -src_configure() { - setup-wxwidgets - append-cxxflags -std=gnu++14 - - # * always use system libraries if possible - # * options listed in the order that cmake-gui lists them - local mycmakeargs=( -# --disable-dynamic-loading - -Daudacity_lib_preference=system - -Daudacity_use_expat=system - -Daudacity_use_ffmpeg=$(usex ffmpeg loaded off) - -Daudacity_use_flac=$(usex flac system off) - -Daudacity_use_id3tag=$(usex id3tag system off) - -Daudacity_use_ladspa=$(usex ladspa) - -Daudacity_use_lame=system - -Daudacity_use_lv2=$(usex lv2 system off) - -Daudacity_use_mad=$(usex mad system off) - -Daudacity_use_midi=$(usex portmidi system off) - -Daudacity_use_nyquist=local - -Daudacity_use_ogg=$(usex ogg system off) - -Daudacity_use_pa_alsa=$(usex alsa) - -Daudacity_use_pa_jack=$(usex jack linked off) - -Daudacity_use_pa_oss=$(usex oss) - -Daudacity_use_pch=OFF - -Daudacity_use_portaudio=local # only 'local' option is present - -Daudacity_use_portmixer=$(usex portmixer local off) - -Daudacity_use_portsmf=$(usex portsmf local off) - -Daudacity_use_sbsms=$(usex sbsms local off) # no 'system' option in configuration? - -Daudacity_use_sndfile=system - -Daudacity_use_soundtouch=system - -Daudacity_use_soxr=system - -Daudacity_use_twolame=$(usex twolame system off) - -Daudacity_use_vamp=$(usex vamp system off) - -Daudacity_use_vorbis=$(usex vorbis system off) - -Daudacity_use_vst=$(usex vst) - -Daudacity_use_wxwidgets=system - ) - - cmake_src_configure - - # if git is not installed, this (empty) file is not being created and the compilation fails - # so we create it manually - touch "${BUILD_DIR}/src/private/RevisionIdent.h" || die "failed to create file" -} - -src_install() { - cmake_src_install - - # Remove bad doc install - rm -r "${ED}"/usr/share/doc || die - - if use doc ; then - docinto html - dodoc -r "${WORKDIR}"/help/manual/{m,man,manual} - dodoc "${WORKDIR}"/help/manual/{favicon.ico,index.html,quick_help.html} - dosym ../../doc/${PF}/html /usr/share/${PN}/help/manual - fi -} diff --git a/media-sound/audacity/audacity-2.4.2-r4.ebuild b/media-sound/audacity/audacity-2.4.2-r4.ebuild deleted file mode 100644 index b29bbbcdba5e..000000000000 --- a/media-sound/audacity/audacity-2.4.2-r4.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -WX_GTK_VER="3.0-gtk3" - -inherit cmake flag-o-matic wxwidgets xdg - -MY_P="Audacity-${PV}" -DOC_PV="${PV}" -DESCRIPTION="Free crossplatform audio editor" -HOMEPAGE="https://www.audacityteam.org/" -# wget doesn't seem to work on FossHub links, so we mirror -SRC_URI="https://github.com/audacity/audacity/archive/${MY_P}.tar.gz - doc? ( https://dev.gentoo.org/~fordfrog/distfiles/${PN}-manual-${DOC_PV}.zip )" -S="${WORKDIR}/${PN}-${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="alsa doc ffmpeg +flac id3tag jack +ladspa +lv2 mad ogg oss - portmidi +portmixer portsmf sbsms twolame vamp +vorbis +vst" - -RESTRICT="test" - -RDEPEND="dev-libs/expat - media-libs/libsndfile - media-libs/libsoundtouch:= - media-libs/portaudio[alsa?] - media-libs/soxr - >=media-sound/lame-3.100-r3 - x11-libs/wxGTK:${WX_GTK_VER}[X] - alsa? ( media-libs/alsa-lib ) - ffmpeg? ( =media-libs/lilv-0.24.6-r2 - media-libs/lv2 - media-libs/sratom - media-libs/suil - ) - mad? ( >=media-libs/libmad-0.15.1b ) - ogg? ( media-libs/libogg ) - portmidi? ( media-libs/portmidi ) - sbsms? ( media-libs/libsbsms ) - twolame? ( media-sound/twolame ) - vamp? ( media-libs/vamp-plugin-sdk ) - vorbis? ( media-libs/libvorbis ) -" -DEPEND="${RDEPEND} - x11-base/xorg-proto" -BDEPEND="app-arch/unzip - || ( dev-lang/nasm dev-lang/yasm ) - sys-devel/gettext - virtual/pkgconfig" - -REQUIRED_USE="portmidi? ( portsmf )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.3.3-Fix-building-against-system-portaudio.patch - "${FILESDIR}/${P}-fix-vertical-track-resizing.patch" - "${FILESDIR}/${P}-fix-gettimeofday.patch" - "${FILESDIR}/${P}-fix-metainfo.patch" - "${FILESDIR}/${P}-add-missing-include-limits.patch" - "${FILESDIR}/${P}-add-missing-include-portaudio.patch" - "${FILESDIR}/${P}-disable-ccache.patch" - "${FILESDIR}/${P}-fix-libflac-undefined-references.patch" -) - -src_prepare() { - cmake_src_prepare -} - -src_configure() { - setup-wxwidgets - append-cxxflags -std=gnu++14 - - # * always use system libraries if possible - # * options listed in the order that cmake-gui lists them - local mycmakeargs=( -# --disable-dynamic-loading - -Daudacity_lib_preference=system - -Daudacity_use_expat=system - -Daudacity_use_ffmpeg=$(usex ffmpeg loaded off) - -Daudacity_use_flac=$(usex flac system off) - -Daudacity_use_id3tag=$(usex id3tag system off) - -Daudacity_use_ladspa=$(usex ladspa) - -Daudacity_use_lame=system - -Daudacity_use_lv2=$(usex lv2 system off) - -Daudacity_use_mad=$(usex mad system off) - -Daudacity_use_midi=$(usex portmidi system off) - -Daudacity_use_nyquist=local - -Daudacity_use_ogg=$(usex ogg system off) - -Daudacity_use_pa_alsa=$(usex alsa) - -Daudacity_use_pa_jack=$(usex jack linked off) - -Daudacity_use_pa_oss=$(usex oss) - -Daudacity_use_pch=OFF - -Daudacity_use_portaudio=local # only 'local' option is present - -Daudacity_use_portmixer=$(usex portmixer local off) - -Daudacity_use_portsmf=$(usex portsmf local off) - -Daudacity_use_sbsms=$(usex sbsms local off) # no 'system' option in configuration? - -Daudacity_use_sndfile=system - -Daudacity_use_soundtouch=system - -Daudacity_use_soxr=system - -Daudacity_use_twolame=$(usex twolame system off) - -Daudacity_use_vamp=$(usex vamp system off) - -Daudacity_use_vorbis=$(usex vorbis system off) - -Daudacity_use_vst=$(usex vst) - -Daudacity_use_wxwidgets=system - ) - - cmake_src_configure - - # if git is not installed, this (empty) file is not being created and the compilation fails - # so we create it manually - touch "${BUILD_DIR}/src/private/RevisionIdent.h" || die "failed to create file" -} - -src_install() { - cmake_src_install - - # Remove bad doc install - rm -r "${ED}"/usr/share/doc || die - - if use doc ; then - docinto html - dodoc -r "${WORKDIR}"/help/manual/{m,man,manual} - dodoc "${WORKDIR}"/help/manual/{favicon.ico,index.html,quick_help.html} - dosym ../../doc/${PF}/html /usr/share/${PN}/help/manual - fi -} diff --git a/media-sound/audacity/files/audacity-2.3.3-Fix-building-against-system-portaudio.patch b/media-sound/audacity/files/audacity-2.3.3-Fix-building-against-system-portaudio.patch deleted file mode 100644 index b44517fca80e..000000000000 --- a/media-sound/audacity/files/audacity-2.3.3-Fix-building-against-system-portaudio.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 5f9482a191359f2c477763a36d2c865c5f186602 Mon Sep 17 00:00:00 2001 -From: Antonio Ospite -Date: Tue, 7 Nov 2017 13:06:33 +0100 -Subject: [PATCH] Fix building against the system portaudio library - -Building against the system portaudio results in this error: - -./src/AudioIO.cpp:983: undefined reference to `PaUtil_GetTime' -audacity-AudioIO.o: In function `audacityAudioCallback(void const*, void*, -unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)': -./src/AudioIO.cpp:4630: undefined reference to `PaUtil_GetTime' -collect2: error: ld returned 1 exit status -Makefile:2349: recipe for target 'audacity' failed -make[3]: *** [audacity] Error 1 - -This is because PaUtil_GetTime is declared as a C symbol in pa_util.h -but is resolved as a C++ symbol at link time. - -Audacity fixes this in the local tree with this change: -https://github.com/audacity/audacity/commit/38fd97b8e26060332ab3e9e000a8882326a70ba7 - -However this is not general enough for the portaudio debian package. - -Since PaUtil_GetTime() is the only function causing problems, just copy -over the code where it's used. ---- - src/AudioIO.cpp | 17 ++++++++++++++++- - 1 file changed, 16 insertions(+), 1 deletion(-) - ---- a/src/AudioIO.cpp -+++ b/src/AudioIO.cpp -@@ -480,8 +480,23 @@ - #define ROUND(x) (int) ((x)+0.5) - //#include - // #include "../lib-src/portmidi/pm_common/portmidi.h" -- #include "../lib-src/portaudio-v19/src/common/pa_util.h" - #include "NoteTrack.h" -+ -+PaTime PaUtil_GetTime( void ) -+{ -+#ifdef HAVE_MACH_ABSOLUTE_TIME -+ return mach_absolute_time() * machSecondsConversionScaler_; -+#elif defined(HAVE_CLOCK_GETTIME) -+ struct timespec tp; -+ clock_gettime(CLOCK_REALTIME, &tp); -+ return (PaTime)(tp.tv_sec + tp.tv_nsec * 1e-9); -+#else -+ struct timeval tv; -+ gettimeofday( &tv, NULL ); -+ return (PaTime) tv.tv_usec * 1e-6 + tv.tv_sec; -+#endif -+} -+ - #endif - - #ifdef EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT diff --git a/media-sound/audacity/files/audacity-2.4.2-add-missing-include-limits.patch b/media-sound/audacity/files/audacity-2.4.2-add-missing-include-limits.patch deleted file mode 100644 index 09fb42ad2026..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-add-missing-include-limits.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/include/audacity/Types.h -+++ b/include/audacity/Types.h -@@ -44,6 +44,7 @@ - - #include - #include -+#include - #include - #include - #include // for wxASSERT diff --git a/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch b/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch deleted file mode 100644 index 7b845bc31817..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-add-missing-include-portaudio.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur a/src/AudioIOBase.cpp b/src/AudioIOBase.cpp ---- a/src/AudioIOBase.cpp 2020-06-19 15:16:47.000000000 +0000 -+++ b/src/AudioIOBase.cpp 2020-08-04 19:43:27.985734707 +0000 -@@ -21,6 +21,7 @@ - #include "prefs/RecordingPrefs.h" - #include "widgets/MeterPanelBase.h" - -+#include "portaudio.h" - #if USE_PORTMIXER - #include "portmixer.h" - #endif diff --git a/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch b/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch deleted file mode 100644 index 03acf6a20586..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-disable-ccache.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4ff5430..9c9dbf6 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -69,14 +69,6 @@ set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake-proxies/cmake-modules) - set( CMAKE_CXX_STANDARD 14 ) - set( CMAKE_CXX_STANDARD_REQUIRED ON ) - --# Use ccache if available --find_program( CCACHE_PROGRAM ccache ) --mark_as_advanced( FORCE CCACHE_PROGRAM ) -- --if( CCACHE_PROGRAM ) -- set_property( GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}" ) --endif() -- - # Our very own project - project( Audacity ) - diff --git a/media-sound/audacity/files/audacity-2.4.2-fix-gettimeofday.patch b/media-sound/audacity/files/audacity-2.4.2-fix-gettimeofday.patch deleted file mode 100644 index 0e6e3e5d8cb1..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-fix-gettimeofday.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp -index 0187e39..28a5348 100644 ---- a/src/AudioIO.cpp -+++ b/src/AudioIO.cpp -@@ -427,6 +427,7 @@ time warp info and AudioIOListener and whether the playback is looped. - #include - #include - #include -+#include - - #ifdef __WXMSW__ - #include diff --git a/media-sound/audacity/files/audacity-2.4.2-fix-libflac-undefined-references.patch b/media-sound/audacity/files/audacity-2.4.2-fix-libflac-undefined-references.patch deleted file mode 100644 index 0500f7621e45..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-fix-libflac-undefined-references.patch +++ /dev/null @@ -1,61 +0,0 @@ -From be29286502be6c41b76e652b02862fe987c1f49b Mon Sep 17 00:00:00 2001 -From: Matthew White -Date: Sun, 14 Apr 2024 04:03:34 +0000 -Subject: [PATCH] libflac: fix undefined references when libflac is disabled - -In the upstream master branch: - - future commit 2fbfd3e0a5ab803e2072cbac1b2be685c3adcf05 disabled - ondemand (aka OD) in CMakeLists.txt. - - future commit cbf1bb558e094e24cbb54c3bbd2bd45a1abbfb2a expunged - ondemand fully. - -Closes: https://bugs.gentoo.org/741969 -Closes: https://bugs.gentoo.org/884747 ---- - src/CMakeLists.txt | 6 ++++-- - src/ProjectFileManager.cpp | 4 +++- - 2 files changed, 7 insertions(+), 3 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 93dc50c82..b2c4496ab 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -702,8 +702,10 @@ list( APPEND SOURCES - ondemand/ODComputeSummaryTask.h - ondemand/ODDecodeFFmpegTask.cpp - ondemand/ODDecodeFFmpegTask.h -- ondemand/ODDecodeFlacTask.cpp -- ondemand/ODDecodeFlacTask.h -+ $<$: -+ ondemand/ODDecodeFlacTask.cpp -+ ondemand/ODDecodeFlacTask.h -+ > - ondemand/ODDecodeTask.cpp - ondemand/ODDecodeTask.h - ondemand/ODManager.cpp -diff --git a/src/ProjectFileManager.cpp b/src/ProjectFileManager.cpp -index de5eeee98..106c52c31 100644 ---- a/src/ProjectFileManager.cpp -+++ b/src/ProjectFileManager.cpp -@@ -51,7 +51,9 @@ Paul Licameli split from AudacityProject.cpp - #include "import/ImportMIDI.h" - #include "commands/CommandContext.h" - #include "ondemand/ODComputeSummaryTask.h" -+#ifdef USE_LIBFLAC - #include "ondemand/ODDecodeFlacTask.h" -+#endif - #include "ondemand/ODManager.h" - #include "ondemand/ODTask.h" - #include "toolbars/SelectionBar.h" -@@ -276,7 +278,7 @@ void ProjectFileManager::EnqueueODTasks() - while((odFlags|createdODTasks) != createdODTasks) - { - std::unique_ptr newTask; --#ifdef EXPERIMENTAL_OD_FLAC -+#if defined(EXPERIMENTAL_OD_FLAC) && defined(USE_LIBFLAC) - if(!(createdODTasks&ODTask::eODFLAC) && (odFlags & ODTask::eODFLAC)) { - newTask = std::make_unique(); - createdODTasks = createdODTasks | ODTask::eODFLAC; --- -2.44.0 - diff --git a/media-sound/audacity/files/audacity-2.4.2-fix-metainfo.patch b/media-sound/audacity/files/audacity-2.4.2-fix-metainfo.patch deleted file mode 100644 index 09b9fd0e868b..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-fix-metainfo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/help/CMakeLists.txt b/help/CMakeLists.txt -index 43a7714..0e8a3d8 100755 ---- a/help/CMakeLists.txt -+++ b/help/CMakeLists.txt -@@ -40,6 +40,6 @@ if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" ) - install( FILES "${_SRCDIR}/audacity.1" - DESTINATION "${_MANDIR}/man1" ) - install( FILES "${_SRCDIR}/audacity.appdata.xml" -- DESTINATION "${_DATADIR}/appdata" ) -+ DESTINATION "${_DATADIR}/metainfo" ) - endif() - diff --git a/media-sound/audacity/files/audacity-2.4.2-fix-vertical-track-resizing.patch b/media-sound/audacity/files/audacity-2.4.2-fix-vertical-track-resizing.patch deleted file mode 100644 index 71160b4365eb..000000000000 --- a/media-sound/audacity/files/audacity-2.4.2-fix-vertical-track-resizing.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/menus/ViewMenus.cpp 2020-05-27 17:49:20.645538517 +0500 -+++ b/src/menus/ViewMenus.cpp 2020-05-27 17:49:26.844538493 +0500 -@@ -4,10 +4,10 @@ - #include "../CommonCommandFlags.h" - #include "../Menus.h" - #include "../Prefs.h" -+#include "../ProjectWindow.h" - #include "../Project.h" - #include "../ProjectHistory.h" - #include "../ProjectSettings.h" --#include "../ProjectWindow.h" - #include "../Track.h" - #include "../TrackInfo.h" - #include "../TrackPanel.h" diff --git a/media-sound/audacity/metadata.xml b/media-sound/audacity/metadata.xml index e17276dd00ed..74f5a6715d2d 100644 --- a/media-sound/audacity/metadata.xml +++ b/media-sound/audacity/metadata.xml @@ -23,13 +23,10 @@ Add support for Ladspa V2 Use media-sound/mpg123-base instead of media-libs/libmad for MPEG decoding - Enable support for MIDI via media-libs/portmidi Enable the internal portmixer feature - Enable support for Portable Standard Midi File Library Enables sbsms library support for slower, more accurate pitch and tempo changing Enables twolame support (MPEG Audio Layer 2 encoder) Enables vamp plugins support (Audio analysing plugins) - Enable VST plugin support -- cgit v1.2.3