[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/, media-libs/webrtc-audio-processing/
commit: bb9cdfdb5f4411cd1ba17e0f6a23ea7cb5acf20d Author: Sam James gentoo org> AuthorDate: Tue Aug 6 11:22:50 2024 + Commit: Sam James gentoo org> CommitDate: Tue Aug 6 11:22:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9cdfdb media-libs/webrtc-audio-processing: fix build w/ gcc-15 Closes: https://bugs.gentoo.org/937417 Signed-off-by: Sam James gentoo.org> ...webrtc-audio-processing-1.3-gcc15-cstdint.patch | 32 ++ .../webrtc-audio-processing-1.3-r3.ebuild | 1 + 2 files changed, 33 insertions(+) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch new file mode 100644 index ..1888fd964972 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/937417 +https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/41 + +From 1d58a17f18bf81bde00ac7d206976fa3c11e66dc Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Sat, 3 Aug 2024 06:48:30 +0100 +Subject: [PATCH] webrtc/api/task_queue/task_queue_base.h: add missing + include + +Without the change the build fails on upcoming `gcc-15` as: + +FAILED: webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o +g++ -Iwebrtc/rtc_base/liblibbase.a.p -Iwebrtc/rtc_base -I../webrtc/rtc_base -Iwebrtc -I../webrtc -I/nix/store/w2k6x9126cffd3db93bs4435krsbsz90-abseil-cpp-20240116.2/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -fPIC -DNOMINMAX -pthread -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_SYMBOL_EXPORT -DNDEBUG -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_THREAD_RR -DWEBRTC_ENABLE_AVX2 -MD -MQ webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -MF webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o.d -o webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -c ../webrtc/rtc_base/platform_thread.cc +In file included from ../webrtc/rtc_base/synchronization/sequence_checker.h:15, + from ../webrtc/rtc_base/thread_checker.h:17, + from ../webrtc/rtc_base/platform_thread.h:22, + from ../webrtc/rtc_base/platform_thread.cc:11: +../webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared + 53 |uint32_t milliseconds) = 0; + |^~~~ +--- a/webrtc/api/task_queue/task_queue_base.h b/webrtc/api/task_queue/task_queue_base.h +@@ -11,6 +11,7 @@ + #define API_TASK_QUEUE_TASK_QUEUE_BASE_H_ + + #include ++#include + + #include "api/task_queue/queued_task.h" + #include "rtc_base/system/rtc_export.h" +-- +GitLab diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index 3c89d5d4bc21..fecb72dc5eec 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -23,6 +23,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.3-big-endian-support.patch" "${FILESDIR}/${PN}-1.3-x86-no-sse.patch" "${FILESDIR}/${PN}-1.3-musl.patch" + "${FILESDIR}/${PN}-1.3-gcc15-cstdint.patch" ) DOCS=( AUTHORS NEWS README.md )
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: b754972a0193c37812a69ebfda911e8c6057af85 Author: Sam James gentoo org> AuthorDate: Fri Apr 19 09:33:39 2024 + Commit: Sam James gentoo org> CommitDate: Fri Apr 19 10:38:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b754972a media-libs/webrtc-audio-processing: switch to smaller distfile Contents are identical. Signed-off-by: Sam James gentoo.org> media-libs/webrtc-audio-processing/Manifest | 2 +- .../webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild | 4 ++-- .../webrtc-audio-processing/webrtc-audio-processing-1.3-r2.ebuild | 4 ++-- .../webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 5183b7f9df46..efa5df187641 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,2 +1,2 @@ DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b -DIST webrtc-audio-processing-1.3.tar.gz 879768 BLAKE2B 3bf61e5b9eadde824deb26f0591a10651d3a593ad89d3c71408655a12407bf7ecf422fdef58e651fc31245f3b0d575869e3abb0abfcfcb2e1aea21c03cd79e82 SHA512 4f56cc0acfd93b5ae432bdf681151e91344cea3388107a3eee5f9b17261cf0f09779f8b0bb67b4d35582f1f54dadc236d059802e69447e994dd588506cac95df +DIST webrtc-audio-processing-1.3.tar.xz 655672 BLAKE2B 42669df1705e7c289b3e9b2d79ef06f6f493eb4ef16f6ce8a4c94312d2372c9158ed016217055819041c2981ca1fe9467ca0e099ac261f92e4f75fa53d3421d1 SHA512 daabaed06ff9d1d4076b2abba14efbbebeb8930b14a99fb47974399d2812f3f851e3d6a691b09fbcfb1a3535c6ade967bac4c17a3728f3138b302e3b844c5c67 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild index 08ebbe9d2e03..a5ccfe607691 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit meson-multilib DESCRIPTION="AudioProcessing library from the webrtc.org codebase" HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="1" diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r2.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r2.ebuild index 7b68968b2038..ff62de9f7c03 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r2.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit meson-multilib DESCRIPTION="AudioProcessing library from the webrtc.org codebase" HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="1" diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index f2856556455c..3c89d5d4bc21 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -7,7 +7,7 @@ inherit meson-multilib DESCRIPTION="AudioProcessing library from the webrtc.org codebase" HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="1"
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 20860628c8ef3fbddf96f70ab63f9ffa5bd01176 Author: Sam James gentoo org> AuthorDate: Thu Jan 11 09:36:42 2024 + Commit: Sam James gentoo org> CommitDate: Thu Jan 11 09:36:42 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20860628 media-libs/webrtc-audio-processing: Stabilize 1.3-r3 x86, #920967 Signed-off-by: Sam James gentoo.org> .../webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index ee8092147a09..f2856556455c 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; LICENSE="BSD" SLOT="1" -KEYWORDS="amd64 ~ppc64 ~x86 ~amd64-linux" +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux" IUSE="cpu_flags_arm_neon" RDEPEND="dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: ce46f426fe9936650b53091c617bd454badde231 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Jan 3 18:38:33 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Jan 3 18:38:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce46f426 media-libs/webrtc-audio-processing: Stabilize 1.3-r3 amd64, #920967 Signed-off-by: Arthur Zamarin gentoo.org> .../webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index 33bf26456380..ee8092147a09 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; LICENSE="BSD" SLOT="1" -KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux" +KEYWORDS="amd64 ~ppc64 ~x86 ~amd64-linux" IUSE="cpu_flags_arm_neon" RDEPEND="dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/, media-libs/webrtc-audio-processing/
commit: 29cd0e622b574df6adff5704ab4e220709619767 Author: Sam James gentoo org> AuthorDate: Tue Jan 2 04:36:56 2024 + Commit: Sam James gentoo org> CommitDate: Tue Jan 2 04:39:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cd0e62 media-libs/webrtc-audio-processing: fix x86 w/o SSE Tested with CFLAGS="-O2" CFLAGS_x86="-m32 -O2 -mno-sse -march=i686 -fcf-protection=none" e webrtc-audio-processing-1.3-r3.ebuild clean compile. Closes: https://bugs.gentoo.org/918668 Closes: https://bugs.gentoo.org/921140 Signed-off-by: Sam James gentoo.org> .../files/webrtc-audio-processing-1.3-musl.patch | 34 ++ .../webrtc-audio-processing-1.3-x86-no-sse.patch | 13 +++ .../webrtc-audio-processing-1.3-r3.ebuild | 40 ++ 3 files changed, 87 insertions(+) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-musl.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-musl.patch new file mode 100644 index ..01e6e799a62b --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-musl.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/918668 +https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/37 +(see also https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/38) + +From de1b9c444df1ed66d72a4ab3d0e4dd2151037934 Mon Sep 17 00:00:00 2001 +From: Markus Volk +Date: Thu, 14 Sep 2023 16:12:32 +0200 +Subject: [PATCH] file_wrapper.h: add missing include for musl + +this fixes: +| In file included from ../webrtc-audio-processing-1.3/webrtc/rtc_base/system/file_wrapper.cc:11: +| ../webrtc-audio-processing-1.3/webrtc/rtc_base/system/file_wrapper.h:86:21: error: 'int64_t' has not been declared + +if built with musl libc + +Signed-off-by: Markus Volk +--- + webrtc/rtc_base/system/file_wrapper.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/webrtc/rtc_base/system/file_wrapper.h b/webrtc/rtc_base/system/file_wrapper.h +index 42c463c..c34d366 100644 +--- a/webrtc/rtc_base/system/file_wrapper.h b/webrtc/rtc_base/system/file_wrapper.h +@@ -13,6 +13,7 @@ + + #include + #include ++#include + + #include + +-- +GitLab diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-x86-no-sse.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-x86-no-sse.patch new file mode 100644 index ..c194dd9244e5 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-x86-no-sse.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/921140 +https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5 +--- a/webrtc/rtc_base/system/arch.h b/webrtc/rtc_base/system/arch.h +@@ -34,7 +34,7 @@ + #else + #define WEBRTC_ARCH_32_BITS + #endif +-#elif defined(_M_IX86) || defined(__i386__) ++#elif defined(__SSE__) && (defined(_M_IX86) || defined(__i386__)) + #define WEBRTC_ARCH_X86_FAMILY + #define WEBRTC_ARCH_X86 + #define WEBRTC_ARCH_32_BITS diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild new file mode 100644 index ..33bf26456380 --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson-multilib + +DESCRIPTION="AudioProcessing library from the webrtc.org codebase" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux" +IUSE="cpu_flags_arm_neon" + +RDEPEND="dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-1.3-Add-generic-byte-order-and-pointer-size-detection.patch" + "${FILESDIR}/${PN}-1.3-big-endian-support.patch" + "${FILESDIR}/${PN}-1.3-x86-no-sse.patch" + "${FILESDIR}/${PN}-1.3-musl.patch" +) + +DOCS=( AUTHORS NEWS README.md ) + +multilib_src_configure() { + if [[ ${ABI} == x86 ]] ; then + # bug #921140 + local -x CPPFLAGS="${CPPFLAGS} -DPFFFT_SIMD_DISABLE" + fi + + local emesonargs=( + -Dneon=$(usex cpu_flags_arm_neon yes no) + ) + meson_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/
commit: d40c10e960ef80b6a6c312043fa7cbd7f7bb37f9 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Oct 28 08:53:19 2023 + Commit: Ulrich Müller gentoo org> CommitDate: Mon Nov 20 20:19:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d40c10e9 media-libs/webrtc-audio-processing: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Ulrich Müller gentoo.org> .../files/1.0-abseil-cmake.patch | 69 -- 1 file changed, 69 deletions(-) diff --git a/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch b/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch deleted file mode 100644 index ca1e825469a5.. --- a/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 3f9907f93d3983033e176e95f5134a57900a7f6e Mon Sep 17 00:00:00 2001 -From: Arun Raghavan -Date: Thu, 10 Dec 2020 19:06:31 -0500 -Subject: [PATCH] build: Use cmake to look up abseil dependency - -This should be much more robust than looking up the library directly. - -Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4 - .gitlab-ci.yml | 3 ++- - meson.build| 21 - - 2 files changed, 10 insertions(+), 14 deletions(-) - -diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml -index 11a3b78..42cd589 100644 a/.gitlab-ci.yml -+++ b/.gitlab-ci.yml -@@ -19,7 +19,7 @@ variables: - # CI runs, for example when adding new packages to FDO_DISTRIBUTION_PACKAGES. - # The tag is an arbitrary string that identifies the exact container - # contents. -- BASE_TAG: '2020-11-27.1' -+ BASE_TAG: '2020-12-10.1' - FDO_DISTRIBUTION_VERSION: '20.10' - FDO_UPSTREAM_REPO: 'pulseaudio/webrtc-audio-processing' - -@@ -43,6 +43,7 @@ include: - FDO_DISTRIBUTION_PACKAGES: >- - g++ - gcc -+ cmake - libabsl-dev - meson - ninja-build -diff --git a/meson.build b/meson.build -index bae155e..96d84d7 100644 a/meson.build -+++ b/meson.build -@@ -40,19 +40,14 @@ os_deps = [] - have_posix = false - have_win = false - --absl_dep = [ -- cpp.find_library('absl_base'), -- cpp.find_library('absl_bad_optional_access'), -- cpp.find_library('absl_flags_internal'), -- cpp.find_library('absl_flags_marshalling'), -- cpp.find_library('absl_flags_parse'), -- cpp.find_library('absl_flags_registry'), -- cpp.find_library('absl_flags_usage_internal'), -- cpp.find_library('absl_raw_logging_internal'), -- cpp.find_library('absl_strings'), -- cpp.find_library('absl_synchronization'), -- cpp.find_library('absl_throw_delegate'), --] -+absl_dep = dependency('absl', method : 'cmake', -+ modules : [ -+'absl::base', -+'absl::flags_parse', -+'absl::strings', -+'absl::synchronization', -+ ] -+) - - if ['darwin', 'ios'].contains(host_system) - os_cflags = ['-DWEBRTC_MAC'] --- -GitLab -
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 20817c985d7ff8f373c6c77321cf5ad2c8b1e836 Author: Igor V. Kovalenko gmail com> AuthorDate: Sat Nov 4 15:55:06 2023 + Commit: Sam James gentoo org> CommitDate: Sun Nov 5 14:47:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20817c98 media-libs/webrtc-audio-processing: Fix abseil-cpp multilib dep Closes: https://bugs.gentoo.org/916791 Signed-off-by: Igor V. Kovalenko gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33669 Signed-off-by: Sam James gentoo.org> ...udio-processing-1.3.ebuild => webrtc-audio-processing-1.3-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild similarity index 92% rename from media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3.ebuild rename to media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild index 727da560e5da..08ebbe9d2e03 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r1.ebuild @@ -14,7 +14,7 @@ SLOT="1" KEYWORDS="~amd64 ~x86 ~amd64-linux" IUSE="cpu_flags_arm_neon" -RDEPEND="dev-cpp/abseil-cpp:=" +RDEPEND="dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig"
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 9c1626c3eb2f6e0e6ebb2c475c29e9d80b898aaf Author: Sam James gentoo org> AuthorDate: Sun Nov 5 14:47:04 2023 + Commit: Sam James gentoo org> CommitDate: Sun Nov 5 14:47:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1626c3 media-libs/webrtc-audio-processing: add freedesktop-gitlab upstream metadata Signed-off-by: Sam James gentoo.org> media-libs/webrtc-audio-processing/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/media-libs/webrtc-audio-processing/metadata.xml b/media-libs/webrtc-audio-processing/metadata.xml index f3a2d1816285..3bfddb73214b 100644 --- a/media-libs/webrtc-audio-processing/metadata.xml +++ b/media-libs/webrtc-audio-processing/metadata.xml @@ -5,4 +5,7 @@ l...@gentoo.org Mart Raudsepp + + pulseaudio/webrtc-audio-processing +
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/, media-libs/webrtc-audio-processing/
commit: 1869e5c50ca0705e8bb2bbe144273ea272215946 Author: Niccolò Belli linuxsystems it> AuthorDate: Thu Feb 23 09:13:27 2023 + Commit: Sam James gentoo org> CommitDate: Fri Sep 15 09:15:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1869e5c5 media-libs/webrtc-audio-processing: add big-endian patches, keyword 0.3.1 for ~ppc64 Signed-off-by: Niccolò Belli linuxsystems.it> Signed-off-by: Sam James gentoo.org> ...ric-byte-order-and-pointer-size-detection.patch | 35 +++ ...c-audio-processing-0.3-big-endian-support.patch | 103 + .../webrtc-audio-processing-0.3.1-r1.ebuild| 36 +++ 3 files changed, 174 insertions(+) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-Add-generic-byte-order-and-pointer-size-detection.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-Add-generic-byte-order-and-pointer-size-detection.patch new file mode 100644 index ..0c4508986e4b --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-Add-generic-byte-order-and-pointer-size-detection.patch @@ -0,0 +1,35 @@ +From: Than +Date: Wed, 8 Jun 2016 19:10:08 -0400 +Subject: Add generic byte order and pointer size detection + +https://sources.debian.org/patches/webrtc-audio-processing/0.3-1/Add-generic-byte-order-and-pointer-size-detection.patch/ +https://bugs.freedesktop.org/show_bug.cgi?id=95738 +--- + webrtc/typedefs.h | 14 +- + 1 file changed, 13 insertions(+), 1 deletion(-) + +diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h +index d875490..dc074f1 100644 +--- a/webrtc/typedefs.h b/webrtc/typedefs.h +@@ -48,7 +48,19 @@ + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN + #else +-#error Please add support for your architecture in typedefs.h ++/* instead of failing, use typical unix defines... */ ++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ++#define WEBRTC_ARCH_BIG_ENDIAN ++#else ++#error __BYTE_ORDER__ is not defined ++#endif ++#if defined(__LP64__) ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #endif + + #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN)) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-big-endian-support.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-big-endian-support.patch new file mode 100644 index ..34f27dd70484 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-big-endian-support.patch @@ -0,0 +1,103 @@ +From: Than +Date: Mon, 6 Jun 2016 12:08:58 -0400 +Subject: big endian support + +https://sources.debian.org/patches/webrtc-audio-processing/0.3-1/big-endian-support.patch/ +https://bugs.freedesktop.org/show_bug.cgi?id=95738 +--- + webrtc/common_audio/wav_file.cc | 20 +++- + webrtc/common_audio/wav_header.cc | 34 +- + 2 files changed, 48 insertions(+), 6 deletions(-) + +diff --git a/webrtc/common_audio/wav_file.cc b/webrtc/common_audio/wav_file.cc +index b14b620..05fa052 100644 +--- a/webrtc/common_audio/wav_file.cc b/webrtc/common_audio/wav_file.cc +@@ -64,9 +64,6 @@ WavReader::~WavReader() { + } + + size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) { +-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN +-#error "Need to convert samples to big-endian when reading from WAV file" +-#endif + // There could be metadata after the audio; ensure we don't read it. + num_samples = std::min(rtc::checked_cast(num_samples), + num_samples_remaining_); +@@ -76,6 +73,12 @@ size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) { + RTC_CHECK(read == num_samples || feof(file_handle_)); + RTC_CHECK_LE(read, num_samples_remaining_); + num_samples_remaining_ -= rtc::checked_cast(read); ++#ifndef WEBRTC_ARCH_LITTLE_ENDIAN ++ //convert to big-endian ++ for(size_t idx = 0; idx < num_samples; idx++) { ++samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); ++ } ++#endif + return read; + } + +@@ -120,10 +123,17 @@ WavWriter::~WavWriter() { + + void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { + #ifndef WEBRTC_ARCH_LITTLE_ENDIAN +-#error "Need to convert samples to little-endian when writing to WAV file" +-#endif ++ int16_t * le_samples = new int16_t[num_samples]; ++ for(size_t idx = 0; idx < num_samples; idx++) { ++le_samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); ++ } ++ const size_t written = ++ fwrite(le_samples, sizeof(*le_samples), num_samples, file_handle_); ++ delete []le_samples; ++#else + const size_t written = + fwrite(samples, sizeof(*samples), num_samples, file_handle_); ++#endif + RTC_CHECK_EQ(num_samples, written); + num_samples_ += static_cast(written); +
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/, media-libs/webrtc-audio-processing/, ...
commit: a821b85f4a03acf61b9cff28a73e5134a314dece Author: Mart Raudsepp gentoo org> AuthorDate: Thu Sep 23 13:27:45 2021 + Commit: Mart Raudsepp gentoo org> CommitDate: Thu Sep 23 14:09:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a821b85f media-libs/webrtc-audio-processing: add preliminary SLOT=1 bump Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp gentoo.org> media-libs/webrtc-audio-processing/Manifest| 1 + .../files/1.0-abseil-cmake.patch | 69 ++ .../webrtc-audio-processing-1.0.ebuild | 32 ++ profiles/package.mask | 4 ++ 4 files changed, 106 insertions(+) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 54926ef3847..4a4f053a09c 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1 +1,2 @@ DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b +DIST webrtc-audio-processing-1.0.tar.gz 856721 BLAKE2B bbf5bee4887ca9929cdc62ded5a9b12563371e75cf1d3e3a3d7c8ccc766cb00bd718bc1ddf96d713a47342694394cc853067fba531c61c7e28e493a4dcdc895f SHA512 fced98beeb58155e86aed9649413e2f28ee6814e711bd57e946ec0db30ddabcc65bbf425b85892f4ad8803e87f0ece9fdde5595948145b90f436c2592da55961 diff --git a/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch b/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch new file mode 100644 index 000..ca1e825469a --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/1.0-abseil-cmake.patch @@ -0,0 +1,69 @@ +From 3f9907f93d3983033e176e95f5134a57900a7f6e Mon Sep 17 00:00:00 2001 +From: Arun Raghavan +Date: Thu, 10 Dec 2020 19:06:31 -0500 +Subject: [PATCH] build: Use cmake to look up abseil dependency + +This should be much more robust than looking up the library directly. + +Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4 +--- + .gitlab-ci.yml | 3 ++- + meson.build| 21 - + 2 files changed, 10 insertions(+), 14 deletions(-) + +diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml +index 11a3b78..42cd589 100644 +--- a/.gitlab-ci.yml b/.gitlab-ci.yml +@@ -19,7 +19,7 @@ variables: + # CI runs, for example when adding new packages to FDO_DISTRIBUTION_PACKAGES. + # The tag is an arbitrary string that identifies the exact container + # contents. +- BASE_TAG: '2020-11-27.1' ++ BASE_TAG: '2020-12-10.1' + FDO_DISTRIBUTION_VERSION: '20.10' + FDO_UPSTREAM_REPO: 'pulseaudio/webrtc-audio-processing' + +@@ -43,6 +43,7 @@ include: + FDO_DISTRIBUTION_PACKAGES: >- + g++ + gcc ++ cmake + libabsl-dev + meson + ninja-build +diff --git a/meson.build b/meson.build +index bae155e..96d84d7 100644 +--- a/meson.build b/meson.build +@@ -40,19 +40,14 @@ os_deps = [] + have_posix = false + have_win = false + +-absl_dep = [ +- cpp.find_library('absl_base'), +- cpp.find_library('absl_bad_optional_access'), +- cpp.find_library('absl_flags_internal'), +- cpp.find_library('absl_flags_marshalling'), +- cpp.find_library('absl_flags_parse'), +- cpp.find_library('absl_flags_registry'), +- cpp.find_library('absl_flags_usage_internal'), +- cpp.find_library('absl_raw_logging_internal'), +- cpp.find_library('absl_strings'), +- cpp.find_library('absl_synchronization'), +- cpp.find_library('absl_throw_delegate'), +-] ++absl_dep = dependency('absl', method : 'cmake', ++ modules : [ ++'absl::base', ++'absl::flags_parse', ++'absl::strings', ++'absl::synchronization', ++ ] ++) + + if ['darwin', 'ios'].contains(host_system) + os_cflags = ['-DWEBRTC_MAC'] +-- +GitLab + diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.0.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.0.ebuild new file mode 100644 index 000..6f1978a3eab --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="AudioProcessing library from the webrtc.org codebase" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"; + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="cpu_flags_arm_neon" + +RDEPEND="dev-cpp/abseil-cpp[-cxx17(+)]" # TODO: resolve cxx14 requirement +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PV}-abs
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 7e6a64c5ac71e3375f114f6e6c419590f9e8982d Author: Mart Raudsepp gentoo org> AuthorDate: Wed Sep 22 16:44:37 2021 + Commit: Mart Raudsepp gentoo org> CommitDate: Thu Sep 23 14:09:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6a64c5 media-libs/webrtc-audio-processing: Maintain Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp gentoo.org> media-libs/webrtc-audio-processing/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/metadata.xml b/media-libs/webrtc-audio-processing/metadata.xml index 85e4ed814fa..f3a2d181628 100644 --- a/media-libs/webrtc-audio-processing/metadata.xml +++ b/media-libs/webrtc-audio-processing/metadata.xml @@ -1,5 +1,8 @@ https://www.gentoo.org/dtd/metadata.dtd";> - + + l...@gentoo.org + Mart Raudsepp +
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: cb6a3f884cb9421d6b1515290acc1a9ad7f4ae67 Author: Pacho Ramos gentoo org> AuthorDate: Wed Feb 20 21:34:26 2019 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Feb 20 21:34:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6a3f88 media-libs/webrtc-audio-processing: Drop old Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos gentoo.org> media-libs/webrtc-audio-processing/Manifest| 1 - .../webrtc-audio-processing-0.3.ebuild | 35 -- 2 files changed, 36 deletions(-) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 44ce211b381..54926ef3847 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,2 +1 @@ DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b -DIST webrtc-audio-processing-0.3.tar.xz 688096 BLAKE2B 063e50ad6690c7b96e577d4a9c378328aafad6fd904ab18283ff2d7f10cc26f4b57f9b6293e880bffc105f7a6c91ec5c7ed9cf7c1aa422c40e64eb0b76dd0541 SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild deleted file mode 100644 index a7d2d6aaa46..000 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils multilib-minimal - -DESCRIPTION="AudioProcessing library from the webrtc.org code base" -HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux" -IUSE="static-libs" - -DOCS=( AUTHORS NEWS README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch -) - -src_prepare() { - eautoreconf - default -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf -} - -multilib_src_install_all() { - find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 32d665d4e122832de070505f556db81a819251e8 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Feb 20 13:01:38 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Feb 20 13:01:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d665d4 media-libs/webrtc-audio-processing: amd64 stable wrt bug #676584 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild index c2a4872e956..a16be41e8d6 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" IUSE="static-libs" DOCS=( AUTHORS NEWS README.md )
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 5229d8574810d022a0c42ba8b4533bd9d2bab232 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Feb 15 00:08:36 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Feb 15 00:18:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5229d857 media-libs/webrtc-audio-processing: x86 stable (bug #676584) Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann gentoo.org> .../webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild index aa748cab626..c2a4872e956 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" +KEYWORDS="~amd64 x86 ~amd64-linux" IUSE="static-libs" DOCS=( AUTHORS NEWS README.md )
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: e6cb905c34c0838c4bfd1c4225a1de4b463e9e50 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 1 12:36:21 2018 + Commit: Lars Wendler gentoo org> CommitDate: Thu Aug 2 07:39:18 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6cb905c media-libs/webrtc-audio-processing: Removed old. Package-Manager: Portage-2.3.44, Repoman-2.3.10 media-libs/webrtc-audio-processing/Manifest| 2 -- .../webrtc-audio-processing-0.1-r1.ebuild | 20 - .../webrtc-audio-processing-0.2.ebuild | 26 -- 3 files changed, 48 deletions(-) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index eb69fbd3293..44ce211b381 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,4 +1,2 @@ -DIST webrtc-audio-processing-0.1.tar.xz 392540 BLAKE2B 9b280cc88fce2bb62ac516af871add417743386378432dd1fd5e62ef5dbefd05a21982b26479d7efed00cd7f5f6b09887ec12f88a512ede9f4ece2d49ea069d8 SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 -DIST webrtc-audio-processing-0.2.tar.xz 687484 BLAKE2B 2c739109dffe4faac47b3e2c417002441f9f99bb054df62e990c88876e37c8c15e5b05cd90120805609f17441d385b979d625ed2caaf1b1c84ff3a65c44c9b79 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b DIST webrtc-audio-processing-0.3.tar.xz 688096 BLAKE2B 063e50ad6690c7b96e577d4a9c378328aafad6fd904ab18283ff2d7f10cc26f4b57f9b6293e880bffc105f7a6c91ec5c7ed9cf7c1aa422c40e64eb0b76dd0541 SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild deleted file mode 100644 index 1a98e36cfd5..000 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_PRUNE_LIBTOOL_FILES=all -inherit autotools-multilib - -DESCRIPTION="AudioProcessing library from the webrtc.org code base" -HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux" -IUSE="static-libs" - -RDEPEND="" - -DOCS=( AUTHORS NEWS README ) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild deleted file mode 100644 index eadc437eb47..000 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib-minimal - -DESCRIPTION="AudioProcessing library from the webrtc.org code base" -HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" -IUSE="static-libs" - -DOCS=( AUTHORS NEWS README.md ) - -multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf -} - -multilib_src_install_all() { - find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 0b50758465d254406ad2434b39f402bf52f4fd74 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 1 12:35:51 2018 + Commit: Lars Wendler gentoo org> CommitDate: Thu Aug 2 07:39:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b507584 media-libs/webrtc-audio-processing: Bump to version 0.3.1 Package-Manager: Portage-2.3.44, Repoman-2.3.10 media-libs/webrtc-audio-processing/Manifest| 1 + .../webrtc-audio-processing-0.3.1.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index a0bf10996c4..eb69fbd3293 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,3 +1,4 @@ DIST webrtc-audio-processing-0.1.tar.xz 392540 BLAKE2B 9b280cc88fce2bb62ac516af871add417743386378432dd1fd5e62ef5dbefd05a21982b26479d7efed00cd7f5f6b09887ec12f88a512ede9f4ece2d49ea069d8 SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 DIST webrtc-audio-processing-0.2.tar.xz 687484 BLAKE2B 2c739109dffe4faac47b3e2c417002441f9f99bb054df62e990c88876e37c8c15e5b05cd90120805609f17441d385b979d625ed2caaf1b1c84ff3a65c44c9b79 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 +DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b DIST webrtc-audio-processing-0.3.tar.xz 688096 BLAKE2B 063e50ad6690c7b96e577d4a9c378328aafad6fd904ab18283ff2d7f10cc26f4b57f9b6293e880bffc105f7a6c91ec5c7ed9cf7c1aa422c40e64eb0b76dd0541 SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild new file mode 100644 index 000..aa748cab626 --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch +) + +src_prepare() { + eautoreconf + default +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 25f95fecc86619ac99f193ea5f385b043a705073 Author: Ben Kohler gmail com> AuthorDate: Thu Mar 8 13:20:25 2018 + Commit: Jason Zaman gentoo org> CommitDate: Thu Mar 8 13:27:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f95fec media-libs/webrtc-audio-processing: fix missing aclocal-1.15 Add a call to eautoreconf to fix missing/hardcoded aclocal-1.15 Closes: https://bugs.gentoo.org/649244 .../webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild index b48c1061479..a7d2d6aaa46 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils multilib-minimal +inherit autotools eutils multilib-minimal DESCRIPTION="AudioProcessing library from the webrtc.org code base" HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; @@ -20,6 +20,11 @@ PATCHES=( "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch ) +src_prepare() { + eautoreconf + default +} + multilib_src_configure() { ECONF_SOURCE="${S}" \ econf
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/, media-libs/webrtc-audio-processing/files/
commit: 68a910e5e46ce5b2b51f3ff1358e7a2aeeacc678 Author: Jory A. Pratt gentoo org> AuthorDate: Wed Jul 26 01:42:37 2017 + Commit: Jory Pratt gentoo org> CommitDate: Wed Jul 26 01:42:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a910e5 media-libs/webrtc-audio-processing: use autoconf to properly detect cxxabi.h and execinfo.h Package-Manager: Portage-2.3.6, Repoman-2.3.3 ...sing-0.3-proper_detection_cxxabi_execinfo.patch | 63 ++ .../webrtc-audio-processing-0.3.ebuild | 6 ++- 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch new file mode 100644 index 000..a0332db8e78 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch @@ -0,0 +1,63 @@ +From b7a166acaddc4c78afa2b653e25114d9114699f3 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 6 Aug 2016 11:24:50 +0200 +Subject: [PATCH] Proper detection of cxxabi.h and execinfo.h + +The current code in webrtc/base/checks.cc assumes that if __GLIBCXX__ is +defined and __UCLIBC__ is not defined, then both cxxabi.h and execinfo.h +will be available. + +Unfortunately, this is not correct with the musl C library: + + - It defines __GLIBCXX__ + - It does not define __UCLIBC__ (it's not uClibc after all!) + - But it also doesn't provide execinfo.h + +Therefore, in order to make things work properly, we switch to proper +autoconf checks for cxxabi.h and execinfo.h, and only use the backtrace +functionality if both are provided. + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 2 ++ + webrtc/base/checks.cc | 4 ++-- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index acbb3e2..ff4c752 100644 +--- a/configure.ac b/configure.ac +@@ -45,6 +45,8 @@ AC_SUBST(GNUSTL_CFLAGS) + # Borrowed from gst-plugins-bad + AC_CHECK_HEADER(MobileCoreServices/MobileCoreServices.h, HAVE_IOS="yes", HAVE_IOS="no", [-]) + ++AC_CHECK_HEADERS([cxxabi.h execinfo.h]) ++ + # Based on gst-plugins-bad configure.ac and defines in + # /build/config/BUILDCONFIG.gn and + # webrtc/BUILD.gn +diff --git a/webrtc/base/checks.cc b/webrtc/base/checks.cc +index 49a31f2..05d23a6 100644 +--- a/webrtc/base/checks.cc b/webrtc/base/checks.cc +@@ -16,7 +16,7 @@ + #include + #include + +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) ++#if defined(HAVE_CXX_ABI_H) && defined(HAVE_EXECINFO_H) + #include + #include + #endif +@@ -55,7 +55,7 @@ void PrintError(const char* format, ...) { + // to get usable symbols on Linux. This is copied from V8. Chromium has a more + // advanced stace trace system; also more difficult to copy. + void DumpBacktrace() { +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) ++#if defined(HAVE_CXX_ABI_H) && defined(HAVE_EXECINFO_H) + void* trace[100]; + int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); + char** symbols = backtrace_symbols(trace, size); +-- +2.7.4 + diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild index 28c7ac52659..b48c1061479 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -16,6 +16,10 @@ IUSE="static-libs" DOCS=( AUTHORS NEWS README.md ) +PATCHES=( + "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch +) + multilib_src_configure() { ECONF_SOURCE="${S}" \ econf
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 99223088f75196bb9182299927492daf5bcaaf5b Author: Pacho Ramos gentoo org> AuthorDate: Fri Sep 30 22:51:34 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Oct 1 00:54:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99223088 media-libs/webrtc-audio-processing: x86 stable, bug 587010 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="x86" media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild index e865eb2..6cb1e3e 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" IUSE="static-libs" DOCS=( AUTHORS NEWS README.md )
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: 328b4669ef3028f6360955ecc77c51095c988661 Author: Manuel Rüger gentoo org> AuthorDate: Mon Jun 27 22:36:16 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Jun 27 22:36:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328b4669 media-libs/webrtc-audio-processing: Version bump Package-Manager: portage-2.2.28 media-libs/webrtc-audio-processing/Manifest| 1 + .../webrtc-audio-processing-0.3.ebuild | 27 ++ 2 files changed, 28 insertions(+) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 2225bf3..2033b7d 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,2 +1,3 @@ DIST webrtc-audio-processing-0.1.tar.xz 392540 SHA256 ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 WHIRLPOOL fd3a07d5d4937fd0c37247fe9e428ab2b5623d8dc68ce0339131e7d18527ffaf6e4307f13a5f1a3e0204116f564ba166813bbd07e8e6fc5a80ceecd2ca939b64 DIST webrtc-audio-processing-0.2.tar.xz 687484 SHA256 4b46a7f91a5d255c2451f9862c86e2a5de904902724b4bba1fd23e2854f21df5 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 WHIRLPOOL bba4b4b339ee4d043d430c3544b84983966d5526dd8e469a8ea1c5def98cba5e1ba3b3663e24b9d13826155c0493a996d385ac2582a52952e8b835664095e668 +DIST webrtc-audio-processing-0.3.tar.xz 688096 SHA256 756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 WHIRLPOOL a36663cb13ae40f24ce401eedaf621177a040e345b9ab01e84b85f78271f288d68bdbd0dfeae04efcb6724820fbdcfadee1ddcf2ee452b38298f8b162f1bfc6a diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild new file mode 100644 index 000..d3af43a --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf +} + +multilib_src_install_all() { + find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/
commit: b2bee13ba4486f85cafe8322ab77a83591e8b0af Author: Lars Wendler gentoo org> AuthorDate: Tue Jun 14 11:36:40 2016 + Commit: Lars Wendler gentoo org> CommitDate: Tue Jun 14 11:36:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2bee13b media-libs/webrtc-audio-processing: Bump to version 0.2 Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> media-libs/webrtc-audio-processing/Manifest| 1 + .../webrtc-audio-processing-0.2.ebuild | 27 ++ 2 files changed, 28 insertions(+) diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 44cb8cc..2225bf3 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1 +1,2 @@ DIST webrtc-audio-processing-0.1.tar.xz 392540 SHA256 ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 WHIRLPOOL fd3a07d5d4937fd0c37247fe9e428ab2b5623d8dc68ce0339131e7d18527ffaf6e4307f13a5f1a3e0204116f564ba166813bbd07e8e6fc5a80ceecd2ca939b64 +DIST webrtc-audio-processing-0.2.tar.xz 687484 SHA256 4b46a7f91a5d255c2451f9862c86e2a5de904902724b4bba1fd23e2854f21df5 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 WHIRLPOOL bba4b4b339ee4d043d430c3544b84983966d5526dd8e469a8ea1c5def98cba5e1ba3b3663e24b9d13826155c0493a996d385ac2582a52952e8b835664095e668 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild new file mode 100644 index 000..d3af43a --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"; +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf +} + +multilib_src_install_all() { + find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +}