From a6764d56b1c85c8272783500983011c143c72d80 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 5 Dec 2024 02:07:17 +0000 Subject: gentoo auto-resync : 05:12:2024 - 02:07:17 --- media-libs/Manifest.gz | Bin 69709 -> 69709 bytes media-libs/ksanecore-common/Manifest | 4 +- .../ksanecore-common-24.08.1.ebuild | 18 --- .../ksanecore-common-24.08.3.ebuild | 2 +- media-libs/ksanecore/Manifest | 4 +- media-libs/ksanecore/ksanecore-24.08.1.ebuild | 30 ----- media-libs/ksanecore/ksanecore-24.08.3.ebuild | 2 +- media-libs/leptonica/Manifest | 2 +- media-libs/leptonica/leptonica-1.84.1-r2.ebuild | 2 +- media-libs/pulseaudio-qt/Manifest | 2 +- .../pulseaudio-qt/pulseaudio-qt-1.6.1.ebuild | 2 +- media-libs/tg_owt/Manifest | 2 +- media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild | 123 --------------------- media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild | 123 +++++++++++++++++++++ media-libs/zimg/Manifest | 2 +- media-libs/zimg/zimg-3.0.4-r1.ebuild | 2 +- 16 files changed, 134 insertions(+), 186 deletions(-) delete mode 100644 media-libs/ksanecore-common/ksanecore-common-24.08.1.ebuild delete mode 100644 media-libs/ksanecore/ksanecore-24.08.1.ebuild delete mode 100644 media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild create mode 100644 media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index e6cd9303a136..1d84a38dc1e6 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/ksanecore-common/Manifest b/media-libs/ksanecore-common/Manifest index 9edfd1ada212..38ae33d6adda 100644 --- a/media-libs/ksanecore-common/Manifest +++ b/media-libs/ksanecore-common/Manifest @@ -1,5 +1,3 @@ -DIST ksanecore-24.08.1.tar.xz 51164 BLAKE2B b4d9ecc8886b963efbbd5ed8dcca84cb7e0805726306ad942fbae9a73f1402e25851142893943b63c90e60c7d3b00542e0174fe9e07379146667d1383080cc8b SHA512 ebfccc54704438a9ec0fab2f8029c95745921438b63a8928a048f6f2cfcfea4c1f871fe7872331d8e9e7ac24a0a5e0df654b388430102f73027ee0afcf8ee002 DIST ksanecore-24.08.3.tar.xz 51184 BLAKE2B 285285ece94d8c55a81be2cb932c1e34b2154d04101a4501fb2cc69c310656529eee7e3d612ff12a240009a86d22d5738352dbad408d8a7871fc66c378083077 SHA512 808c220cf01ec9de1fc5e6cf55f873fe6f70f8ab231e59b7c048db5a5b7ecde542e3291798118d0e65b99c4b627e34beceef38948ba208e9dfb2c992e65a06f8 -EBUILD ksanecore-common-24.08.1.ebuild 364 BLAKE2B 6209d72b32e2703bf688bdaf6aed825917a8053799a7be4b7bef48503677eca63a8113510fbe7d4aad4f55a05bb85e294150ac8bc21a0ffd80f883ffd037a426 SHA512 6b8575f6d6ff49ef2b618b4982ca080b33806e88612bfbdb0322f98cf7007986db6b5420078f118cbc1f91f0c28a253022ff3b65c983da44021eeac7032ffc05 -EBUILD ksanecore-common-24.08.3.ebuild 366 BLAKE2B ac4b10b5c4ebf88ea130b78aebf5fb5e5443f3422edce54e026f40ae8dd3e547411bb6c750924617c8d59e3debf8220070b27986f7cc8671a7f5ceb8be92c0cd SHA512 2c188444b49fc49ceff0713d34f2a6c61aaa69e5d7079a4b687a01c22d6e869f8a8e801feb49b2851c1754f31c4b33809115c3be8b7e2c33a7125d8ee2d1f1a1 +EBUILD ksanecore-common-24.08.3.ebuild 364 BLAKE2B 6209d72b32e2703bf688bdaf6aed825917a8053799a7be4b7bef48503677eca63a8113510fbe7d4aad4f55a05bb85e294150ac8bc21a0ffd80f883ffd037a426 SHA512 6b8575f6d6ff49ef2b618b4982ca080b33806e88612bfbdb0322f98cf7007986db6b5420078f118cbc1f91f0c28a253022ff3b65c983da44021eeac7032ffc05 MISC metadata.xml 381 BLAKE2B 42cf8662e7a405016cbf593e43771e2a354116ed82825cf42ba21c41d9dcd22dfc868fcc1837ae47b3c13b229908a7a1db8b1fe636b53418664f7835cabe4c35 SHA512 1d3caf0c29b67b79a29c02db8625ee17306f6c114b48599b432c5ced09d51aa02339e75d1552b56fa86ad4ec781c44cc909f8f7cccc0eadc2043ce3103604c38 diff --git a/media-libs/ksanecore-common/ksanecore-common-24.08.1.ebuild b/media-libs/ksanecore-common/ksanecore-common-24.08.1.ebuild deleted file mode 100644 index d598909ef7f0..000000000000 --- a/media-libs/ksanecore-common/ksanecore-common-24.08.1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="false" -KDE_ORG_NAME="${PN/-common/}" -KFMIN=5.115.0 -inherit ecm-common gear.kde.org - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - ! /dev/null || die - find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die - popd > /dev/null || die - done -} diff --git a/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild new file mode 100644 index 000000000000..0c0d80f929dc --- /dev/null +++ b/media-libs/tg_owt/tg_owt-0_pre20240804-r2.ebuild @@ -0,0 +1,123 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="WebRTC build for Telegram" +HOMEPAGE="https://github.com/desktop-app/tg_owt" + +TG_OWT_COMMIT="dc17143230b5519f3c1a8da0079e00566bd4c5a8" +LIBYUV_COMMIT="04821d1e7d60845525e8db55c7bcd41ef5be9406" +LIBSRTP_COMMIT="a566a9cfcd619e8327784aa7cff4a1276dc1e895" +SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz + https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2 + https://github.com/cisco/libsrtp/archive/${LIBSRTP_COMMIT}.tar.gz -> libsrtp-${LIBSRTP_COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}" +# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv + +LICENSE="BSD" +SLOT="0/${PV##*pre}" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv" +IUSE="screencast +X" + +# This package's USE flags may change the ABI and require a rebuild of +# dependent pacakges. As such, one should make sure to depend on +# media-libs/tg_owt[x=,y=,z=] for any package that uses this. +# Furthermore, the -DNDEBUG preprocessor flag should be defined by any +# dependent package, failure to do so will change the ABI in the header files. + +# Bundled libs: +# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it) +# - libsrtp (project uses private APIs) +# - pffft (no stable versioning, patched) +RDEPEND=" + >=dev-cpp/abseil-cpp-20240722.0:= + dev-libs/openssl:= + dev-libs/protobuf:= + media-libs/libjpeg-turbo:= + >=media-libs/libvpx-1.10.0:= + media-libs/openh264:= + media-libs/opus + media-video/ffmpeg:= + dev-libs/crc32c + screencast? ( + dev-libs/glib:2 + >=media-video/pipewire-1.0.7:= + ) + X? ( + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/libXrandr + x11-libs/libXtst + ) +" +DEPEND="${RDEPEND} + screencast? ( + media-libs/libglvnd[X] + media-libs/mesa + x11-libs/libdrm + ) +" +BDEPEND=" + virtual/pkgconfig + X? ( x11-base/xorg-proto ) +" + +src_unpack() { + default + + mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die + mv -T "libsrtp-${LIBSRTP_COMMIT}" "${S}/src/third_party/libsrtp" || die +} + +src_prepare() { + # The sources for these aren't available, avoid needing them + sed -e '/include(cmake\/libcrc32c.cmake)/d' \ + -e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die + + # "lol" said the scorpion, "lmao" + sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + # Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes + # See https://bugs.gentoo.org/754012 + # EAPI 8 still wipes this flag. + append-cppflags '-DNDEBUG' + + local mycmakeargs=( + -DTG_OWT_USE_X11=$(usex X) + -DTG_OWT_USE_PIPEWIRE=$(usex screencast) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # Save about 15MB of useless headers + rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die + rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die + rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die + rm -r "${ED}/usr/include/tg_owt/third_party" || die + + # Install a few headers anyway, as required by net-im/telegram-desktop... + local headers=( + third_party/libyuv/include + rtc_base/third_party/sigslot + rtc_base/third_party/base64 + ) + for dir in "${headers[@]}"; do + pushd "${S}/src/${dir}" > /dev/null || die + find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die + popd > /dev/null || die + done +} diff --git a/media-libs/zimg/Manifest b/media-libs/zimg/Manifest index db1cbc55e521..7c0e15a5d4e8 100644 --- a/media-libs/zimg/Manifest +++ b/media-libs/zimg/Manifest @@ -1,7 +1,7 @@ AUX backport-e29571f-issue-175.patch 3113 BLAKE2B 667a71b0749c335675d7bc6f71ef7fde19a9ec7b88444caf3bc231e99b7800af56d0584a1d8d4172d67bd8876c93afa1f3327962a603c8bd78a8c6dcbf5b5b15 SHA512 02e227bd4b8fedd07192802e5f9e48ecd2621d480d0e9a52806c13ddf02ce5d0d492bb415d2c52361a0ea9abc3bc814886dccd16f96721e4af88cc04af57e781 AUX system-gtest.patch 1483 BLAKE2B 21e9e347c85a81e562cff1bd6e9d6a017f87ad408566e7d93205a6ecd77222cd361f112c15f4720a464c86b1801a96666401f5daeec83bffcfb81ccc67f2c4d5 SHA512 91a034c0f303fee5a6b7deec5badf9269d4888c558a20a2cbeb52005f296a38446e3df8a3bfd2ba863ca7d9a0c350782b3b02bae91de04e2ff81d65e6113a4f7 DIST zimg-3.0.4.tar.gz 326578 BLAKE2B 0fa63ccb0037cb6de93cdf9a5cc2d7b7d822652361c08845f9776b85856f03f29ef9fdbe9db55c074922ef13cf76ce4170786fd480da934556997658b7c32a30 SHA512 94beddb109f0b301f0fecf09ea2761d3707aaa1f0cc1caf682bb3d1d7dcd89164de8388e922758e274914df9c7c7c1a0a0c5192e78f88655ed4c6da0ee51995c -EBUILD zimg-3.0.4-r1.ebuild 1116 BLAKE2B 8d536fc2d9e4768fc32ddd38612ce4ff0c2bf3882acd49291bd5734a9a1d8bd4c2e3d8b8600bf5e57f0e7222c1324888c0f6adac89728c89e29a18763307d098 SHA512 f6066a7fc71b95fd855b8399bc7bdbbf909900b5cc66102f9be2cf263b473b319637c407190c80331cd07c8234ee9a85e172435b6ff036fc3fcf0e6f5e74a23e +EBUILD zimg-3.0.4-r1.ebuild 1115 BLAKE2B 5d65dfc5500b311aaa0d828ef3dc483ef6d25759a07917aed08e902db9d6b159177519e5b673578a63a3de56fbdc72cb50804f5ab57d560d0749c0b45656fe1f SHA512 653f98a7436a4a9073b21cdcd46fa4ee5a3ed23efd19f25620cf8eb5e1c6db17bfdb572281b479d208cf68602eba87bb76bfbb94311c84cce8258266c62a8233 EBUILD zimg-3.0.4.ebuild 977 BLAKE2B 581e1b63e80213466f00736e604f543dc83bc6e0b73612ae68a5a9cff504ce1e4ab97ff6d516eb8838809ebc242b300fd7f5c61f3f8d9c0053b4b0336d45350d SHA512 1d753d3d37efbebad8b52c0b0cf0fff30b55588d4949fa50cdffa8ff1b0be35bcf80d95ec7246986828d68e78b76edad8c2e2db5a7678ed4d9e70a71b05a12c9 EBUILD zimg-9999.ebuild 913 BLAKE2B 160f3e2522bd7f9df93252c60c3a60fe0f987a44b7872e4436ffdec58b8ef3af397db8f684f3ad2bd8e5a52863c1bb8b6db4bba25ca3bf13e195fac349ee9b25 SHA512 f4e5f833d726457727822a649a180efa1bbdd288f9414ddf96cfb838152e3b339464d171d086c829a2b0a3a526ed88215b5391f4b2623bcb6d320ad1ae5aabcd MISC metadata.xml 312 BLAKE2B 278c7bce7361e1cb96725595df0c35f0e227db2e6732d3cf1b53c960ad4a319a831a0e7cbf51702b24785f0f8d7bc73d3443a17e88595509a62a476caec5c5f4 SHA512 c070a6ea9f0a64532f6aa33b12ad04b293e8a6e014245936a71d5ab6facdec8ffd2665a49cdf3562a3dbc60406b6a24261aa9e65f7b7b63ef0d005927967cac2 diff --git a/media-libs/zimg/zimg-3.0.4-r1.ebuild b/media-libs/zimg/zimg-3.0.4-r1.ebuild index 487a7b53f63b..58066a13151d 100644 --- a/media-libs/zimg/zimg-3.0.4-r1.ebuild +++ b/media-libs/zimg/zimg-3.0.4-r1.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} = *9999* ]] ; then inherit git-r3 else SRC_URI="https://github.com/sekrit-twc/zimg/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86" + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86" S="${WORKDIR}/${PN}-release-${PV}/" fi inherit autotools multilib-minimal -- cgit v1.2.3