diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
commit | be8708090362c01c6111c4b76f1e395c14d86e00 (patch) | |
tree | bb61ca73e867522450783849eb63c9e1f0ba1730 /media-libs | |
parent | e93a38d535f2c29b55a5756d2de99425986b0bf3 (diff) |
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'media-libs')
32 files changed, 869 insertions, 555 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex b9366dd285e7..0544b7805333 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/freetype/Manifest b/media-libs/freetype/Manifest index e983d085c610..5effeabdaa7f 100644 --- a/media-libs/freetype/Manifest +++ b/media-libs/freetype/Manifest @@ -1,10 +1,14 @@ DIST freetype-2.13.0.tar.xz 2492440 BLAKE2B 11aac3cddb3e71cc0e6a616ed609294d6641aa0011842aa8230eace826955883aca0063331660025be14582b44aa189718ce21e0e5193a66bb5d7cffa1d0fb7f SHA512 b93a69a92b99f54c4fc4a276066bc7a87597df132e42ef93f6d973f1425e64bebcc568defa511d39fb04ab4d3a2090a6db1e54cf992a80ff57d658fee28a9110 DIST freetype-2.13.2.tar.xz 2501764 BLAKE2B cebc82180d9afaeb112a65ba78903d7bf7a9295a803166a033585ad2325add6023f05066852240c4665e56285345ba503b01ecd461d48f0478a8f3f56136988e SHA512 a5917edaa45cb9f75786f8a4f9d12fdf07529247e09dfdb6c0cf7feb08f7588bb24f7b5b11425fb47f8fd62fcb426e731c944658f6d5a59ce4458ad5b0a50194 +DIST freetype-2.13.3.tar.xz 2617564 BLAKE2B f9591c6998df02b072adaf38a968e91deae8ed4d53ea0cb74d08982c4f0e48b1a98c1378a698164e4f730f07a3b0bea308a94fcc2e2b8ce9967dbf9478b599bd SHA512 600828d7756c8cfa974448ef34ee0db573fb8cfdb2dc1e0358b63c44a03bfd7e3d4384424b9cc5e4749034f60231a550c4b7fcb46694fcacea218787ce305504 DIST freetype-doc-2.13.0.tar.xz 2084016 BLAKE2B aa88eb5a30223a683348902624827bd7df218129fad0dcbb0f2453b9acf3930da634e9c67eda31191e868ca68db92059ed37cc0bd0287dc4458743538fdfe126 SHA512 d4367513e1ca48691aa6d64c36bf53603f67a67214378a2ae3810b2227084647743ee0d7137453f31c966ccb9ce19c2a72b3b5445d4accbce9a63d71f6b6800e DIST freetype-doc-2.13.2.tar.xz 2173920 BLAKE2B 273ab405b6c7097ace9c7882fddb22d2a0cf8cc1594e9d141ca18d13a3745ee2e481bd2ee214cba6d99224ef0d67fdcba1b08aa06e3556a80cda29f3b6026f97 SHA512 ca3438dcf6f995af556d8db3cb3cfdcabb81ab5a7dd88464ff757e3e418b3219b0011857cde8a338372e30d8375486ac8e50914da2ea948dc874f70010bce60c +DIST freetype-doc-2.13.3.tar.xz 2173852 BLAKE2B 84244e28ace43929387052954b92089f570300dc8a9cb77e0ceb53001f081f6d6e5785ad081448ceb58254f8102e3ccf64d1fd323b02fb0a8232a0ba3eb9f3a8 SHA512 54ef9e3a4f0c298893268ed409f59aa1620a60c656ee3f8bdddbb91ffb2e70eea2f016a85c0a02eef699de362abee4aabae4482f0fa1cbf42967b5873fc84f2d DIST ft2demos-2.13.0.tar.xz 333952 BLAKE2B 34155615eb967dda2b62e47bb4095a6bf367dd79b7bd93dfc4dc172476b3bf704af4039623d55ee08d2d6a5365b4783e86a570e34b70af2e543bac64d40833b0 SHA512 7d686e9febdda587b74647cc38fa22f0722d0306ecb05430e319e05b6132c999d20728bcd7a6506b8d8ad45a6859443e2b69d766802497357a8f0ba3352404ba DIST ft2demos-2.13.2.tar.xz 341140 BLAKE2B 5e2c3eb2fccb359d03e154b94d349baab27aa465e40274ea99be1e19c8519ec9c434749c78a41743540bd38064a7c68e5389ff99443b8e320e617c4fe7f4558b SHA512 aa83ba4212ff7c4453b72f036136cb9b04cacf7d196388a3e4752613e000b3bb45a4dcf63d3d1d5b3d6ada10720304b532fb6e33ed6a5b399dcce45c27af9ade +DIST ft2demos-2.13.3.tar.xz 342404 BLAKE2B 5f5a48e0ad839ece97ea2bd451bd819ccbf9347425dc323a368e5fed91cfddeffd61b1dfea2e7cc7d65e30e6ebb932dd142430998039eb4a8f91758a3690ddef SHA512 e662a20ad2ff80534e8ea0df2f299e8f61350f13d279f80f8257b18352e863dd2c266791b85d3410b0c83966cb12e3ff49cf398b83a651dc73772df9fcf5936c EBUILD freetype-2.13.0.ebuild 7477 BLAKE2B 22d405e49f44311c0ef0258f33995d7704daef45eff3f217e051ec042075f5e4624e665dffac24801683ec6f021fbd2c9975c6024f8c56bf294296857abc140f SHA512 e574765126775b16eafdcdf4382c4e5f77e0719f7310af1d9e858830ae636c857455f562d780bed88b5fb39976fa189c5c8bc25056e0fbea216d928cd63f0c91 EBUILD freetype-2.13.2.ebuild 6985 BLAKE2B 1262d9d415dca949734a098d16346327e0114ac34ca3925258109007e224f1815a461e4503fd4d0452d5874ae263d9facb61c9b527520109208e684fbb6c445b SHA512 341e6201dbd1a65cd6148809411d08f940b074c82c5e720ba1a177edd0edf711d534e9a12025f8fef690cc0f4e5b5019b6f8607c579f108682674bbdbf1e1854 +EBUILD freetype-2.13.3.ebuild 6993 BLAKE2B 4b36cd4af066556112a3c9d5f9d7c3d0fa789370f205ee73c54127638f3cbdd7829f8cccef521f9884b30cf0638c1ba6e0598a6c2dba5455a3b3d2ba7d10ad44 SHA512 67a6d0109e7468ebeae8690289497cc4c70f8514f51e66a58e73d735ea90114c5a3402d70e34584a86b7af606aee7885bd3c7a6b4cd22fa6e6f5439e69d1a31b EBUILD freetype-9999.ebuild 6993 BLAKE2B 4b36cd4af066556112a3c9d5f9d7c3d0fa789370f205ee73c54127638f3cbdd7829f8cccef521f9884b30cf0638c1ba6e0598a6c2dba5455a3b3d2ba7d10ad44 SHA512 67a6d0109e7468ebeae8690289497cc4c70f8514f51e66a58e73d735ea90114c5a3402d70e34584a86b7af606aee7885bd3c7a6b4cd22fa6e6f5439e69d1a31b MISC metadata.xml 1279 BLAKE2B f9693d5d9ba012da3835d832882d667e4940b5d65110357f0e2e1ee994db79f0c82abc955a2fafcae38fdcc605f4bdb832bc443cf41d320fce46fac277fecff5 SHA512 7cef4192a1e0133ace925460ce84e1ad64be996cab6e0f6febbda4337174a5d7847fa62c94826e59835c03a792f5b02d16b83e81d341c350ca6976a1e809c439 diff --git a/media-libs/freetype/freetype-2.13.3.ebuild b/media-libs/freetype/freetype-2.13.3.ebuild new file mode 100644 index 000000000000..68187ac641db --- /dev/null +++ b/media-libs/freetype/freetype-2.13.3.ebuild @@ -0,0 +1,255 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic libtool multilib-minimal toolchain-funcs + +DESCRIPTION="High-quality and portable font engine" +HOMEPAGE="https://www.freetype.org/" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 +else + SRC_URI=" + https://downloads.sourceforge.net/freetype/${P/_/}.tar.xz + mirror://nongnu/freetype/${P/_/}.tar.xz + utils? ( + https://downloads.sourceforge.net/freetype/ft2demos-${PV}.tar.xz + mirror://nongnu/freetype/ft2demos-${PV}.tar.xz + ) + doc? ( + https://downloads.sourceforge.net/freetype/${PN}-doc-${PV}.tar.xz + mirror://nongnu/freetype/${PN}-doc-${PV}.tar.xz + ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="|| ( FTL GPL-2+ )" +SLOT="2" +IUSE="X +adobe-cff brotli bzip2 +cleartype-hinting debug doc fontforge harfbuzz +png static-libs svg utils" + +RDEPEND=" + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + brotli? ( app-arch/brotli[${MULTILIB_USEDEP}] ) + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + harfbuzz? ( >=media-libs/harfbuzz-1.3.0[truetype,${MULTILIB_USEDEP}] ) + png? ( >=media-libs/libpng-1.2.51:0=[${MULTILIB_USEDEP}] ) + utils? ( + svg? ( >=gnome-base/librsvg-2.46.0[${MULTILIB_USEDEP}] ) + X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( +) + +_egit_repo_handler() { + if [[ ${PV} == 9999 ]] ; then + local phase="${1}" + case ${phase} in + fetch|unpack) + :; + ;; + *) + die "Please use this function with either \"fetch\" or \"unpack\"" + ;; + esac + + local EGIT_REPO_URI + EGIT_REPO_URI="https://gitlab.freedesktop.org/freetype/freetype.git" + git-r3_src_${phase} + if use utils ; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/freetype/freetype-demos.git" + local EGIT_CHECKOUT_DIR="${WORKDIR}/ft2demos-${PV}" + git-r3_src_${phase} + fi + else + default + fi +} + +pkg_pretend() { + if use svg && ! use utils ; then + einfo "The \"svg\" USE flag only has effect when the \"utils\" USE flag is also enabled." + fi +} + +src_unpack() { + _egit_repo_handler ${EBUILD_PHASE} + + if [[ ${PV} == 9999 ]] ; then + # Need to copy stuff from dlg subproject (bug #758902) + local dlg_inc_dir="${S}/subprojects/dlg/include/dlg" + local dlg_src_dir="${S}/subprojects/dlg/src/dlg" + local dlg_dest_dir="${S}/include" + mkdir -p "${dlg_dest_dir}/dlg" || die + cp "${dlg_inc_dir}"/{dlg,output}.h "${dlg_dest_dir}/dlg" || die + cp "${dlg_src_dir}"/* "${dlg_dest_dir}" || die + fi +} + +src_prepare() { + if [[ ${PV} == 9999 ]] ; then + # Do NOT automagically mess with submodules! + sed '/setup: copy_submodule/d' -i builds/toplevel.mk || die + + # Inspired by shipped autogen.sh script + eval $(sed -n \ + -e 's/^#define *\(FREETYPE_MAJOR\) *\([0-9][0-9]*\).*/\1=\2/p' \ + -e 's/^#define *\(FREETYPE_MINOR\) *\([0-9][0-9]*\).*/\1=\2/p' \ + -e 's/^#define *\(FREETYPE_PATCH\) *\([0-9][0-9]*\).*/\1=\2/p' \ + include/freetype/freetype.h || die) + FREETYPE="${FREETYPE_MAJOR}.${FREETYPE_MINOR}" + [[ "${FREETYPE_PATCH}" != 0 ]] && FREETYPE+=".${FREETYPE_PATCH}" + + pushd builds/unix &>/dev/null || die + sed -e "s;@VERSION@;${FREETYPE};" \ + < configure.raw > configure.ac || die + unset FREETYPE_MAJOR FREETYPE_MINOR FREETYPE_PATCH FREETYPE + popd &>/dev/null || die + fi + + default + + pushd builds/unix &>/dev/null || die + # eautoheader produces broken ftconfig.in + AT_NOEAUTOHEADER="yes" AT_M4DIR="." eautoreconf + popd &>/dev/null || die + + # This is the same as the 01 patch from infinality + sed '/AUX_MODULES += \(gx\|ot\)valid/s@^# @@' -i modules.cfg || die + + enable_option() { + sed -i -e "/#define $1/ { s:/\* ::; s: \*/:: }" \ + include/${PN}/config/ftoption.h \ + || die "unable to enable option $1" + } + + disable_option() { + sed -i -e "/#define $1/ { s:^:/* :; s:$: */: }" \ + include/${PN}/config/ftoption.h \ + || die "unable to disable option $1" + } + + if ! use cleartype-hinting ; then + disable_option TT_CONFIG_OPTION_SUBPIXEL_HINTING + fi + + # Can be disabled with FREETYPE_PROPERTIES="pcf:no-long-family-names=1" + # via environment (new since v2.8) + enable_option PCF_CONFIG_OPTION_LONG_FAMILY_NAMES + + # See https://freetype.org/patents.html (expired!) + enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING + + if ! use adobe-cff ; then + enable_option CFF_CONFIG_OPTION_OLD_ENGINE + fi + + if use debug ; then + enable_option FT_DEBUG_LEVEL_TRACE + enable_option FT_DEBUG_MEMORY + fi + + if use utils ; then + cd "${WORKDIR}/ft2demos-${PV}" || die + # Disable tests needing X11 when USE="-X". (bug #177597) + if ! use X ; then + sed -i -e "/EXES\ +=\ ftdiff/ s:^:#:" Makefile || die + fi + cd "${S}" || die + fi + + # bug #869803 + rm docs/reference/sitemap.xml.gz || die + + # We need non-/bin/sh to run configure + if [[ -n ${CONFIG_SHELL} ]] ; then + sed -i -e "1s:^#![[:space:]]*/bin/sh:#!${CONFIG_SHELL}:" \ + "${S}"/builds/unix/configure || die + fi + + elibtoolize --patch-only +} + +multilib_src_configure() { + append-flags -fno-strict-aliasing + + export GNUMAKE=gmake + + local myeconfargs=( + --disable-freetype-config + --enable-shared + --with-zlib + $(use_with brotli) + $(use_with bzip2) + $(use_with harfbuzz) + $(use_with png) + $(use_enable static-libs static) + $(usex utils $(use_with svg librsvg) --without-librsvg) + + # Avoid using libpng-config + LIBPNG_CFLAGS="$($(tc-getPKG_CONFIG) --cflags libpng)" + LIBPNG_LDFLAGS="$($(tc-getPKG_CONFIG) --libs libpng)" + ) + + case ${CHOST} in + mingw*|*-mingw*) ;; + # Workaround windows mis-detection: bug #654712 + # Have to do it for both ${CHOST}-windres and windres + *) myeconfargs+=( ac_cv_prog_RC= ac_cv_prog_ac_ct_RC= ) ;; + esac + + export CC_BUILD="$(tc-getBUILD_CC)" + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use utils ; then + einfo "Building utils" + # Fix for Prefix, bug #339334 + emake \ + X11_PATH="${EPREFIX}/usr/$(get_libdir)" \ + FT2DEMOS=1 TOP_DIR_2="${WORKDIR}/ft2demos-${PV}" + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use utils ; then + einfo "Installing utils" + emake DESTDIR="${D}" FT2DEMOS=1 \ + TOP_DIR_2="${WORKDIR}/ft2demos-${PV}" install + fi +} + +multilib_src_install_all() { + if use fontforge ; then + # fontforge can probably cope with fewer of these, but this is simpler + einfo "Installing internal headers required for fontforge" + local header + find src/truetype include/freetype/internal -name '*.h' | \ + while read header ; do + mkdir -p "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die + cp ${header} "${ED}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" || die + done + fi + + dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,INSTALL.UNIX,*.txt,PROBLEMS,TODO} + if [[ ${PV} != 9999 ]] && use doc ; then + docinto html + dodoc -r docs/* + fi + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest index 917e8f46fd3d..c1f4036ccf3c 100644 --- a/media-libs/gmmlib/Manifest +++ b/media-libs/gmmlib/Manifest @@ -3,7 +3,9 @@ AUX gmmlib-20.3.2_cmake_project.patch 145 BLAKE2B f42306b41a0c62ea9d3d5bfe3d1e1f AUX gmmlib-22.1.1_custom_cflags.patch 2963 BLAKE2B af9979ee3c7977c93288b6afd0c0a65451f6f06cffbb00d32d53541410beded1feb6212bb0a5b7820e4ba8c4ee03656f274b94a26e0688e90e0ad140b37ee4a2 SHA512 933a9234f178ec566ca88fd3b48d746ac869936acfd5541d8b6b3cac3125c029054fe385101d734e5e35eeb9393f1609be96c9bcc2f1e0bb79a7295ccdd6c292 DIST intel-gmmlib-22.3.19.tar.gz 846342 BLAKE2B ce3c25740d9c3f556db31f880b47fba8358dd7d7d53d80bc9923bec8c67fdeee3ae4efa5465390c229bfdc2f6c64fa0a7963516f83d12061d34bf51102cb3a64 SHA512 804e4995983884832dbb6d08a4e3c8ca8d60e7ef2c5a0de12d0facfac1fdce619ad229ad1a6b62fdf0ba74a968caf3bb884e283af8cf38babacff350fc9728b9 DIST intel-gmmlib-22.4.1.tar.gz 867162 BLAKE2B cc3dea9441f1b21b95595d5674046afec5ae673c6244b94572ba11d3451ddb9dae8adce9fe4310a5a0de3c723a3b7aef1031b9ca53f54b63fbefe43fadb7c2d1 SHA512 b44bd2f18ed97446c2e4f5ca7119cfde63f249fe8b5f23f0a531a2ec724aa51fe70014320d8f6dee85246df8ce220d5938654483d276eda60027162e304a3b64 +DIST intel-gmmlib-22.5.0.tar.gz 867541 BLAKE2B 89ac0fdac7212ea1122140357f04ffe67a27d4d743615b4d97121931370f44568cdcccfbeb681d8fe564b269f4fe1c0f47b50c9e7cc2ce44863d03ec47a75bdb SHA512 f4f33197cf635a71c02d1027f96268b0ebac66ba765b1b6d4d827b9cd7a044197a9a042371c5bf6550110b9d5b127bcf63627124a338cc9e8ee1e8bc1d90dbc2 EBUILD gmmlib-22.3.19.ebuild 954 BLAKE2B e65b06b054ff521cc3ee3d2b95a6777a706fe03fa30cd7a369539d5ebc0b5aead789a8997d640f7a273f2ff9235b216cf1950c3d6f93f9349ac76348ed3de189 SHA512 c7bcd9d9ddd19d174d277a620a38b206d8e1796ad1dcde3ba61b34eaa92eb4d0ece070077e5cd744a38ed80317ea6715ce5d4a5a7cc8057672980d69060585cb EBUILD gmmlib-22.4.1.ebuild 955 BLAKE2B eba2f14d093a7b8b63a1cee0dff0fab805b9681bca014bd11cb2ff7682aec1b3adeaf41cac8b33a1d8a48c4c4420bfcc296a91429c3d55ab3e51581ee126adaa SHA512 f6f89934cf6bb49c453de13a599224d6415f494522f0ebc876cdecda9a061b9d41788ce3ae55d1c168c1f73d6d362403cb15b81067866e1554a4f57ff73c9494 +EBUILD gmmlib-22.5.0.ebuild 955 BLAKE2B eba2f14d093a7b8b63a1cee0dff0fab805b9681bca014bd11cb2ff7682aec1b3adeaf41cac8b33a1d8a48c4c4420bfcc296a91429c3d55ab3e51581ee126adaa SHA512 f6f89934cf6bb49c453de13a599224d6415f494522f0ebc876cdecda9a061b9d41788ce3ae55d1c168c1f73d6d362403cb15b81067866e1554a4f57ff73c9494 EBUILD gmmlib-9999.ebuild 955 BLAKE2B eba2f14d093a7b8b63a1cee0dff0fab805b9681bca014bd11cb2ff7682aec1b3adeaf41cac8b33a1d8a48c4c4420bfcc296a91429c3d55ab3e51581ee126adaa SHA512 f6f89934cf6bb49c453de13a599224d6415f494522f0ebc876cdecda9a061b9d41788ce3ae55d1c168c1f73d6d362403cb15b81067866e1554a4f57ff73c9494 MISC metadata.xml 478 BLAKE2B 22fa7744f1f6ae793034225645314ed7f0a5499cc33b570a00aa2c076cb3fdc9c2663654df4998a30fc76f7d833ed4f2022fd8b2869539e25c47f64e6b0f438a SHA512 0c46a6af2f254ee9c314f08654739003f58283e3ec00a8a3e628225e14065d359d0816a05aba1754379dea826d1bf2d501fb35ba58c5020f036917771ea035d9 diff --git a/media-libs/gmmlib/gmmlib-22.5.0.ebuild b/media-libs/gmmlib/gmmlib-22.5.0.ebuild new file mode 100644 index 000000000000..2a09f24b8f3d --- /dev/null +++ b/media-libs/gmmlib/gmmlib-22.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +if [[ ${PV} == *9999 ]] ; then + : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"} + if [[ ${PV%9999} != "" ]] ; then + : ${EGIT_BRANCH:="release/${PV%.9999}"} + fi + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz" + S="${WORKDIR}/${PN}-intel-${P}" +fi + +DESCRIPTION="Intel Graphics Memory Management Library" +HOMEPAGE="https://github.com/intel/gmmlib" + +LICENSE="MIT" +SLOT="0/12.3" +IUSE="+custom-cflags test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch + "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch + "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch +) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING="$(usex test)" + -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)" + ) + + cmake_src_configure +} diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest index 62b038899e54..3fc2484e62d9 100644 --- a/media-libs/libavif/Manifest +++ b/media-libs/libavif/Manifest @@ -2,9 +2,9 @@ DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053 DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0 DIST libavif-1.1.1.tar.gz 13644189 BLAKE2B c0a473b172206ea32358c28e7b94d8038b24030e4845611341076518cd82fd2bea78eb8e22e5481062b893ffb70789619ce4f85129a94a0db70a667c000f4fd0 SHA512 ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21 -EBUILD libavif-0.10.1.ebuild 2497 BLAKE2B 7f827aa9192800d611f52349bc5510d061564097797b053da93e9193bcf2cbfd4cc5c846f0711c8292cc54ac75424e1061fb6ebdcb0db95a9c9d34edbdf75e8a SHA512 3f52b71121d1bf7acd9567f8e7cc9edd0d5be226d3c4088f2e9dd4752a564012ac66304a8bd05ecb40d3985a24ee2caae09a4f4a61bedff07591fe9b349e4acd -EBUILD libavif-0.11.1.ebuild 2595 BLAKE2B 7b22b323ec56ec3dc80fa56d952675e05f22d2d8d522778bc7c3593a14bf242c6d2aa73e6141fd12b1948b901482b6f400cd97267a1cb3ed3ef37482d91e0368 SHA512 ea62b941733271a18279d9d47b91bac106f4ee972ec43fc62a2b6a39a688b3aaa099462b0aa8e242816fe192aa8e0d84b04c3f94c3d7b7c63258687ddf271e7d -EBUILD libavif-1.0.4.ebuild 2698 BLAKE2B 56fbba300754a7a53c8ff689fd310ddaebe8e9939de6ca649e281f5a8313605304d427ea7afab5658a3a3c20ff0f23d517bd17869294186f83b369e04fa233f9 SHA512 4a73c1a1936721409efeaf2971128758a77214cec341c0e74ad30cc6201f9232854e8af47868d0ea592ab9127deaf38643010c57712aeb45b96f005385d4c21b -EBUILD libavif-1.1.1.ebuild 2866 BLAKE2B ebcab75be7f707dbcd48a5c38db7a59d02ee949672ca34a6d6be48f5b06904c60a581b8f4c16fd2931eaa1d919b8694574b36cea164a1e2776e20dcab69a94ed SHA512 fa19df78e9196d06589792c8b3cca440ca1530379e9e88b6db734ab62ffae1a7d2a502c6c355e514b9a1b04df996e2014db98973b525c645b4b2eaba533254ea -EBUILD libavif-9999.ebuild 2752 BLAKE2B 4fbb6d0057e19ce2e33034b52d8ff087c938a413508a1f9f6d3c77db281ed66d8372d8bd2e57267618dbae96b68844da83991e3abc84c34be9da9947f95eb687 SHA512 125cfe78ed9190c7c375c062ed02836d615bdc92a5a0e74525bf4cf96a811e24962878c8949a8c614689666d2167d9fd4ce5a9fd71296c0d66572209861eb9cb +EBUILD libavif-0.10.1.ebuild 2499 BLAKE2B 17f9ef679e75469c782c98cf58587052a68a3b5ca560b8568916ab91ccc0fda0d56fa4cac79ffc3619ee2ffa7c510dd926662ce637f75bea5baa4734424ea210 SHA512 64f256bd788cbef3ebd07eb96568faa35fa7fc0ffe5e999f8faa20553525270f90396dd0d8733f0d65bb4c869468edfedbecc48a459dc3b2072833cc155c5db0 +EBUILD libavif-0.11.1.ebuild 2597 BLAKE2B d1d18786e4cb7d96aa2f4c367be360a6d25b22fd56156e1e1b59b3f88fd2986966e5466c647bdfb58ca000a21811beccc8bd3d4d4568d8186e0daa4f414af994 SHA512 d4c04bd161e1cd8f0c35fb7f8006172b2d3a263294b091dec6ccb732180b30d52caa640a0e190b5f603e81a93c178249644c551946b527f07916f6691e4ebee6 +EBUILD libavif-1.0.4.ebuild 2700 BLAKE2B 77e6ae41f91377402e6a501badf1972b0631798cfcec4aaa1d5f270f7dc0f485c776b7a2479b63249e2576c7d26561464090c4e48bfe8f0909591f0237d5ac6e SHA512 c1ed73ee30fc2f469d3e6a1642f061e66e4280f15ca96a2ac74e886b4f8ecb21f5cb2fa2c1fcf2c842ed4d342cb84b77c3ce456b53765be104c55e4f2bd609f2 +EBUILD libavif-1.1.1.ebuild 2868 BLAKE2B 6361a9c2b5b28be9fa87c77299abac6564191202b1f7b9c93f941a97f20925034e3dd8b79b388e18126f3c55ee08dc002f6d1964dcdaff7c91796e26f7b6a118 SHA512 7ec7f6c6b27e8170d905fafa3c8b382046c0647b774cc016fc4703960a58701985717e1ddeeed515f976451fc2aa378ebb7bb984b73e07abc34e2680c0a62066 +EBUILD libavif-9999.ebuild 2754 BLAKE2B a39ce76f57e845238cb7c19f5ec8ec52d82167867642bc256a8ca0c3419e66d5103018e86b57eda3904ed0d537b2967ac5b527febd6088600d850b2b059c9b95 SHA512 2701e2387f6d0b3016a04108af980f453cdf64015ade320acf842800e852aa367e158d6edebb565f29505447b4d9188fa5f5c25a8bd2cb14f7cc9c8dab7e7a38 MISC metadata.xml 1033 BLAKE2B 94be58c7c8d0ea88d86c1203b3f77ce4a2bd699360ceba9991b4de77ab626c707941ef79d57f189510de2e43da641d2ce836bcc50df0db4e105f4d6274183653 SHA512 0073116364038e100579fd0db821552a285c5bfc85f2cd20b2b2ff21cc5740df01c59f23964189912d6cc9700515bd604b0fb1efd951f08c6e181bf47b3b59d7 diff --git a/media-libs/libavif/libavif-0.10.1.ebuild b/media-libs/libavif/libavif-0.10.1.ebuild index c5d6d137e153..ac23f8d54513 100644 --- a/media-libs/libavif/libavif-0.10.1.ebuild +++ b/media-libs/libavif/libavif-0.10.1.ebuild @@ -24,7 +24,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] ) gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.9.1 )" + svt-av1? ( >=media-libs/svt-av1-0.9.1:= )" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" diff --git a/media-libs/libavif/libavif-0.11.1.ebuild b/media-libs/libavif/libavif-0.11.1.ebuild index fb3932ae0321..17f6d6812852 100644 --- a/media-libs/libavif/libavif-0.11.1.ebuild +++ b/media-libs/libavif/libavif-0.11.1.ebuild @@ -25,7 +25,7 @@ DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] extras? ( dev-cpp/gtest ) gdk-pixbuf? ( x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.9.1 )" + svt-av1? ( >=media-libs/svt-av1-0.9.1:= )" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" diff --git a/media-libs/libavif/libavif-1.0.4.ebuild b/media-libs/libavif/libavif-1.0.4.ebuild index 8b80e9991a0a..17fec0a0b096 100644 --- a/media-libs/libavif/libavif-1.0.4.ebuild +++ b/media-libs/libavif/libavif-1.0.4.ebuild @@ -31,7 +31,7 @@ DEPEND=" x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.9.1 ) + svt-av1? ( >=media-libs/svt-av1-0.9.1:= ) " RDEPEND=" ${DEPEND} diff --git a/media-libs/libavif/libavif-1.1.1.ebuild b/media-libs/libavif/libavif-1.1.1.ebuild index 7c3cf825e032..63f35e51b469 100644 --- a/media-libs/libavif/libavif-1.1.1.ebuild +++ b/media-libs/libavif/libavif-1.1.1.ebuild @@ -36,7 +36,7 @@ DEPEND=" x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.9.1 ) + svt-av1? ( >=media-libs/svt-av1-0.9.1:= ) " RDEPEND=" ${DEPEND} diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index d13f567ad6dd..1b5831110d64 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -32,7 +32,7 @@ DEPEND=" x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] ) rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) - svt-av1? ( >=media-libs/svt-av1-0.9.1 ) + svt-av1? ( >=media-libs/svt-av1-0.9.1:= ) " RDEPEND=" ${DEPEND} diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest index e193f391f9f9..fb200ed73776 100644 --- a/media-libs/libheif/Manifest +++ b/media-libs/libheif/Manifest @@ -3,7 +3,7 @@ DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 788ecf59c936bfae9544bedd5fa50fd74f04a DIST libheif-1.17.6.tar.gz 1433302 BLAKE2B 937a1ddfd86c4d50a609e24d00c07e0d1924a5532e36293f83fd67a38f4c13186cb5c4837598000d6d3516ec1965fdc6709ef825c327fd5ce3ea2194008b6efd SHA512 47d93df4f584979cea26af74cd8543b13398356b5fd46b1b378f7738cee471e80b7e117f6ce307674a549182f5ce22a577c6e79a6e72fe166421efc4be04687a DIST libheif-1.18.1.tar.gz 1524386 BLAKE2B 07c01c273460618d56b9259c2930da34632fffdcc2338480277e678ab173126bc9d6882a33dc459ed7cdacd7e636ff8d13c406c76c046afc47166609e9595942 SHA512 0b37b834882af8368fc550e75245f4cf487c71a041833ba5e7887155e289e9c2058b41724524091347f297cfdec45b537796a97f4c43531aecf9f0a099753f41 EBUILD libheif-1.15.2-r1.ebuild 2058 BLAKE2B 4769aaea2e7165a43dc8761d944ff77df1ca87ed6fe4bef4f291075db39c44b151f46198e1e74683072ad3a26aced9f259a71db8a5512cf74cec047c1750073b SHA512 108ed5a9a7ab77110dc53189ae90f245672f39e76784678cb007b560b8284e862ae4142cd6abf484bdfb0029c41bfdec9aa5c352fa9ba1439d39fb3cdd63af96 -EBUILD libheif-1.17.6.ebuild 2258 BLAKE2B 1ef40abfff4b9c0e6274a77c058858ea98116e157e8e3bfac3630d559ce0238112009bd16b8d7fa0dc49aa0460bb8ba3e03e836c0e11eec1f2065cc16ac65b60 SHA512 f7f3c152697c0f4c4f20e81964b0012cfa23fef3e884d6d2ad28ad010c374ba68f022e834091d121b2de1edb0017c2a1a10bea70790668a0a7c836dbea5f0853 -EBUILD libheif-1.18.1.ebuild 2392 BLAKE2B 03533e87d002d71b20f6b5596fecac4a2484d00b7a340e91f0dd836c5d83dd075d04b020dae47ce96a2065ed8ad24a349285c5dffe8f363acc10b53bc27a6e44 SHA512 ea84b7c42d923aa309b2b6367d5b5b0aed2445b285ce7785b466aa6bfd91897acffa7f951a2585dc20b3c45ae5426c8ba4ef36a883c7c3ae5bd4daa243fa7feb -EBUILD libheif-9999.ebuild 2392 BLAKE2B 03533e87d002d71b20f6b5596fecac4a2484d00b7a340e91f0dd836c5d83dd075d04b020dae47ce96a2065ed8ad24a349285c5dffe8f363acc10b53bc27a6e44 SHA512 ea84b7c42d923aa309b2b6367d5b5b0aed2445b285ce7785b466aa6bfd91897acffa7f951a2585dc20b3c45ae5426c8ba4ef36a883c7c3ae5bd4daa243fa7feb +EBUILD libheif-1.17.6.ebuild 2260 BLAKE2B 801416c69d5893ccd22ba87003e14a01991c34fe34158489bb74bdabc3fb8e884466e6e9acd0d83efdd4f73f3a99b1e7050466972ee564e0b71de2544156234a SHA512 888ab7c3e4336aae325fe6c0d344bc213b6009522f31eef490d884a3e7d97d38b8d188abaee017dccedbd69821499027664263ce43d4aac4d0a063dd274f8522 +EBUILD libheif-1.18.1.ebuild 2394 BLAKE2B f9c698929ecab311ac0839b36bbc4f52dddea68d47096207c2087c058d8f53e42993cb55acdf6f03bb48b8186e113c158b9182c882bb3cee86bd95b022f11809 SHA512 dc9690c1ab290b68cdc29cb2be5d5d48e4c1c287ca14f97693b3fdff2acfef14683867aef02ca50df5b3520f3e757fc1a69605f964bbe47eb0b6dc7ef0679bd5 +EBUILD libheif-9999.ebuild 2394 BLAKE2B f9c698929ecab311ac0839b36bbc4f52dddea68d47096207c2087c058d8f53e42993cb55acdf6f03bb48b8186e113c158b9182c882bb3cee86bd95b022f11809 SHA512 dc9690c1ab290b68cdc29cb2be5d5d48e4c1c287ca14f97693b3fdff2acfef14683867aef02ca50df5b3520f3e757fc1a69605f964bbe47eb0b6dc7ef0679bd5 MISC metadata.xml 809 BLAKE2B f26844fa79747ac286a0130cb8cb2b4f0e771ed7fa3f9fe29a3fbd71876902c868dc32305f928cedbb88dcadab3c07cb4f85c647369adc904c7c9c463dd05343 SHA512 754ef9004dc664cca658bfbd0392fce837557efe1b92aefe198dd529cb388048f49e37648c7338829d6ecd87ea953efd0f66895191aea7bd39730c2f7240f032 diff --git a/media-libs/libheif/libheif-1.17.6.ebuild b/media-libs/libheif/libheif-1.17.6.ebuild index a4c096fce0e6..7f802231d9b5 100644 --- a/media-libs/libheif/libheif-1.17.6.ebuild +++ b/media-libs/libheif/libheif-1.17.6.ebuild @@ -39,7 +39,7 @@ DEPEND=" gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) go? ( dev-lang/go ) rav1e? ( media-video/rav1e:= ) - svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] ) + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" RDEPEND="${DEPEND}" diff --git a/media-libs/libheif/libheif-1.18.1.ebuild b/media-libs/libheif/libheif-1.18.1.ebuild index af5f70f0dcf7..b5c9b73f88d0 100644 --- a/media-libs/libheif/libheif-1.18.1.ebuild +++ b/media-libs/libheif/libheif-1.18.1.ebuild @@ -39,7 +39,7 @@ DEPEND=" gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) go? ( dev-lang/go ) rav1e? ( media-video/rav1e:= ) - svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] ) + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] ) " RDEPEND="${DEPEND}" diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild index af5f70f0dcf7..b5c9b73f88d0 100644 --- a/media-libs/libheif/libheif-9999.ebuild +++ b/media-libs/libheif/libheif-9999.ebuild @@ -39,7 +39,7 @@ DEPEND=" gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) go? ( dev-lang/go ) rav1e? ( media-video/rav1e:= ) - svt-av1? ( media-libs/svt-av1[${MULTILIB_USEDEP}] ) + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] ) " RDEPEND="${DEPEND}" diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index 02d7aed50dab..57354fe2de10 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -3,6 +3,7 @@ DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 3c68e544898031fe76a57ea754f46ede5b105c2 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb SHA512 db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41 SHA512 0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1 SHA512 5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288 +DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5 SHA512 5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6 DIST paste-1.0.14.crate 18157 BLAKE2B 35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c SHA512 3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c @@ -12,5 +13,6 @@ EBUILD mesa-24.0.9.ebuild 11904 BLAKE2B fbd74015635daad6ced24491c05e077b2617f42b EBUILD mesa-24.1.3.ebuild 13732 BLAKE2B ed406c8d4b4c14674dae17cf0bd52a975728a0ccb46888103537dc9fe0b4749d9980192148edf561731408a9673a3ff4b23cec5d4ba08365f0c6007aa29e143e SHA512 b4add16bc9019229eae7e598ba3784471e0095c2d4364e7127135408aedc9723b12d0b1a1c47394eea3d79133c5d850237abd921146a8e8b2c4ba174ef4d0344 EBUILD mesa-24.1.4.ebuild 13739 BLAKE2B 23b5b302962a028676b753f1bf71b85986445e64540e4c702969e4c2045d7994ffa7e6424ed87b02406c9d300f29383df54eb397eec452e0714c827e9b7b3c05 SHA512 ad37b061d392cfe67d8fcefa82ebed2634bc5f0ae61f6b4f84193ffa9c866f10abd7ab7f915fee381c36643b88b1c6cdbb0ee40dd3f7a25fe0502caf07140309 EBUILD mesa-24.1.5.ebuild 13739 BLAKE2B 23b5b302962a028676b753f1bf71b85986445e64540e4c702969e4c2045d7994ffa7e6424ed87b02406c9d300f29383df54eb397eec452e0714c827e9b7b3c05 SHA512 ad37b061d392cfe67d8fcefa82ebed2634bc5f0ae61f6b4f84193ffa9c866f10abd7ab7f915fee381c36643b88b1c6cdbb0ee40dd3f7a25fe0502caf07140309 -EBUILD mesa-9999.ebuild 13877 BLAKE2B 1259a2bf4d9a6f278693c285e81319bc9d5fe0e0b3d0ee9c9ec38eb199508d57111808285ae406480e544b39f386685ff0a47a3b90edac94d66ab9e321f60b2f SHA512 90cfd71bf989097b43757be320f87670a3e19ecdb8b00942c661784685bbe98850362124be378f63ede7493f3c68df41d7bf9d7eddbb267992d2d2d84004efac +EBUILD mesa-24.2.0_rc4.ebuild 13665 BLAKE2B f2191d5fac54380bacaf3e4f71ed7fa854e95c6e23f779800d046cfbd758bca20908af8a4d0023bbf2a3078b9c6aa602eed6ba158b18c3cd516ec3085de683e8 SHA512 5a956ca54b19d4d755e23baccaaea48144c9bd894e65c05f6ca79dd6d3ebe5967fbb55186fe25774b3c6adcd56bde70fb15bbf998f7441c2042e6af003125b07 +EBUILD mesa-9999.ebuild 13665 BLAKE2B f2191d5fac54380bacaf3e4f71ed7fa854e95c6e23f779800d046cfbd758bca20908af8a4d0023bbf2a3078b9c6aa602eed6ba158b18c3cd516ec3085de683e8 SHA512 5a956ca54b19d4d755e23baccaaea48144c9bd894e65c05f6ca79dd6d3ebe5967fbb55186fe25774b3c6adcd56bde70fb15bbf998f7441c2042e6af003125b07 MISC metadata.xml 1435 BLAKE2B 53690878512b86ce0b8dce38b083684c85ad5c1a655d5a69cb3265e156869845263eb16f271691b66c9f0cd76e97b56908acf7a1792d6abac0ec99447826cbb5 SHA512 842106e5d6eb60ff33c8cae7f0d52983c4f7e104152718b50fc790cbcb2506551a6fc7841fe8e3c7963850c238f77505b0e49b10a3a936baf459e1acaf73e07f diff --git a/media-libs/mesa/mesa-24.2.0_rc4.ebuild b/media-libs/mesa/mesa-24.2.0_rc4.ebuild new file mode 100644 index 000000000000..6da3a0f80393 --- /dev/null +++ b/media-libs/mesa/mesa-24.2.0_rc4.ebuild @@ -0,0 +1,490 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {15..18} ) +LLVM_OPTIONAL=1 +CARGO_OPTIONAL=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs + +MY_P="${P/_/-}" + +CRATES=" + syn@2.0.39 + proc-macro2@1.0.70 + quote@1.0.33 + unicode-ident@1.0.12 + paste@1.0.14 +" + +inherit cargo + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + inherit git-r3 +else + SRC_URI=" + https://archive.mesa3d.org/${MY_P}.tar.xz + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +fi + +# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap files, +# but there are "stale" distfiles on the mirrors with the wrong names. +# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +LICENSE="MIT SGI-B-2.0" +SLOT="0" + +RADEON_CARDS="r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} + d3d12 freedreno intel lavapipe lima nouveau nvk panfrost v3d vc4 virgl + vivante vmware zink" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + cpu_flags_x86_sse2 d3d9 debug +llvm + lm-sensors opencl +opengl osmesa +proprietary-codecs selinux + test unwind vaapi valgrind vdpau vulkan + vulkan-overlay wayland +X xa +zstd" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + d3d9? ( + || ( + video_cards_freedreno + video_cards_intel + video_cards_nouveau + video_cards_panfrost + video_cards_r300 + video_cards_r600 + video_cards_radeonsi + video_cards_vmware + video_cards_zink + ) + ) + llvm? ( ${LLVM_REQUIRED_USE} ) + vulkan-overlay? ( vulkan ) + video_cards_lavapipe? ( llvm vulkan ) + video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r300? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_zink? ( vulkan opengl ) + video_cards_nvk? ( vulkan video_cards_nouveau ) + vdpau? ( X ) + xa? ( X ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.121" +RDEPEND=" + >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.9[${MULTILIB_USEDEP}] + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + $(llvm_gen_dep " + sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}] + opencl? ( + dev-util/spirv-llvm-translator:\${LLVM_SLOT} + sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}] + ) + ") + video_cards_r600? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_radeon? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + ) + lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] ) + opencl? ( + >=virtual/opencl-3 + dev-libs/libclc[spirv(-)] + >=dev-util/spirv-tools-1.3.231.0 + virtual/libelf:0= + ) + vaapi? ( + >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] + ) + vdpau? ( >=x11-libs/libvdpau-1.5:=[${MULTILIB_USEDEP}] ) + video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) + video_cards_zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) + selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) + wayland? ( >=dev-libs/wayland-1.18.0[${MULTILIB_USEDEP}] ) + ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.17:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}] + ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done +RDEPEND="${RDEPEND} + video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] ) +" + +DEPEND="${RDEPEND} + video_cards_d3d12? ( >=dev-util/directx-headers-1.613.0[${MULTILIB_USEDEP}] ) + valgrind? ( dev-debug/valgrind ) + wayland? ( >=dev-libs/wayland-protocols-1.34 ) + X? ( + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-base/xorg-proto + ) +" +BDEPEND=" + ${PYTHON_DEPS} + opencl? ( + >=virtual/rust-1.62.0 + >=dev-util/bindgen-0.58.0 + ) + >=dev-build/meson-1.4.1 + app-alternatives/yacc + app-alternatives/lex + virtual/pkgconfig + $(python_gen_any_dep " + >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}] + dev-python/packaging[\${PYTHON_USEDEP}] + dev-python/pyyaml[\${PYTHON_USEDEP}] + ") + video_cards_intel? ( + ~dev-util/intel_clc-${PV} + dev-libs/libclc[spirv(-)] + $(python_gen_any_dep "dev-python/ply[\${PYTHON_USEDEP}]") + ) + vulkan? ( + dev-util/glslang + video_cards_nvk? ( + >=dev-util/bindgen-0.68.1 + >=dev-util/cbindgen-0.26.0 + >=virtual/rust-1.74.1 + ) + ) + wayland? ( dev-util/wayland-scanner ) +" + +QA_WX_LOAD=" +x86? ( + usr/lib/libglapi.so.0.0.0 + usr/lib/libOSMesa.so.8.0.0 + usr/lib/libGLX_mesa.so.0.0.0 +)" + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + else + unpack ${MY_P}.tar.xz + fi + + # We need this because we cannot tell meson to use DISTDIR yet + pushd "${DISTDIR}" >/dev/null || die + mkdir -p "${S}"/subprojects/packagecache || die + local i + for i in *.crate; do + ln -s "${PWD}/${i}" "${S}/subprojects/packagecache/${i/.crate/}.tar.gz" || die + done + popd >/dev/null || die +} + +pkg_pretend() { + if use vulkan; then + if ! use video_cards_d3d12 && + ! use video_cards_freedreno && + ! use video_cards_intel && + ! use video_cards_lavapipe && + ! use video_cards_nouveau && + ! use video_cards_nvk && + ! use video_cards_panfrost && + ! use video_cards_radeonsi && + ! use video_cards_v3d && + ! use video_cards_virgl; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, radeonsi, v3d, or virgl" + fi + fi + + # VA + if use vaapi; then + if ! use video_cards_d3d12 && + ! use video_cards_nouveau && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_virgl; then + ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain d3d12, nouveau, r600, radeonsi, or virgl" + fi + fi + + if use vdpau; then + if ! use video_cards_d3d12 && + ! use video_cards_nouveau && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_virgl; then + ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain d3d12, nouveau, r600, radeonsi, or virgl" + fi + fi + + if use xa; then + if ! use video_cards_freedreno && + ! use video_cards_intel && + ! use video_cards_nouveau && + ! use video_cards_vmware; then + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, intel, nouveau, or vmware" + fi + fi + + if ! use llvm; then + use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm" + fi + + if use osmesa && ! use llvm; then + ewarn "OSMesa will be slow without enabling USE=llvm" + fi +} + +python_check_deps() { + python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" || return 1 + if use llvm && use vulkan && use video_cards_intel && use amd64; then + python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || return 1 + fi +} + +pkg_setup() { + # warning message for bug 459306 + if use llvm && has_version sys-devel/llvm[!debug=]; then + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm" + ewarn "detected! This can cause problems. For details, see bug 459306." + fi + + if use video_cards_intel || + use video_cards_radeonsi; then + if kernel_is -ge 5 11 3; then + CONFIG_CHECK="~KCMP" + elif kernel_is -ge 5 11; then + CONFIG_CHECK="~CHECKPOINT_RESTORE" + elif kernel_is -ge 5 10 20; then + CONFIG_CHECK="~KCMP" + else + CONFIG_CHECK="~CHECKPOINT_RESTORE" + fi + linux-info_pkg_setup + fi + + use llvm && llvm-r1_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ + bin/symbols-check.py || die # bug #830728 +} + +multilib_src_configure() { + local emesonargs=() + + # bug #932591 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140 + tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto + + local platforms + use X && platforms+="x11" + use wayland && platforms+=",wayland" + emesonargs+=(-Dplatforms=${platforms#,}) + + if use video_cards_freedreno || + use video_cards_intel || # crocus i915 iris + use video_cards_nouveau || + use video_cards_panfrost || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_vmware || # svga + use video_cards_zink; then + emesonargs+=($(meson_use d3d9 gallium-nine)) + else + emesonargs+=(-Dgallium-nine=false) + fi + + if use video_cards_d3d12 || + use video_cards_nouveau || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_virgl; then + emesonargs+=($(meson_feature vaapi gallium-va)) + use vaapi && emesonargs+=( -Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers ) + else + emesonargs+=(-Dgallium-va=disabled) + fi + + if use video_cards_d3d12; then + emesonargs+=($(meson_feature vaapi gallium-d3d12-video)) + fi + + if use video_cards_d3d12 || + use video_cards_nouveau || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_virgl; then + emesonargs+=($(meson_feature vdpau gallium-vdpau)) + else + emesonargs+=(-Dgallium-vdpau=disabled) + fi + + if use video_cards_freedreno || + use video_cards_intel || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_feature xa gallium-xa)) + else + emesonargs+=(-Dgallium-xa=disabled) + fi + + gallium_enable !llvm softpipe + gallium_enable llvm llvmpipe + gallium_enable video_cards_d3d12 d3d12 + gallium_enable video_cards_freedreno freedreno + gallium_enable video_cards_intel crocus i915 iris + gallium_enable video_cards_lima lima + gallium_enable video_cards_nouveau nouveau + gallium_enable video_cards_panfrost panfrost + gallium_enable video_cards_v3d v3d + gallium_enable video_cards_vc4 vc4 + gallium_enable video_cards_virgl virgl + gallium_enable video_cards_vivante etnaviv + gallium_enable video_cards_vmware svga + gallium_enable video_cards_zink zink + + gallium_enable video_cards_r300 r300 + gallium_enable video_cards_r600 r600 + gallium_enable video_cards_radeonsi radeonsi + if ! use video_cards_r300 && + ! use video_cards_r600; then + gallium_enable video_cards_radeon r300 r600 + fi + + if use llvm && use opencl; then + PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig" + # See https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/rusticl.rst + emesonargs+=( + $(meson_native_true gallium-rusticl) + -Drust_std=2021 + ) + fi + + if use vulkan; then + vulkan_enable video_cards_d3d12 microsoft-experimental + vulkan_enable video_cards_freedreno freedreno + vulkan_enable video_cards_intel intel intel_hasvk + vulkan_enable video_cards_lavapipe swrast + vulkan_enable video_cards_panfrost panfrost + vulkan_enable video_cards_radeonsi amd + vulkan_enable video_cards_v3d broadcom + vulkan_enable video_cards_vc4 broadcom + vulkan_enable video_cards_virgl virtio + if use video_cards_nvk; then + vulkan_enable video_cards_nvk nouveau + if ! multilib_is_native_abi; then + echo -e "[binaries]\nrust = ['rustc', '--target=$(rust_abi $CBUILD)']" > "${T}/rust_fix.ini" + emesonargs+=( + --native-file "${T}"/rust_fix.ini + ) + fi + fi + fi + + driver_list() { + local drivers="$(sort -u <<< "${1// /$'\n'}")" + echo "${drivers//$'\n'/,}" + } + + local vulkan_layers + use vulkan && vulkan_layers+="device-select" + use vulkan-overlay && vulkan_layers+=",overlay" + emesonargs+=(-Dvulkan-layers=${vulkan_layers#,}) + + if use opengl && use X; then + emesonargs+=(-Dglx=dri) + else + emesonargs+=(-Dglx=disabled) + fi + + if [[ "${ABI}" == amd64 ]]; then + emesonargs+=($(meson_feature video_cards_intel intel-rt)) + fi + + use debug && EMESON_BUILDTYPE=debug + + emesonargs+=( + $(meson_use test build-tests) + -Dshared-glapi=enabled + -Ddri3=enabled + -Dexpat=enabled + $(meson_use opengl) + $(meson_feature opengl gbm) + $(meson_feature opengl gles1) + $(meson_feature opengl gles2) + $(meson_feature opengl glvnd) + $(meson_feature opengl egl) + $(meson_feature llvm) + $(meson_feature lm-sensors lmsensors) + $(meson_use osmesa) + $(meson_use selinux) + $(meson_feature unwind libunwind) + $(meson_feature zstd) + $(meson_use cpu_flags_x86_sse2 sse2) + -Dintel-clc=$(usex video_cards_intel system auto) + -Dvalgrind=$(usex valgrind auto disabled) + -Dvideo-codecs=$(usex proprietary-codecs "all" "all_free") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure + + if ! multilib_is_native_abi && use video_cards_nvk; then + sed -i -E '{N; s/(rule rust_COMPILER_FOR_BUILD\n command = rustc) --target=[a-zA-Z0-9=:-]+ (.*) -C link-arg=-m[[:digit:]]+/\1 \2/g}' build.ninja || die + fi +} + +multilib_src_test() { + meson_src_test -t 100 +} + +# $1 - VIDEO_CARDS flag (check skipped for "--") +# other args - names of DRI drivers to enable +gallium_enable() { + if [[ $1 == -- ]] || use $1; then + shift + GALLIUM_DRIVERS+=("$@") + fi +} + +vulkan_enable() { + if [[ $1 == -- ]] || use $1; then + shift + VULKAN_DRIVERS+=("$@") + fi +} diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 2d1ea9b8f124..6da3a0f80393 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -49,7 +49,9 @@ LICENSE="MIT SGI-B-2.0" SLOT="0" RADEON_CARDS="r300 r600 radeon radeonsi" -VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk panfrost v3d vc4 virgl vivante vmware zink" +VIDEO_CARDS="${RADEON_CARDS} + d3d12 freedreno intel lavapipe lima nouveau nvk panfrost v3d vc4 virgl + vivante vmware zink" for card in ${VIDEO_CARDS}; do IUSE_VIDEO_CARDS+=" video_cards_${card}" done @@ -85,7 +87,7 @@ REQUIRED_USE=" xa? ( X ) " -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119" +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.121" RDEPEND=" >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] @@ -319,7 +321,7 @@ multilib_src_configure() { use video_cards_r300 || use video_cards_r600 || use video_cards_radeonsi || - use video_cards_vmware || # swrast + use video_cards_vmware || # svga use video_cards_zink; then emesonargs+=($(meson_use d3d9 gallium-nine)) else @@ -360,15 +362,6 @@ multilib_src_configure() { emesonargs+=(-Dgallium-xa=disabled) fi - if use video_cards_freedreno || - use video_cards_lima || - use video_cards_panfrost || - use video_cards_v3d || - use video_cards_vc4 || - use video_cards_vivante; then - gallium_enable -- kmsro - fi - gallium_enable !llvm softpipe gallium_enable llvm llvmpipe gallium_enable video_cards_d3d12 d3d12 diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest index cf640ab6307b..0772903c4755 100644 --- a/media-libs/raptor/Manifest +++ b/media-libs/raptor/Manifest @@ -1,16 +1,5 @@ -AUX 0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch 1197 BLAKE2B f570a9a479e9d73f506c16dc7c3a75badf5da2e2407173b1ddd6ed8374f269ca628ea1b84adf94ac3b055db9a1d74f812db9557b96c92300f53c60a5048728a6 SHA512 1d392b6fc41d59349b75e9ab5adcf95a545c02709ec2a71b1855f98a444c9e753ca44464264c624fcaf6e49404f8f92d7aa7b85dfacecb1c7c28f3960e9c4fb9 -AUX raptor-2.0.15-clang-pointer-integer-warning.patch 1389 BLAKE2B 2673d64c4aa1ab6802a77c8f0196d17ac0b948aaa1fd18d120c566a0f453eb28e2478df5bdd3766daeebc079c61dbd1fc0eb13dcf0a89021cf2a9922151885be SHA512 774c4aa61d0184a76e8d23935c20e99e5b7be90dd3945ce071f89bbb8cc623b40037e2efcaeaa8019a2e8068e2e9b2bb0e74174a5c8e37c8603937c47c0301ab -AUX raptor-2.0.15-configure-clang16.patch 1215 BLAKE2B 6778c055bda00e769458745be34ad079a5ac1ca67e9756caef5a54f8a05ec634484b45573232c967d1d22ee91dcd3c96d63ccf5352e34d1931b23029c9b506ea SHA512 253d65d6958df061aeedfbf354db01a2f8770483c355ea26469c742de97ce690efb18e452a5fcecda06440f35bd68353cbefdadcf82fa8dea175de7b3a5eca57 -AUX raptor-2.0.15-dont_use_curl-config.patch 1681 BLAKE2B 5c3b241836e04dabbcd6fd9db6e89225fcd8cf4c1eed24dff7bb5348d7a0985633a7f9173a5279b04ec277ad0f775a18c52ae33af86b6522a21a3e63123d162d SHA512 28e3137592c14dcf9fc1d8401e6bc58af7f1abcab4886acde42a03dd7b61aa9b176672300951f7b4fcdf5128ce445f12594f7a09444331d1d6c34aaa7a4b9cfc -AUX raptor-2.0.15-heap-overflow.patch 1708 BLAKE2B cea8df63861760fe55f1320cbc0833d814c38148b3d5f2b7163348de48bd95a37ee3000d312ce76879c798182f74d60f49fcef89f5f051bd40febc0c1da68099 SHA512 f7df0ec3123ac8ec9f2852dfb54e380d210446a36ab2f74aa9d2dcb8346162046d239b4db9a0747b18e3d19f4dc1ce41d194557c5e53027a3618e81b7b251d3d -AUX raptor-2.0.15-libxml2-2.11.patch 1114 BLAKE2B 0e3462817a77917eb82066f7d9efb1a28fa27221596c18fb140dadb4c0fd074b0936ed5cbd9fc620548796f548ad75890b00a3f73300af7d754cea695dc7f993 SHA512 6d6c6ab0be9136ccf3e5b0c1140e88a49cbf94d4c36d27e3bb672ef13c83cdc7c8048c7ef883f9302fb3924ed78db1b059a983b9e1f8bce4522d5ef33a811ba7 -AUX raptor-2.0.15-use-pkg-config-icu.patch 1575 BLAKE2B 7dfc19ecd246a049663c7e1ad6853fc9b8540a5a26ae24e3479c8fc7da4e519fd3ab4d5c8003962aed1b744701d8294cf0f08a298f854c0e58ecef6e1b42b7e9 SHA512 5848ca19d016aa46991c54de4f3d2f80cbc17c922f75fac49b5d7a9e33be07f6102f9c929107a2ed193d95a1333c64b436fa25639cf1803d0d60c40185d617f3 -AUX raptor-2.0.15-use-pkg-config-libxml2.patch 1479 BLAKE2B 8b2f1d1a10b04d6c67b807af14c2e78444234c0202414fa172a34436e3c39399a02a7ebd7439f985dfc564b5899d2ffbf2c9a55b399b2db6cdc5b76118276055 SHA512 6d146068f386346af6e745791fb6adedb98fa7f9fe54838578c0a2261f9efadfca72e36eb5a9fd2e24a36264c780a7869482c16667a7bd067604b5cb62959c05 -AUX raptor-2.0.15-use-pkg-config-libxslt.patch 3514 BLAKE2B 5bcdb3fecf1149ad60387bc4c485d42fd9f764556ebf383201baa3d18426a85ca76a3f29723a8f74be71a58fcfba9f5263a1b1681d012ea4cc0167260702d111 SHA512 0eef2e55e8f77ceb8ac1dc639eea7cb7ee53e53d0ad8058af8b52d44d9f5a5a4e027c7c90360b950469f0c632721c8be068fde7f7fdb8e93aab06b56d3845150 AUX raptor-2.0.16-dont_use_curl-config.patch 2079 BLAKE2B 6e0df04d318e189613912d33e17b46ece25d7bc04f351dada3d2cf94f4bc8ef51d9da75bbeb2a4b94f4bf9168de0a3d6f7713f0537d83d4a8dc8c31dbe170f66 SHA512 82f857bace0048b393460ef03ec532cb884b45aafd799fba6b33bce02b1799cc34a0ccdc38b8d5fdc4d6e75ebe8c9380004dacadea18f25e17f5322fb608ae3f AUX raptor-2.0.16-libxml2-2.11-compatibility.patch 1079 BLAKE2B 044c7288b72d9d99154ab4b26a1709bc769eb737f2dffa7a3689e499981af54ec80cb3021218f437754feceedc20fea1db0d22a3f8ce0912afb101ec55d3cebc SHA512 2e00218a4c6ce3e214e5b1ea378310497cc95983a6fac8301534a59e722af5d2f3fd8ffc24ab0918ed8fc430b7127626aeaf844df8a9b3aefd3f40c1c1909e50 -DIST raptor2-2.0.15.tar.gz 1886657 BLAKE2B 0a39c7b5705bfbf2daa0ca633f79693953b4dfe24c144008d1646a9840a36d4d7ce153b527450647127ec2522047dbd0a6e71f307ee5656951f7e4b610adfd22 SHA512 563dd01869eb4df8524ec12e2c0a541653874dcd834bd1eb265bc2943bb616968f624121d4688579cdce11b4f00a8ab53b7099f1a0850e256bb0a2c16ba048ee DIST raptor2-2.0.16.tar.gz 1750726 BLAKE2B 1e5e5742ba4cdaacb98a9ba77a9352589df0da60869e7721ee140c81ed4886bf909b37b247bd925c82a4ac44b3c11a909c913f0851d49a1d9d91c9293189266d SHA512 9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44 -EBUILD raptor-2.0.15-r8.ebuild 2038 BLAKE2B b6c6e9d5fe16b9be682a427a3ca447f8667c9dd065a8bcf1a055e3217b535a185857bb2ac150dc453ebc443accff1c852a624e9aafd2e9c7503be31a36cceac4 SHA512 11e730facf8eaf61a1f98dd53634ed387a2386b62afcfc3d3043819d2fe107c5d0f5701809bd11aa540fd8eae4281e7b341e61fcbbaeea7019021815f8db3c3d EBUILD raptor-2.0.16.ebuild 1663 BLAKE2B 75de47f9ba7c809f35545ae6def151f47aa6f4104bc413f95098ebcd9d4bd68229fb2733a0691eb0c1b79ee39f7110b26e9e95d897288e8ec556ff70d2e30626 SHA512 fd9cc69a984ffcbf2ea2d133c846ea27c47c56bff3a97f47d19a5c774672cefe76b707f34b343f561b7e0dab3a2d3d313ed80fe6a7942463fbe3a38363bd18e2 MISC metadata.xml 406 BLAKE2B 00da42e759d35fc777ebbce9df89b600758104eb240cbecff33df51779ac9f565a3f7ee35a89a7fb91fd234c1a19b89ff96416189a5015e5563cbd4f420f616a SHA512 1855a61f21b684e5abbf35c3276dc8185eb805574c65e84593eed08d1598d213ca99c17bfe86be3db3172dc103b1dd2b8524e22aeeaf912afa097d022ad0c5d2 diff --git a/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch b/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch deleted file mode 100644 index dc693dfec222..000000000000 --- a/media-libs/raptor/files/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a549457461874157c8c8e8e8a6e0eec06da4fbd0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> -Date: Tue, 24 Nov 2020 10:30:20 +0000 -Subject: [PATCH] CVE-2020-25713 raptor2: malformed input file can lead to a - segfault - -due to an out of bounds array access in -raptor_xml_writer_start_element_common - -See: -https://bugs.mageia.org/show_bug.cgi?id=27605 -https://www.openwall.com/lists/oss-security/2020/11/13/1 -https://gerrit.libreoffice.org/c/core/+/106249 ---- - src/raptor_xml_writer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c -index 56993dc3..4426d38c 100644 ---- a/src/raptor_xml_writer.c -+++ b/src/raptor_xml_writer.c -@@ -227,7 +227,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - - /* check it wasn't an earlier declaration too */ - for(j = 0; j < nspace_declarations_count; j++) -- if(nspace_declarations[j].nspace == element->attributes[j]->nspace) { -+ if(nspace_declarations[j].nspace == element->attributes[i]->nspace) { - declare_me = 0; - break; - } --- -2.28.0 diff --git a/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch b/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch deleted file mode 100644 index badb450456e4..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-clang-pointer-integer-warning.patch +++ /dev/null @@ -1,44 +0,0 @@ -https://bugs.gentoo.org/869380 -https://github.com/dajobe/raptor/commit/567d4d1ab639d924e8d5af459476f331b9af0ce5 - -From: Dave Beckett <dave@dajobe.org> -Date: Tue, 4 Nov 2014 15:25:20 -0800 -Subject: [PATCH] Fix error returns in new world methods - -(raptor_world_get_parser_factory, -raptor_world_get_serializers_count): Fix return value in assertions ---- a/src/raptor_parse.c -+++ b/src/raptor_parse.c -@@ -252,12 +252,12 @@ raptor_world_get_parser_factory(raptor_world *world, const char *name) - * - * Get number of parsers - * -- * Return value: number of parsers -+ * Return value: number of parsers or <0 on failure - **/ - int - raptor_world_get_parsers_count(raptor_world* world) - { -- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); -+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1); - - raptor_world_open(world); - ---- a/src/raptor_serialize.c -+++ b/src/raptor_serialize.c -@@ -235,12 +235,12 @@ raptor_get_serializer_factory(raptor_world* world, const char *name) - * - * Get number of serializers - * -- * Return value: number of serializers -+ * Return value: number of serializers or <0 on failure - **/ - int - raptor_world_get_serializers_count(raptor_world* world) - { -- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); -+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, -1); - - raptor_world_open(world); - - diff --git a/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch b/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch deleted file mode 100644 index ab62fd9bff0c..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-configure-clang16.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/dajobe/raptor/pull/55 - -From b7c252e1d5601321a5a6f6627745753b5c704762 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Fri, 4 Nov 2022 01:53:32 +0000 -Subject: [PATCH] configure.ac: fix -Wimplicit-function-declaration in - HAVE___FUNCTION__ test - -This breaks with Clang 16 which makes such errors fatal: -``` -error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] -error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] -``` - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/configure.ac -+++ b/configure.ac -@@ -335,7 +335,8 @@ AC_C_BIGENDIAN - AC_C_INLINE - - AC_MSG_CHECKING(whether __FUNCTION__ is available) --AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { printf(__FUNCTION__); }])], -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include <stdio.h> -+int main() { printf(__FUNCTION__); }])], - [AC_DEFINE([HAVE___FUNCTION__], [1], [Is __FUNCTION__ available]) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - diff --git a/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch b/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch deleted file mode 100644 index bab174176cbe..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-dont_use_curl-config.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://bugs.gentoo.org/552474 - ---- raptor2-2.0.15/configure.ac -+++ raptor2-2.0.15/configure.ac -@@ -524,49 +524,12 @@ - fi - fi - --dnl curl --AC_ARG_WITH(curl-config, [ --with-curl-config=PATH Location of libcurl curl-config []], curl_config="$withval", curl_config="") -- --if test "X$curl_config" != "Xno" ; then -- if test "X$curl_config" != "X" ; then -- AC_MSG_CHECKING(for $curl_config) -- -- if test -f $curl_config ; then -- CURL_CONFIG=$curl_config -- AC_MSG_RESULT(yes) -- else -- AC_MSG_RESULT(no - searching PATH) -- fi -- fi -- if test "X$CURL_CONFIG" = "X" ; then -- AC_CHECK_PROGS(CURL_CONFIG, curl-config) -- fi --fi -- - libcurl_source=no --if test "X$CURL_CONFIG" != "X"; then -- LIBCURL_CFLAGS=`$CURL_CONFIG --cflags` -- LIBCURL_LIBS=`$CURL_CONFIG --libs` -- -- CPPFLAGS="$LIBCURL_CFLAGS $CPPFLAGS" -- LIBS="$LIBS $LIBCURL_LIBS" -- AC_CHECK_HEADER(curl/curl.h) -- AC_CHECK_FUNC(curl_easy_init, have_curl_easy_init=yes, have_curl_easy_init=no) -- -- AC_MSG_CHECKING(for libcurl via curl-config) -- if test $have_curl_easy_init = yes; then -- libcurl_source="curl-config" -- LIBCURL_VERSION=`$CURL_CONFIG --version | sed -e 's/^libcurl *//'` -- fi -- CPPFLAGS="$oCPPFLAGS" -- LIBS="$oLIBS" --else -- PKG_CHECK_MODULES([LIBCURL],[libcurl],[ -- LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -- libcurl_source="pkg-config" -- ], [:]) -- AC_MSG_CHECKING(for libcurl via pkg-config) --fi -+PKG_CHECK_MODULES([LIBCURL],[libcurl],[ -+ LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -+ libcurl_source="pkg-config" -+], [:]) -+AC_MSG_CHECKING(for libcurl via pkg-config) - - if test "$libcurl_source" = "no"; then - AC_MSG_RESULT(no - not found) diff --git a/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch b/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch deleted file mode 100644 index 3418d4bfd261..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-heap-overflow.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 590681e546cd9aa18d57dc2ea1858cb734a3863f Mon Sep 17 00:00:00 2001 -From: Dave Beckett <dave@dajobe.org> -Date: Sun, 16 Apr 2017 23:15:12 +0100 -Subject: [PATCH] Calcualte max nspace declarations correctly for XML writer - -(raptor_xml_writer_start_element_common): Calculate max including for -each attribute a potential name and value. - -Fixes Issues #0000617 http://bugs.librdf.org/mantis/view.php?id=617 -and #0000618 http://bugs.librdf.org/mantis/view.php?id=618 ---- - src/raptor_xml_writer.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c -index 693b946..0d3a36a 100644 ---- a/src/raptor_xml_writer.c -+++ b/src/raptor_xml_writer.c -@@ -181,9 +181,10 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - size_t nspace_declarations_count = 0; - unsigned int i; - -- /* max is 1 per element and 1 for each attribute + size of declared */ - if(nstack) { -- int nspace_max_count = element->attribute_count+1; -+ int nspace_max_count = element->attribute_count * 2; /* attr and value */ -+ if(element->name->nspace) -+ nspace_max_count++; - if(element->declared_nspaces) - nspace_max_count += raptor_sequence_size(element->declared_nspaces); - if(element->xml_language) -@@ -237,7 +238,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, - } - } - -- /* Add the attribute + value */ -+ /* Add the attribute's value */ - nspace_declarations[nspace_declarations_count].declaration= - raptor_qname_format_as_xml(element->attributes[i], - &nspace_declarations[nspace_declarations_count].length); --- -2.9.3 diff --git a/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch b/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch deleted file mode 100644 index 605301ca0fd1..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-libxml2-2.11.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://bugs.gentoo.org/906227 -https://github.com/dajobe/raptor/issues/59 -https://github.com/dajobe/raptor/pull/58 - -From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001 -From: David Anes <david.anes@suse.com> -Date: Thu, 4 May 2023 11:54:02 +0200 -Subject: [PATCH] Remove the access to entities 'checked' private symbol for - libxml2 2.11.0 - -Since version 2.11.0, some private symbols that were never intended -as public API/ABI have been removed from libxml2, therefore the field -'checked' is no longer present and raptor fails to build in this -scenario. ---- a/src/raptor_libxml.c -+++ b/src/raptor_libxml.c -@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name) - - ret->owner = 1; - --#if LIBXML_VERSION >= 20627 -+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100 - /* Checked field was released in 2.6.27 on 2006-10-25 - * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6 - * -+ * and was later removed in version 2.11.0 - */ - - /* Mark this entity as having been checked - never do this again */ - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch deleted file mode 100644 index 60fffcd804ee..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-icu.patch +++ /dev/null @@ -1,48 +0,0 @@ -https://github.com/dajobe/raptor/commit/3af116d61babd7042b42018c67a63baebf486df7 - -Fixes build with e.g. lld. - -From 3af116d61babd7042b42018c67a63baebf486df7 Mon Sep 17 00:00:00 2001 -From: Hugh McMaster <hugh.mcmaster@outlook.com> -Date: Fri, 21 Aug 2020 20:48:17 +1000 -Subject: [PATCH] configure.ac: Use PKG_CHECK_MODULES to detect the ICU library - ---- a/configure.ac -+++ b/configure.ac -@@ -621,21 +621,10 @@ else - AC_MSG_RESULT(yes - $LIBCURL_VERSION) - fi - -- --AC_ARG_WITH(icu-config, [ --with-icu-config=PATH Location of ICU icu-config []], icu_config="$withval", icu_config="") -- --have_icu=no --AC_MSG_CHECKING(for ICU) --if test "X$icu_config" != "Xno" -a "X$icu_config" != "X" ; then -- ICU_CONFIG=$icu_config -- ICU_VERSION=`$ICU_CONFIG --version` -+PKG_CHECK_MODULES([ICU], [icu-uc], [ - have_icu=yes -- AC_MSG_RESULT(yes - version $ICU_VERSION) --else -- AC_MSG_RESULT(no) --fi --dnl Note there is NO automated searching for icu-config -- -+ ICU_VERSION=`$PKG_CONFIG icu-uc --modversion` -+], [have_icu=no]) - - AC_ARG_WITH(www-config, [ --with-libwww-config=PATH Location of W3C libwww libwww-config []], libwww_config="$withval", libwww_config="") - -@@ -1183,8 +1172,8 @@ dnl ICU for NFC check - AC_MSG_CHECKING(NFC library to use) - nfc_library=none - if test $need_icu = yes; then -- CPPFLAGS="$CPPFLAGS `$ICU_CONFIG --cppflags-searchpath`" -- RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS `$ICU_CONFIG --ldflags-searchpath` -licuuc" -+ CPPFLAGS="$CPPFLAGS $ICU_CFLAGS" -+ RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS $ICU_LIBS" - AC_LIBOBJ(raptor_nfc_icu) - nfc_library="ICU $ICU_VERSION" - fi - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch deleted file mode 100644 index e53111b857fa..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxml2.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://github.com/dajobe/raptor/commit/3f9335b3cfd945a8d5f6f75f87cab04c53cc2b6d - -From 3f9335b3cfd945a8d5f6f75f87cab04c53cc2b6d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> -Date: Tue, 27 Oct 2015 10:35:35 +0100 -Subject: [PATCH] configure.ac: do additional checks on libxml2 when library is - found -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In yocto cross environments we must use pkg-config. Configuring with - - --without-xml2-config - --without-curl-config - -causes - -| checking for LIBXML... yes -| checking for libxml via pkg-config... yes - 2.9.2 -| checking for LIBCURL... yes -| checking for libcurl via pkg-config... yes - 7.44.0 -| checking for ICU... no -| checking for yajl installation... not found. Get it from http://lloyd.github.com/yajl/ and use --with-yajl=DIR if necessary to configure the installation directory. -| checking GRDDL parser requirements... no - libxml2 and libxslt are both not available - -Applying this patch fixes configuration. - -Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> ---- a/configure.ac -+++ b/configure.ac -@@ -599,7 +599,7 @@ have_libxml=0 - need_libxml=0 - - oCPPFLAGS="$CPPFLAGS" --if test "X$XML_CONFIG" != X; then -+if test "X$libxml_source" != X; then - CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS" - LIBS="$LIBS $LIBXML_LIBS" - AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no) - diff --git a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch b/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch deleted file mode 100644 index 5ef9ac1b6ffa..000000000000 --- a/media-libs/raptor/files/raptor-2.0.15-use-pkg-config-libxslt.patch +++ /dev/null @@ -1,102 +0,0 @@ -Rebased version of https://github.com/dajobe/raptor/commit/abfdfb44cc00dfafbad4e594618621fce21590e1 - ---- a/configure.ac -+++ b/configure.ac -@@ -524,6 +524,44 @@ if test "X$xslt_config" != "Xno" ; then - fi - fi - -+if test "X$XSLT_CONFIG" != "X"; then -+ XSLT_CFLAGS=`$XSLT_CONFIG --cflags` -+ XSLT_LIBS=`$XSLT_CONFIG --libs` -+ -+ CPPFLAGS="$XSLT_CFLAGS $CPPFLAGS" -+ LIBS="$LIBS $XSLT_LIBS" -+ -+ AC_CHECK_FUNC(xsltSaveResultToString, have_xsltSaveResultToString=yes, have_xsltSaveResultToString=no) -+ AC_MSG_CHECKING(for libxslt via xslt-config) -+ if test $have_xsltSaveResultToString = yes; then -+ have_libxslt=1 -+ LIBXSLT_VERSION=`$XSLT_CONFIG --version` -+ libxslt_version_dec=`echo $LIBXSLT_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -+ libxslt_min_version_dec=`echo $libxslt_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + 3)};'` -+ AC_MSG_RESULT(yes - version $LIBXSLT_VERSION) -+ if test $libxslt_version_dec -lt $libxslt_min_version_dec; then -+ AC_MSG_WARN(Using libxslt $LIBXSLT_VERSION is unsupported - $libxslt_min_version or newer required.) -+ have_libxslt=0 -+ fi -+ fi -+ -+ AC_CHECK_FUNC(xsltInit) -+ -+ AC_CHECK_HEADERS(libxslt/xslt.h) -+ if test "$ac_cv_header_libxslt_xslt_h" = no ; then -+ AC_MSG_WARN(libxslt library found but not headers - disabling) -+ have_libxslt_lib=0 -+ have_libxslt=0 -+ fi -+ CPPFLAGS="$oCPPFLAGS" -+ LIBS="$oLIBS" -+else -+ PKG_CHECK_MODULES([XSLT], [libxslt > $libxslt_min_version], [ -+ LIBXSLT_VERSION=`$PKG_CONFIG libxslt --modversion` -+ have_libxslt=1 -+ ], [have_libxslt=0]) -+fi -+ - libcurl_source=no - PKG_CHECK_MODULES([LIBCURL],[libcurl],[ - LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion` -@@ -650,41 +688,6 @@ fi - CPPFLAGS="$oCPPFLAGS" - LIBS="$oLIBS" - -- --have_libxslt=0 -- --if test "X$XSLT_CONFIG" != X; then -- CPPFLAGS="`$XSLT_CONFIG --cflags` $CPPFLAGS" -- LIBS="$LIBS `$XSLT_CONFIG --libs`" -- AC_CHECK_FUNC(xsltSaveResultToString, have_xsltSaveResultToString=yes, have_xsltSaveResultToString=no) -- AC_MSG_CHECKING(for system libxslt library) -- if test $have_xsltSaveResultToString = yes; then -- have_libxslt=1 -- LIBXSLT_VERSION=`$XSLT_CONFIG --version` -- libxslt_version_dec=`echo $LIBXSLT_VERSION | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -- libxslt_min_version_dec=`echo $libxslt_min_version | $AWK -F. '{printf("%d\n", 10000*$1 + 100*$2 + $3)};'` -- AC_MSG_RESULT(yes - version $LIBXSLT_VERSION) -- if test $libxslt_version_dec -lt $libxslt_min_version_dec; then -- AC_MSG_WARN(Using libxslt $LIBXSLT_VERSION is unsupported - $libxslt_min_version or newer required.) -- have_libxslt=0 -- fi -- else -- AC_MSG_RESULT(no) -- fi -- -- AC_CHECK_FUNC(xsltInit) -- -- AC_CHECK_HEADERS(libxslt/xslt.h) -- if test "$ac_cv_header_libxslt_xslt_h" = no ; then -- AC_MSG_WARN(libxslt library found but not headers - disabling) -- have_libxslt_lib=0 -- have_libxslt=0 -- fi --fi --CPPFLAGS="$oCPPFLAGS" --LIBS="$oLIBS" -- -- - dnl Check for JSON library - - AC_ARG_WITH(yajl, [ --with-yajl=DIR YAJL installation directory or 'no' to disable (default=auto)], yajl_prefix="$withval", yajl_prefix="none") -@@ -1184,8 +1187,8 @@ AM_CONDITIONAL(RAPTOR_XML_LIBXML, test $need_libxml = 1) - - - if test $need_libxslt = 1; then -- RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS `$XSLT_CONFIG --libs`" -- CPPFLAGS="`$XSLT_CONFIG --cflags` $CPPFLAGS" -+ RAPTOR_LDFLAGS="$RAPTOR_LDFLAGS $XSLT_LIBS" -+ CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS" - fi - - if test $need_libyajl = 1; then diff --git a/media-libs/raptor/raptor-2.0.15-r8.ebuild b/media-libs/raptor/raptor-2.0.15-r8.ebuild deleted file mode 100644 index 76527c9ee736..000000000000 --- a/media-libs/raptor/raptor-2.0.15-r8.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -MY_PN=${PN}2 -MY_P=${MY_PN}-${PV} - -DESCRIPTION="The RDF Parser Toolkit" -HOMEPAGE="https://librdf.org/raptor/" -SRC_URI="https://download.librdf.org/source/${MY_P}.tar.gz" - -LICENSE="Apache-2.0 GPL-2 LGPL-2.1" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+curl debug json static-libs" - -DEPEND=" - dev-libs/libxml2[${MULTILIB_USEDEP}] - dev-libs/libxslt[${MULTILIB_USEDEP}] - dev-libs/icu:=[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - curl? ( net-misc/curl[${MULTILIB_USEDEP}] ) - json? ( dev-libs/yajl[${MULTILIB_USEDEP}] ) -" -RDEPEND="${DEPEND} - !media-libs/raptor:0 -" -BDEPEND=" - >=sys-devel/bison-3 - app-alternatives/lex - virtual/pkgconfig -" - -S="${WORKDIR}/${MY_P}" - -DOCS=( AUTHORS ChangeLog NEWS NOTICE README ) -HTML_DOCS=( {NEWS,README,RELEASE,UPGRADING}.html ) - -PATCHES=( - "${FILESDIR}/${P}-heap-overflow.patch" - "${FILESDIR}/${P}-dont_use_curl-config.patch" #552474 - "${FILESDIR}/0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch" - "${FILESDIR}/${P}-use-pkg-config-libxml2.patch" - "${FILESDIR}/${P}-use-pkg-config-icu.patch" - "${FILESDIR}/${P}-use-pkg-config-libxslt.patch" - "${FILESDIR}/${P}-clang-pointer-integer-warning.patch" - "${FILESDIR}/${P}-configure-clang16.patch" - "${FILESDIR}/${P}-libxml2-2.11.patch" -) - -src_prepare() { - default - - # bug #552474 - eautoreconf - - multilib_copy_sources -} - -multilib_src_configure() { - # FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn! - - local myeconfargs=( - --with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html - $(usex curl --with-www=curl --with-www=xml) - $(use_enable debug) - $(use_with json yajl) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -j1 test -} - -multilib_src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/svt-av1/Manifest b/media-libs/svt-av1/Manifest index ca84e328bb72..adc83ba456fb 100644 --- a/media-libs/svt-av1/Manifest +++ b/media-libs/svt-av1/Manifest @@ -1,9 +1,11 @@ AUX svt-av1-1.5.0-fortify-no-override.patch 1064 BLAKE2B 0038d2f4554df3caf46cafd5afd70c7e9f38ad06433b317644883702697289f6ef2d739f0878c7b919643599602bfca87cdb5c63eee57c3ade81642d5fbbc4d6 SHA512 b6ca1931790300cef2459a455719d4604f5d219dd1eeceef2cc083e79778b1b270890ead05d3159d95059d4c8b16d6c3a04c56fc04ce089249280854728b71f8 DIST SVT-AV1-v1.4.1.tar.bz2 9440077 BLAKE2B ed79d566afaa22fdfb1925bf6a75e8e55abdec1f76333a0cfedc92f9ca524b36b622b5c40af5d4846a51a3cd9aa951eb617bf6007513d83b7f172c4f9bb0de27 SHA512 8297ef131ff8e7e6cbb0d19d2ba98904455d2953cde3fb0cbae714d050980a558e4cbed911968b5075d7aca758ca939a5091b68df557903387e3f22ac4bda1a1 DIST SVT-AV1-v1.5.0.tar.bz2 9490521 BLAKE2B 6f54c1706ed65b8248bc434411cfdea5869765c42682100f5aa6b72d08626bd896f6a9a8067ac8af3c89c72bd324e74942b0f424ff33cc2f6ff54d9204ef7581 SHA512 d5aa7679aeaa1e19f21906a36a7214c72cdaee77e1b5c1946ded43f8381ec2d705e671130589207b65b920a4fcaa9ca1d0037f88ef8d2303125d7f7aa54e3a2e +DIST SVT-AV1-v2.1.2.tar.bz2 11764554 BLAKE2B ad9b7a732ce3991ddbe796e52db1559928c10c94fb40e584c5e4ad0af8ac49b056c4b5219d62a3dfc0dc5122b82980fdab1675a80b8a20366da42f0dcebee9d4 SHA512 5858ac456971dd2d41ab6bf0e181cc9dfd9d408fb7ec0ee20d51a62cb2b92ea60fc389aea6478b8cce679f731fbac21e2ae0343a33e8e5b35efffc84d51d41d6 DIST svt-av1-1.1.0.tar.gz 9882945 BLAKE2B 2673fdbe17b36607e581cc540ca181672d16b3fbc0dd9c1a8b100ebea6b7a6872d6fa55976cb19c1c8afd50c5c09b67fbec1bcc892007ccd41e7f7ad68027d83 SHA512 87d661183de33554d228c2fa72deb9a945f2550083eb25688b4dc0676be384373a6a52af235066d85ce963ffbc7751c8afb46a2bc1c09e00f81ea0db5a232522 EBUILD svt-av1-1.1.0.ebuild 1230 BLAKE2B c052068cc58e86e6f8147b5fdadf06633dcfe6fcb4dd020783e151be6dec1f59a8e1f0fce7ce7164cf0980973dcd579b0aadbd5a063dd1b26d4db5cd427a54d6 SHA512 3be02f20fe8ad0b4990d669bea9a9e266f65c529a41dfbf833e5477fcd6534f7a515ced45612862fe8213acd577eea30699e0c84bb9e5ba60e78c743785a4bef EBUILD svt-av1-1.4.1.ebuild 1351 BLAKE2B d9d2c3936b391ab1ca9e55a0d54f8f01211df8860cb44d9a35901e0354674a9daa483cd15bcde347d0ebcd10da110e0a7fcad592bd3634a101a0ef1a2fa8dd39 SHA512 6be3587e7fb497cddfefe28552a7a1b701f1f58c1f7bc0136daaa973736a122352c65402e62828a0a1a132a5d8ad042788ba9734b8b5193e5db92d14cc3bcb9b EBUILD svt-av1-1.5.0-r1.ebuild 1445 BLAKE2B 683590cd7cef9c9db5370d90531c97d810d9455dca9db2a6e064d0a6ee2015eae7124bfe18b3078576b0610fdf1e01023f963ad6dac8b62db3a0120da0f2272d SHA512 1779f0d52033d26d4aa279bb8410951b19114bc616607a70de126515c8ecb3666179d19842eb41c6e95cb79aeb320e585f91b2af7ace1ecc8c445210eefc0246 -EBUILD svt-av1-9999.ebuild 1424 BLAKE2B 0dbc82ef36f8de6d4a1c37dce1a1a2580e3ae1cea759b17a72ae9b2b5bb0be017e2b06b11e4a370e64d0871fb6cb57aad4a88e00de0fc2e5e7a1b9eb324e089a SHA512 f1f66fc5989b29226ff251cb8ea42b773429e697d42972a31a13ddcc33cae295220fab9966a6113dc2d7017e0f74a3d5c4d4a96428cf50a392f2c734e90ec7fb +EBUILD svt-av1-2.1.2.ebuild 1465 BLAKE2B 4299f5da459e8b442edf4584bfe9b8349d30ea29ce60b7229ca158acc7a0a611000debba52f7dce195d9e05ded125b4031d9ada4559bb27177a2eb05ebbc81a1 SHA512 247fac35dd4dad9fe232184113d2725f98baabde7e934c5a53b74370ca449820adbfeeb8f3d98a15b424f3db0d707a5ec262696f363cdc7175d558cc662183de +EBUILD svt-av1-9999.ebuild 1465 BLAKE2B 4299f5da459e8b442edf4584bfe9b8349d30ea29ce60b7229ca158acc7a0a611000debba52f7dce195d9e05ded125b4031d9ada4559bb27177a2eb05ebbc81a1 SHA512 247fac35dd4dad9fe232184113d2725f98baabde7e934c5a53b74370ca449820adbfeeb8f3d98a15b424f3db0d707a5ec262696f363cdc7175d558cc662183de MISC metadata.xml 309 BLAKE2B a2ecbfce87a4b009eb73ed20aee779d72424bc55e47ad0584e81278ae60fde02cab3fff0d758d8d64c6c801ac2edfd482903677bfcdd8508d6317cde72a5928e SHA512 2aac0ede3b705ddb81342f85437aaf34cea0644a1c8a7cc06c9d4c1a7d47ee60993040418f774f395e27c818ca41b19a1bf1ef2143426e15c6ddf5fb588bf84f diff --git a/media-libs/svt-av1/svt-av1-2.1.2.ebuild b/media-libs/svt-av1/svt-av1-2.1.2.ebuild new file mode 100644 index 000000000000..32576529b547 --- /dev/null +++ b/media-libs/svt-av1/svt-av1-2.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib flag-o-matic + +DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)" +HOMEPAGE="https://gitlab.com/AOMediaCodec/SVT-AV1" + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/AOMediaCodec/SVT-AV1.git" +else + SRC_URI="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${PV}/SVT-AV1-v${PV}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + S="${WORKDIR}/SVT-AV1-v${PV}" +fi + +# Also see "Alliance for Open Media Patent License 1.0" +LICENSE="BSD-2 Apache-2.0 BSD ISC LGPL-2.1+ MIT" +SLOT="0/$(ver_cut 1)" + +BDEPEND="amd64? ( dev-lang/yasm )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-fortify-no-override.patch +) + +multilib_src_configure() { + append-ldflags -Wl,-z,noexecstack + + local mycmakeargs=( + # Tests require linking against https://github.com/Cidana-Developers/aom/tree/av1-normative ? + # undefined reference to `ifd_inspect' + # https://github.com/Cidana-Developers/aom/commit/cfc5c9e95bcb48a5a41ca7908b44df34ea1313c0 + # .. and https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/.gitlab/workflows/linux/.gitlab-ci.yml implies it's all quite manual? + -DBUILD_TESTING=OFF + -DCMAKE_OUTPUT_DIRECTORY="${BUILD_DIR}" + -DENABLE_AVX512=ON + ) + + [[ ${ABI} != amd64 ]] && mycmakeargs+=( -DCOMPILE_C_ONLY=ON ) + + cmake_src_configure +} diff --git a/media-libs/svt-av1/svt-av1-9999.ebuild b/media-libs/svt-av1/svt-av1-9999.ebuild index 01c83e30f392..32576529b547 100644 --- a/media-libs/svt-av1/svt-av1-9999.ebuild +++ b/media-libs/svt-av1/svt-av1-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,13 +13,13 @@ if [[ ${PV} = 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/AOMediaCodec/SVT-AV1.git" else SRC_URI="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${PV}/SVT-AV1-v${PV}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" S="${WORKDIR}/SVT-AV1-v${PV}" fi # Also see "Alliance for Open Media Patent License 1.0" LICENSE="BSD-2 Apache-2.0 BSD ISC LGPL-2.1+ MIT" -SLOT="0" +SLOT="0/$(ver_cut 1)" BDEPEND="amd64? ( dev-lang/yasm )" @@ -37,6 +37,7 @@ multilib_src_configure() { # .. and https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/.gitlab/workflows/linux/.gitlab-ci.yml implies it's all quite manual? -DBUILD_TESTING=OFF -DCMAKE_OUTPUT_DIRECTORY="${BUILD_DIR}" + -DENABLE_AVX512=ON ) [[ ${ABI} != amd64 ]] && mycmakeargs+=( -DCOMPILE_C_ONLY=ON ) |