diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-24 00:31:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-24 00:31:53 +0000 |
commit | 72e4c0bc86eea366d063d15b3d5611e8f82ffd05 (patch) | |
tree | be4116935e605807f4a03de97c876e050718881a /media-libs | |
parent | add1c3acddd7a3f49fdb230135725463d2662921 (diff) |
gentoo auto-resync : 24:03:2025 - 00:31:53
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 70094 -> 70088 bytes | |||
-rw-r--r-- | media-libs/a52dec/Manifest | 2 | ||||
-rw-r--r-- | media-libs/a52dec/a52dec-0.7.4-r9.ebuild | 63 | ||||
-rw-r--r-- | media-libs/a52dec/files/a52dec-0.7.4-dont-mangle-cflags.patch | 66 | ||||
-rw-r--r-- | media-libs/hamlib/Manifest | 5 | ||||
-rw-r--r-- | media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch | 12 | ||||
-rw-r--r-- | media-libs/hamlib/hamlib-4.5.5-r4.ebuild | 102 | ||||
-rw-r--r-- | media-libs/hamlib/hamlib-4.6.1.ebuild | 99 | ||||
-rw-r--r-- | media-libs/oidn/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oidn/files/oidn-2.1.0-amdgpu-targets.patch | 46 | ||||
-rw-r--r-- | media-libs/opencv/Manifest | 2 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-3.4.0-disable-download.patch | 29 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv_contrib-4.9.0-cuda-12.4.patch | 70 | ||||
-rw-r--r-- | media-libs/tg_owt/Manifest | 3 | ||||
-rw-r--r-- | media-libs/tg_owt/files/pipewire-1.4.patch | 23 | ||||
-rw-r--r-- | media-libs/tg_owt/tg_owt-0_pre20241202.ebuild | 2 |
16 files changed, 158 insertions, 367 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 7527473f39db..a089e3f07264 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/a52dec/Manifest b/media-libs/a52dec/Manifest index 3822f30a19eb..f700bf79965f 100644 --- a/media-libs/a52dec/Manifest +++ b/media-libs/a52dec/Manifest @@ -1,7 +1,9 @@ AUX a52dec-0.7.4-build.patch 1113 BLAKE2B 21d323abd6c7cb14d9ea5b1d6e8b2ab3926c5cc1a3e2eac14cc08bd51f72046dd4af8d054070fba714b079835d936f342ed308fd445721290fdd1a01198cae31 SHA512 eee40a2871c00fc704fa49d3192a41ceadc4cf7e80d7d7cf368aa2a3e7ebb786f39ef835bdffca5685bf054316a9bacf87556b9a0c90868dbf29e7269873806e +AUX a52dec-0.7.4-dont-mangle-cflags.patch 2176 BLAKE2B 4f50593870256bddd8338da290dee0f1849f79d0fac953608389b0e4eaf3362293c6d39fa8b08b16180a23287ef1f5915079f638a1e498390c9d179cce6ac09d SHA512 9fd9719538d9cebc8bb818c95faadc7300cf2d52842ddd0976457ca0ba9823b8be55a9520b0712789339246ee4d4519eb8f9b322d6bc1bdbe9175f432fdd4be2 AUX a52dec-0.7.4-freebsd.patch 295 BLAKE2B a927fb15b6e7afbd52ebb75d1d99430d8d91048c1c6841eb9ffff7f3db95abfe967dc3c6a622753749e5fef38f4e61845f3a3295bb3153fb4eda874613f14fac SHA512 046d1dd0342836a8562d7aa997c61b6efad1240d07fbc769c19985780a07fc9990ad9429e952d9769636065fb916c69f8240d1e5ca1aae84717694e0afe4e8a2 AUX a52dec-0.7.4-test-hidden-symbols.patch 637 BLAKE2B 542d1bfbf8722d900b25fa6bce240924e82ca1b903a308634b23c23acf59e606adbad54951da39b3c1c60cf95fe9c8bad87da09cb10894ac82de3e670b199cca SHA512 097f4f9cb82f01cb42e5536bfb4fa5ed6cbe85da5f4a31c19e83e1d1e73f8724a3828f0585834142f861bad3417fb9c55b21581def85733278870c3c48c2e8fd AUX a52dec-0.7.4-tests-optional.patch 299 BLAKE2B af245be87277559c2fbc1695180d4e451ccc6a76157111d57fa86992c4cd4dd59e166b7a68a7d799bdda56d0ac5ae3ddfe5c433cbccf6eef4a999e2b336eda0e SHA512 9f5c0afbfd656287eafeba04eed34070f53a77cb53981d64ff71edb96bef6cc2c0638e0be6647086cbad87ead97aa0215cd6cb413258d0122bc3f45bcf4480b1 DIST a52dec-0.7.4.tar.gz 241507 BLAKE2B e8475b391a3afe77883f5683f58a64d2babfcf93c08a3bcbd0208476323e9c86c5d268d2738efddd2093a1c47886deb22185cb8f00c4ec8b4153f64e1af1f49e SHA512 4b26fe9492f218b775fb190b76ecf06edaeb656adfe6dcbd24d0a0f86871c3ba917edb88a398eb12dccedaa1605b6f0a0be06b09f9fddd9a46e457b7dd244848 EBUILD a52dec-0.7.4-r8.ebuild 1417 BLAKE2B b4de374b6d45bb9949cbcfd5e4737da4888b623779d9218a7d28d379373f8bc822dce00d885f5e21f0b45de2f4e5fdd0e072b480945273007568698bdfe8c2b9 SHA512 36151f8ecfdc780fc30ad07bc7487722eff1a39e1cd6df700f80339dff1fc69deea8f2e64663d666c12d4b1533fe7e4ad8dedd6fa4a9658155412c5a2246a371 +EBUILD a52dec-0.7.4-r9.ebuild 1452 BLAKE2B ad43104f0e4251a4491f6e718b1d12fc1af3cbdb7a16346f9d664ffba4eabe26a78b6ca88afcbe7ff0de8e2965dbaa9177f49fa1c6426914fd0f96c94eb85946 SHA512 a195dddc4eab046f7ee4e3cf7dc12cf714e78b5e827d466cb7f447162946f55f315f3a3b9decaa719a9a83c1d0316df23ca415983439c2d9095aeef30aa12d3d MISC metadata.xml 443 BLAKE2B 31c1b35035c99d3a0fcd308898b36dd915de7dc04e0d1b58fa7df280c8704488d95f49acc01ae926c52bf652a3498e2559432bdb0ab56a01133443b1ad384c57 SHA512 dff1464cbe65577c5e4573735f6ba5e666aaf6add84937f137627afd309a461ea04ce318d450f05cce318b5e8a21061f576f5f36375f8a65487def5c56cd7369 diff --git a/media-libs/a52dec/a52dec-0.7.4-r9.ebuild b/media-libs/a52dec/a52dec-0.7.4-r9.ebuild new file mode 100644 index 000000000000..76853bc9ce7a --- /dev/null +++ b/media-libs/a52dec/a52dec-0.7.4-r9.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Library for decoding ATSC A/52 streams used in DVD" +HOMEPAGE="https://liba52.sourceforge.net/" +SRC_URI="https://liba52.sourceforge.net/files/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="djbfft oss" + +RDEPEND="djbfft? ( >=sci-libs/djbfft-0.76-r2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-freebsd.patch + "${FILESDIR}"/${P}-tests-optional.patch + "${FILESDIR}"/${P}-test-hidden-symbols.patch + "${FILESDIR}"/${P}-dont-mangle-cflags.patch +) + +src_prepare() { + default + + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die # bug #466978 + mv configure.{in,ac} || die + + eautoreconf + + filter-flags -fprefetch-loop-arrays +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --enable-shared \ + $(use_enable djbfft) \ + $(usev !oss --disable-oss) + + # remove useless subdirs + if ! multilib_is_native_abi; then + sed -i \ + -e 's/ src//' \ + -e 's/ libao//' \ + Makefile || die + fi +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" +} + +multilib_src_install_all() { + einstalldocs + dodoc HISTORY doc/liba52.txt + + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/media-libs/a52dec/files/a52dec-0.7.4-dont-mangle-cflags.patch b/media-libs/a52dec/files/a52dec-0.7.4-dont-mangle-cflags.patch new file mode 100644 index 000000000000..f31b1c81b7dc --- /dev/null +++ b/media-libs/a52dec/files/a52dec-0.7.4-dont-mangle-cflags.patch @@ -0,0 +1,66 @@ +This breaks -Wa,-O2 and so on at least. +--- a/configure.in ++++ b/configure.in +@@ -14,62 +14,6 @@ dnl Checks for compiler + AC_PROG_CC + AC_PROG_GCC_TRADITIONAL + +-if test x"$GCC" = x"yes"; then +- +- dnl GCC-specific flags - try to optimize them sometime +- dnl -Wall -Werror moved to the end to not disturb the configure script +- +- dnl -O3 +- changequote(<<,>>) +- OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g"` +- changequote([,]) +- OPT_CFLAGS="$OPT_CFLAGS -O3" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]) +- +- dnl -fomit-frame-pointer +- OPT_CFLAGS="$CFLAGS -fomit-frame-pointer" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]) +- +- dnl arch-specific flags +- case "$host" in +- i?86-* | k?-*) +- case "$host" in +- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";; +- i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";; +- i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";; +- i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";; +- k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";; +- esac +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- sparc-* | sparc64-*) +- OPT_CFLAGS="$CFLAGS -mtune=ultrasparc" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- mips-sgi-irix6.*) dnl do we need to be that specific ? +- OPT_CFLAGS="$CFLAGS -mabi=64" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- esac +-elif test x"$CC" = x"tcc" -a x"`$CC -version 2>&1 | grep TenDRA`" != x""; then +- dnl TenDRA portability checking compiler +- TENDRA=yes +- CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h -DELIDE_CODE" +- enable_mlib=no +- enable_oss=no +- enable_solaris_audio=no +-elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then +- dnl Intel C++ compiler +- CFLAGS="-g -O3 -unroll -ip" +-else +- dnl non-gcc flags - we probably need exact configuration triplets here. +- case "$host" in +- mips-sgi-irix6.*) +- OPT_CFLAGS="$CFLAGS -64" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- sparc-sun-solaris*) +- OPT_CFLAGS="$CFLAGS -xCC -fast -xO5" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- esac +-fi +- + dnl Checks for libtool - this must be done after we set cflags + AC_DISABLE_SHARED + AC_LIBTOOL_WIN32_DLL diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest index 3c14ed46787a..7299b522934f 100644 --- a/media-libs/hamlib/Manifest +++ b/media-libs/hamlib/Manifest @@ -1,9 +1,4 @@ -AUX hamlib-4.5.5-gcc14-fix.patch 224 BLAKE2B 882645207d62657b790e76d5e4d3a17be3aca9dfd978d5a2939bfc81a018788e6a2b3d1f37bf2d0e122740014e076820dfc9c626d24509741b1342ec700d2a75 SHA512 1529f2002de0e9c216dad0f4bcf0656fb70da543ab0f84d19e8a1621e87d9983f43f7bbc05cae09ab3a2310628b7522c152f15861f32adad05c9088e36b01acd AUX hamlib-drop-lua.patch 2552 BLAKE2B 85ce143502baf4fb6ff4b58708e31308ef57d92bb51ce658f22bd50a27c9edb9213d16690afda2be701d204723ba6b4fe64b189b3db61734e7427e681dc4b4eb SHA512 bc607cb1b82c4a2ffcd1eb244a99d6a70c4768a674343b604e64413d13b397e6f0cdd8dc684079941e30decffd16c3b625814d6c01a643e27030d254308ec2c0 -DIST hamlib-4.5.5.tar.gz 2603846 BLAKE2B ad4a286a7aa1e972707cb9ed15a4268909a7d252a64b98b01d35c9d9e42c605cd600e819e195e49d501c1e135191fda585581e27801fa217c9141236a81ad770 SHA512 2cdff2630e89fa95c7ac40e998492e8a04e000fcca18b9491ddcb967927ffaa771ed2e6ac3232a060947883533a6ae7405042a2f8fdb1de157d71f74381f5899 -DIST hamlib-4.6.1.tar.gz 2909273 BLAKE2B d8ab443bd19068ec76fbe021f9dcdbaf3cead9a6eac1eab47c148c35fe7c98d294d50386cc3c386e8113ac26a9aa594f7a9d121e81601c84660350115566b1b6 SHA512 3363665e2fc5541e2bd68767e9c0d8c856a7d2ea9a7e4a2d7e79d6e7349150642cba4e96d27ab6dc029fd838e05c3f0f9f7acadcc7c8bc51bedaf61ef67e95ce DIST hamlib-4.6.2.tar.gz 2909790 BLAKE2B 8bba73b446be13f4be592333b51b863f7299d189c640e2d1bfb6dd82f8f5e19ed6a1f39be09811d2061bb416696dd24907a9248b7bc96360e7a0fec8783701b1 SHA512 8b8b7e4c95e4331f1ace1d724924e30c66a88d04d5354fd28d28090b751184300196e4512504136ece98cef374e69dd58cc597819f8802ddadb978c7a0bf731d -EBUILD hamlib-4.5.5-r4.ebuild 2244 BLAKE2B cc9ae3e2466e1e3b02932023f06e8b6fdee5f0c17eb382b6a4df09fe29c8ed92d2bf56cde6ded3172c9be602e0a0c0f134551a3281d7752d30da8f7eee0d8a69 SHA512 3e9824e8ed6ce73ac876705e701581565a3917a525ea420e890001dd4f44220b81dc1a61ccf0e01613d3a802f5a29fdf7d418cb3f34f8a4d3a2016455073ef3c -EBUILD hamlib-4.6.1.ebuild 2202 BLAKE2B 3940dc7548bd80e4b1e4405988c810597da31bd4f6717421014fd92a1d4fc63cc772302b19b67251f63c98719225cfe8ba7f51756200af4b1e31b891c64b0820 SHA512 7e5897aef401a945d8742f5dbd6bedde915d0f72c9f5e7ce1797bf6d5431a5e4b54ccbe47a198bf86d6c79f4b82e803b05d8213df32cf5b8ebc28e670d574627 EBUILD hamlib-4.6.2.ebuild 2228 BLAKE2B 73c9a7843868574b03cca2d4544fd52afa7868cc0b2ae68e6bfd8305e658fd16cc28d1579c42883b8002c5cb99fbc68db9ae52d28a4d94cd0a5813c44c1f2042 SHA512 6c7c14441ce8b8febd467a45c55901b1c540f7f22be4bc5a4cd0f1e4641c2a733a9e30eb5894af6994204e45d500f2d531b5d67cf265ca3f239449f3d5114f1c MISC metadata.xml 379 BLAKE2B 17bfaa1ae7f031e14bef4bad4d552e3d4b644b9578bd996a9e8454b6b55f4029c3395e8a1cfc5a2b27a5372cd1aea140e0aebe637f7eb7889008fb434897b681 SHA512 c8c7a37088c0da4952a557776db8b6b701df23c07c4b17c50b77a199a6e7740369e27254eabae4e504ecb07871d33aec008e54bc7a787030828616ab36dfcb93 diff --git a/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch b/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch deleted file mode 100644 index 35eade8f68e2..000000000000 --- a/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/tests/memload.c b/tests/memload.c -index 6157a08..4f189d0 100644 ---- a/tests/memload.c -+++ b/tests/memload.c -@@ -19,6 +19,7 @@ - */ - - -+#include <stdlib.h> - #include <hamlib/config.h> - - #include <hamlib/rig.h> diff --git a/media-libs/hamlib/hamlib-4.5.5-r4.ebuild b/media-libs/hamlib/hamlib-4.5.5-r4.ebuild deleted file mode 100644 index 5e99e3fec86c..000000000000 --- a/media-libs/hamlib/hamlib-4.5.5-r4.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -MY_P=${P/_rc2/~rc2} - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="Ham radio backend rig control libraries" -HOMEPAGE="https://www.hamlib.github.io" -SRC_URI="https://downloads.sourceforge.net/hamlib/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ GPL-2+" -SLOT="0/4.2" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -IUSE="doc perl python tcl" - -RESTRICT="test" - -RDEPEND=" - =virtual/libusb-0* - dev-libs/libxml2 - sys-libs/readline:0= - perl? ( dev-lang/perl ) - python? ( ${PYTHON_DEPS} ) - tcl? ( dev-lang/tcl:0= )" - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - dev-lang/swig - >=dev-build/libtool-2.2 - doc? ( app-text/doxygen - dev-util/source-highlight )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer) - -PATCHES=( - "${FILESDIR}/${PN}-4.5.5-gcc14-fix.patch" - "${FILESDIR}/hamlib-drop-lua.patch" -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - # Correct install target to whatever INSTALLDIRS says and use vendor - # installdirs everywhere (bug #611550) - sed -i -e "s#install_site#install#" \ - -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \ - bindings/Makefile.am || die "sed failed patching for perl" - - # make building of documentation compatible with autotools-utils - sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed" - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/926839 - # https://github.com/Hamlib/Hamlib/issues/1524 - filter-lto - - econf \ - --libdir=/usr/$(get_libdir)/hamlib \ - --disable-static \ - --with-xml-support \ - $(use_with perl perl-binding) \ - $(use_with python python-binding) \ - $(use_with tcl tcl-binding) -} - -src_compile() { - emake - use doc && emake html -} - -src_install() { - emake DESTDIR="${D}" install - - use python && python_optimize - - use doc && HTML_DOCS=( doc/html/ ) - einstalldocs - - insinto /usr/$(get_libdir)/pkgconfig - doins hamlib.pc - - echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib - doenvd "${T}"/73hamlib - - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/hamlib/hamlib-4.6.1.ebuild b/media-libs/hamlib/hamlib-4.6.1.ebuild deleted file mode 100644 index 45ff29e3306f..000000000000 --- a/media-libs/hamlib/hamlib-4.6.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -MY_P=${P/_rc2/~rc2} - -inherit autotools flag-o-matic python-single-r1 - -DESCRIPTION="Ham radio backend rig control libraries" -HOMEPAGE="https://www.hamlib.github.io" -SRC_URI="https://downloads.sourceforge.net/hamlib/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ GPL-2+" -SLOT="0/4.2" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="doc perl python tcl" - -RESTRICT="test" - -RDEPEND=" - =virtual/libusb-0* - dev-libs/libxml2 - sys-libs/readline:0= - perl? ( dev-lang/perl ) - python? ( ${PYTHON_DEPS} ) - tcl? ( dev-lang/tcl:0= )" - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - dev-lang/swig - >=dev-build/libtool-2.2 - doc? ( app-text/doxygen - dev-util/source-highlight )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer) - -PATCHES=( "${FILESDIR}/hamlib-drop-lua.patch" ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - # Correct install target to whatever INSTALLDIRS says and use vendor - # installdirs everywhere (bug #611550) - sed -i -e "s#install_site#install#" \ - -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \ - bindings/Makefile.am || die "sed failed patching for perl" - - # make building of documentation compatible with autotools-utils - sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed" - - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/926839 - # https://github.com/Hamlib/Hamlib/issues/1524 - filter-lto - - econf \ - --libdir=/usr/$(get_libdir)/hamlib \ - --disable-static \ - --with-xml-support \ - $(use_with perl perl-binding) \ - $(use_with python python-binding) \ - $(use_with tcl tcl-binding) -} - -src_compile() { - emake - use doc && emake html -} - -src_install() { - emake DESTDIR="${D}" install - - use python && python_optimize - - use doc && HTML_DOCS=( doc/html/ ) - einstalldocs - - insinto /usr/$(get_libdir)/pkgconfig - doins hamlib.pc - - echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib - doenvd "${T}"/73hamlib - - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/oidn/Manifest b/media-libs/oidn/Manifest index 7ce6f2421431..0b9081b3ea06 100644 --- a/media-libs/oidn/Manifest +++ b/media-libs/oidn/Manifest @@ -1,4 +1,3 @@ -AUX oidn-2.1.0-amdgpu-targets.patch 2239 BLAKE2B 292b06c363157e42e43a03e237ed72d7d08cfb4cade8614908e5d5014c08cb6e77d936d3f33767c1c0a23bea5aa6df9a511381bf57dd7a23a236e1d689dd07ca SHA512 3fc3fc54cd1155c3142b04f75e5b038b347e4e84deab885a3ffed88b635df21a5d9148b0d7c9e1ca800c2a1826dffd9b99c1e2e9413e35687b97bf316ffd9373 AUX oidn-2.2.2-amdgpu-targets.patch 2300 BLAKE2B eaddfe6493394c65b6960450ed3b9f60b26165687862c7ab51f8c8a97ae723e8bc887f082ac3f892ddba78e056e40e85fa5806e2d89d5ec32f8e80c1b4f6d6f9 SHA512 43b026e64e6e1f23ab6eacea0f1205ba4fd08dee30a5ad6e0e53b914ef04b8cfef01ba5fc736f355d5592c883f2319d83ebb239f84fdf3acf0e1ae2ca5cd5ef1 AUX oidn-2.3.1-composable-kernel-api.patch 1371 BLAKE2B 85fd261657ff2d3ba290d887c9c4ed013fb224d3a8563d088afba9fb909a82776eec97b99e811bb53df4e9d328cba23283991ae0fa8afcf0040389b1a132ac75 SHA512 5ee7e106983c47ef1d345768ca0fd6dca274395672d75e12f61a9ac676c91f86d6094d048847a95e8023a68c6658654f0476ee9fbf6da8cfc145d76a20dd5e3c AUX oidn-2.3.1-hip-clang-19.patch 851 BLAKE2B a98fc830c3ccafb41d7746f9e1603576d5b58a05ac92e733d520e5faaff4a3afd1105046292f505cdecf7802b8e771c1bd2cbf220a971d70d15575297012f311 SHA512 bb87078e1303378715ca26511887e51934c5b95a568b2eeb3fed8e56e62d871347635ca1017c6b77cd1d85ed813f6125794dfccd8debafcf01061f3c952e14ce diff --git a/media-libs/oidn/files/oidn-2.1.0-amdgpu-targets.patch b/media-libs/oidn/files/oidn-2.1.0-amdgpu-targets.patch deleted file mode 100644 index 90d3c17f38cc..000000000000 --- a/media-libs/oidn/files/oidn-2.1.0-amdgpu-targets.patch +++ /dev/null @@ -1,46 +0,0 @@ -Allow specifying AMDGPU_TARGETS with CMake flags. -Fix build when main compiler is set to GCC. ---- a/devices/CMakeLists.txt -+++ b/devices/CMakeLists.txt -@@ -123,6 +123,10 @@ if(OIDN_DEVICE_HIP) - ) - mark_as_advanced(OIDN_DEVICE_HIP_COMPILER) - -+ set(AMDGPU_TARGETS "gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103" CACHE STRING "AMD GPU targets to compile for") -+ mark_as_advanced(AMDGPU_TARGETS) -+ message(STATUS "AMD targets: ${AMDGPU_TARGETS}") -+ - # Add ROCm to CMAKE_PREFIX_PATH - set(_hip_prefix_path CMAKE_PREFIX_PATH) - list(APPEND _hip_prefix_path ${ROCM_PATH}/hip ${ROCM_PATH}) -@@ -137,7 +141,6 @@ if(OIDN_DEVICE_HIP) - CMAKE_CACHE_ARGS - -DCMAKE_PREFIX_PATH:STRING=${_hip_prefix_path_str} - -DCMAKE_CXX_COMPILER:FILEPATH=${OIDN_DEVICE_HIP_COMPILER} -- -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} - -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} - -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/hip/preinstall - -DCMAKE_INSTALL_BINDIR:PATH=${CMAKE_INSTALL_BINDIR} -@@ -149,6 +152,9 @@ if(OIDN_DEVICE_HIP) - -DOIDN_API_NAMESPACE:STRING=${OIDN_API_NAMESPACE} - -DOIDN_WARN_AS_ERRORS:BOOL=${OIDN_WARN_AS_ERRORS} - -DOIDN_SANITIZER:STRING=${OIDN_SANITIZER} -+ -DGPU_TARGETS:STRING=${AMDGPU_TARGETS} -+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -+ -G "${CMAKE_GENERATOR}" - BUILD_ALWAYS TRUE - DEPENDS - OpenImageDenoise_core ---- a/devices/hip/CMakeLists.txt -+++ b/devices/hip/CMakeLists.txt -@@ -25,8 +25,8 @@ include(oidn_common_external) - # FIXME: The HIP runtime has a bug that causes a crash if the kernels are not compiled for all - # targets detected in the system. As a workaround, we compile for more targets then we actually - # support to avoid the crash on systems with dedicated + integrated GPUs. --set(GPU_TARGETS "gfx1030,gfx1031,gfx1032,gfx1033,gfx1034,gfx1035,gfx1036,gfx1100,gfx1101,gfx1102,gfx1103" CACHE INTERNAL "") --set(AMDGPU_TARGETS ${GPU_TARGETS} CACHE INTERNAL "") -+set(GPU_TARGETS "gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103" CACHE STRING "") -+set(AMDGPU_TARGETS ${GPU_TARGETS} CACHE STRING "") - - # Find HIP - find_package(hip REQUIRED) diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index 033a8d673925..2add51ace5f8 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -1,4 +1,3 @@ -AUX opencv-3.4.0-disable-download.patch 1050 BLAKE2B 6f39f61588d9231cc8d877624538a49654ec8cf63091f8d0251cd01cc14684f2f5264c295a149c4a5754a9336e1ad4d1760cc26471fd85a6f571404f7c8d540d SHA512 95f2043c286a7de33fb4718fc1e2ded1fd943b20a5c4cc0c3d7af84fc317e53e3aa6358a33e4781195f8a80904d6bc615171142cde5d30a83d16045d36f85826 AUX opencv-3.4.1-cuda-add-relaxed-constexpr.patch 707 BLAKE2B 743a9c259c59fc4e3017539faef0723e0a80fb9c4bbde94811f32b3e6ae271b3db39fd35487d75078cfbe9e596604c4e37fb5c6c18619ed524c52683219dd8af SHA512 b37ce78495a3bbc439f203d9db81d9bff3e7f980c01ef5187dee537dd9c1025c5163ec3760b48d91a099a2fafb60526c9fe83f7183fc605fb3cc0f5c7a65f6bf AUX opencv-4.1.2-opencl-license.patch 519 BLAKE2B 6dcdf809c3c75a39d0e44f02e157a0c0ee074fd15144565ed51ade7e7849cb313c084100f499cc1240424f4647a2ff73c8d5e61cbdf6d0499846db61b8a30729 SHA512 2874a5140ef5028eb6c64f36325904000edd722560cf876fc49d63b040633bcfea01cae27c156b18191564805cafd2986f26eea322b1376af4f2982d66ed7653 AUX opencv-4.10.0-26234.patch 2791 BLAKE2B b55dd5fe4d554a0be48cabd7009d476fd47aa63bb4142ebb2f5681a2cdf17d530bffcec31e795a3ec7dc3524b3a9496562f83ea2fa9939d431d8d794458a2e9f SHA512 55f767366ab478cad5c2a1b89ccb38a0dbe66fc2c3e04d2cef767bb8dd2c672c6c523eba2b4fb67c73001f1a223c2c1b831f1b951c45b48fc5d649686c1a4cdf @@ -16,7 +15,6 @@ AUX opencv-4.9.0-drop-python2-detection.patch 3270 BLAKE2B bbb4021592e61d1ca99b7 AUX opencv_contrib-4.10.0-CUDA-12.6-tuple_size.patch 2348 BLAKE2B 347c194b26d177ea7e7465e51e9bd362e4f5f23c48fa2eff363a3895a6f45d80a09218ac25ec293a496c56156572a9b000583fe3788b94510a26986c8ba8ebce SHA512 0eb0db58e9fdab8e6cc4415a6430c1b80ed338a6dea8dfe21bd965eadcab9de2098b2ba094496784fc90d1648713f1af721cb7e849c049793a5159799fc128d6 AUX opencv_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch 1158 BLAKE2B c4b139198ac5c33974d6c4fac8ebcf288f15d9edf09e55b30e47071931abdf8924dc51c2d8cb27103edb3b815ba9f7e5ea334cfb1849be7b59ff4cd076f6771a SHA512 03d4442af9b98115126473cca0a9f581bd0c0e983b8d5b7f34fdd0ea7455d4a73163f853c80438f4390c5da4c7cc419c59c24643529df9eb4222915c80e654fe AUX opencv_contrib-4.8.1-rgbd.patch 477 BLAKE2B 0120e631199d7099bae437d459f0c950c3cbd11e5f0a900d687ca5aedf1d7602f7faa3be5ba1a9b3e0758f3fd70574450f97bd7429e447df7440d58326ceb99b SHA512 6fe2ef40bf26d40e4f52d84b17183f6e536b2fe51bf65266be6a59865def0b9c074aa5eff58a60d673afec776a7ba03acaba667c917b78751950b77f68759d96 -AUX opencv_contrib-4.9.0-cuda-12.4.patch 2397 BLAKE2B 7333533f0818b04f5ec89b593f9bf7710aba496a2ba7a1688043818d4249d4a3d3e3f17c42456d2e5e0aaae728f0b9726f3943ce732f7307b0126adc68147da0 SHA512 442c97b3fbf48f0b5c1176a10b1bbcf7fccad369070b6be2a0e3e6dd2ccba88f0a7662360b108fc4d55b766d0563d5f7eef5a2fb7afa5212aac8cab73e9ad43c DIST NVIDIAOpticalFlowSDK-edb50da3cf849840d680249aa6dbef248ebce2ca.tar.gz 8771 BLAKE2B f579960448bdaf57fbefd5e88002d8f6f4dbb828429b0f3a0112916c03039d4e4de65263eb8464a4d62924c1b77f0a61c2d93b7307657439bfbf7d59785f1533 SHA512 85dfdc52260f54f62c980508f4b6ab384e44200bd1c13761c4947f9a898c08f0faed2d734a85a4ba7a46f8788ed58ee89f12f61cee97881b69ba626bbd04f655 DIST ade-0.1.2d.tar.gz 117027 BLAKE2B c544b769c7b289342a469950ed047fa13719bafba29aa41167b588cf4f24ed6e596159ec19b65e61e09519a461a5e82ac07d63e2ea493279ee182fe658810abb SHA512 46f2feee28d732a6940a5a95944f3283bde1b8c8e05466a8ca1c576623c54d1bed875ce2b24a941111d8976cb0c6ba5a4ac8408f042f5765debf1badf7d43348 DIST opencv-4.10.0.tar.gz 94993429 BLAKE2B f16de226337ce1dabda4a52ae03257b0570af0e6212102c483dce61f2bcee1549150d0016b6ea20bae5d8c838e12db3d54bcb9c2ec5d3164639cdd56818f0b1b SHA512 b4f7248f89f1cd146dbbae7860a17131cd29bd3cb81db1e678abfcfbf2d8fa4a7633bfd0edbf50afae7b838c8700e8c0d0bb05828139d5cb5662df6bbf3eb92c diff --git a/media-libs/opencv/files/opencv-3.4.0-disable-download.patch b/media-libs/opencv/files/opencv-3.4.0-disable-download.patch deleted file mode 100644 index 245ad3b3d028..000000000000 --- a/media-libs/opencv/files/opencv-3.4.0-disable-download.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/CMakeLists.txt 2018-05-13 20:47:11.635871328 +0200 -+++ b/CMakeLists.txt 2018-05-13 20:47:49.289872617 +0200 -@@ -187,6 +187,7 @@ - # ---------------------------------------------------------------------------- - - OCV_OPTION(OPENCV_ENABLE_NONFREE "Enable non-free algorithms" OFF) -+OCV_OPTION(ENABLE_DOWNLOAD "Enable download during configure" ON) - - # 3rd party libs - OCV_OPTION(BUILD_ZLIB "Build zlib from source" WIN32 OR APPLE) - ---- a/cmake/OpenCVDownload.cmake 2018-05-13 21:22:14.966943336 +0200 -+++ b/cmake/OpenCVDownload.cmake 2018-05-13 21:23:15.959945424 +0200 -@@ -32,6 +32,7 @@ - - - function(ocv_download) -+ if(ENABLE_DOWNLOAD) - cmake_parse_arguments(DL "UNPACK;RELATIVE_URL" "FILENAME;HASH;DESTINATION_DIR;ID;STATUS" "URL" ${ARGN}) - - macro(ocv_download_log) -@@ -236,4 +237,7 @@ - if(OCV_DOWNLOAD_HASH_NAME) - set(${OCV_DOWNLOAD_HASH_NAME} "${DL_HASH}" CACHE INTERNAL "") - endif() -+ else() -+ message( "Download was disabled during configure phase by ENABLE_DOWNLOAD=OFF" ) -+ endif() - endfunction() diff --git a/media-libs/opencv/files/opencv_contrib-4.9.0-cuda-12.4.patch b/media-libs/opencv/files/opencv_contrib-4.9.0-cuda-12.4.patch deleted file mode 100644 index f3b5c7b36b50..000000000000 --- a/media-libs/opencv/files/opencv_contrib-4.9.0-cuda-12.4.patch +++ /dev/null @@ -1,70 +0,0 @@ -From: https://gitlab.archlinux.org/archlinux/packaging/packages/opencv/-/blob/main/fix-nppi-bufsize-type.patch?ref_type=heads ---- a/modules/cudaarithm/src/reductions.cpp 2023-12-26 22:24:58.000000000 +0100 -+++ b/modules/cudaarithm/src/reductions.cpp 2024-03-18 16:51:32.108049155 +0100 -@@ -151,7 +151,7 @@ - sz.width = gsrc.cols; - sz.height = gsrc.rows; - -- int bufSize; -+ size_t bufSize; - #if (CUDA_VERSION <= 4020) - nppSafeCall( nppiMeanStdDev8uC1RGetBufferHostSize(sz, &bufSize) ); - #else -@@ -227,7 +227,7 @@ - sz.width = gsrc.cols; - sz.height = gsrc.rows; - -- int bufSize; -+ size_t bufSize; - #if (CUDA_VERSION <= 4020) - nppSafeCall( nppiMeanStdDev8uC1MRGetBufferHostSize(sz, &bufSize) ); - #else ---- a/modules/cudaimgproc/src/histogram.cpp 2023-12-26 22:24:58.000000000 +0100 -+++ b/modules/cudaimgproc/src/histogram.cpp 2024-03-18 17:51:37.005208948 +0100 -@@ -281,8 +281,8 @@ - - namespace - { -- typedef NppStatus (*get_buf_size_c1_t)(NppiSize oSizeROI, int nLevels, int* hpBufferSize); -- typedef NppStatus (*get_buf_size_c4_t)(NppiSize oSizeROI, int nLevels[], int* hpBufferSize); -+ typedef NppStatus (*get_buf_size_c1_t)(NppiSize oSizeROI, int nLevels, size_t* hpBufferSize); -+ typedef NppStatus (*get_buf_size_c4_t)(NppiSize oSizeROI, int nLevels[], size_t* hpBufferSize); - - template<int SDEPTH> struct NppHistogramEvenFuncC1 - { -@@ -315,7 +315,7 @@ - sz.width = src.cols; - sz.height = src.rows; - -- int buf_size; -+ size_t buf_size; - get_buf_size(sz, levels, &buf_size); - - BufferPool pool(stream); -@@ -349,7 +349,7 @@ - - Npp32s* pHist[] = {hist[0].ptr<Npp32s>(), hist[1].ptr<Npp32s>(), hist[2].ptr<Npp32s>(), hist[3].ptr<Npp32s>()}; - -- int buf_size; -+ size_t buf_size; - get_buf_size(sz, levels, &buf_size); - - BufferPool pool(stream); -@@ -419,7 +419,7 @@ - sz.width = src.cols; - sz.height = src.rows; - -- int buf_size; -+ size_t buf_size; - get_buf_size(sz, levels.cols, &buf_size); - - BufferPool pool(stream); -@@ -460,7 +460,7 @@ - sz.width = src.cols; - sz.height = src.rows; - -- int buf_size; -+ size_t buf_size; - get_buf_size(sz, nLevels, &buf_size); - - BufferPool pool(stream); diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest index 27872ced8476..ae0f14bdeaaa 100644 --- a/media-libs/tg_owt/Manifest +++ b/media-libs/tg_owt/Manifest @@ -1,5 +1,6 @@ +AUX pipewire-1.4.patch 891 BLAKE2B 670fe84e870b19acdfd45abb8a848991e56e27caa302124fc10dde51166f9486747473f77cb4975c08a7dd61da9a3ee1d541efed30a987ed089b987aa761bbbf SHA512 c8f670e5d02de42ea178ba1c566e6235f052d12fc647f0c05a6bcc7419bc1d5d262b9c5c3f4929c79761bd136260571489a069992fd4dafd5bbcb84e3ede889d DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92 DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e1f75491785b272b0ded46368a67aadb643278e5764d16dcd902ab7e4139d8664ffbacd940f30113ce3171e0b0846fe0d6111ced17c5b08f326cd61b2af14 SHA512 ff9cfbb61a1361e959740d00c741dc6fbe71ca7c61770abc35f70aada402df3884d7d5992ae79472dfe3d7641154d4f13065593fee41bf8eae924e26cc654117 DIST tg_owt-0_pre20241202.tar.gz 11722610 BLAKE2B effe7b833db593bdbf5d923b362cbc8839853e068d22ac1efd39ae8287eac0aeb71e74bf4476fa2a1a1b67c4e7370c6bc3b28d97e510c50b9621761b9b7be219 SHA512 10b7d0686fabc289694c659bcd138737b33375d0aad936e0cf8dcdebeebf30e7c0e1af7a9196c4275bcbb88b5867bcefa8179564980941895a6b7d9bfae822b2 -EBUILD tg_owt-0_pre20241202.ebuild 3581 BLAKE2B 9ccd59b1fe448b95bd3ffc810e49395fa09f54287d512e8a20d61bc3d71de75d31e7e7fd78b2e52f6bf433e1db8fd4a20627ff2cddc765ca3e1a20d8eda402b9 SHA512 7d49cb2f92c402bf84c28258bee9bbc672875c83e58687e10e256c75e8ec25b88aa25ca2489e645dee6f3bc8938ca4dff4b28f30341fb0ef040d0fb94ff2fc74 +EBUILD tg_owt-0_pre20241202.ebuild 3627 BLAKE2B 9e2bfd75f4866149f2d37eb063475d64703824e7ddadb9bafa5e743c7f92f26573ea792af5a7cd7e69eaaf70ca21e0bd90486553c40c18027b6294582e342530 SHA512 b87513f7460eabdf54092bc98debf02ec99ff8e9f29c369f4ccf9074c69c7cf3f722adb5370d255fdd77d3e4af2043a6cd8c5475991ad9adebacd160fc4baddf MISC metadata.xml 493 BLAKE2B ce75939609c6fdef8bce490ca81ba5a011c0a44746e9d813651c2dad5e29e66cc529789b90a61e484c1b13c4d51f0a6cc18988bc7992f9a68e532b6bec9906f2 SHA512 d7aa16d810350f42fb07d47a020363fa77f2a2bab07bd78b49f22afd1ddffc51bf0b55b9ac84ebd208dfc85779494144a75f33e209032c0db15567eb8ba4ebf1 diff --git a/media-libs/tg_owt/files/pipewire-1.4.patch b/media-libs/tg_owt/files/pipewire-1.4.patch new file mode 100644 index 000000000000..46fe260936ad --- /dev/null +++ b/media-libs/tg_owt/files/pipewire-1.4.patch @@ -0,0 +1,23 @@ +Bug: https://github.com/desktop-app/tg_owt/issues/148 +Upstream pull request: https://github.com/desktop-app/tg_owt/pull/149/files + +--- a/src/modules/video_capture/linux/pipewire_session.cc ++++ b/src/modules/video_capture/linux/pipewire_session.cc +@@ -60,7 +60,7 @@ + .param = OnNodeParam, + }; + +- pw_node_add_listener(proxy_, &node_listener_, &node_events, this); ++ pw_node_add_listener(reinterpret_cast<struct pw_node*>(proxy_), &node_listener_, &node_events, this); + } + + PipeWireNode::~PipeWireNode() { +@@ -94,7 +94,7 @@ + uint32_t id = info->params[i].id; + if (id == SPA_PARAM_EnumFormat && + info->params[i].flags & SPA_PARAM_INFO_READ) { +- pw_node_enum_params(that->proxy_, 0, id, 0, UINT32_MAX, nullptr); ++ pw_node_enum_params(reinterpret_cast<struct pw_node*>(that->proxy_), 0, id, 0, UINT32_MAX, nullptr); + break; + } + } diff --git a/media-libs/tg_owt/tg_owt-0_pre20241202.ebuild b/media-libs/tg_owt/tg_owt-0_pre20241202.ebuild index 69302ac9c15e..eb09ca74d020 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20241202.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20241202.ebuild @@ -69,6 +69,8 @@ BDEPEND=" X? ( x11-base/xorg-proto ) " +PATCHES=( "${FILESDIR}/pipewire-1.4.patch" ) + src_unpack() { default |