From 8e49340ce0aaf205556648d8fa27dd30e8cf4435 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Sep 2024 12:29:28 +0100 Subject: gentoo auto-resync : 08:09:2024 - 12:29:27 --- media-libs/Manifest.gz | Bin 69647 -> 69646 bytes 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.ebuild | 123 ----------------------- media-libs/waffle/Manifest | 2 +- media-libs/waffle/waffle-1.8.1.ebuild | 2 +- 6 files changed, 126 insertions(+), 126 deletions(-) create mode 100644 media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild delete mode 100644 media-libs/tg_owt/tg_owt-0_pre20240804.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index 91b2df07409f..52c251558850 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest index 66ade74b31f1..0253ac98eb59 100644 --- a/media-libs/tg_owt/Manifest +++ b/media-libs/tg_owt/Manifest @@ -3,5 +3,5 @@ DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e DIST tg_owt-0_pre20230921.tar.gz 13726037 BLAKE2B 635342dd2127330542374e2f0f9acee91844c3c825fe4610dabe2996c541d9b3dc1681999910e5b591752f7e8f65a089c16b43216dd0c0b84f1a0e913e5a0213 SHA512 538d713e9ac91e9f676cdf301d11d7b5be0d67bda6283537e03b6322f3cca5c0234ff2f2b0b23e9046709f77ed282fc4d3526d3b21ee93478c50380be410372f DIST tg_owt-0_pre20240804.tar.gz 11722734 BLAKE2B 084bedf7ae20ba173244851e82749dba31ba1320d83d021876f12350ecaa2fb03e47857fdc8013c87df6cae6e9250ec78548b498f35a92d305a28070475f36e4 SHA512 12bc17f39569f8b09c793d0e65b82926325c8d9046454e385ef7c82ab26f4e39e8f44f7491c80be71743abd78565bca50023b62365437fc8e43fc23d1b64840b EBUILD tg_owt-0_pre20230921.ebuild 3929 BLAKE2B a28ef164c41e80fdca76aec17677aec37afa28686670b6dd376094558991476b2d2d7af6223da57aea97d6bd2bcd4c3b492997e18245ba455d8c3c4df14b98fd SHA512 a2a55e8eacbef27e8405746a91871f8e64c08fbc9ece42969b1cbf27d715a9f6f41723bc7176a57fc14b4a2401ec5a6def5f1772ba587331a01a2df441df693f -EBUILD tg_owt-0_pre20240804.ebuild 3574 BLAKE2B 88a97dbd1424980003a6a4d2d5d2fc65668ceca0f545cd7afd64a181f786d0bdb5b6470f40d28d1d721d2b95c78638c2e19188f14b0fbddcab9a272753aa1635 SHA512 e25dc522a73b8d504767b4bb0cc80ce711cb2307f34ef4580a8556fbd053827040ea0635d98c73ba81a36001b5d1753b0dd56e024e21bd0026e903cb44ed1e8d +EBUILD tg_owt-0_pre20240804-r1.ebuild 3574 BLAKE2B dabca80c564ae7eb0c8985091bedc4b7285df34fb126a4caf971b0f51231f01362cda3239b49e2e9324aa17a62fee106218349ae8a5d07a87b1faed8bf596707 SHA512 fb5e4b2ba6469b225498b7a5b2665ce7c95b4e15b055af3fb71333da4cff419799da7ee56e718fd1bcdac034a14a1d48569f49665d2f43afb176d755dae9205c MISC metadata.xml 493 BLAKE2B ce75939609c6fdef8bce490ca81ba5a011c0a44746e9d813651c2dad5e29e66cc529789b90a61e484c1b13c4d51f0a6cc18988bc7992f9a68e532b6bec9906f2 SHA512 d7aa16d810350f42fb07d47a020363fa77f2a2bab07bd78b49f22afd1ddffc51bf0b55b9ac84ebd208dfc85779494144a75f33e209032c0db15567eb8ba4ebf1 diff --git a/media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild new file mode 100644 index 000000000000..59214057bbec --- /dev/null +++ b/media-libs/tg_owt/tg_owt-0_pre20240804-r1.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:= + ) + 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/tg_owt/tg_owt-0_pre20240804.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild deleted file mode 100644 index 97066f754f7b..000000000000 --- a/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="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-20230802.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:= - ) - 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/waffle/Manifest b/media-libs/waffle/Manifest index 6c00b306df79..6a7db014cb0e 100644 --- a/media-libs/waffle/Manifest +++ b/media-libs/waffle/Manifest @@ -1,6 +1,6 @@ DIST waffle-v1.8.0.tar.bz2 310657 BLAKE2B cfc5f6fb32ae379457d9e1a9806504f8e2d22a2e320afab81db04a8e459cc2e127ea546e27a01a36cbb76a3095ca1d87bf96d40286f78f8ef7e1c270a6170521 SHA512 432786f1e255638a866af5c95d4ec0421ce9ffa661696482f9b40f9dbad9198f93caca484a0739a34d37d7a7070efb007771fcc6ea7acb70152c34892466e1e4 DIST waffle-v1.8.1.tar.bz2 309259 BLAKE2B bfc4cd9043df854e34ab0ee0edd7d231fbc2253e41de8eb3bb702428a2b22569a407dc595a4c13a1a5e7cac2686dfe8b4ec26397e3dbed1a433de31fd3616b4f SHA512 c0e47047776de9cc20791974dec0944c769d766e5fe4f4e66a25a0d5900f3a756d95b4df434ff2e595079659d79d95398f6f411e4b8cc969cace7b2c3532b79f EBUILD waffle-1.8.0.ebuild 2229 BLAKE2B df6682b229e294b1f80575c2c3031583a55581cc5bb7e24d6b04aa48d5c2aec939caaf78be54b888872ac6dad26535c3b01cd3abeaaa684cacfff924a7950a86 SHA512 2e3ae36dbdb946abebf2198eacfe2b9b0bbc09438cddf96d580f3430ce1c0e37d3b0c5b429ef21af19bbec3075cb6446f79620f2c3ffb16dbd6075623bee577d -EBUILD waffle-1.8.1.ebuild 2231 BLAKE2B d5e60aff5fab3691b54186b44aa6b4aa23e9c72ec50a1624a87d2c453ce8e08117861153a868d924cdb144ca41897eca76609388bed70b5c530e38c226dd313b SHA512 11b81fcebca09c3e870529343eee37a3796f7adbc38b514834f49666c29e1d781072357ea742fbf79ec1752ddbd7b1b75f3a1890657da3b51177487f21219e79 +EBUILD waffle-1.8.1.ebuild 2229 BLAKE2B 778d73dbe71d557db93d69b3a314af3c823f59b67acbcc06ad9c23c7dd2cee858097edfe0c22fc8557103165a6b2273ed4a0ed34c80d474bc1f0ff8f5eebc41d SHA512 e4b6c3abbcefefba489b8ff472c11ef5f75b85624ecd7b0d1987ca2d90ebd92a9753cdfd1bbbd0f0b28a59f88dcf2250bf6dbfba2ecb3a7c6da16df5c16f6fac EBUILD waffle-9999.ebuild 2232 BLAKE2B ff02fd006b2aa45fa80bc122f8b3ff7c36a209d84d96aa878e9902ffe080b7cf7efbd82e1fabf59bda989d069962e549b76297fe4ee8fa6012b5bb9dd267b40b SHA512 eb360c4bea12fe6f9296c29bf7249d61e1423e5864666681470a5b60b2486938708a3a558258d2dbeb2b743256fa36273aeae43957bf7da2ee859a9768072700 MISC metadata.xml 405 BLAKE2B 1099c7b162b3c7331e9a232c17763fbf52bf9318a4a6848eafe556cb5b197daf2e545469e225c6a4c8af903f396815061ccb59018d49d5118ae6d6477cae981a SHA512 c2d3a9d27808203de3c76ae4afd2a08e5c54a96a9200ebf5ec1acab3f772ec464d0f6ad69e4da9e5b4861c7546a0a9d54c8ec21f1db636f997c62885b547de73 diff --git a/media-libs/waffle/waffle-1.8.1.ebuild b/media-libs/waffle/waffle-1.8.1.ebuild index dfddeea09eb7..046bb04eaf51 100644 --- a/media-libs/waffle/waffle-1.8.1.ebuild +++ b/media-libs/waffle/waffle-1.8.1.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} = *9999* ]]; then GIT_ECLASS="git-r3" else SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 ~x86" + KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86" S="${WORKDIR}"/${PN}-v${PV} fi inherit meson-multilib multilib virtualx ${GIT_ECLASS} -- cgit v1.2.3