diff options
Diffstat (limited to 'media-libs')
252 files changed, 7169 insertions, 2249 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 27d3a0e7af83..6c6674865ea7 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/alure/Manifest b/media-libs/alure/Manifest index 275c217392e3..a14562de69a5 100644 --- a/media-libs/alure/Manifest +++ b/media-libs/alure/Manifest @@ -1,5 +1,6 @@ +AUX alure-1.2-cmake-flags.patch 5581 BLAKE2B e5dae50b51a4b78945ce875fb7330e0edb95b24ed96c7d1270d6ca1b8412f18097c8228326eb7110eac8e973bf3819f4ee71e21706f206061b4aec5ef5c2cae2 SHA512 17258c7c6be2ee211f70c097a98b3069538d6e9b4488c0bd7de4028f8552e8e26425fed4bc7c33e2ffbae9a3c7ce8f397b9305448d5931c731900392f24006b7 AUX alure-1.2-include-unistd.patch 192 BLAKE2B 61cfebb2c2f8d2ea0e228d81f37d25b6b59445711658a04e7e85c20624099aeb86c065e6d7ab4f3cdc65b5ba35248cde4c93104c971fd008c1aba19de259bd9f SHA512 ebb1f841ea28f7e7690f1cdf6991af6bd97486473b63ffd11d79b05d66faf44b8ee590e45b0b1ede69af99a3f817103e8e444885834defd4ccbc76e2104649e8 AUX alure-1.2-new-dumb.patch 954 BLAKE2B e136519eb210cc003f8e66a02a1023cd5c169998dfef99b2dcf3d46b6259a04c3c7094bd4bd892f92b4a53a48cd3ca6028da4163d418b31eb5ae5a9380270582 SHA512 27000ad19dbd9278fea67c40e037745b182c4b067b30d5853274b1cc4216813ba0d9f3e292e4d997d93b870cfc0117cfd1a9a2f5adfc77defb908765f3fd03ea DIST alure-1.2.tar.bz2 65210 BLAKE2B 6e99e5bb56c96db27b2ab5ff67c98406636e5b1fc9e446356234c332edf0a4c167707068edf380f99a3744cf0f26a76c1c0325401977d1b3fe8bc989c4a1129c SHA512 f1a2dbbe6870c9d34da724e49cad993cabdca393482bf6476adc925ba5da2a34dc26d86e612e6ed829183c6df595d46921766f46063d0d478ddb18deeb8878a6 -EBUILD alure-1.2-r3.ebuild 1273 BLAKE2B 10986afe19fd150b0ec6c4aecf62e978bf4facf8c3ce2f7cbbd4e11a328f6fd04dcb79a5f1de70f834f582d20c53074ec2aa8d29c8d8771df65f502c48eae69e SHA512 c55ab8d3aacf518e968a6593202cd6a649b819db3ee039cffe29621ec60d6033675c1a6f3c9f18f625e6cb3109f2b6ed135e1a063d093af6c62a63b20778f80b +EBUILD alure-1.2-r4.ebuild 1342 BLAKE2B aad29b3d37234015ec48404572cf5768ac6af23018d5f74586ba62b0126fc54efbfda67f71f3f23d4ae53179940cc02d91dfaf2b7862a2ce96836063fd1549d6 SHA512 9e2ea0153ff01413e7bb526edfecf99e7c071810ed7871a08a32dfdcaea9f5bc81df0beaabbeba2e6a2a7e7563012fa2b492660b32481018b4bb46b23c758150 MISC metadata.xml 441 BLAKE2B 2dde79d4d093760f8483f08e057ea520f2ec5f26dc4453bc4b0bfea8feff7e49a236148f9c3688f9c668c1f8e232f06f39ba1dc2466be0b962b16fe7e6f7cf18 SHA512 36cdf23d28482ca754e82574845575db0f231d89e8bbac4c7aa1b25315a04ccd83f7b3fbe97b9754e2fc13726fc7032b1fe97cf7de0b571da98d385d8222b55c diff --git a/media-libs/alure/alure-1.2-r3.ebuild b/media-libs/alure/alure-1.2-r4.ebuild index ee620b3c4b69..fe5fb9fa0bbb 100644 --- a/media-libs/alure/alure-1.2-r3.ebuild +++ b/media-libs/alure/alure-1.2-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,8 +6,8 @@ EAPI=8 inherit cmake DESCRIPTION="The OpenAL Utility Toolkit" -HOMEPAGE="https://kcat.strangesoft.net/alure.html" -SRC_URI="https://kcat.strangesoft.net/alure-releases/${P}.tar.bz2" +HOMEPAGE="https://web.archive.org/web/20200503181758/https://kcat.strangesoft.net/alure.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="MIT" SLOT="0" @@ -27,6 +27,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-include-unistd.patch "${FILESDIR}"/${P}-new-dumb.patch + "${FILESDIR}"/${P}-cmake-flags.patch ) src_prepare() { @@ -38,6 +39,7 @@ src_prepare() { src_configure() { # FIXME: libmodplug/sndfile.h from libmodplug conflict with sndfile.h from libsndfile local mycmakeargs=( + -DDYNLOAD=OFF -DMODPLUG=OFF -DDUMB=$(usex dumb) -DBUILD_EXAMPLES=$(usex examples) diff --git a/media-libs/alure/files/alure-1.2-cmake-flags.patch b/media-libs/alure/files/alure-1.2-cmake-flags.patch new file mode 100644 index 000000000000..726200253528 --- /dev/null +++ b/media-libs/alure/files/alure-1.2-cmake-flags.patch @@ -0,0 +1,110 @@ +Fix flag handling in newer CMake versions by using the semicolon-separated +COMPILE_OPTIONS instead of COMPILE_FLAGS. + +James Le Cuirot <chewi@gentoo.org> + +diff -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2011-07-29 09:37:48.000000000 +0100 ++++ b/CMakeLists.txt 2024-08-05 18:57:24.894117058 +0100 +@@ -74,7 +74,7 @@ + CHECK_FUNCTION_EXISTS(_fseeki64 HAVE__FSEEKI64) + ENDIF(NOT HAVE_FSEEKO) + +-SET(STATIC_CFLAGS "${STATIC_CFLAGS} -DALURE_STATIC_LIBRARY") ++SET(STATIC_CFLAGS "${STATIC_CFLAGS};-DALURE_STATIC_LIBRARY") + + IF(MSVC) + # ??? +@@ -85,7 +85,7 @@ + + # Force -fPIC for the static lib, because it causes problems when the + # static version is linked to a dynamic lib +- SET(STATIC_CFLAGS "${STATIC_CFLAGS} -fPIC") ++ SET(STATIC_CFLAGS "${STATIC_CFLAGS};-fPIC") + ENDIF(NOT WIN32) + + CHECK_C_COMPILER_FLAG(-Wextra HAVE_WEXTRA) +@@ -215,7 +215,7 @@ + SET(HAS_SNDFILE 1) + LINK_DIRECTORIES(${SNDFILE_LIBRARY_DIRS}) + SET_SOURCE_FILES_PROPERTIES(src/codec_sndfile.cpp PROPERTIES +- COMPILE_FLAGS "${SNDFILE_CFLAGS}") ++ COMPILE_OPTIONS "${SNDFILE_CFLAGS}") + ELSE(SNDFILE_FOUND) + FIND_PACKAGE(SndFile) + IF(SNDFILE_FOUND) +@@ -237,7 +237,7 @@ + SET(HAS_VORBISFILE 1) + LINK_DIRECTORIES(${VORBISFILE_LIBRARY_DIRS}) + SET_SOURCE_FILES_PROPERTIES(src/codec_vorbisfile.cpp PROPERTIES +- COMPILE_FLAGS "${VORBISFILE_CFLAGS}") ++ COMPILE_OPTIONS "${VORBISFILE_CFLAGS}") + ELSE(VORBISFILE_FOUND) + FIND_PACKAGE(OggVorbis) + IF(OGGVORBIS_FOUND) +@@ -258,14 +258,14 @@ + SET(VORBISFILE_LIBRARIES "vorbisidec") + ENDIF(HAVE_LIBVORBISIDEC) + SET_SOURCE_FILES_PROPERTIES(src/codec_vorbisfile.cpp PROPERTIES +- COMPILE_FLAGS "-DHAS_VORBISIDEC") ++ COMPILE_OPTIONS "-DHAS_VORBISIDEC") + ENDIF(DYNLOAD OR HAVE_LIBVORBISIDEC) + ENDIF(HAVE_TREMOR_IVORBISFILE_H) + ELSE(NOT VORBISIDEC_FOUND) + SET(HAS_VORBISFILE 1) + LINK_DIRECTORIES(${VORBISIDEC_LIBRARY_DIRS}) + SET_SOURCE_FILES_PROPERTIES(src/codec_vorbisfile.cpp PROPERTIES +- COMPILE_FLAGS "${VORBISIDEC_CFLAGS} -DHAS_VORBISIDEC") ++ COMPILE_OPTIONS "${VORBISIDEC_CFLAGS};-DHAS_VORBISIDEC") + ENDIF(NOT VORBISIDEC_FOUND) + ENDIF(NOT HAS_VORBISFILE) + IF(HAS_VORBISFILE) +@@ -307,7 +307,7 @@ + SET(HAS_MPG123 1) + LINK_DIRECTORIES(${MPG123_LIBRARY_DIRS}) + SET_SOURCE_FILES_PROPERTIES(src/codec_mpg123.cpp PROPERTIES +- COMPILE_FLAGS "${MPG123_CFLAGS}") ++ COMPILE_OPTIONS "${MPG123_CFLAGS}") + ENDIF(NOT MPG123_FOUND) + IF(HAS_MPG123) + SET(ALURE_OBJS ${ALURE_OBJS} src/codec_mpg123.cpp) +@@ -376,7 +376,7 @@ + SET(HAS_FLUIDSYNTH 1) + LINK_DIRECTORIES(${FLUIDSYNTH_LIBRARY_DIRS}) + SET_SOURCE_FILES_PROPERTIES(src/codec_fluidsynth.cpp PROPERTIES +- COMPILE_FLAGS "${FLUIDSYNTH_CFLAGS}") ++ COMPILE_OPTIONS "${FLUIDSYNTH_CFLAGS}") + ENDIF(NOT FLUIDSYNTH_FOUND) + IF(HAS_FLUIDSYNTH) + SET(ALURE_OBJS ${ALURE_OBJS} src/codec_fluidsynth.cpp) +@@ -444,7 +444,7 @@ + #build a static library + ADD_LIBRARY(${LIBNAME}-static STATIC ${ALURE_OBJS}) + SET_TARGET_PROPERTIES(${LIBNAME}-static PROPERTIES DEFINE_SYMBOL ALURE_BUILD_LIBRARY +- COMPILE_FLAGS ${STATIC_CFLAGS} ++ COMPILE_OPTIONS "${STATIC_CFLAGS}" + VERSION ${LIB_VERSION}.0) + INSTALL(TARGETS ${LIBNAME}-static + RUNTIME DESTINATION bin +@@ -460,7 +460,7 @@ + IF(BUILD_EXAMPLES) + IF(HAVE_DDK_NTDDCDRM_H) + SET_SOURCE_FILES_PROPERTIES(examples/alurecdplay.c PROPERTIES +- COMPILE_FLAGS "-DHAVE_DDK_NTDDCDRM_H") ++ COMPILE_OPTIONS "-DHAVE_DDK_NTDDCDRM_H") + ENDIF(HAVE_DDK_NTDDCDRM_H) + ADD_EXECUTABLE(alureplay examples/alureplay.c) + ADD_EXECUTABLE(alurecdplay examples/alurecdplay.c) +@@ -470,9 +470,9 @@ + TARGET_LINK_LIBRARIES(alurecdplay ${LIBNAME} ${OPENAL_LIBRARIES} ${EXTRA_LIBS}) + TARGET_LINK_LIBRARIES(alurestream ${LIBNAME} ${OPENAL_LIBRARIES} ${EXTRA_LIBS}) + ELSE(BUILD_SHARED) +- SET_TARGET_PROPERTIES(alureplay PROPERTIES COMPILE_FLAGS -DALURE_STATIC_LIBRARY) +- SET_TARGET_PROPERTIES(alurecdplay PROPERTIES COMPILE_FLAGS -DALURE_STATIC_LIBRARY) +- SET_TARGET_PROPERTIES(alurestream PROPERTIES COMPILE_FLAGS -DALURE_STATIC_LIBRARY) ++ SET_TARGET_PROPERTIES(alureplay PROPERTIES COMPILE_OPTIONS -DALURE_STATIC_LIBRARY) ++ SET_TARGET_PROPERTIES(alurecdplay PROPERTIES COMPILE_OPTIONS -DALURE_STATIC_LIBRARY) ++ SET_TARGET_PROPERTIES(alurestream PROPERTIES COMPILE_OPTIONS -DALURE_STATIC_LIBRARY) + TARGET_LINK_LIBRARIES(alureplay ${LIBNAME}-static ${OPENAL_LIBRARIES} ${EXTRA_LIBS}) + TARGET_LINK_LIBRARIES(alurecdplay ${LIBNAME}-static ${OPENAL_LIBRARIES} ${EXTRA_LIBS}) + TARGET_LINK_LIBRARIES(alurestream ${LIBNAME}-static ${OPENAL_LIBRARIES} ${EXTRA_LIBS}) diff --git a/media-libs/amdgpu-pro-vulkan/Manifest b/media-libs/amdgpu-pro-vulkan/Manifest index dec3ff7bf6ab..6124c8b3252a 100644 --- a/media-libs/amdgpu-pro-vulkan/Manifest +++ b/media-libs/amdgpu-pro-vulkan/Manifest @@ -10,5 +10,5 @@ DIST amdgpu-pro-vulkan-23.40.0.1718238-amd64.deb 23555536 BLAKE2B fc3aa3d0fe271b DIST amdgpu-pro-vulkan-23.40.0.1718238-i386.deb 24907864 BLAKE2B 438cec19c1e96b872a81690b212b1693a048fab92cc67bab2aedaf917fa802760100631e408d70a5f3ff70bb88b8f888ee566926055770d318fbaa9a88a4490f SHA512 5f46fb6ab37ad596762f46fcd2ac2a0568a98023e97c92408d943e4a1033f4811450331f688da6f90a070d9cd0a56962284c71e645111c6c4f52e205fd41bf82 EBUILD amdgpu-pro-vulkan-21.50.2.1384496-r1.ebuild 3270 BLAKE2B e36c39386c36d8f179a2a62b020ffac69a43a7cade3b2619b8ba6755e9c5a42e66c1bb5e560fca5b319eb5cc77d3d7ea489acd1aa2a71410e3efeec393101490 SHA512 77d275f8281bc2f73918879bcfa0f33f83c490188ad6bb11f05e21eaa9b3d00d9db6e00ac598723e247fdafdb32369b6f96838556c01e3863cf34a1ed688b9de EBUILD amdgpu-pro-vulkan-22.40.6.1580631-r1.ebuild 3818 BLAKE2B e1f8338c6b4c0a7db5a3c8d512ea0c45b1af7fc7d5a6f62dc46a812dce123b6a70b68d89c3701a52bd63745ef7b90163d4e5eaa226976256f01fcc8e217bb44d SHA512 b361a9cd23f6b398fa0a45b3de6bd5d987ae74a721826c0f6a6275f215b52c0cb8b55c3c30f79cf1f6090a43ded0655bc6154d9aa6a2dbdbc991685ea4f3355b -EBUILD amdgpu-pro-vulkan-23.40.0.1718238.ebuild 3734 BLAKE2B c36d10a1a30797ce8dfd22db7b6c8a0cd99428baee5f0f1f159ad1e66e07a0e0218674fc3e3e1cfdbb1e48c72e16533ea8ebab801e7d04e825013771dd3bb7d6 SHA512 57ab0157e9ffe975ec56640a72103466ce7af6408123c0c07eaee8f463f639db3ac3832722f51f6c4c14ab2678cdb8ff28ea3f6b8c6270e4e1edf0626ff6e25e +EBUILD amdgpu-pro-vulkan-23.40.0.1718238.ebuild 3733 BLAKE2B 7748316e646a671f1ea6406ab1cecaa5c5df53952147dc391d998425283019a3960eb54b25f53bbb8e668a86b48a8676647e41edf6ec9f05b5129399c25f04ec SHA512 e93c9d1b9168489153f0eda7a4e1bb646096a105a36fd18427bbd53f63dffd25882cbe35d182147e37c6932643e2c61bee46d9bc19b06810400b4bea5100d789 MISC metadata.xml 402 BLAKE2B 45f4e6adffb186b9a9b36b420aaa5727f025206eca039d9f6fbe3eb302f7200cc24c079480d91c9d92ccd932bef86b87401400f17eba2fd8b4baa3fca66cf236 SHA512 dc9e5a699437291c5f768d66bdfd9d2aaa00e931f358e6d0045e764638332a8db14bd19a782aac0918dc4b42b8658a5974bdfec2971690e6718be247fff512b3 diff --git a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild index a6e635176f5a..a6410d03eb85 100644 --- a/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild +++ b/media-libs/amdgpu-pro-vulkan/amdgpu-pro-vulkan-23.40.0.1718238.ebuild @@ -33,7 +33,7 @@ RESTRICT="bindist mirror" LICENSE="AMD-GPU-PRO-EULA" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 ~x86" IUSE="abi_x86_32 abi_x86_64 video_cards_amdgpu" REQUIRED_USE="video_cards_amdgpu" diff --git a/media-libs/amf-headers/Manifest b/media-libs/amf-headers/Manifest index 628c064deb2b..7618ee8b2725 100644 --- a/media-libs/amf-headers/Manifest +++ b/media-libs/amf-headers/Manifest @@ -1,3 +1,3 @@ DIST amf-headers-1.4.33.tar.gz 198142272 BLAKE2B 65e616012463e21bfa113ff62f76baaf186e18c6b3422bf5b2fdf8d208efe0ea7d07b74d6d292bc391202d2190c871dd0d6f997783b3ffa533d4086e395ae67f SHA512 e0c4f583996ff2d1d61c53b8ce7ef2eadb32d2a13930e59146b935840e31d032c5cec48baced70b0007fa5f33e30537d03ddf71140ff51213085aba20e16f5ca -EBUILD amf-headers-1.4.33.ebuild 701 BLAKE2B 5263923a7ca1c0c6ac4b80a1dd90d9d27be1dc8d7884d3750bd742b21a15bc5abea2b8d28fe3a8f3231914de0959302a1fae1b30329d750f5e3849d1889ae7b8 SHA512 176fa53b3f4124e7c703a1a5e63763d36f834e8a911d46b2de0eac40c4c9b25223eea03da0847a3eed9feab0c7142b83bf02dff6ee2a8be40458a26b7b6dfe80 +EBUILD amf-headers-1.4.33.ebuild 700 BLAKE2B c316307dda26b30ae2d12fd139bcaa85963ef9d4ae40137bdb216563cd68e8d6b56a99ce781612b386ad2bece4deb77ed7ed25a5b8fe2f322b84e593ec162a2d SHA512 29f422bf67317048e297ec92a57f4841ec85df433f0efc1549d61d57ee26fcbcd1479077f5a59ca07f79d0d4103a56d03b794ec3bf358ac165f041242d6fa359 MISC metadata.xml 571 BLAKE2B 921f83bae051789cf587663b4168174eab058dc2866b4d9e24dcb9f3ff5f3b64ea85c7e45282c2eeea42716f7f79a971171333ece1dd72d7d2e49e84efe2ef57 SHA512 ed0a057d7f1c738308eed226c562b5a83bf6ae421f1487f98a1c8361afa65276c5ea2f83f3d8187229d88fe0fe02a41178d37347d28ddc5b22695ae3f4740368 diff --git a/media-libs/amf-headers/amf-headers-1.4.33.ebuild b/media-libs/amf-headers/amf-headers-1.4.33.ebuild index 44e1d134e11d..8f09702ba84b 100644 --- a/media-libs/amf-headers/amf-headers-1.4.33.ebuild +++ b/media-libs/amf-headers/amf-headers-1.4.33.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF" else SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 ~arm64" fi DESCRIPTION="The Advanced Media Framework (AMF) SDK" diff --git a/media-libs/assimp/Manifest b/media-libs/assimp/Manifest index cf177fa52b31..5a5f33a2993e 100644 --- a/media-libs/assimp/Manifest +++ b/media-libs/assimp/Manifest @@ -10,5 +10,5 @@ DIST assimp-5.4.2.tar.gz 53807656 BLAKE2B cfa069cefdddcfdb756db6a72a5f67c528fa2c EBUILD assimp-5.2.5-r1.ebuild 1595 BLAKE2B a5e9c3a46add37729d9de5ce35776c406b3d91df1ad42f214c461231e66134eedab162230396af91adcd97f5a0d1f50d9947d0bc64d866674472ca6c8fdcdc34 SHA512 d201e464b78da2c2d727ac10c66b49aa4ce0b29b20843bd6d6c0ac00332c0a6fab720f5d9740b0b890584bd7a4a521b97bff9b6cfa09368a74725612210ad991 EBUILD assimp-5.2.5-r2.ebuild 2138 BLAKE2B 552e176e867a7bf7f07b8c06d0174dceeeeca1473e6f78e62382d1eb45bf35b070c7ed58818ee4bccc9b57ebbcfe6a3d2c59cbc55e435db74a8ad4993c867020 SHA512 4edeef319197a0f7beae869551b6d376975da525abfc2eb4f08b11232aa1c105bdff7d62badf349dd173be4d4595c909f7d6f3f2cba9187204185320d20e9cf0 EBUILD assimp-5.3.1.ebuild 4110 BLAKE2B 331260ac82d44d82f9bda70c1ef725d026da3fea49cb92e9ad9e8ec9f268e12ae281693d2e0b3b1207b5372cb40aca331f43a000f37359ac667012dcdd61f781 SHA512 463148006ae5a61b3969a05f5ace1a5741a9f7a07dd3a27fe8938b519af90d357f2a59feb25ed7c14ab9a63aa0d6e0e9ab385a0bd5afec9caddcf14742ce6f17 -EBUILD assimp-5.4.2.ebuild 4115 BLAKE2B f550d74356bac89b60bf6341bc6485073bb02ac8acf6de43f87c1beb5ce12d291d5fb754b25dcd162b1d2388b1cbcfcaea1a0bdf79cc270fd6539f1d9558c8a5 SHA512 ef9141304aee922e874e70cd45ae60ba38c23008f59720318ea5b9a0e1e5436c321c724ee20258d06e86392b40ba7115bd0b93ac881661be6156a1afa9a2065d +EBUILD assimp-5.4.2.ebuild 4110 BLAKE2B 331260ac82d44d82f9bda70c1ef725d026da3fea49cb92e9ad9e8ec9f268e12ae281693d2e0b3b1207b5372cb40aca331f43a000f37359ac667012dcdd61f781 SHA512 463148006ae5a61b3969a05f5ace1a5741a9f7a07dd3a27fe8938b519af90d357f2a59feb25ed7c14ab9a63aa0d6e0e9ab385a0bd5afec9caddcf14742ce6f17 MISC metadata.xml 603 BLAKE2B 7f4388ccc6ecdc57b05eef962e349d4d1b3cb973b22918bc36a33814adf707f134ec35fa6cf9089f00bec166fbf49aa6b373f72177347a7ddd5f5cd074a353f1 SHA512 7276490bb3ce6e15d98060739d0002bf8de543ca962f958fad4bcfb4a0451a4bc0d2d882004cf70d97414b986e95f6732b206ab40af2bb2b24315e6858c8f560 diff --git a/media-libs/assimp/assimp-5.4.2.ebuild b/media-libs/assimp/assimp-5.4.2.ebuild index 98828183adbb..6d6e3b40b1f3 100644 --- a/media-libs/assimp/assimp-5.4.2.ebuild +++ b/media-libs/assimp/assimp-5.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" IUSE="doc samples test" RESTRICT="!test? ( test )" diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest index 9573b1f3ad75..64954ef7818a 100644 --- a/media-libs/aubio/Manifest +++ b/media-libs/aubio/Manifest @@ -1,7 +1,6 @@ AUX aubio-0.4.9-docdir.patch 1192 BLAKE2B 617f5a63d51440eba157687b752822b3e14316781d3534c63194c9bef214574f195d3dfb949fc357862c7ddab01e0f9bb58ea54a75dac4c90f27a24f0c1cf477 SHA512 dffe872bd5c63eb874f00b1303e63f241d9b349d5f32fbf34b659b6211cc9cc828784bb3f5ddd2210c9e6b8459a73e842988bad4474b19e319145971de138526 AUX aubio-0.4.9-gcc-14.patch 1275 BLAKE2B a7f110a397c6ce9e568f204a0e98d17376fb9c650a8be96d619bca7b6814914ef4261791119d541ed358e514b685c19017845a18ae8339e382d68a2a54688465 SHA512 9d05520c35ab42b73c6865063d35b774370e85b00bc34d3d5b70ed98cb75a77253747b9a5224178a2567417b36ff1540070bdc2cea4058995352b30384d3ebfd AUX aubio-0.4.9-numpy-2.patch 538 BLAKE2B f62160a1be2e9b5e671c8e96477d4b60653b6c27ed20c39aea5eca5257c3732cfbf9c25f5601cead9af54dbc6c8745a6c12da7858115e724490579cc2195e6e0 SHA512 090de3586be64dd5d9d3030f9ca883c40a4d055706681e8a0e0f96765ec0c0229fe2cfc0e6adc70057d1d92f10f47d45c5962348b2865958d7917b3e196b97b3 -AUX aubio-0.4.9-remove-universal-newlines.patch 1198 BLAKE2B 9cd5a5b3880075706938df7c008c6dc160e48402b0cfddf41f7d248c4d0e91a7531a1e87b40d51569220d720b679126ab02693588c4bf4a8c9b12af2a8653665 SHA512 0675f850ddbff6857b1fb7cc6a0f6f5188436fdf74e6c4c123d734e02eee82a0914edf26d2a99351dca4ff9b9a4715d86b24a747746d2b1c4bf4ea7d2cdaf2f1 AUX ffmpeg5.patch 745 BLAKE2B f353faf80b4fdfb26b2d8a135ab0415ac3f6780a2b5894e18b12e137fb109b1b89b4c8500f8dc1e809d763f851ce186f199f32c680a80c816f40ece997639d0f SHA512 8eeeac40bbf4e1faf7a99d2cbfe4a7b3bc85b5b5927c7bf69ef774ad06fcedcb0a84296dce7300f4907b2ca16525e6db854acad371d788c7f5fb7bd4a94efc86 DIST aubio-0.4.9.tar.bz2 397604 BLAKE2B b849d92678ea8fb20e17921b1a61fdc85a84d4a528acfefa3278169ab5f7fe935217ec37dd9f931202f0f0a1fd3a9518372afbce34cc2dd3ca30c6b4e5d9a301 SHA512 0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130 DIST waf-2.0.27.tar.bz2 693624 BLAKE2B 34dcb84df2f42d7c92988226ae0208a9407a091f79e47b8abe1d3b33105d58df06072bfb3c22a7bb6dfa8f083224642c55fa2c9fc0110a2d49d3d10ea754c928 SHA512 a62dbb1ee89d88969c31d3f634577d80b8a595460d445cae9b42ca423cfcbbb96347b5b67697165833f3dd496b4bc7e312e166af86cb3b97ed57ffe59f46b98a diff --git a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch b/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch deleted file mode 100644 index 304dae7afc5b..000000000000 --- a/media-libs/aubio/files/aubio-0.4.9-remove-universal-newlines.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- aubio-0.4.9/waflib/ConfigSet.py 2023-03-07 16:02:26.109510883 -0500 -+++ aubio-0.4.9/waflib/ConfigSet.py 2023-03-07 16:05:12.892415156 -0500 -@@ -146,7 +146,7 @@ class ConfigSet(object): - Utils.writef(filename,''.join(buf)) - def load(self,filename): - tbl=self.table -- code=Utils.readf(filename,m='rU') -+ code=Utils.readf(filename,m='r') - for m in re_imp.finditer(code): - g=m.group - tbl[g(2)]=eval(g(3)) ---- aubio-0.4.9/waflib/Context.py 2023-03-07 16:02:26.109510883 -0500 -+++ aubio-0.4.9/waflib/Context.py 2023-03-07 16:05:20.764245554 -0500 -@@ -106,7 +106,7 @@ class Context(ctx): - cache[node]=True - self.pre_recurse(node) - try: -- function_code=node.read('rU',encoding) -+ function_code=node.read('r',encoding) - exec(compile(function_code,node.abspath(),'exec'),self.exec_dict) - finally: - self.post_recurse(node) -@@ -346,7 +346,7 @@ def load_module(path,encoding=None): - pass - module=imp.new_module(WSCRIPT_FILE) - try: -- code=Utils.readf(path,m='rU',encoding=encoding) -+ code=Utils.readf(path,m='r',encoding=encoding) - except EnvironmentError: - raise Errors.WafError('Could not read the file %r'%path) - module_dir=os.path.dirname(path) diff --git a/media-libs/dssi/Manifest b/media-libs/dssi/Manifest index 9c6ddee00a3b..0c5f108c9310 100644 --- a/media-libs/dssi/Manifest +++ b/media-libs/dssi/Manifest @@ -1,4 +1,5 @@ +AUX dssi-1.1.1-incompatible-pointer.patch 917 BLAKE2B 9fd0dc7c40f0f535402e22f245b630b5264ddf8c9b3c10b84f8f03ddc9e38b7eeebe637319b22cf4862cd88e9e11e0edbab2fb69dc13909a682219bfe300b2c3 SHA512 0b87af58f1ae99f514df9a65b3685eaaa6ab0bc919feb0fa5861e96f62513c937fd9771d748fd0b8a7db6de69ce6a08408436ca5545c3d3d8895e2f02dcec3e5 AUX dssi-1.1.1-no-werror.patch 313 BLAKE2B 846cc0a13836987dad96ddfbc7c0d40e1f60cf877285b53b9e29da6eac572cb38e1a109b964d98df3d6e179ff4f3d05687ada0bcfde221fa28fd0468be080324 SHA512 04f1562c0aa1b00bdffbc1004b5d6a89781f866efb73128237fcf708e4e30c5c57932ebcbd39b21f56dce50bc286cc53ca20d0fef5d5746dc2ae862b9d0a325b DIST dssi-1.1.1.tar.gz 712038 BLAKE2B 426fcbf5eb9024b6b0a4fad34fd8c0e0b18ff8eefdab22902cd929dae86be55d8cdc01e92c0c75c9cf1c6e5918317109b78f8aad4d2db0abafd6d9405eb285e4 SHA512 faf35ae851b889ad17a8ba624c713af8a5f33bb93db8e34842e8b778a0e36c3eab9ab712a40e4ca7ecd96954f3e70504d89a75b3826dd138332085e176c0d34d -EBUILD dssi-1.1.1-r2.ebuild 958 BLAKE2B aeb93735d1a0ef5ed4e7dd766f19ba8b8769692b47ed3d54f5b5205bcd6dac5cf51199ad49d265483f690d46e4cea4a96737a672ac82f051382ef8110c4e95bf SHA512 06d6de358d2e0d97f9ee1b0cb998648322fa2e5fac41bf01ce68d5317a10f7995bfc18679811a73f60ca7b424be86d98a26e16abdc73529f5775443747901a33 +EBUILD dssi-1.1.1-r2.ebuild 1012 BLAKE2B 44f6c61ffeb4d224887781521f685dc325ca5332f575b0aa993653646ebd0f261cc386218363590be7b31322e2e35a2aaebfe8e20c686926ef2cd5a71d0f83df SHA512 4d31e2407bbbbe1f4f65ea1a77c691367b8773c8dbf27a0c76ac6fec257566a43a2a5f9357de750ebc7bddfbdd7ca373b92a095c1e3d40a3aaa2a5b7c552fa6d MISC metadata.xml 334 BLAKE2B 0aa15bd5c208b608f5eef96d2f946ffa8d4081639d5cb6de08d92e55ee5ee32ae5bf388a8caa72ec721491dca92bc25ff0e1a778034dc709fbd2292bad8b9700 SHA512 18e413faca22354f4ae8113f752f4a1df3e379a5102fb6efd1da1d1703e8ac597b47120b6ff057500b02423468825a3e6206a9b88bda17a4098f0656bff20417 diff --git a/media-libs/dssi/dssi-1.1.1-r2.ebuild b/media-libs/dssi/dssi-1.1.1-r2.ebuild index 5729d158e932..d1be3db33b00 100644 --- a/media-libs/dssi/dssi-1.1.1-r2.ebuild +++ b/media-libs/dssi/dssi-1.1.1-r2.ebuild @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-1.1.1-no-werror.patch + "${FILESDIR}"/${PN}-1.1.1-incompatible-pointer.patch ) src_prepare() { diff --git a/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch b/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch new file mode 100644 index 000000000000..0a453024d999 --- /dev/null +++ b/media-libs/dssi/files/dssi-1.1.1-incompatible-pointer.patch @@ -0,0 +1,20 @@ +--- a/jack-dssi-host/jack-dssi-host.c ++++ b/jack-dssi-host/jack-dssi-host.c +@@ -119,7 +119,7 @@ LADSPA_Data get_port_default(const LADSPA_Descriptor *plugin, int port); + void osc_error(int num, const char *m, const char *path); + + int osc_message_handler(const char *path, const char *types, lo_arg **argv, int +- argc, void *data, void *user_data) ; ++ argc, struct lo_message_ *data, void *user_data) ; + int osc_debug_handler(const char *path, const char *types, lo_arg **argv, int + argc, void *data, void *user_data) ; + +@@ -1919,7 +1919,7 @@ int osc_debug_handler(const char *path, const char *types, lo_arg **argv, + } + + int osc_message_handler(const char *path, const char *types, lo_arg **argv, +- int argc, void *data, void *user_data) ++ int argc, struct lo_message_ *data, void *user_data) + { + int i; + d3h_instance_t *instance = NULL; diff --git a/media-libs/embree/Manifest b/media-libs/embree/Manifest index 37e63a88b227..6056f8d9316c 100644 --- a/media-libs/embree/Manifest +++ b/media-libs/embree/Manifest @@ -5,7 +5,9 @@ AUX embree-4.3.1-dont-install-tutorials.patch 10020 BLAKE2B ec13bf359eb36059062d DIST embree-3.13.4.tar.gz 13733908 BLAKE2B 4c6c24f62ee88a09149bd930716c71e91d54563eea5cc103c0346d3808c693e8470fc7ea98651e0df9e4423bda565d7ab1a23e16c9d0441c79e9ec9c8571b0fa SHA512 685c3935fabe1bfa7260ef148df26b686b085b75011d72011461471cbcef786a5ce7a0e85c57b2df05798489a2d4e80a8d3ee5df986029edad7df7511d99c0ca DIST embree-3.13.5.tar.gz 13739115 BLAKE2B 52ad8e3520aa789f7987467c6979be06f883803757e842316ecf708deeed11214dd60570eda5708e701047b1a14ea37710d158df544817dc536bfda444a68218 SHA512 13ae19b1750197fb4887ba601c75d1b54b3c388224672b6561dd922bc9b9747139cf46ce554727e3afa13dcf152ce4d703935cb9105ced792b011f2d05fa3e95 DIST embree-4.3.1.tar.gz 71110988 BLAKE2B 0ab183fe8fae3948b319c74a922c001d0567d223adab74da3a0f55fd4e4fd5c2c17afeb065da706d411238b7877e208e7041aad9430f109e606ed1a9dd23646f SHA512 da7710c6dfaa90970c223a503702fc7c7dd86c1397372b3d6f51c4377d28d8e62b90ee8c99b70e3aa49e16971a5789bb8f588ea924881b9dd5dd8d5fcd16518a +DIST embree-4.3.3.tar.gz 71114884 BLAKE2B 154d95a5e04d86d13738b0cb28782d0f47ec4c7c1af207fdbeb17805873be85501881e6699e488477af483505c181afdf95d8199d2f54de6623fe06cc77ec603 SHA512 f614c72c5e5c83b8936d37d4e916711b3ab29329786e96944e851a41d5e2358cf7ac739c145aee131403b0b91f7e2ce5422e892dc88d490e29356f79b47c8581 EBUILD embree-3.13.4.ebuild 3921 BLAKE2B ead945d61e7a2d09f42696fae28dae644a2a6cdcf6f525ab544f5b070c892b20d83c05c4363f2ae38f3719516ca275b1e7f4c310cc87f5cb618dc070c50b5759 SHA512 bb4f5fecceb3ff58e0ea55ce14a864fc7200833178e4e2e5f694a4840451b79c79d749bc9ea460e207daf8bf9ee49c9d19d344a69e78cbb8088c0abb35d32b85 EBUILD embree-3.13.5.ebuild 3864 BLAKE2B 3f461c95f8fddceccc32d73be5d5e2e47badfdd72cd34b464a5d85e2eb7e1251c6eb8c7ca4669fc7e6b3172f7eca9cb674254d64d3a0cd94bd83ae4e6170927c SHA512 d8081f7e2cd73825cc322b9843e64bf8bd0bd123b7ab7c87dc4e19daa5bce17589e434c129e3b1e30232a3bc6a54496a5635ce9d94a20ca3345e8c9ccb14bcf0 EBUILD embree-4.3.1.ebuild 5293 BLAKE2B 68660984698395d7d241beeda4deb7b675bf8e31e22ddf1bba090c7d4109d281258783886a1e6f721ecdb1165038801fda632e1f3e688e68f9078311d2098a7d SHA512 a4b55b55e55d2db9e3d96723d9ce13afab31d02c5ad7e1f7ad9f913deee0fc404fa70d08e9ee24b6280426cae9777f1f19e563464a2591837146f4fd726a6b55 +EBUILD embree-4.3.3.ebuild 5511 BLAKE2B 92f3d0cd3642ebdccde5382497d487f4545a0dd818ae73ffb2b42ffb86c90af1f052d22425a8369f06885a603943f821468794013a456499d0b9b1aeba30bfb3 SHA512 a1ee3afbdc18e3891a6d672287c50659c53ec14866d34f6656a9422f3e22c86825982e3320a9b4d9f1c37720433e7f4fd15e43cbfb09d372413ab371873e3177 MISC metadata.xml 1705 BLAKE2B 2785c8b8752e5730e014ce6edfdd1702a20565ab12c9ebee14c3cf603e267a63360eaa0428afb9e178091edad40fe82ea55e2a872339da744113e480b4eda6c2 SHA512 ebfa1a6d3f8a8fe6acc0cc06f54ad62efb86942b55e985542a049fde421663adddcffe2a78c7309774df9bbc714a2bb11dad73c94b89bf2d1cdf56b69d334f59 diff --git a/media-libs/embree/embree-4.3.3.ebuild b/media-libs/embree/embree-4.3.3.ebuild new file mode 100644 index 000000000000..eb4bc120565a --- /dev/null +++ b/media-libs/embree/embree-4.3.3.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic linux-info toolchain-funcs + +DESCRIPTION="Collection of high-performance ray tracing kernels" +HOMEPAGE="https://github.com/embree/embree" +SRC_URI="https://github.com/embree/embree/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="-* ~amd64 ~arm64" +X86_CPU_FLAGS=( sse2 sse4_2 avx avx2 avx512dq ) +CPU_FLAGS=( cpu_flags_arm_neon "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" ) +IUSE="compact-polys ispc +raymask ssp +tbb test ${CPU_FLAGS[*]}" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + amd64? ( || ( ${X86_CPU_FLAGS[*]/#/cpu_flags_x86_} ) ) + arm? ( cpu_flags_arm_neon ) +" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + ispc? ( dev-lang/ispc ) + tbb? ( dev-cpp/tbb:= ) +" +DEPEND="${RDEPEND}" + +DOCS=( CHANGELOG.md README.md readme.pdf ) + +PATCHES=( + "${FILESDIR}/embree-4.3.1-dont-install-tutorials.patch" +) + +pkg_setup() { + CONFIG_CHECK="~TRANSPARENT_HUGEPAGE" + WARNING_TRANSPARENT_HUGEPAGE="Not enabling Transparent Hugepages (CONFIG_TRANSPARENT_HUGEPAGE) will impact rendering performance." + + linux-info_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + # disable RPM package building + sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \ + -i CMakeLists.txt || die + + # don't redefine _FORTIFY_SOURCE https://bugs.gentoo.org/895016 + sed -e '/-D_FORTIFY_SOURCE=2/d' \ + -i common/cmake/*.cmake \ + || die + + # raise cmake minimum version to silence warning + sed -e 's#CMAKE_MINIMUM_REQUIRED(VERSION 3.[0-9].0)#CMAKE_MINIMUM_REQUIRED(VERSION 3.5)#I' \ + -i \ + CMakeLists.txt \ + kernels/rthwif/CMakeLists.txt \ + tutorials/embree_info/CMakeLists.txt \ + tutorials/minimal/CMakeLists.txt \ + || die +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/859838 + # https://github.com/embree/embree/issues/481 + filter-lto + + # NOTE: You can make embree accept custom CXXFLAGS by turning off + # EMBREE_IGNORE_CMAKE_CXX_FLAGS. However, the linking will fail if you use + # any "m*" compile flags. This is because embree builds modules for the + # different supported ISAs and picks the correct one at runtime. + # "m*" will pull in cpu instructions that shouldn't be in specific modules + # and it fails to link properly. + # https://github.com/embree/embree/issues/115 + + filter-flags -m* + + # https://bugs.gentoo.org/910164 + tc-is-clang && filter-lto + + local mycmakeargs=( + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON + + # Default culling settings for Blender + # (Cycles will not render correctly without these) + # Some Embree tests will fail with these settings though... + -DEMBREE_BACKFACE_CULLING=OFF + -DEMBREE_BACKFACE_CULLING_CURVES=ON + -DEMBREE_BACKFACE_CULLING_SPHERES=ON + + -DEMBREE_COMPACT_POLYS=$(usex compact-polys) + + # Make sure that we are using our custom compilie flags + -DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF + + # Set to NONE so we can manually switch on ISAs below + -DEMBREE_MAX_ISA:STRING="NONE" + -DEMBREE_ISA_AVX=$(usex cpu_flags_x86_avx) + -DEMBREE_ISA_AVX2=$(usex cpu_flags_x86_avx2) + -DEMBREE_ISA_AVX512=$(usex cpu_flags_x86_avx512dq) + -DEMBREE_ISA_SSE2=$(usex cpu_flags_x86_sse2) + -DEMBREE_ISA_SSE42=$(usex cpu_flags_x86_sse4_2) + -DEMBREE_ISPC_SUPPORT=$(usex ispc) + -DEMBREE_RAY_MASK=$(usex raymask) + + # TODO figure out sycl support + -DEMBREE_SYCL_SUPPORT="no" + + -DEMBREE_STACK_PROTECTOR=$(usex ssp) + -DEMBREE_STATIC_LIB=OFF + -DEMBREE_TASKING_SYSTEM:STRING=$(usex tbb "TBB" "INTERNAL") + # Tutorial binaries are required by the tests + -DEMBREE_TUTORIALS=$(usex test) + -DEMBREE_ZIP_MODE=OFF + ) + + if { use arm && usex cpu_flags_arm_neon; } || use arm64; then + mycmakeargs+=( + -DEMBREE_ISA_NEON="yes" + # TODO look into neon 2x support + # -DEMBREE_ISA_NEON2X="yes" + ) + fi + + # Disable asserts + append-cppflags -DNDEBUG + + if use test; then + mycmakeargs+=( + -DBUILD_TESTING=ON + -DEMBREE_TESTING_INSTALL_TESTS=OFF + -DEMBREE_TESTING_INTENSITY=4 + # These tutorials are not used by the default tests + -DEMBREE_TUTORIALS_GLFW=OFF + -DEMBREE_TUTORIALS_INSTALL=OFF + ) + fi + + cmake_src_configure +} + +src_test() { + # NOTE Some Embree tests will fail due to EMBREE_BACKFACE_CULLING settings for blender... + local CMAKE_SKIP_TESTS=( + '^embree_verify$' + '^embree_verify_i2$' + '^viewer_models_curves_round_line_segments_3.ecs(|_ispc)$' + '^viewer_models_curves_round_line_segments_7.ecs(|_ispc)$' + '^viewer_models_curves_round_line_segments_8.ecs(|_ispc)$' + '^viewer_models_curves_round_line_segments_9.ecs(|_ispc)$' + '^viewer_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$' + '^viewer_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$' + '^viewer_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$' + '^viewer_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$' + '^viewer_quad_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$' + '^viewer_quad_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$' + '^viewer_quad_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$' + '^viewer_quad_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$' + '^viewer_grid_coherent_models_curves_round_line_segments_3.ecs(|_ispc)$' + '^viewer_grid_coherent_models_curves_round_line_segments_7.ecs(|_ispc)$' + '^viewer_grid_coherent_models_curves_round_line_segments_8.ecs(|_ispc)$' + '^viewer_grid_coherent_models_curves_round_line_segments_9.ecs(|_ispc)$' + '^hair_geometry(|_ispc)$' + '^embree_tests$' + ) + + cmake_src_test +} diff --git a/media-libs/faun/Manifest b/media-libs/faun/Manifest new file mode 100644 index 000000000000..a3bc047d6a78 --- /dev/null +++ b/media-libs/faun/Manifest @@ -0,0 +1,4 @@ +AUX faun-0.1.2_makefile.patch 2362 BLAKE2B caeaeafeafb42508cc276de36142a59b7a5106b0592012f8811ef54d1b06a94555f6a4ce7e0713f5d6ec80c89b8ac22f5bd8cd7e3256ccc5d18815a6a161bd9e SHA512 1c3407800aff5ebf3706c23b72f17c8e448f2a75cb2feb76cf9d91b9c6edca1ab9b70193154fe0b67fffbfc0d4c8141cbfb8824d152f3b95270c1250c209f286 +DIST faun-0.1.4.tar.gz 110154 BLAKE2B a41e33282442a1b2999c7cc46fc6978607b6d6f2e6d8d7e92dd43386f2ff2ac61aa3c86e0219ffded8a35224c366a85cd7ab1c36a128eb746457be9fdea76c8e SHA512 4449c478109dd78933e346e87228639d0c5fcc33466a60a9649756cb69b087b82a7e0aa21591b4b2e8046858ac6ac9fc7cc43d84eb2e64624b49af8445dcda21 +EBUILD faun-0.1.4.ebuild 723 BLAKE2B 9f810398222999017b1c20751446cea6bd9dc0e1e2a81ac7477618561e92b181bf752daab6f79385ab2e9a733ce353ea16861d2b848e01d5fc7a765d8ee8bc53 SHA512 0f4c91835c44194183cdd86ba5ccfa204d34326c7620f1cf837e1a73ce269275074c4cd13af600bd72a33e2a540e7cd517a65d0319611b26ac2ea361cb1edca4 +MISC metadata.xml 474 BLAKE2B 681b365b3146371dac7b778ee37ba9401215ab28cf98f3a01527f4496b2b215f9bf3ff12e60be6f08478a05719b7d1ee3169a7dff86948b3a7c766d6d83efc31 SHA512 511f1ee5ff692e2999da9de2d8dc1ba4a5a840635d70ffaabe2e7efb93694a995a1dad813f4d2f928d83722a86c8b175000835b907522daf698d396d64a945bb diff --git a/media-libs/faun/faun-0.1.4.ebuild b/media-libs/faun/faun-0.1.4.ebuild new file mode 100644 index 000000000000..a5b0eb2e7089 --- /dev/null +++ b/media-libs/faun/faun-0.1.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +DESCRIPTION="A high-level C audio library" +HOMEPAGE="https://wickedsmoke.github.io/faun/" +SRC_URI="https://github.com/WickedSmoke/faun/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +# based on COPYING file +LICENSE="MIT flac? ( GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="flac" + +DEPEND=" + media-libs/libpulse + media-libs/libvorbis +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.1.2_makefile.patch" +) + +src_configure() { + tc-export CC + # custom configure + edo ./configure $(usex !flac --no_flac "") +} + +src_install() { + emake DESTDIR="${D}/usr" install + dodoc README.md +} diff --git a/media-libs/faun/files/faun-0.1.2_makefile.patch b/media-libs/faun/files/faun-0.1.2_makefile.patch new file mode 100644 index 000000000000..5bc22077aad2 --- /dev/null +++ b/media-libs/faun/files/faun-0.1.2_makefile.patch @@ -0,0 +1,79 @@ +From 7d87d5e2fc52c1d429fe99b505bf2db643c82da2 Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Fri, 28 Apr 2023 14:58:02 +0300 +Subject: [PATCH] Fix buildsystem + +* Respect CC, CFLAGS, LDFLAGS +* Don't strip binaries on install +--- a/Makefile ++++ b/Makefile +@@ -6,10 +6,13 @@ ifeq ($(STATIC),1) + STATIC_LIB=true + endif + +-CFLAGS=-O3 -DNDEBUG ++CC ?= cc ++PKG_CONFIG ?= pkg-config ++ ++CFLAGS ?= -O3 -DNDEBUG + #CFLAGS=-g -DDEBUG + +-OPT=-DUSE_SFX_GEN ++OPT=-DUSE_SFX_GEN `$(PKG_CONFIG) --cflags libpulse-simple libpulse vorbisfile` + ifeq ($(FLAC),1) + OPT+=-DUSE_FLAC + endif +@@ -25,7 +28,7 @@ else + LIB_DIR=$(DESTDIR)/lib + endif + +-DEP_LIB = -lpulse-simple -lpulse -lvorbisfile -lpthread -lm ++DEP_LIB = `$(PKG_CONFIG) --libs libpulse-simple libpulse vorbisfile` -lpthread -lm + + ifdef STATIC_LIB + FAUN_LIB=libfaun.a +@@ -49,10 +52,10 @@ obj: + mkdir obj + + obj/tmsg.o: support/tmsg.c obj +- cc -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@ ++ $(CC) -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@ + + obj/faun.o: faun.c support/wav_write.c support/wav_read.c support/flac.c support/sfx_gen.c support/well512.c support/os_thread.h support/tmsg.h support/flac.h support/sfx_gen.h support/well512.h obj +- cc -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@ ++ $(CC) -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@ + + $(FAUN_LIB): obj/tmsg.o obj/faun.o + ifdef STATIC_LIB +@@ -60,16 +63,16 @@ ifdef STATIC_LIB + ranlib $@ + #strip -d $@ + else +- cc -o $@ $^ -shared -Wl,-soname,$(FAUN_SO) $(DEP_LIB) ++ $(CC) -o $@ $^ -shared -Wl,-soname,$(FAUN_SO) $(LDFLAGS) $(DEP_LIB) + ln -sf $@ $(FAUN_SO) + ln -sf $@ libfaun.so + endif + + faun_test: faun_test.c $(FAUN_LIB) +- cc -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) -o $@ ++ $(CC) -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) $(LDFLAGS) -o $@ + + basic: example/basic.c $(FAUN_LIB) +- cc -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) -o $@ ++ $(CC) -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) $(LDFLAGS) -o $@ + + install: + mkdir -p $(DESTDIR)/include $(LIB_DIR) +@@ -77,7 +80,7 @@ install: + ifdef STATIC_LIB + install -m 644 $(FAUN_LIB) $(LIB_DIR) + else +- install -m 755 -s $(FAUN_LIB) $(LIB_DIR) ++ install -m 755 $(FAUN_LIB) $(LIB_DIR) + ln -s $(FAUN_LIB) $(LIB_DIR)/$(FAUN_SO) + ln -s $(FAUN_LIB) $(LIB_DIR)/libfaun.so + endif +-- +2.39.2 + diff --git a/media-libs/faun/metadata.xml b/media-libs/faun/metadata.xml new file mode 100644 index 000000000000..a4800f6c9069 --- /dev/null +++ b/media-libs/faun/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">WickedSmoke/faun</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index 09036cda9831..10c7a903a01e 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -9,5 +9,5 @@ EBUILD fcft-3.1.3.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03 EBUILD fcft-3.1.5.ebuild 2072 BLAKE2B 413f9b8ca65d8a4fee9f6dc06f6a82a5fd71c20e367b4c6d323c5884c716ecf564c6d5be2d711d716a594c6df12dba9674e003114b33ef7dc05bf41f03c4d84b SHA512 afc54726a34924b5b1f68f234598fdaf06ef60ebb66764a1d5304b1f4957e3b60125659a3c7c51d3039896c5bd24bacac74d684713c982c119c619d53a9218ec EBUILD fcft-3.1.6.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9 EBUILD fcft-3.1.7.ebuild 2081 BLAKE2B 43b7997b1f34c8d152bb7160097d470a4dddd173780c99aaafb90b3bfb0b8fc8883d20b74ababa137e05f7d8411c9f92c196c6d1ad8434b34cb36cde47560da3 SHA512 7098a6f342c20503446933852ae6e4198d8fe0b025da134604159ca43022ecf33eea04e9279ab7b63de6b54ba10bcb3d91f2d7893ae71a058737f222a81b2d5e -EBUILD fcft-3.1.8.ebuild 2078 BLAKE2B 9be7f0d809163ec0729d7afe3439672f64daf380a722afc8c31010020aaf3e2b919ca2e8d53fbaca062a84d7035bb31ef74ecff4d78ec23e807bd9a995361d39 SHA512 62cfce191b74dba48437fdf94be7a6818d30ac498e1f94788127e404167618c6da14a79b77aac785ee9285c7efe5677968d91b9aa3b82a100b60aeee4165f00e +EBUILD fcft-3.1.8.ebuild 2085 BLAKE2B 938914bc324e42e6aaefced1532e696dc0fc061238848820a11baff2411c61739adb0b3a810b86c8fae172463477e23c6d6a5b2ca99fd7e812f422aaf5118c13 SHA512 0a765a868586b1a60b30d12015f091b51699481aac2e4af4bb0eb76ae2f493b9649d996815d2d6bb6f863f4f6da6355ee42eeb00c30c8041afd7b0282b3140c5 MISC metadata.xml 561 BLAKE2B 56ca6de19ed1985ea15aeeec86f34a8dfcebf2399fc087f24425a7b854aa8558c9d114da95a432f5476cd0ad005e5cbeb3bb9d92ec722aa71fb151c4313c1896 SHA512 ec3d5ee117f8ef81d61a49bdf2d1a01201e2cb5f3fc1d984cdfed6882c58b2057f67e7e3c92cd8f9ab473dfa5af861336a41496ca439e639cf623ce2f788e538 diff --git a/media-libs/fcft/fcft-3.1.8.ebuild b/media-libs/fcft/fcft-3.1.8.ebuild index 3c6a695d8fbc..b8c1c1261ae9 100644 --- a/media-libs/fcft/fcft-3.1.8.ebuild +++ b/media-libs/fcft/fcft-3.1.8.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}" # ZLIB for nanosvg LICENSE="MIT ZLIB" SLOT="0" -KEYWORDS="amd64 arm64 ppc64" +KEYWORDS="amd64 arm64 ppc64 ~riscv" IUSE="examples +harfbuzz +libutf8proc test" REQUIRED_USE=" libutf8proc? ( harfbuzz ) diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index 075a19bb63e7..4551d06d1230 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -1,5 +1,5 @@ DIST flac-1.3.4.tar.xz 1038356 BLAKE2B 0553cd42705f31d6a98d10e8b73953265e97c6b1e46bb59c7d97d12ec1b4aae4c3d6f5e85b9e5d1513f7efac82a65ea9dc59d89d8df0254ff3ab1188039c55c5 SHA512 4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9 DIST flac-1.4.3.tar.xz 1006728 BLAKE2B c4f441aeaa0493433347b8a110ca01865fd40d5b21150174372af2fee4fa5c3397a67add31138e92999eab9d9abe6c46a5ac29e13cbac60093fbff6d7a672ad3 SHA512 3cf095720bd590a588be8ccbe187d22e7a1c60ab85b1d510ce5e8a22ab0a51827b9acfeaad59bbd645a17d1f200f559255a640101b0330709a164306c0e9709e EBUILD flac-1.3.4.ebuild 1536 BLAKE2B b0493d09dfb9c9688cc08b6c6091c4595477e841873a1c985596979ecd8211268f18a1ff30fbbf919bc07f11b639eef4b6b2389728f61a342e4035a24ecc36fe SHA512 3074eab6fd983ab2b7157a5bdac30071f4bb87e1f43bfc4258234c38abdde24d2b25ecff1f8f86429b54a71a7eaf624d068251991b79821e6a4e1d72095c2cef -EBUILD flac-1.4.3.ebuild 2075 BLAKE2B f3687263032b909aabf4cff247a83d1d728f5d3b41bf4694d294edd04009f2d70bb32bfb0c2a1d51ef2713aed91b3f478c3c282b9caab5c0a74d5dc72fd48a47 SHA512 a226e7abb5f4687ebee41656d1c7eeabc8660a93632d4f47a6d6b92f355e84bef205efe9fb186cc250a70aa242c0e32ba7d4f1e9b1be44147c218efe03a41b99 +EBUILD flac-1.4.3.ebuild 2124 BLAKE2B 01a9928cf109f613fb243e1cc814955e6aad3c056cf687f13cb65246a4a82d519d775066ef59471f5f1e23e78c731d1673f4632cf71c2ca333bbe85d79ecd68c SHA512 9aff52b6a909335c3c9a1a4b822b6e12b06eb28502c5dc205c174ad8b848acc8f9409590574c226083dde039fa22ed2856a684940e85028b6beefeae9df78bf8 MISC metadata.xml 377 BLAKE2B 9fa4c0dc0300b2d2deb791a29d7a2ce6b00e05399ccc29581bc4ab83b1bdff3fecd2edbe6cef3cf8b4111cae5064edf4ccec9205e6791fb57f41d363c6352e95 SHA512 9d9d3c80a5a7c0255476ddc86ebf2fc76e42fc278185e9d5c4c814ff395f6d7d74e9a3e680be2966e89113a76dd482e1fe53f761a59474cf46e8b2469849fc2e diff --git a/media-libs/flac/flac-1.4.3.ebuild b/media-libs/flac/flac-1.4.3.ebuild index 88c731fe0cbc..c68945a115f4 100644 --- a/media-libs/flac/flac-1.4.3.ebuild +++ b/media-libs/flac/flac-1.4.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit flag-o-matic multilib-minimal +inherit flag-o-matic libtool multilib-minimal DESCRIPTION="Free lossless audio encoder and decoder" HOMEPAGE="https://xiph.org/flac/" @@ -27,6 +27,11 @@ BDEPEND=" virtual/pkgconfig " +src_prepare() { + default + elibtoolize +} + multilib_src_configure() { # -fipa-pta exposes a test failure in replaygain_analysis (https://gcc.gnu.org/PR115533) # TOOD: Replace with some -ffp-contract= option? diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest index cfb00aaa06aa..f84be952e8a7 100644 --- a/media-libs/freeglut/Manifest +++ b/media-libs/freeglut/Manifest @@ -1,5 +1,5 @@ DIST freeglut-3.4.0.tar.gz 413389 BLAKE2B 47b073c4e81473417358452ede3891b6fc36e324f66eec42fcbbadebb2144680e3b52caded504135239e170fd8f30a1fe8b6666a746b06d48cd7226c98a8114e SHA512 4bb6d6c086bac7a9c0ec78062dce58987555785abe6375f462ee249f65210a964a28fb10ba7ee8a42d7fafb00eb8d196eb403d65d255f02f88467369c187228b DIST freeglut-3.6.0.tar.gz 429619 BLAKE2B c42985013aafbe0e21369295f67355f2b498f284289fceed9baff5de6a46b7fee2a2ee07e00c136f65caa9159b635df82030a112eae101f9f82751abd76636e4 SHA512 ceb5dd9ea86e915acb177e405e79b92f77cf3213ba21fe200491d0b1150dd9c81835b71cb8a928bd514eb719626ff802250429df2f6dfa33f8e181c3f74b2dd0 EBUILD freeglut-3.4.0.ebuild 1325 BLAKE2B 7c683b86ed0cef012f25a4e9046a5d5072555acd151ac582298097d3c6fdd87bfb3a9ccbda88d2b0e58d351dd6c1a1be1a1fe5a92543e857f96b5df7ec801610 SHA512 67215f51e928e3b863d7e92b2cec941a8bfea3ee540b0d11e825f5cc3a00988fe8018c66703df52ac5f2104a990ace970102c68f6d7233bb243bfdc3d9368a3e -EBUILD freeglut-3.6.0.ebuild 1332 BLAKE2B 1b644ac585afe4129a0562d371730bd7b3952d7608514eb8ce63a7777d36f3838c5dc717d59644a0e1b020067d8ff44ea3728f9a764100fe997dbb219f84aef3 SHA512 5e88f00727561f82f25eecbec23606715fa17ff42c76df67327a06a7de23fb658f5536a648c999712b9bf2869f66b2a07d7223017f5a3fca2c32532d7f57541b +EBUILD freeglut-3.6.0.ebuild 1325 BLAKE2B 7c683b86ed0cef012f25a4e9046a5d5072555acd151ac582298097d3c6fdd87bfb3a9ccbda88d2b0e58d351dd6c1a1be1a1fe5a92543e857f96b5df7ec801610 SHA512 67215f51e928e3b863d7e92b2cec941a8bfea3ee540b0d11e825f5cc3a00988fe8018c66703df52ac5f2104a990ace970102c68f6d7233bb243bfdc3d9368a3e MISC metadata.xml 594 BLAKE2B 984028f68aa76f8cfe537ea8a9f090af580cbe5ec33007c91b5b95b1f8c5396c779f67155d99fce7708e4fba8ee661f35fb01f5fd714a5ccc08794516df15820 SHA512 159f5756565afb1a55ac874afc42e49591c94519970d10eb7857159262bf4f6e372e5c0584f03ed1ad70e28bb5d328d3f36fdb0208d9de8f22e307973ee38167 diff --git a/media-libs/freeglut/freeglut-3.6.0.ebuild b/media-libs/freeglut/freeglut-3.6.0.ebuild index 9795861e49ce..ce65b37fa2d0 100644 --- a/media-libs/freeglut/freeglut-3.6.0.ebuild +++ b/media-libs/freeglut/freeglut-3.6.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" # enabling GLES support seems to cause build failures RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] 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/glm/Manifest b/media-libs/glm/Manifest index 7db31fe7bcb4..a6d524988e39 100644 --- a/media-libs/glm/Manifest +++ b/media-libs/glm/Manifest @@ -1,9 +1,6 @@ AUX glm-0.9.9.6-simd.patch 427 BLAKE2B 9f6e4637ff526497ba9a77247125d1fe5f06eda9bb689b5c42661deb72703b004e2c18f7236503f0673b354ba0e6fa7b13361606ea64fc0e7b9e55eccead91a2 SHA512 72f46827cd6651dd6fddc7ba548f8d9132fd74b9799a8eca6e94435141e96f752917b4343d4c3f37536bbc7713e978e4d85842da6d262c086019eb85f351a431 AUX glm-0.9.9.8-big-endian-tests.patch 3463 BLAKE2B 4a71bfd885de6cbd715dfb4eefff0d6e7795001de2f418085455609b3a53be71e22e895236a7a20b8a38e886621cca758aa489522c4514534182890d33586d9a SHA512 6b5432bde02f57251203a40b52991c9b41422683740f3f2138b5adef96d47ec9123e4caee3b27be4c38cc3f0418ca821e1016966a5370b6df433b8e05fdd5eab -AUX glm-0.9.9.8-clang.patch 712 BLAKE2B 1bd883548efd33e33759828979f9d62be0576b76ae187ea0ff52a817b58262e5e7859d99d5405e87ebef1fa30bb70f712636acb4bdf12e61b54536b363074b69 SHA512 be04ae74a3466516a284dd159dae0c0e063f2b5b424b3552888d36adbd24a937c7beb27bd0bbb917343bb9746198ae14b39fdad5ff117e408d89b4bf00badd1a AUX glm.pc.in 149 BLAKE2B 9a34ca2590ef006315e004fa6ba0b08469c9da348d8354d0ab6a7e602da1d49126cffbd28c2aab2e2dbe711d047d482b4aead45d1e8770ab571e23e895201b4d SHA512 c875971c208bac82c1a326ebcd327ec9dd92a5b86981d26bf759516107204876a401ac9c57ca6c9965021364678ebbffcaaca6a3b4ee0e532d468d7b03b3ab9b -DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a SHA512 9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8 DIST glm-1.0.1.tar.gz 4567161 BLAKE2B 2a6f399710f5812d4060b994df454e0c0e4fc7fcaccdfa62de6de2886987349b266944313539a398733708043c887f1324fe33eef8aa2205ef77e7c0dff28fec SHA512 c6c6fa1ea7a7e97820e36ee042a78be248ae828c99c1b1111080d9bf334a5160c9993a70312351c92a867cd49907c95f9f357c8dfe2bc29946da6e83e27ba20c -EBUILD glm-0.9.9.8-r1.ebuild 1597 BLAKE2B fc44edeb119342ada690a31fe3e7f627b0ed61f9deba507dcdf7e1484a252da5d2bd9a59526683bfbe5678f58b916b86595211ca531fef18247f8f12eff558a9 SHA512 6e78dbd03da031c414ed0bcde42041a662fdd25764d41afc33d7b323b88d55abfdabf657c9d4ee7212f2ecdb87afdb0f8d2202d6858b39746df982038e9f697b EBUILD glm-1.0.1.ebuild 1879 BLAKE2B a5c5f084a7c7bed722c8aa444fabb18cfcef03ec979f3bb2fea25cdde60d5404265e076465396b197defe23f2194a16d015654d14f762013c73664ccdb835c71 SHA512 bdfc672b577a92dee71423be7de0574c482260ecc45ec972d0cb0b998e5ae3c0cd151c41551ce23553aea6d3b652103e42ed031d3056b24f34ea44eb28ce2c88 MISC metadata.xml 545 BLAKE2B 90098d29455b2202bfce4c4ba4eb53499bbd348d477ad554d6c9561dad4ca9b3083f729dfe2f94224b5ce1b4f515ed0cd4121663c264d57bf8829e6e9c1b245f SHA512 2327ea232b899c7b8d2bf50ed3dba7cfc347c4aa9e31dfa2de50ce5815ef5105da921937081e4b1fb38b1406e65d585a50e3705d78fac39ec54e624bb27c617d diff --git a/media-libs/glm/files/glm-0.9.9.8-clang.patch b/media-libs/glm/files/glm-0.9.9.8-clang.patch deleted file mode 100644 index af763d5b452a..000000000000 --- a/media-libs/glm/files/glm-0.9.9.8-clang.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/test/CMakeLists.txt 2020-07-07 08:44:31.304955458 +0200 -+++ b/test/CMakeLists.txt 2020-07-07 08:44:38.962844309 +0200 -@@ -197,7 +197,7 @@ - message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler") - endif() - -- add_compile_options(-Werror -Weverything) -+ add_compile_options(-Weverything) - add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct -Wno-nested-anon-types) - add_compile_options(-Wno-undefined-reinterpret-cast -Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral) - diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild b/media-libs/glm/glm-0.9.9.8-r1.ebuild deleted file mode 100644 index 8c3edfc5425a..000000000000 --- a/media-libs/glm/glm-0.9.9.8-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake flag-o-matic - -DESCRIPTION="OpenGL Mathematics" -HOMEPAGE="http://glm.g-truc.net/" -SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( HappyBunny MIT )" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" -IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86_avx2" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.9.6-simd.patch - "${FILESDIR}"/${P}-clang.patch - "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch -) - -src_configure() { - # Header-only library - if use test; then - # See https://github.com/g-truc/glm/pull/1087 - # https://bugs.gentoo.org/818235 - test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref - - local mycmakeargs=( - -DGLM_TEST_ENABLE=ON - -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)" - -DGLM_TEST_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)" - -DGLM_TEST_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)" - -DGLM_TEST_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)" - ) - cmake_src_configure - fi - - sed \ - -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \ - -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \ - "${FILESDIR}"/glm.pc.in \ - > "${BUILD_DIR}/glm.pc" || die -} - -src_compile() { - # Header-only library - if use test; then - cmake_src_compile - fi -} - -src_install() { - doheader -r glm - insinto /usr/share/pkgconfig - doins "${BUILD_DIR}/glm.pc" - insinto /usr/share - doins -r cmake - dodoc readme.md manual.md -} diff --git a/media-libs/glycin-loaders/Manifest b/media-libs/glycin-loaders/Manifest new file mode 100644 index 000000000000..6a5f11555029 --- /dev/null +++ b/media-libs/glycin-loaders/Manifest @@ -0,0 +1,3 @@ +DIST glycin-1.1.beta.tar.xz 28597076 BLAKE2B 94e0172de27ce1a1cbbaba6ee5d3792b8a05a2f192598a03f61dc7cdacbdb2927ad3b19158ae30c63fe73916edab0c24a3d547ec4d8c7adbf63b7cce8cc81704 SHA512 a5534546f58508a033b00ad798536e0342c0d3f2108464f3c58bc0c7e23aeebf9687e6b2717c0edf35e3f88177c8bd281ab8f5e82377adec096396ce8c4e8eb2 +EBUILD glycin-loaders-1.1_beta.ebuild 1785 BLAKE2B e862d922157ea8a2482f5cbfbd25a7453cada31f9f9e1bb6f0809d5b3cc0bd51386f588171568160c6569f7425273a51c0c983bcb3a2e81597307ecf394b98a6 SHA512 ac00d06bccdb59c38ea3fe29e8838fa28ba6c00e61dc2fa7b38f577c7348e5bfff24d32f7656f2618f308aae8a8f92ce98f7aae25594b1ae7bdb5c923775b354 +MISC metadata.xml 334 BLAKE2B 40a37360358b501628e64a2278652edb17a57432f8dc36dd6c585761f59cbdaaa284760e27d9a33b8e7aa27e916df3112601b0b6141940a6b4aae4138af64883 SHA512 06b70f17068f327d4412a798b938e65ced583ab6e63e2dfc66135d8fa7f7e32316f53c1c2dc65a9482222a64fe8398929705bb16579cfd3ee5b2aa677db7dc1a diff --git a/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild b/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild new file mode 100644 index 000000000000..010fd073ec89 --- /dev/null +++ b/media-libs/glycin-loaders/glycin-loaders-1.1_beta.ebuild @@ -0,0 +1,88 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo meson + +MY_P=glycin-${PV/_/.} +DESCRIPTION="Loaders for glycin clients (glycin crate or libglycin)" +HOMEPAGE="https://gitlab.gnome.org/sophie-h/glycin/" +SRC_URI=" + https://download.gnome.org/sources/glycin/$(ver_cut 1-2)/${MY_P}.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC MIT + Unicode-DFS-2016 + || ( LGPL-2.1+ MPL-2.0 ) +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="heif jpegxl svg test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.60:2 + >=sys-libs/libseccomp-2.5.0 + heif? ( >=media-libs/libheif-1.17.0:= ) + jpegxl? ( >=media-libs/libjxl-0.10.0:= ) + svg? ( + >=gnome-base/librsvg-2.52.0:2 + >=x11-libs/cairo-1.17.0 + ) +" +DEPEND=" + ${RDEPEND} + test? ( + >=gui-libs/gtk-4.12.0:4 + >=media-libs/lcms-2.14:2 + ) +" +BDEPEND=" + test? ( + sys-apps/bubblewrap + sys-apps/dbus + ) +" + +ECARGO_VENDOR=${S}/vendor + +QA_FLAGS_IGNORED="usr/libexec/glycin-loaders/.*" + +src_prepare() { + default + + # https://gitlab.gnome.org/sophie-h/glycin/-/issues/81 + sed -i -e '\|/fonts|d' tests/tests.rs || die +} + +src_configure() { + local formats=( + $(usev heif glycin-heif) + $(usev jpegxl glycin-jxl) + $(usev svg glycin-svg) + glycin-image-rs + ) + local formats_s=${formats[*]} + local emesonargs=( + -Dprofile=$(usex debug release dev) + -Dglycin-loaders=true + -Dloaders="${formats_s// /,}" + -Dtests=$(usex test true false) + -Dlibglycin=false + ) + + meson_src_configure + ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die +} + +src_test() { + # tests write to /proc/*/uid_map + # apparently, "addpredict /" in Portage breaks it + local -x SANDBOX_ON=0 + meson_src_test +} diff --git a/media-libs/glycin-loaders/metadata.xml b/media-libs/glycin-loaders/metadata.xml new file mode 100644 index 000000000000..52ff5d43ffe7 --- /dev/null +++ b/media-libs/glycin-loaders/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="gnome-gitlab">sophie-h/glycin</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest index 5c5c27f35546..c1f4036ccf3c 100644 --- a/media-libs/gmmlib/Manifest +++ b/media-libs/gmmlib/Manifest @@ -1,11 +1,11 @@ AUX gmmlib-20.2.2_conditional_testing.patch 1151 BLAKE2B edeb2ff121efeb39e674bc6e4fc37e3603f98875e7d618f4a0bbad49d6d46745c2fdcc2405b3383443af767ab231cddeb1914ccbf0710190fe6c47a94033e638 SHA512 8f6a676104108161e5ca727d231789559bbf1c24b289b25b9809b5b70882e355af976051d31bd4a238df24b13fbe4a3324ce40c3ee3c592e650b34dde8d8a62b AUX gmmlib-20.3.2_cmake_project.patch 145 BLAKE2B f42306b41a0c62ea9d3d5bfe3d1e1f85c23028e632c44f1cfe41a5fa47c7e94416ac1e5c58a4018a5da024d65e662c301e8d935994f6b53b52414a5f8081208c SHA512 feafa316267e903a25e7889fcbcfb31bd77402715d84d82464ae25f2cf013866c812b1c37bc1d64a8c5e1a0dd3f00e9333658532ad6d7abebf4f67bd6fc46d64 AUX gmmlib-22.1.1_custom_cflags.patch 2963 BLAKE2B af9979ee3c7977c93288b6afd0c0a65451f6f06cffbb00d32d53541410beded1feb6212bb0a5b7820e4ba8c4ee03656f274b94a26e0688e90e0ad140b37ee4a2 SHA512 933a9234f178ec566ca88fd3b48d746ac869936acfd5541d8b6b3cac3125c029054fe385101d734e5e35eeb9393f1609be96c9bcc2f1e0bb79a7295ccdd6c292 -DIST intel-gmmlib-22.3.18.tar.gz 846277 BLAKE2B 79485dfe33537053b9986f2f97771c551757da0f9ba721f82f5ff057bf230aa7ad79818d6915fb26cd354cb49d4da27c770c5adb61e530bdd39b51469fc4f9af SHA512 6dab0522a4d15bd5147cb72899a48170f441d5160dc11224809477380b3762ade845e7498a54df7de6673c0ad44bd037db754713697794e26106837f69eb0636 DIST intel-gmmlib-22.3.19.tar.gz 846342 BLAKE2B ce3c25740d9c3f556db31f880b47fba8358dd7d7d53d80bc9923bec8c67fdeee3ae4efa5465390c229bfdc2f6c64fa0a7963516f83d12061d34bf51102cb3a64 SHA512 804e4995983884832dbb6d08a4e3c8ca8d60e7ef2c5a0de12d0facfac1fdce619ad229ad1a6b62fdf0ba74a968caf3bb884e283af8cf38babacff350fc9728b9 -DIST intel-gmmlib-22.3.20.tar.gz 846257 BLAKE2B 04e17f6735cd2081d672c29de986331fb5ddc7d89d142bcc470ee48567762676d562620d0d1f9e2ab061ba96b299bc4b0f6416c17542a8d7f9288cdfb1d0a42f SHA512 d5a6da43f4bdcb2a138c249e197b2e441d0999e89867aa66dfa68cbfc6982e631a7df29fd213a72a57b31cb29366f654343cb6b77a46f22e54bfa5432310e053 -EBUILD gmmlib-22.3.18.ebuild 954 BLAKE2B e65b06b054ff521cc3ee3d2b95a6777a706fe03fa30cd7a369539d5ebc0b5aead789a8997d640f7a273f2ff9235b216cf1950c3d6f93f9349ac76348ed3de189 SHA512 c7bcd9d9ddd19d174d277a620a38b206d8e1796ad1dcde3ba61b34eaa92eb4d0ece070077e5cd744a38ed80317ea6715ce5d4a5a7cc8057672980d69060585cb +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.3.20.ebuild 955 BLAKE2B eba2f14d093a7b8b63a1cee0dff0fab805b9681bca014bd11cb2ff7682aec1b3adeaf41cac8b33a1d8a48c4c4420bfcc296a91429c3d55ab3e51581ee126adaa SHA512 f6f89934cf6bb49c453de13a599224d6415f494522f0ebc876cdecda9a061b9d41788ce3ae55d1c168c1f73d6d362403cb15b81067866e1554a4f57ff73c9494 +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.3.20.ebuild b/media-libs/gmmlib/gmmlib-22.4.1.ebuild index 2a09f24b8f3d..2a09f24b8f3d 100644 --- a/media-libs/gmmlib/gmmlib-22.3.20.ebuild +++ b/media-libs/gmmlib/gmmlib-22.4.1.ebuild diff --git a/media-libs/gmmlib/gmmlib-22.3.18.ebuild b/media-libs/gmmlib/gmmlib-22.5.0.ebuild index 0a7ae2c25cdb..2a09f24b8f3d 100644 --- a/media-libs/gmmlib/gmmlib-22.3.18.ebuild +++ b/media-libs/gmmlib/gmmlib-22.5.0.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then fi inherit git-r3 else - KEYWORDS="amd64" + KEYWORDS="~amd64" SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz" S="${WORKDIR}/${PN}-intel-${P}" fi diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest index 458071879f8b..7c6de56bb5db 100644 --- a/media-libs/grilo/Manifest +++ b/media-libs/grilo/Manifest @@ -1,3 +1,3 @@ DIST grilo-0.3.16.tar.xz 241660 BLAKE2B ca04eceef12e103667690ed9f5493cf15c036ee105fb590191fb10b58f1c042f255053e528b52eab1d3ec2c455cc82bcab69d2215b7ac70415b700d21c811905 SHA512 ef04f8c3e5308893d60831580262724bf427e9e3cd2093dcc4917ac93c7e814c9524badaf5246e3ee3748ec2e70afae03df188bf0a1c3e405f4bd6264eedd313 -EBUILD grilo-0.3.16.ebuild 2151 BLAKE2B a9840e04ccfb74da08af6f38349c3bdbfa6d7e7d767acc25a27cf25a7b9dbf4a63d2b49cecf2a8ede7dcc70d2df705bc84bc5525a30f6a6f129eac82451460e3 SHA512 afcd04f2a0d019bc20939439d2db16e488f6876109bf21a313e027cdad6f61a9f6533b160268a281b41229bf71661699570b1a0837e88c1ef2190c434ee51fba +EBUILD grilo-0.3.16.ebuild 2151 BLAKE2B e1edfa11f248a675129536fb03a53a639fd649d66c01acce085ad77911d52bb72ef41ed967cbf8ad8ab7e5f05d81f2898226eed76d46ef7c73fe313ebb20b31a SHA512 17982350f8097d70bc283f4638f1daabfe8e4878e27b9ae97b33d996f1499f6108bb453ea8fd975cb0051a40dae17892fd5bf11a3ed10fdf1f105ae1afc3671f MISC metadata.xml 728 BLAKE2B bf26241647153b434cdf724108342a8415518d5d53487ef449ea382d2b3f3fe33bacf917ddeb65e90d11c7eeefabf3d58510c44b998cadbab3fc8b315bea6422 SHA512 9a871314e746f137125c7bb31f8b9a246fdbf2a9c92f017c1d134019b423d72639db1d5214bd8f06321f7ae4233085aff1d8a3cf7ad748b391ff81f92ff2255f diff --git a/media-libs/grilo/grilo-0.3.16.ebuild b/media-libs/grilo/grilo-0.3.16.ebuild index 60479088e35a..f27585e92605 100644 --- a/media-libs/grilo/grilo-0.3.16.ebuild +++ b/media-libs/grilo/grilo-0.3.16.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome.org meson python-any-r1 vala xdg DESCRIPTION="A framework for easy media discovery and browsing" -HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" +HOMEPAGE="https://gitlab.gnome.org/GNOME/grilo" LICENSE="LGPL-2.1+" SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 5315d21d1299..f974e2705309 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -2,7 +2,7 @@ DIST harfbuzz-8.4.0.tar.xz 19241260 BLAKE2B 03d6bf0f70354d01ee85edb9fb80d48a9130 DIST harfbuzz-8.5.0.tar.xz 19468172 BLAKE2B f598d7de953834499d1ab36c0fc9d95099fd7e99b87f630e1527aaa39deb2d339b9f3caaea3643238c6c1b321557f794f273929950b54fe9de2faa430d77855a SHA512 d5762f77b0913792d34596e6f3adb98ab693e2ef928396f997ca2e647ca7cad13fdd204fa15b49e2f7c33320ff210d7f078215d5765c9365571458b919a4f10c DIST harfbuzz-9.0.0.tar.xz 17895360 BLAKE2B fd35c41d25e77c96b1fc760b8ca0ffd1ac8f3382b51991bb28797d55c2171bf0700ac65266996bf5cab82b8e9c835c2fad9c8374d9c60d2a361c924d805afbf6 SHA512 2700b560727d9c4440ad9c74a170b857f20f9e553e5d98b0c4bcf086a25ba644149d7c89009a41d964af7a924efcc486da4dcbfa5cc4d47f9f10e9b6b8c689af EBUILD harfbuzz-8.4.0.ebuild 2714 BLAKE2B 9384baff4e8f17ea5eed5d98c06154f8b0b9c44d91a2c9711f9be092d10801de9a0125ab9f27b8450b18e86b69a5d6f8a5fd0f277670c84d5bfc8b5f71053129 SHA512 3eee664d83089939d5b4b085d971518958445e1594403fae2f1bc19c58e0a4bdea62dc23a931b823ac373dfe2adedc1a2aa2a2709e86f087095300bc9970f8c1 -EBUILD harfbuzz-8.5.0.ebuild 2716 BLAKE2B d0b04bb0dad2402e17616dddd9f4b576d4af00080b2a03aaa35eda405f2de5f6a5999f2532d7d350bfe945e50c33bf9d4273b70394cf3188e39366173f8ab395 SHA512 18c9a73f7a1695056c71c17a878a74dadf41c88d35b7cfc0726ddac7002278716c268ff979ffdb99e78d4b65c7b6ec15797ae3ed57a10d9ad801692e6531bfb3 +EBUILD harfbuzz-8.5.0.ebuild 2715 BLAKE2B 0e9548235503242792d23fb8cfe4ce48aa6eb31605b7c7a090a92d9eddd6ffc89cbee42593d7eaecccabb79dba954da02877ea82f4c9a4a16e2e2c023540c013 SHA512 bb805c289c937b37be056bbecc9480481c15bfec379ad2034ab36243945dd43d1d19c22187fd08c91f636b672ccffd9770ae0bedd2167f76fe3da0517cb748e1 EBUILD harfbuzz-9.0.0.ebuild 2426 BLAKE2B 173e25f2d675f85245d22639e6ea4600923b824edc3d611a9eb27809c11cb2f17cec4bce92f1ffcf8a8f43fa5f4ff2c0806dce233eb52642d2cceab167d43349 SHA512 fb86b70e62f260f49f0429d4d3202a26be2a806eff44190bd280c13e1f7c02ff4cbc576f22ccefa4a8448757bdb54c5bc1c2a130a1df00c3f4e7dc0b6d6a26cc EBUILD harfbuzz-9999.ebuild 2426 BLAKE2B 173e25f2d675f85245d22639e6ea4600923b824edc3d611a9eb27809c11cb2f17cec4bce92f1ffcf8a8f43fa5f4ff2c0806dce233eb52642d2cceab167d43349 SHA512 fb86b70e62f260f49f0429d4d3202a26be2a806eff44190bd280c13e1f7c02ff4cbc576f22ccefa4a8448757bdb54c5bc1c2a130a1df00c3f4e7dc0b6d6a26cc MISC metadata.xml 649 BLAKE2B a03eb9e2b09fab01af900957a9f5d0a43836a77ce770bc2327bc8da299139d1175b59cc413d0a02d74d4fc4169ff3c9180a5c1cf8d6ff570b054bbceb55e89ba SHA512 94c0c007157e240abc17056e2efe877770ee0267bf9d710fdbac796110f4507d2bc628c3b22f74652a9c568e7c60fa513e680aeeb8895831aafede268c14be70 diff --git a/media-libs/harfbuzz/harfbuzz-8.5.0.ebuild b/media-libs/harfbuzz/harfbuzz-8.5.0.ebuild index 87add1e03cad..1d243727ad03 100644 --- a/media-libs/harfbuzz/harfbuzz-8.5.0.ebuild +++ b/media-libs/harfbuzz/harfbuzz-8.5.0.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/harfbuzz/harfbuzz/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="Old-MIT ISC icu" diff --git a/media-libs/iir1/Manifest b/media-libs/iir1/Manifest index 775ce758b205..22af5ed20356 100644 --- a/media-libs/iir1/Manifest +++ b/media-libs/iir1/Manifest @@ -1,5 +1,7 @@ DIST iir1-1.9.3.tar.gz 2092743 BLAKE2B bbd6476b47574b7944281d1ce6a9eb072a57eb0bab5674110252fa2249fd5a549185a8de09f3fd0582e2f1b08f5b307a47c3d494df8cf12f9075654f60aaaaaa SHA512 3ac7f83832077acf670dd227f40a72e4ec635d62cc97c7e5160ec338b6578de4edf17704da338d221be57e93d05288fafd0b8324854cded6f09eb0e32027a994 DIST iir1-1.9.4.tar.gz 2115692 BLAKE2B 4d53664395e48caf42bc9db74c772ba2f3409b6d8aa21e9a10ce8e54628c6d1034a30569e64bd78645c2f566be155ef254c96832ae04e374d024283636ebf659 SHA512 e69b79ba48aa5d5ec2ddb0a31461ac4c15b0489df80fddc1f1f8adc143726fa189dc0dd94a0ed2bb7aa73712f953e27b345a762120ab2d10f54f57a868f0ea42 +DIST iir1-1.9.5.tar.gz 2115864 BLAKE2B adecbe0bf434e9851293378658bc2e6b1f3f45d3d5c3c05f82239b859bfc8b31a65255231d527e6c5ab8c34cea53d6f4095cb413f44d4b784724928def4cf0d8 SHA512 2b0658a621cdfb57796cf2fea5411975b442af4af267bce2f613ae53f43572f208fdea59d7ea0178e9984e311c406f289166789aa423505ac8ed2b889ddc9f64 EBUILD iir1-1.9.3.ebuild 382 BLAKE2B 5276731f26defe69f9f664a9cfe647852f1afc0e89b07159bd91dd2df3d996926d3a1a3bbeb5448a5d5414a82fd44f511e612d161cfb999291b7b517b71091c2 SHA512 aa5c726774869fde48b010e3ae7ffd91f297ba9c626d28f3f75678a9bcc45f239f1660ba23f248a30ed478ddd21ac86a3533fce2e76eba430392cb2ebae46118 EBUILD iir1-1.9.4.ebuild 546 BLAKE2B dab5bf1efa84e5689af14a12e59a944047a5fa5d8ee059e474b8afa0ddc1fa508b6c70baf5e6586b0fe512e52c90d2b71b0668e0659c007260ccb183e983b82f SHA512 d9d74f0e2001552b9875860e57120c22634eb24f45503c1adb3f4f60edcee5086651eeaee4ae419ed6c3131b08abcd38dcf85c6cb2c2d9ba6a396b5918dccca3 +EBUILD iir1-1.9.5.ebuild 546 BLAKE2B 2031a28369dc70450a2816d178acd00a8d09c45e82d2678ff4ce11eed46b43a1eec0b5eb350adad06739f6ab2a8568d74a32a87bed339946a17929522b5f4e23 SHA512 c3bfa572b3c1235deddb68a154c52d70043a4f84ad4f1e26be67463d1338d28b8dfff4da703290469a43adbe3927dfe35e085e9a5bd468b6442c2d2c4eec04fe MISC metadata.xml 342 BLAKE2B 8bfae38526ccfb19bd9e8f576c44d3fd4c375647bbb098e1cf00a3b39ecb85ec117efb128a69c2edbbf79f669f4dcca69d39682c0b60c5e02a2334ea12809cc5 SHA512 c0169dd6d7ac30e30453046e5dab26813789832fe066722aa872e4db1d32e1314cd53351833d38495a4c60843a63593de2acea27d5bef27eea8a3c2de2f0ed54 diff --git a/media-libs/iir1/iir1-1.9.5.ebuild b/media-libs/iir1/iir1-1.9.5.ebuild new file mode 100644 index 000000000000..881af3839049 --- /dev/null +++ b/media-libs/iir1/iir1-1.9.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="DSP IIR realtime filter library written in C++" +HOMEPAGE="https://github.com/berndporr/iir1" +SRC_URI="https://github.com/berndporr/iir1/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DIIR1_BUILD_DEMO=no + -DIIR1_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest index 45142ce034d3..edc47ddcdcb4 100644 --- a/media-libs/imlib2/Manifest +++ b/media-libs/imlib2/Manifest @@ -1,7 +1,7 @@ DIST imlib2-1.11.0.tar.xz 820368 BLAKE2B 2e1dec04c44ce14429910c0dd6b7b5173bc70e8968912c9c25e8b47d38fdfd6753c29de2e5a2ae0b0e6498550e207989ae927682b09032b637baf759744dfbec SHA512 2727b217ae18e1015591f2587f885a5a8d59471d6051f1aefb761329fd0fc979163e228154b2bff8728a3a2acc28437f189989d24a4d6e37bfc6f69445bd47e7 DIST imlib2-1.12.2.tar.xz 831812 BLAKE2B 6b1bad56a70c3beb91ef85d6b7a40c80d0f3d2dc8b87bb9d37f2073ab0154860230671c3e78bc87051e5f25fc5871a036cb51dcc24b6734dcd2c322f406796b3 SHA512 3bffb8f0f6b3ec73a81f1d0c6ef3a3443425677cd8a1950422f102b67769c06df54128b21f84bd6c7880120cc5ec6f30d2ab134b3c001ad77f2d39efd749a5b7 -DIST imlib2-1.9.1.tar.xz 813104 BLAKE2B ef7369d2285bd5b207f646ebb12492323203306c95786d8561a1191dbe489a8efe61975e4deed7bc9c8ed0ac24cf9bd826fa5a24095bc3d254e6f6d6379c8c8b SHA512 00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1 +DIST imlib2-1.12.3.tar.xz 833128 BLAKE2B 3c02b103bf65ed54319b30d3112b8c4a1b8f41333f2a8848fc44bc1380e1e5dbe3a21e311685d80f77f08815bb11a2a1073beb1683df852919f2c6003535fcaf SHA512 79feea73fb67508ffdce52f8430c2c887b06d8bcb70f6e3bc551c86d521ebf61fc1eff10994b69def4d7a237873f107066aefa367e05b5f89b5d675751d9314f EBUILD imlib2-1.11.0.ebuild 3029 BLAKE2B 55d7d50d26816b102c27bbf62a98b43e2ae01bb3845a132ff7564273f562acd69b58ec9cb010797f5c9d7bc21c1c3ac1f99d08820ef0161acaaba14b847e7d0d SHA512 97f7cf0cb374ad35331c2983413a2e8f8aa01fdda341332a4fe91edcd7d8a01b93ec7fa9e15135938bdbe42541837924db510101cc88c1b07b408a3938dd2c83 EBUILD imlib2-1.12.2.ebuild 3164 BLAKE2B 5c03eb8f5f64d908743098c4ccc1d9315feebfd5a09d4f9b10f0781cf9d6963c7fbd6aa00bf8d8ad8c19daf96566f6cbf4eb1e64ecb0313a1ca0791525ca256c SHA512 27c14a5a8d5657a13ac9c87f2640463e78cecc75129b632872e45200ee6c37a7a580e92b0c3e7899c8b87e07220132f389eb9da09d56ab0d66a7d3618a929f28 -EBUILD imlib2-1.9.1-r1.ebuild 2936 BLAKE2B b67dcd85bcdcab8f81e8d9b0345c04813467561ea0f38afb075145c780639440d8472428ab77fcf48e8440bf895d54f969e3ff0e7b8b94b5e377e4bb8f73a7b0 SHA512 f6f4d52aa8ba13f6ff2a7a5c8f091fd91ebabee6f9460847dd3c9bd02aeb98a4ea77079678e8c5cf069919a6b4ba94a9ac7cc9ca6bb6b04b9fb7bf6da9973f13 +EBUILD imlib2-1.12.3.ebuild 3164 BLAKE2B 5c03eb8f5f64d908743098c4ccc1d9315feebfd5a09d4f9b10f0781cf9d6963c7fbd6aa00bf8d8ad8c19daf96566f6cbf4eb1e64ecb0313a1ca0791525ca256c SHA512 27c14a5a8d5657a13ac9c87f2640463e78cecc75129b632872e45200ee6c37a7a580e92b0c3e7899c8b87e07220132f389eb9da09d56ab0d66a7d3618a929f28 MISC metadata.xml 3499 BLAKE2B 116f7f67a7fe0354e9da8b94d7c833a100341fe377561beaa6d40c05994dd776d2655b8b2d3d356e3f53b8cd9e1cfe1b310df994106f6416b4fbbfea3363f13d SHA512 0dbb2db546597fb2b00822f6860feccc12f4ba22deeeff3b4411c5025a54beaa66c81145dc70936f8a959aeb6ea0b8be05a5afcf8d9c171bac8bf9b97250c034 diff --git a/media-libs/imlib2/imlib2-1.9.1-r1.ebuild b/media-libs/imlib2/imlib2-1.12.3.ebuild index e6c47d041a47..84e594b8ca37 100644 --- a/media-libs/imlib2/imlib2-1.9.1-r1.ebuild +++ b/media-libs/imlib2/imlib2-1.12.3.ebuild @@ -14,10 +14,10 @@ SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="+X apidoc bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug -eps +gif +jpeg jpeg2k jpegxl heif lzma mp3 +png +shm static-libs -svg +tiff +webp zlib" +eps +filters +gif +jpeg jpeg2k jpegxl heif lzma mp3 packing +png +raw +shm static-libs svg +text +tiff +webp zlib" REQUIRED_USE="shm? ( X )" @@ -34,14 +34,15 @@ RDEPEND=" jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) jpegxl? ( media-libs/libjxl:=[${MULTILIB_USEDEP}] ) lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] ) - media-libs/freetype:2[${MULTILIB_USEDEP}] + text? ( media-libs/freetype:2[${MULTILIB_USEDEP}] ) mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] ) png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + raw? ( media-libs/libraw:=[${MULTILIB_USEDEP}] ) svg? ( >=gnome-base/librsvg-2.46.0:=[${MULTILIB_USEDEP}] ) tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] ) webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) - !<media-plugins/imlib2_loaders-1.7.0 + !<media-plugins/imlib2_loaders-1.10.0 " DEPEND="${RDEPEND} X? ( x11-base/xorg-proto )" @@ -60,6 +61,7 @@ multilib_src_configure() { $(use_with bzip2 bz2) $(use_enable debug) $(multilib_native_use_with eps ps) + $(use_enable filters) $(use_with gif) $(use_with heif) $(use_with jpeg) @@ -67,13 +69,17 @@ multilib_src_configure() { $(use_with jpegxl jxl) $(use_with lzma) $(use_with mp3 id3) + $(use_enable packing) $(use_with png) + $(use_with raw) $(use_with shm x-shm-fd) $(use_enable static-libs static) $(use_with svg) + $(use_enable text) $(use_with tiff) $(use_with webp) $(use_with zlib) + --without-y4m # TODO(NRK): package libyuv ) # imlib2 has different configure options for x86/amd64 assembly diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest index 2e22d6fa381f..055d5359c774 100644 --- a/media-libs/jasper/Manifest +++ b/media-libs/jasper/Manifest @@ -1,13 +1,7 @@ AUX jasper-4.1.2-which-hunt.patch 1155 BLAKE2B 21f0080fb7590f53d69e9d94fe4a01aee3aaa1656179b234936fe8383ac256ac13a77e7764c4060075a9812ff25b91ab0abc6c9ef1f5332a36022f7016d46191 SHA512 d934547efc455442ba12a2936214c2ac91c6e49d0e749647b2101ad0de9de13184d9e44ed841679ea3812e67e9d61df9ed28a2b2fc4dfccacbc8cd3395a1acd2 -DIST jasper-4.0.0.tar.gz 1975127 BLAKE2B d4d8ae3324f3753e999adee57c215b89fa0ddeb3d945f10de15459a7d6566f1de9cbcd27a418bcc3c128bc138fff7e3f1cc157b6750d2d7dc1216f8e8cbc8bea SHA512 dc03434870e85b1fdbdf41a3e07ce5a8044c8d225717d3d7a5969d45e3bd716bfb2abc4b4e0b8cec2f4071a7520c5d3e48939dba0cabe6d192eacd593de0c563 -DIST jasper-4.1.1.tar.gz 1979438 BLAKE2B 7f72c7f5633b7b0b119733ea7cdaa51684d3593ea19de21ae45f036ac79245b418b4f72a90f4b7d458b38ea480f008a8b67a74a0c4f440c9d86f76419e04e712 SHA512 a15c196d7e448fb3c8b6512793d4b430e58ba6adf343b46392cac0880ae8c385cd75b43dd566c4a25baab983089cb95c00ae538dc0b84282cc98f2a9ce398d43 -DIST jasper-4.1.2.tar.gz 1982427 BLAKE2B 36f1e5abb90f6e684ab9b9479e3f28318c75e1f1cd71dfa9f84f00fca2e04ebec393b48ceec1db02d2777cb09fbf0f425cef017958aec1c7f6fd66277c370baa SHA512 ab3cc1e2a4b4232510eba89d03363ed1a9f74ee981e2e7eeef21d185dbc12f2efa5cc0e281c5d20adf1d3d0f95a44f7b0ece8fd304e26bdcd1ff352dbf398367 -DIST jasper-4.2.0.tar.gz 1980712 BLAKE2B 1f01775b23f368ae8380569e82026f24f82eeee1d5dc4f023ab844c3ae14007c79c416860efb414e620059824a2923d6bd3ffa1b4914eb7e11e247016ebead55 SHA512 31da8f49cec3ba2a3bb9ba40fa54fe64c97d1e564631c980619f0b3ffca36814adc6c2cb8dc1ead774a15546f308e7a33990821538d1e7b6c885b14ed4e1f711 DIST jasper-4.2.2.tar.gz 1980836 BLAKE2B b5b1f1e27904bf3c884c43bd338b836425a68e5162e1e3dce320ac3cd5a0150cfe7e39a2709590378a33fd43eee3f7abe4d1d4d86bc99c0d58061a97cd9751a5 SHA512 5c5e0efae1c00a57d85ca5aa70f2cc332bb45db15e56f022c52a11f4ac8f995412896d62fcaa3b7f390a85de70aa56c421a9ab8e5945048ac94b19847eed67bd -EBUILD jasper-4.0.0.ebuild 1275 BLAKE2B 520815966ee03cd1ec9272ce4b79712f0902555bbcf33d01397cbaf8ef9765a28077aa64a8da73549afa5c21a07b219152674127c665aebf72f763376c8dcca1 SHA512 c8c467d32fd70ed767e6e7063796738473bcad8fa4a1789446be1392c3970edcaef880132e4b8ad2178d2be985b92311e12fb20c242dc3c2df8a851bf4c2cc9b -EBUILD jasper-4.1.1.ebuild 1275 BLAKE2B 520815966ee03cd1ec9272ce4b79712f0902555bbcf33d01397cbaf8ef9765a28077aa64a8da73549afa5c21a07b219152674127c665aebf72f763376c8dcca1 SHA512 c8c467d32fd70ed767e6e7063796738473bcad8fa4a1789446be1392c3970edcaef880132e4b8ad2178d2be985b92311e12fb20c242dc3c2df8a851bf4c2cc9b -EBUILD jasper-4.1.2.ebuild 1395 BLAKE2B 665d82838bc751ddc086f13267c7e596fd60f39ef83afe7160f18163dd53da082d82a2717f063032090aea6e6af6eaac380edbe95f4c9d061033f149b5ad391b SHA512 8f6dbebb7866197cfeadd0721a647f79918457cd64b2c6c77f35f952263466c01e71bd9da863df665cb14b96bd58d51716f05bb060016bf81cebf48ef3c23ff7 -EBUILD jasper-4.2.0.ebuild 1338 BLAKE2B 733de6587180a50b138e80169d8cb3b014ae7091acc7a256c2d8ae6ce16f04836f79293e28840c52d28a6f5a1127b7989d1ca962408cfb132d9fe783d1fa8b5c SHA512 fd7fe8d4403b9c6292de2853d54d543dd0e4214030c08efe011900c5bb8bba8278308d48c0d4ca92840eabed921f6cef12373762c6bfe1a47cb2e8bcb7c67b9a +DIST jasper-4.2.4.tar.gz 1987060 BLAKE2B ff65214e4a18a9853e8c441ddc3b0908534db5d625aa4e4dd5d60536d150fcbd068cf0fdd4ca36d4c7047c91b02ac9721e85563c435b9f75db980c64b6d3629f SHA512 4552e4823e08f7cb444d5835f30180ae1631b1784078769f0c1d51f40dd3bb6c8a1e960147d07312164dbb3b489561d06ee8f75112e76dbba8aacfd09c7d03e4 EBUILD jasper-4.2.2.ebuild 1342 BLAKE2B 105c36a9a049b6e766b70cdbd37f8df7283a826a9da8653a1a98040c621792033f4506c3d6ba8a47eb19c9cb43901f3504600ab8bd825c88df0c822101d53a3b SHA512 8ba8abffc5ba0dacbd2cf1ab6d501929c6958b0f96c77fee20b1305282ce8289af40039bb9693979353854c638aacc8bfa5d27780270d738d378d7405591e8d7 +EBUILD jasper-4.2.4.ebuild 1346 BLAKE2B fa195fb5d54e19508997cfd372105abe024a2c50ac65306daa27ac748d36402173cf8d072a13a7a3e95bd721d0f772d2c195764905a1051e5177e7cfe934d1bd SHA512 ba72c7e63a30d7f2fcc7a7af9d28cd6baa375971d352046081ef9ffec9e558b951c2223207bd9dc71fb7555f0b94fea8852fc427d2a33902f1be2416be5d2734 EBUILD jasper-9999.ebuild 1395 BLAKE2B 665d82838bc751ddc086f13267c7e596fd60f39ef83afe7160f18163dd53da082d82a2717f063032090aea6e6af6eaac380edbe95f4c9d061033f149b5ad391b SHA512 8f6dbebb7866197cfeadd0721a647f79918457cd64b2c6c77f35f952263466c01e71bd9da863df665cb14b96bd58d51716f05bb060016bf81cebf48ef3c23ff7 MISC metadata.xml 705 BLAKE2B 1ec5282be2bb47e2aec8ff90ce6838c7d21675141450f9c4e1d7b00a61129c3dc01f987f4c31d442caed3121f4bae85a83078fa46f5a2dd05d41ab40e8c3adcd SHA512 69cf7881e582eb205283ad2ffdf6823f2dc6ce0200f88d8bb5cd31b983fb57c19b261e4f56fa95ae2aa1515d2eb34a805729d75585a671a36a782e37ea98c9d7 diff --git a/media-libs/jasper/jasper-4.0.0.ebuild b/media-libs/jasper/jasper-4.0.0.ebuild deleted file mode 100644 index 335732079920..000000000000 --- a/media-libs/jasper/jasper-4.0.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" -HOMEPAGE="https://jasper-software.github.io/jasper" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jasper-software/jasper.git" -else - SRC_URI="https://github.com/jasper-software/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" - S="${WORKDIR}/${PN}-version-${PV}" -fi - -LICENSE="JasPer2.0" -SLOT="0/7" -IUSE="doc heif jpeg opengl" - -RDEPEND=" - heif? ( media-libs/libheif:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - opengl? ( - media-libs/freeglut - virtual/opengl - virtual/glu - )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-shells/bash - doc? ( - app-text/doxygen - dev-texlive/texlive-latexextra - dev-texlive/texlive-plaingeneric - virtual/latex-base - )" - -src_configure() { - local mycmakeargs=( - -DBASH_PROGRAM="${BROOT}"/bin/bash - - # documentation - $(cmake_use_find_package doc Doxygen) - $(cmake_use_find_package doc LATEX) - - # HEIF - -DJAS_ENABLE_LIBHEIF=$(usex heif) - - # JPEG - -DJAS_ENABLE_LIBJPEG=$(usex jpeg) - - # OpenGL - -DJAS_ENABLE_OPENGL=$(usex opengl) - ) - cmake_src_configure -} diff --git a/media-libs/jasper/jasper-4.1.1.ebuild b/media-libs/jasper/jasper-4.1.1.ebuild deleted file mode 100644 index 335732079920..000000000000 --- a/media-libs/jasper/jasper-4.1.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" -HOMEPAGE="https://jasper-software.github.io/jasper" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jasper-software/jasper.git" -else - SRC_URI="https://github.com/jasper-software/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" - S="${WORKDIR}/${PN}-version-${PV}" -fi - -LICENSE="JasPer2.0" -SLOT="0/7" -IUSE="doc heif jpeg opengl" - -RDEPEND=" - heif? ( media-libs/libheif:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - opengl? ( - media-libs/freeglut - virtual/opengl - virtual/glu - )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-shells/bash - doc? ( - app-text/doxygen - dev-texlive/texlive-latexextra - dev-texlive/texlive-plaingeneric - virtual/latex-base - )" - -src_configure() { - local mycmakeargs=( - -DBASH_PROGRAM="${BROOT}"/bin/bash - - # documentation - $(cmake_use_find_package doc Doxygen) - $(cmake_use_find_package doc LATEX) - - # HEIF - -DJAS_ENABLE_LIBHEIF=$(usex heif) - - # JPEG - -DJAS_ENABLE_LIBJPEG=$(usex jpeg) - - # OpenGL - -DJAS_ENABLE_OPENGL=$(usex opengl) - ) - cmake_src_configure -} diff --git a/media-libs/jasper/jasper-4.1.2.ebuild b/media-libs/jasper/jasper-4.1.2.ebuild deleted file mode 100644 index 6540d3819942..000000000000 --- a/media-libs/jasper/jasper-4.1.2.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" -HOMEPAGE="https://jasper-software.github.io/jasper" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/jasper-software/jasper.git" -else - SRC_URI="https://github.com/jasper-software/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" - S="${WORKDIR}/${PN}-version-${PV}" -fi - -LICENSE="JasPer2.0" -SLOT="0/7" -IUSE="doc heif jpeg opengl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - heif? ( media-libs/libheif:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - opengl? ( - media-libs/freeglut - virtual/opengl - virtual/glu - )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-shells/bash - doc? ( - app-text/doxygen - dev-texlive/texlive-latexextra - dev-texlive/texlive-plaingeneric - virtual/latex-base - ) - test? ( media-libs/openjpeg )" - -PATCHES=( - "${FILESDIR}"/${PN}-4.1.2-which-hunt.patch -) - -src_configure() { - local mycmakeargs=( - -DBASH_PROGRAM="${BROOT}"/bin/bash - - # documentation - $(cmake_use_find_package doc Doxygen) - $(cmake_use_find_package doc LATEX) - - # HEIF - -DJAS_ENABLE_LIBHEIF=$(usex heif) - - # JPEG - -DJAS_ENABLE_LIBJPEG=$(usex jpeg) - - # OpenGL - -DJAS_ENABLE_OPENGL=$(usex opengl) - ) - cmake_src_configure -} diff --git a/media-libs/jasper/jasper-4.2.0.ebuild b/media-libs/jasper/jasper-4.2.4.ebuild index 47b363a4f06e..2c68c17ea760 100644 --- a/media-libs/jasper/jasper-4.2.0.ebuild +++ b/media-libs/jasper/jasper-4.2.4.ebuild @@ -6,14 +6,14 @@ EAPI=8 inherit cmake DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" -HOMEPAGE="https://jasper-software.github.io/jasper" +HOMEPAGE="https://jasper-software.github.io/jasper/" if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jasper-software/jasper.git" else SRC_URI="https://github.com/jasper-software/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~x86" S="${WORKDIR}/${PN}-version-${PV}" fi diff --git a/media-libs/kquickimageeditor/Manifest b/media-libs/kquickimageeditor/Manifest index 1e6be6785a5e..89acb5e1af86 100644 --- a/media-libs/kquickimageeditor/Manifest +++ b/media-libs/kquickimageeditor/Manifest @@ -1,4 +1,4 @@ DIST kquickimageeditor-0.3.0.tar.xz 3286792 BLAKE2B 54bcbe7d8db7f9e6d35708125ce25d56a9ca7cb9c78a25a90cb1041ec899d9cdf89b84a995f0939566dadf195f272096d5374205b4cc4990cd1ecfe17ef1fc83 SHA512 51f25c5f2089c2bc9ef4715a4535b72cbf50664d17fe23dc80b266831d65a525027fa16d111400d4cf2c6b8210cbd572a3b3a0e4e921d42d331905718364ad7f -EBUILD kquickimageeditor-0.3.0-r100.ebuild 701 BLAKE2B 4c7a9be0a9942158b03f830310c7d1cbe772b77cf5f0fb9bde64a147379d8d607901bbd335edcd37772708ff2f5c24b3943e1d4492258167aa135deb25776b01 SHA512 2abc3f7b719299de9bd285cd0ef55224e443817c73995fa36a0930347609b1183866bbe786a767405255a38f860e406b3e4fd74fefdca33d8c5a99374c312059 +EBUILD kquickimageeditor-0.3.0-r100.ebuild 720 BLAKE2B c36fb42e527c622e36f4fed7ac85f8d798fa6347001f09686d06c8107690767b2207245e12692dbaa05340f9d34fa6d96ea9ff4e30c6d826d92d18632bdca7da SHA512 c386fe7251fa70ce92ceb22190687a2e5a4f3c9e0a8235e729a76e07f88b312431f516249e54eeab70cd53f1bfdcaf3b61d98c77c6be4e890aadeb279159657d EBUILD kquickimageeditor-0.3.0.ebuild 694 BLAKE2B 596acae0a695d4995c7807ed2a155af014f764e2d350b6fce311966821f3f4dcfea0f493c35375affc4828fe6dbbec1df9c6d8dd0d5c345a498c73e813efe740 SHA512 d4fabeb237ad52fdfcca87d2584dff39d21451c8c27eb0697173ca530cdbd28b39b25f6937e45c79db03ee3c290af97cfd4bddd9a2b74b9532b361aa1cfebe02 MISC metadata.xml 389 BLAKE2B 1a40d2e6e9a20deb5aa726b6b3d355f41baae2aa9e091d0c7dc0c2cbf4cf9741d23bbc4338f49af52752da876430554cec8e7a9b0db50536a50480b3afb43aaa SHA512 6c160febb064cb5ec85fec3ca63db97d29f868da68f8d26e42ef90ef52e4e0a487f4897aaddb9db13b89b0ac0e270de1e29a853a871f03f41c0be2e3d689e680 diff --git a/media-libs/kquickimageeditor/kquickimageeditor-0.3.0-r100.ebuild b/media-libs/kquickimageeditor/kquickimageeditor-0.3.0-r100.ebuild index c8a4df534d61..972d1b517f15 100644 --- a/media-libs/kquickimageeditor/kquickimageeditor-0.3.0-r100.ebuild +++ b/media-libs/kquickimageeditor/kquickimageeditor-0.3.0-r100.ebuild @@ -13,7 +13,7 @@ https://api.kde.org/kquickimageeditor/html/index.html" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi LICENSE="LGPL-2.1+" diff --git a/media-libs/ksanecore-common/Manifest b/media-libs/ksanecore-common/Manifest new file mode 100644 index 000000000000..5b4a0e670e58 --- /dev/null +++ b/media-libs/ksanecore-common/Manifest @@ -0,0 +1,3 @@ +DIST ksanecore-24.05.2.tar.xz 51080 BLAKE2B c57152bbff1c3eb4c6de3f20809d9e3a7ec5c81c981823e3750142006f1c6ac0f7bfc5913042edfcaa6a8e2f2210c8dc8963097d60dffc153ffb9078e3ca13bd SHA512 862c5997f0e10e6b3382127fe1d5efee37621212f2ec70a5346bf914cbe6ff9d1476cd05b119e0784222c8a195787f30b4454aaeeeb9535d0d52362a7ba0a718 +EBUILD ksanecore-common-24.05.2.ebuild 367 BLAKE2B d39c69d74afa352fc23f0db2c9123d54002eba818303f3f747ea0d06e47c0d43e403fa0f3a8a0e8e0fadff37384b5111952933811c2b6db3f9e88e0b482ad714 SHA512 b7433e152a74e2f79a80b8e00453ecca83241b2bda2147615325ac716221d4ebffe374430c2ced2d9e9c99ebabad064b78905a4ab5d144d917e183d009496067 +MISC metadata.xml 381 BLAKE2B 42cf8662e7a405016cbf593e43771e2a354116ed82825cf42ba21c41d9dcd22dfc868fcc1837ae47b3c13b229908a7a1db8b1fe636b53418664f7835cabe4c35 SHA512 1d3caf0c29b67b79a29c02db8625ee17306f6c114b48599b432c5ced09d51aa02339e75d1552b56fa86ad4ec781c44cc909f8f7cccc0eadc2043ce3103604c38 diff --git a/media-libs/ksanecore-common/ksanecore-common-24.05.2.ebuild b/media-libs/ksanecore-common/ksanecore-common-24.05.2.ebuild new file mode 100644 index 000000000000..3fd16d901523 --- /dev/null +++ b/media-libs/ksanecore-common/ksanecore-common-24.05.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="false" +KDE_ORG_NAME="${PN/-common/}" +KFMIN=5.115.0 +inherit ecm-common gear.kde.org + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + !<media-libs/ksanecore-23.08.5-r2:5 + !<media-libs/ksanecore-24.05.2-r1:6 +" diff --git a/media-libs/ksanecore-common/metadata.xml b/media-libs/ksanecore-common/metadata.xml new file mode 100644 index 000000000000..e2881717c482 --- /dev/null +++ b/media-libs/ksanecore-common/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/</bugs-to> + <remote-id type="kde-invent">libraries/ksanecore</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/ksanecore/Manifest b/media-libs/ksanecore/Manifest index 557991bd242e..12a1f5906348 100644 --- a/media-libs/ksanecore/Manifest +++ b/media-libs/ksanecore/Manifest @@ -1,5 +1,6 @@ DIST ksanecore-23.08.5.tar.xz 50052 BLAKE2B 500c574d40a8c927cd8568d3d0094789731b58cbe64de8ff04ee993adb8503cbb4d999d14c3222d142bb2485f1131dfe45c0a6a305347180e1021d1aa661d020 SHA512 93bbb6160c063e54be4cb115cf164354fb545ff458aa2066d98a38e81d48dfed4260a4b2afcb252ba43cf25ed102345018e0ad99b7ca66b9cb0b2fb64235b440 DIST ksanecore-24.05.2.tar.xz 51080 BLAKE2B c57152bbff1c3eb4c6de3f20809d9e3a7ec5c81c981823e3750142006f1c6ac0f7bfc5913042edfcaa6a8e2f2210c8dc8963097d60dffc153ffb9078e3ca13bd SHA512 862c5997f0e10e6b3382127fe1d5efee37621212f2ec70a5346bf914cbe6ff9d1476cd05b119e0784222c8a195787f30b4454aaeeeb9535d0d52362a7ba0a718 EBUILD ksanecore-23.08.5-r1.ebuild 668 BLAKE2B 112c710fcf57ebab2948ad4b5d3c0b19fa262d682883b139e8ebac0369a736f6a3f02c4b12475988db868a078b0cfb8fd0bbba57ca659e68dd114eb6a0678d65 SHA512 288eaa3b86ae35878ab3afbd35a94ea7b24201eefe7a68e8be0b45be5ff842b8d5df68123a262272b0d749ea027a6d7e97b3c212f95ae605cfda0fa2e94ca7e9 -EBUILD ksanecore-24.05.2.ebuild 572 BLAKE2B 46959f8fd06e68f09e3971b51c23b806ccabee09e8bf2b3a78d6a58b7ca75b78cd23507f2102be6d31d46294afb20de911530b1920141f07c04f06fd07668e6c SHA512 6f3dc753d2937c201470715f3fac1eddbf82cf9a41b27131fb087047a8e392e80701ed0ab0b39b868d0587c9f27fcf073fb8c6e391bbc26a30b9349d6f87c240 +EBUILD ksanecore-23.08.5-r2.ebuild 642 BLAKE2B bb6358071028aa75a98171eab59a462a3f029d5bc4d352214f932c5b49d0066c716c54ef70e4acac3e8fccbae75a9edab5b59cdf489b9bba1059c2b0cea87478 SHA512 6f07dc66dc61a4bc3d0e2a2b479de596b524754e542f7fe02644bda67c1991fc2be37b6a55fabc25df2e043569158cec42dbe48c4be90b9fb3cbbf1ff67f1991 +EBUILD ksanecore-24.05.2-r1.ebuild 644 BLAKE2B 9d6db64560542f8466f71b65ddecff06bfbdcc134b1e102f08591ad7c5fd0f3eea57a0640ffcd9087e7a6d8857aef6e7bdafa3ad1b94382dfb44125b82cc3b81 SHA512 b699ffe150f8cb33d44122f3d322a8a6d36b71a70aacdec3b8038629bfafc16cc45a069dd096abdb390017c60adaa7dba470a71d4eef7c0ffc92098f95700e76 MISC metadata.xml 457 BLAKE2B 7a88ca79e1f6f6ff7aedd1c763f1e2a3d82d2d9cee9aa2c3fc61c0136c2a8f0bda2721f550fcc01118d52ddca3d71ac32830625f613e7e7c62527b64fcd9426d SHA512 a160a7bf99407cd4d0f597a72fff7e7ef99cf7be3772f310dd31782c8dae99218969c6bac3808109e4b4ba509493aa7e82d0b37b5fec4ec5924b39be67ee0ad9 diff --git a/media-libs/ksanecore/ksanecore-23.08.5-r2.ebuild b/media-libs/ksanecore/ksanecore-23.08.5-r2.ebuild new file mode 100644 index 000000000000..11d390bdd974 --- /dev/null +++ b/media-libs/ksanecore/ksanecore-23.08.5-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="Qt-based interface for SANE library to control scanner hardware" +HOMEPAGE="https://invent.kde.org/libraries/ksanecore +https://api.kde.org/ksanecore/html/index.html" + +LICENSE="|| ( LGPL-2.1 LGPL-3 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + media-gfx/sane-backends +" +RDEPEND="${DEPEND} + ${CATEGORY}/${PN}-common +" + +src_prepare() { + ecm_src_prepare + ecm_punt_po_install +} diff --git a/media-libs/ksanecore/ksanecore-24.05.2.ebuild b/media-libs/ksanecore/ksanecore-24.05.2-r1.ebuild index bb16be412462..730b73c10232 100644 --- a/media-libs/ksanecore/ksanecore-24.05.2.ebuild +++ b/media-libs/ksanecore/ksanecore-24.05.2-r1.ebuild @@ -13,7 +13,7 @@ https://api.kde.org/ksanecore/html/index.html" LICENSE="|| ( LGPL-2.1 LGPL-3 )" SLOT="6" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" DEPEND=" >=dev-qt/qtbase-${QTMIN}:6[gui] @@ -21,5 +21,10 @@ DEPEND=" media-gfx/sane-backends " RDEPEND="${DEPEND} - !${CATEGORY}/${PN}:5[-kf6compat(-)] + >=media-libs/${PN}-common-${PV} " + +src_prepare() { + ecm_src_prepare + ecm_punt_po_install +} diff --git a/media-libs/lib3mf/Manifest b/media-libs/lib3mf/Manifest index 61138eeeaa10..d074f8eab34c 100644 --- a/media-libs/lib3mf/Manifest +++ b/media-libs/lib3mf/Manifest @@ -2,6 +2,7 @@ AUX lib3mf-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch 1067 BLA AUX lib3mf-2.2.0-0001-remove-std-and-opt-flags.patch 992 BLAKE2B e000fe00773010bdf31435e327e9e6c4f8d1de3424d636c4c779617f3fb5f8ae87a27e19a7d7209a300376730cdead2249fb5361434d14ee823dde0206e4eb87 SHA512 93249caaa883aef7a191a6e6d56418158e6d298d2a73a3e685fedc8e4e6d768ef5618366acfa64ad99c2b8b41626c08e37cadfcd6851ad22558352d91501c085 AUX lib3mf-2.2.0-0001-use-system-provided-act-binary.patch 5370 BLAKE2B c5d3cfe734311995f9fb98a4c7083267af04740e9cc94f6251ec01a837cce8e52587bae4f587a246317976eb60be931c44d1b6bb5f0d72599d07845cadd1a8c4 SHA512 4832d2661dab796e78a737f7aca2f7516e4f4b8c29d0897779ad82be91ec523941f51d39564ad61b01a158a5f313c365a26d5499ce2ccc85793fca8f81b75aee AUX lib3mf-2.2.0-0002-Gentoo-specific-remove-add_dependencies.patch 936 BLAKE2B ac89b89c223eaa81334da6ae84d1c785beccea2687b883954a93ede0d7fa49d11afc91ff5a6d41e195d7feb959d4317986cc97ac58047328ce372e40e787cefa SHA512 42c9ede93e79c7548b5ed9bed2f5ec0e275441ab5daa5cf9eb72f31610da512b7a3f118a075a8cfc21d1244c96ba42efadaee8c26c1b1837295e8a2ce4a93255 +AUX lib3mf-2.2.0-include-cstdint.patch 570 BLAKE2B d239701017d68d9dc1c9f8e97f49e74e6af13b93d4f89b97b64248b3b779fbda62a85d085abf66b41990e91085adde0c757089fd12740be8f3e200468dbc56ab SHA512 61be13edfa4c54ee11ff9c2dd11c3740fbaaaa3d07f5bad10bb48a2ce41eb0c090960c44834b0fb60109952dadfda3071c998e4e866d1acd13874106542e7a01 DIST lib3mf-2.2.0.tar.gz 16439833 BLAKE2B c98f57ea99f90625f2bfbdbcde9df8dbd8aeccc655e1bd9be165c24b2d9fb74471e4b01c816d8f665e5793db77c7bcf52016f030ec1947f908d6647e9ad12745 SHA512 2a9ee92312396b8966967a7ed696c58c69a77438f94432ad071659adc8c9d12fba34a3cf3d8c8d3ad3b26c12c9a89f4d8645e6f396987dc05b04952b004a1f07 -EBUILD lib3mf-2.2.0.ebuild 1535 BLAKE2B 56f704843e77d7fdd5a08b620dad31e259b4ce31c229671a9e52a08c812dbc87633d7e736b0fbd9fe03238feb9b5c29bf376af9402e62877861cd0def599eb3f SHA512 2139facb894be6aeb4b270d502112ec8e46b44a1864598cd8b392192ed8458499bf672337000699787e6521a7d8634a6985d299b9c40f48afb73da295e15f35f +EBUILD lib3mf-2.2.0.ebuild 1577 BLAKE2B 964f0afb817138c98068e4eb4f7a2ce4b58eb473ced518c39a3ce4268574cc0425e1f566075c9040b2ae3becf041e3cfde032a47a45b4de6c0928086e691fcaf SHA512 2ed6cba029d9fecb8bdc8a4737947b9d34a70e905048ac9b3cd1037a70bd0c090fd4cd8380f503cbd1f7d5a8e4edec47947d9b00325410724199ae6d81e0bc30 MISC metadata.xml 937 BLAKE2B 5794675d2197f8da85354f0dc542ac3ae65ea5124a26030a9fdb19e9fa78bbfa8298a13d2c7a4509d2782012ac157f09827afff00b5615e01b0580a71c2aacef SHA512 c62d56ccf3727f5bfa1a04b031ff44506332138c97258f4b3078eb6570a9dc048b4da1fbf1c495175ea169e2b21d11128437c16234f38df5d70fc3994462c0f4 diff --git a/media-libs/lib3mf/files/lib3mf-2.2.0-include-cstdint.patch b/media-libs/lib3mf/files/lib3mf-2.2.0-include-cstdint.patch new file mode 100644 index 000000000000..36776fd02751 --- /dev/null +++ b/media-libs/lib3mf/files/lib3mf-2.2.0-include-cstdint.patch @@ -0,0 +1,13 @@ +diff --git a/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp b/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp +index 43fd428..e966aa0 100644 +--- a/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp ++++ b/Source/Common/Platform/NMR_ImportStream_Unique_Memory.cpp +@@ -35,6 +35,8 @@ This is a platform independent class for keeping data in a memory stream that ow + #include "Common/NMR_Exception.h" + #include "Common/NMR_Exception_Windows.h" + ++#include <cstdint> ++ + namespace NMR { + + CImportStream_Unique_Memory::CImportStream_Unique_Memory() diff --git a/media-libs/lib3mf/lib3mf-2.2.0.ebuild b/media-libs/lib3mf/lib3mf-2.2.0.ebuild index 97ec4b4b7146..d5d470010791 100644 --- a/media-libs/lib3mf/lib3mf-2.2.0.ebuild +++ b/media-libs/lib3mf/lib3mf-2.2.0.ebuild @@ -36,6 +36,7 @@ PATCHES=( "${FILESDIR}"/${P}-0001-use-system-provided-act-binary.patch "${FILESDIR}"/${P}-0002-Gentoo-specific-remove-add_dependencies.patch "${FILESDIR}"/${P}-0001-remove-std-and-opt-flags.patch + "${FILESDIR}"/${P}-include-cstdint.patch ) src_configure() { diff --git a/media-libs/libaom/Manifest b/media-libs/libaom/Manifest index 03394e1fdfe4..57cae026e445 100644 --- a/media-libs/libaom/Manifest +++ b/media-libs/libaom/Manifest @@ -4,6 +4,7 @@ AUX libaom-3.7.0-big-endian-tests.patch 1611 BLAKE2B 9c0ab0a6a5788fdbc87f30ef5f2 AUX libaom-3.7.0-big-endian.patch 4168 BLAKE2B 6c9a9ac0933b29b3ee8111d8068dfff144385ae68ebf693a335672c3138cc31ef346486af44b0b0fff9bad58ad72d2335962b78bc82e40b1a7f4a4c9b5d3ca28 SHA512 aebd3f9d16f0cc6a6a0b7a240d5d8cb55d28fc8fe4a00444b26c4b54fed0536ff3577aab5aa624cd9900858770dfdad50f9429d91ee0638058d4be34873e8be6 AUX libaom-3.8.1-tests-parallel.patch 907 BLAKE2B 3c969182fed047b6075ebd0d19f50dfe19028658da42eefc991eaf4ed15736ac95219f5562dc8c04e34849c615fe74a5c940701e274ed7485387092d8d46fb50 SHA512 293924e8732640977c706dcf7fe811f76f093402faa3db8e61d35e32552df889dc63073f004dce4bc4230ceb647f78d0085c9a0099b597b148b9a29fc38f2544 AUX libaom-3.9.0-guard-ssse3.patch 1570 BLAKE2B 69b5b73ba6ff68b1e5badfcd7cfdf9cc6afeca2838363273852c7757efba448881d042e52be9632c7593cd0992daea439c05da3423a7d31c2abac64fe86723f0 SHA512 5222e5af8a41da106074ed312fb1c35ce7337b43cc6d0ec3e9fbf11fecef2e5f756d64dafa3d5cb6a0d4d31afa9e155b795dfe0db37b891f54ad2d1b409b74a4 +AUX libaom-3.9.1-gcc15-cstdint.patch 1173 BLAKE2B a52439c510a54a1af72c56efff47e004ffef6c276aeebc02981b95afeca30dbacaa87baadfb25f2638454ccbc556b023c06814878fcb45a0eaa0c3e5682fdb25 SHA512 396deeaefec8152c4f45a8c788941a30688d2b7d72cb6233902e3b4cdc7d2bb1110fed56219b176a77057dd7231a5deab3c190f261cdf9e194af519fbb71d09a DIST libaom-3.5.0.tar.gz 5206715 BLAKE2B d47ddb864c909c972f692667177417daef0350124a096547eacc83ab3630227fe7a23e95f3988a2109c580f9a87ba30a58bcc58be1a2e24fe694eb01655a4861 SHA512 370c529a84d54c95f05c5a3b3edadd1cca95eeccd5a6b5454e574211c6dd9bf5bd33ab67b43587c6de37688fe546ea9e16de0ab2d721e965143b7e8c85db6fd4 DIST libaom-3.7.0-testdata.tar.xz 374076136 BLAKE2B 17036f37fbb04d59b50e13e5e2258215e99cab4b6f64ac558213009477bc22f43267b60bcbb30ec10325de2aed48b22237b12cd6220f4330e300b62bafedac0b SHA512 c08ef4c9c45f1a27e6c31b8cc9799d8e65d895663a79d7be51da1733be6d8013adaad3a8f1d7491f555a2eea58aead44b9ce935c3e9bb957cb8bbb93f6f4fd98 DIST libaom-3.7.0.tar.gz 5347924 BLAKE2B 2693d60f5afa810e00ab6aadcf8ca763e328bc64e47b3678eeba9993db89b25cfa0380beeff5a5938f19da74410ce83068c318cff2aea30e5fe39680ac67e937 SHA512 b763a877db26dcaddea5513825900917e55bc131bf78a83f941f1e74b534a514cb599fb64c3ac18a8202ac0a72c511dfef6eeff21dfbe59ed9816887ca3ec5f3 @@ -11,9 +12,12 @@ DIST libaom-3.8.1-testdata.tar.xz 426372276 BLAKE2B 4d6194a98612045023f4d35ca851 DIST libaom-3.8.1.tar.gz 5450909 BLAKE2B fec3123f8ee68b1027a1a2019969c098b730da72be2902274659b983857f2d8f62dae5b563543b3f144ae8bc51b6d6fdd4fcd6aadf2ca04d5a4dd5be987fbbac SHA512 f9ee918a37699cfaf2bcb5aa16a4d8b077feb1fc577d8c5437ed3fa1a1c0a5d734c9564e3c8c0f0b1baf43dc5abb7ff0196a77607b10d926c0be7858778ac1e3 DIST libaom-3.9.0-testdata.tar.xz 426348008 BLAKE2B 1d95116e738a3271cbb6381cdeb3d2cd359bd3d3001e759e6ed9f56f7f0d87b6a0a557f3655c4c5640e7812cee2e10de5626de70794c6b49fdac51f33d9a1b56 SHA512 b8e68cffa844ac33f3fd7cce8de08e90bc4e401055fa24e58ea6e1217a64db62bd09c469267106b1e82d480550238ac6aaa12c86f75e9fbfd8fa847180b41537 DIST libaom-3.9.0.tar.gz 5518815 BLAKE2B 4c68b58f6a8e347ee912e309a030804c4a3cc99714e2aaf127add63222df3056c7cf4b6c50f4861557b0892739035149b5e002e25272882eff55cde5d9b745b7 SHA512 0793e0801be72d35144162141a180ff5e3ae11186f734af738b1eb2d81bff1364be7741cc34ae2507d2b88de11f840609a09f8b05b75e8d853aa80626241bf95 +DIST libaom-3.9.1-testdata.tar.xz 426413144 BLAKE2B 99fad74bbfabbfd1a7b9a2a3ae72c1c5a4810a70cb6f2df54ad4e29da5afd9278fcc2555f859f51dadab41e1d1829d08ee9efee415ca34d05acd5175caf35205 SHA512 81ce77937264c3a4f6da19dab5cfc4feb559359c154fc00105e6aee6aebb1900e4ecaadd248ba09c5aa266ba0f937451a075338c474ca69a64871d6e6f9c4480 +DIST libaom-3.9.1.tar.gz 5524048 BLAKE2B 2f983a4a563e16120aa8937e059f4cd267fb60b6d4148f952f1e664a50b84bc0d8ba7629231b60e4263963d97559a819752a4fa0dcf2427c9f94036716221324 SHA512 d134583c9cc17e0c8e0dec17677a5daca6f42636f3cde83e1b0fc5250f7372f190c125afb845540cd947fb28462cc91b111a69ae4fec51946c3730cacf42c36e EBUILD libaom-3.5.0.ebuild 3298 BLAKE2B d5039a7ac72305f1e4930e258577d8aa15b5fa1c7ad910c0f51210959e4628cb552a9e0721f6a2d8c4dbfd58061f5fe1854d0d78badfe40d51aa04fedbfd66c2 SHA512 ae81d949fb6aae7e727b9d1006863c037dc87f2381c004c051a7a4ff4546794745ad809557aabc0f8ce1e45834af51909d17c5e102825fa9621e8db4d95dd3a2 EBUILD libaom-3.7.0-r2.ebuild 4388 BLAKE2B 0d0cf93808bbc21cdad38266631884bea7ea34bc0476578656b03ad2bd85fc17b20c7655ba9ba0cdce5405d6c434baae722f512d94538dda41b921dbdc49eb6e SHA512 88f0da21d5088db1ab848dd877b59a07415e2bfe604922964e3b6904e98a81177f40ca257d049bc98a1cb14eb869657dc8d6c579c5009cf025b5b2af1659e672 EBUILD libaom-3.8.1.ebuild 5021 BLAKE2B efdf65610fd174e11d56b721f5cfeff9e1f9e394cb14a687a5129b779d26d2fbad91b0dc1ad91ad4f760f0994e251de4e293970f902c1cf0dde7b6c452912b95 SHA512 0a0d53ad8271f838c88e48c328533fa20846a76e2d76ce18673791a61360e5efaa883ca6c8cc8539d3dc00054c6a7cc15f6934cabb8a539aa1e662e763271263 EBUILD libaom-3.9.0.ebuild 4546 BLAKE2B 2c776663efbfc9ed96750e31f83483e0281d6d7a976afd1259fa6b883a57e5287aef30fe2ee25c86103860158ab76fb8bacefeec2a1198ae0a7e595688e64cd0 SHA512 ec8ef1f77cd78a8341cfe47abba0586796e32f9f231ca440575300e96e084c23cba8ac62bf8c1e1b970efce5eaf7e2715fc88bc2863083a1c3e6849218483984 +EBUILD libaom-3.9.1.ebuild 4547 BLAKE2B cc36bec843d1d93c31827bfee0f761db39bcbd32c8e0199490082fdbdb40008c0a858d66b89276f294387b188d315e860c9e3cecdf831acdf684ae341777d7bb SHA512 d2132f43c4f94f2094b1ace9f1b2a30da761109d7ae78c97a64eabb20913863ba9962dfdcd14cf1efb6968fa8573300d1ade03016c36c4f1fb137607a40656a7 EBUILD libaom-9999.ebuild 4520 BLAKE2B 12310a60c0c2b3492c40464d3e33d870f16ff79553080b5d2f515e110f9f683c22fc31fdfe1bfdc026cca6e69cde248fe2f59fdd06a0b101a15f50923f07c76e SHA512 78824f8e0586cbdb76041524b4696b5ad314c35af3aebed45904a5b08614c29f2e6f299ac010e00136a802f6afbcd9df08836f71d9faa76e2a0bab105e02b1b7 MISC metadata.xml 224 BLAKE2B a8fa831654345ddf74b54f53fdc27d128ff6896378c8aa2dcb27139a4382f63efd0cac17f94ee420932e2855042c94e32fe534c99a977698953aaab4c51c31d0 SHA512 0b59f17151d352f25e3b073a3ee388d0189e1caddf0d97142851a19df433d082e3eead9f5aae07f4beb247861d90f02ae217514d02445703b95ee6ff62d967b8 diff --git a/media-libs/libaom/files/libaom-3.9.1-gcc15-cstdint.patch b/media-libs/libaom/files/libaom-3.9.1-gcc15-cstdint.patch new file mode 100644 index 000000000000..4195d240e493 --- /dev/null +++ b/media-libs/libaom/files/libaom-3.9.1-gcc15-cstdint.patch @@ -0,0 +1,39 @@ +https://bugs.gentoo.org/937420 +https://aomedia.issues.chromium.org/issues/357622679 +https://aomedia-review.googlesource.com/c/aom/+/192404 + +From b20dcf3adf51919226b436151734ba38d1123850 Mon Sep 17 00:00:00 2001 +From: James Zern <jzern@google.com> +Date: Tue, 06 Aug 2024 10:38:00 -0700 +Subject: [PATCH] update libwebm to libwebm-1.0.0.31-10-g3b63004 + +This fixes a build error seen in gcc 15: +3b63004 mkvparser/mkvparser.cc: add missing <cstdint> include + +Bug: aomedia:357622679 +Change-Id: I6c4a1795d189f9993d4f2c5c9f0375912bc58f0c +(cherry picked from commit e448dcd13a9f534c7291903e9ab18dfc4fea54ad) +--- a/third_party/libwebm/mkvmuxer/mkvmuxerutil.h ++++ b/third_party/libwebm/mkvmuxer/mkvmuxerutil.h +@@ -8,9 +8,9 @@ + #ifndef MKVMUXER_MKVMUXERUTIL_H_ + #define MKVMUXER_MKVMUXERUTIL_H_ + +-#include "mkvmuxertypes.h" ++#include <stdint.h> + +-#include "stdint.h" ++#include "mkvmuxertypes.h" + + namespace mkvmuxer { + class Cluster; +--- a/third_party/libwebm/mkvparser/mkvparser.cc ++++ b/third_party/libwebm/mkvparser/mkvparser.cc +@@ -16,6 +16,7 @@ + #include <cfloat> + #include <climits> + #include <cmath> ++#include <cstdint> + #include <cstring> + #include <memory> + #include <new> diff --git a/media-libs/libaom/libaom-3.9.1.ebuild b/media-libs/libaom/libaom-3.9.1.ebuild new file mode 100644 index 000000000000..7e193b62a448 --- /dev/null +++ b/media-libs/libaom/libaom-3.9.1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake-multilib flag-o-matic multiprocessing python-any-r1 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://aomedia.googlesource.com/aom" +else + # To update test data tarball, + # chromium-tools.git/generate-libaom-test-tarball.sh + SRC_URI=" + https://storage.googleapis.com/aom-releases/${P}.tar.gz + test? ( https://deps.gentoo.zip/${CATEGORY}/${P}-testdata.tar.xz ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Alliance for Open Media AV1 Codec SDK" +HOMEPAGE="https://aomedia.org https://aomedia.googlesource.com/aom/" + +LICENSE="BSD-2" +SLOT="0/3" +IUSE="big-endian debug doc +examples test" +IUSE="${IUSE} cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3" +IUSE="${IUSE} cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2" +IUSE="${IUSE} cpu_flags_arm_crc32 cpu_flags_arm_neon cpu_flags_ppc_vsx" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) + cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) +" + +BDEPEND="${PYTHON_DEPS} + dev-lang/perl + abi_x86_32? ( dev-lang/yasm ) + abi_x86_64? ( dev-lang/yasm ) + abi_x86_x32? ( dev-lang/yasm ) + doc? ( app-text/doxygen ) +" + +# The PATENTS file is required to be distributed with this package, bug #682214 +DOCS=( PATENTS ) + +PATCHES=( + "${FILESDIR}"/${PN}-3.4.0-posix-c-source-ftello.patch + "${FILESDIR}"/${PN}-3.7.0-allow-fortify-source.patch + "${FILESDIR}"/${PN}-3.8.1-tests-parallel.patch + "${FILESDIR}"/${PN}-3.9.1-gcc15-cstdint.patch +) + +multilib_src_configure() { + # Follow upstream recommendations in README (bug #921438) and avoid + # asserts during common use (bug #914614). + append-cppflags $(usex debug '-UNDEBUG' '-DNDEBUG') + + local mycmakeargs=( + -DENABLE_CCACHE=OFF + -DENABLE_DOCS=$(multilib_native_usex doc ON OFF) + -DENABLE_EXAMPLES=$(multilib_native_usex examples ON OFF) + -DENABLE_NASM=OFF + -DENABLE_TESTS=$(usex test) + -DENABLE_TOOLS=ON + -DENABLE_WERROR=OFF + # https://bugs.chromium.org/p/aomedia/issues/detail?id=3487 shows + # that big endian detection doesn't really work otherwise. + -DCONFIG_BIG_ENDIAN=$(usex big-endian 1 0) + + # Needs libjxl, currently unpackaged. + -DCONFIG_TUNE_BUTTERAUGLI=0 + + # arm + -DENABLE_NEON=$(usex cpu_flags_arm_neon ON OFF) + -DENABLE_ARM_CRC32=$(usex cpu_flags_arm_crc32 ON OFF) + # bug #917277 + -DENABLE_NEON_DOTPROD=OFF + # bug #917278 + -DENABLE_NEON_I8MM=OFF + # bug #920474 + -DENABLE_SVE=OFF + + # mips + # ENABLE_DSPR2 / ENABLE_MSA for mips + + # amd64 + -DENABLE_MMX=$(usex cpu_flags_x86_mmx ON OFF) + -DENABLE_SSE=$(usex cpu_flags_x86_sse ON OFF) + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF) + -DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF) + -DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF) + -DENABLE_SSE4_1=$(usex cpu_flags_x86_sse4_1 ON OFF) + -DENABLE_SSE4_2=$(usex cpu_flags_x86_sse4_2 ON OFF) + -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF) + -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF) + + # ppc + -DENABLE_VSX=$(usex cpu_flags_ppc_vsx ON OFF) + ) + + # For 32-bit multilib builds, force some intrinsics on to work around + # bug #816027. libaom seems to do runtime detection for some targets + # at least, so this isn't an issue. + if ! multilib_is_native_abi && use amd64 ; then + mycmakeargs+=( + -DENABLE_SSE3=ON + -DENABLE_SSSE3=ON + ) + fi + + # On ARM32-on-ARM64, things end up failing if NEON is off, bug #835456 + # Just force generic, given it's a niche situation. + # TODO: could try forcing armv7 or similar? + if use arm && ! use cpu_flags_arm_neon && [[ $(uname -p) == "aarch64" ]] ; then + ewarn "Forcing generic for arm32-on-arm64 build (bug #835456)" + mycmakeargs+=( + -DAOM_TARGET_CPU=generic + ) + fi + + # LIBAOM_TEST_PROCS is added by our tests-parallel.patch + export LIBAOM_TEST_PROCS="$(makeopts_jobs)" + + cmake_src_configure +} + +multilib_src_test() { + einfo "Running quiet tests which take hours." + # We use ninja rather than test_libaom directly so we can run it in parallel + # with sharding, see https://aomedia.googlesource.com/aom/#sharded-testing. + LIBAOM_TEST_DATA_PATH="${WORKDIR}/${P}-testdata" eninja -C "${BUILD_DIR}" runtests +} + +multilib_src_install() { + if multilib_is_native_abi && use doc ; then + local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) + fi + + cmake_src_install +} + +multilib_src_install_all() { + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +} diff --git a/media-libs/libavif/Manifest b/media-libs/libavif/Manifest index 1afbca202280..3fc2484e62d9 100644 --- a/media-libs/libavif/Manifest +++ b/media-libs/libavif/Manifest @@ -1,8 +1,10 @@ DIST libavif-0.10.1.tar.gz 2085698 BLAKE2B 5be3f9adf7e0a5747e42c90ce2768eba90053c821805cc8e39915d6cbc4cd42554b1473118b41eb25010d20a2b5a3c141b9cbd6ff55c46abd79eb97cdee6b0e5 SHA512 2f6f248c56c983761149d3c201fc2a2ea5072a32516578a7fdb2c66e3cd22491540f400e23581f873b15454250eeec8d433924ae2c1de9371b7924a5d82bef6b DIST libavif-0.11.1.tar.gz 5826813 BLAKE2B 8fcbc9e1655546b7f4e62882b44d07b8bcfceef599e0feb5658c475cbc35cbb27bae0ad58475c2657351a890ccb957fa8a0e28328bbb5664cd8a57cedfb58019 SHA512 4a9e2711fccddf35c477db6e2fa2f76c0648aafaa98b4e3f34df62c0fbd02ddcd57762f1f8149822da4f1bc3757ee75ec1d9ced5e56a54dbe9d0b43265aacd4c DIST libavif-1.0.4.tar.gz 10575992 BLAKE2B 69b7f376e8254f1f6b5df727e572e6aeef02710d8a09ad3289a71a38c2632b2cfdbee9284fcf08fccc5f072dc3aa2109f44b41ae10f0dad8cb299040ffc71c23 SHA512 37f0de757180c6414778e688006940395960b316c25192d6beb97a07942aff4bd3b712dec2eff52cd26f5d72c352731442175dfeb90e2e1381133539760142b0 -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-9999.ebuild 2618 BLAKE2B 2599f61eab7fbe8f8bf54cb4a5eb74e0fa143a7454d3bd0ee734972a5be1dbae429d69e6b5251be4a27cd4368127275641a56be3bbf9a4098c57289efa1a4824 SHA512 a6ee8791eb4f82a2f8971df8bb9c103e25acd2e7f29c6ddc650f60e7317f8d966f3e619a5bc7979981215246e3a95282598d3db6ce058d328741b9d575b3150b -MISC metadata.xml 963 BLAKE2B 4951865af2ec64924c0abc18c82f8df0da437545867a78e097f055a803a1017759ee165e9a49234fd683ad674f044cfdade33e7e6e72a3d2fdfb71cfff4cee28 SHA512 dbcc0d05970073d286d9e389d9e8797023d728a0067886ec25c61f5c65324e85ed8015111b45e43387e3b75fe7ad5ef5ca1cbd93ce56994b02589f1520e78116 +DIST libavif-1.1.1.tar.gz 13644189 BLAKE2B c0a473b172206ea32358c28e7b94d8038b24030e4845611341076518cd82fd2bea78eb8e22e5481062b893ffb70789619ce4f85129a94a0db70a667c000f4fd0 SHA512 ba72b8d02b098f361643a073361fccafd22eaac14e46dd06378d5e7acd9853538c5d166473e1de0b020de62dac25be83e42bd57ba51f675d11e2ddf155fbfa21 +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 new file mode 100644 index 000000000000..63f35e51b469 --- /dev/null +++ b/media-libs/libavif/libavif-1.1.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib gnome2-utils + +DESCRIPTION="Library for encoding and decoding .avif files" +HOMEPAGE="https://github.com/AOMediaCodec/libavif" +SRC_URI=" + https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +# See bug #822336 re subslot +SLOT="0/16.1.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86" +IUSE="+aom dav1d examples extras gdk-pixbuf rav1e svt-av1 test" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( aom dav1d )" + +DEPEND=" + media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] + media-libs/libpng:=[${MULTILIB_USEDEP}] + aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] ) + dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] ) + extras? ( + test? ( + dev-cpp/gtest + media-gfx/imagemagick[lcms] + ) + ) + gdk-pixbuf? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] + ) + rav1e? ( >=media-video/rav1e-0.5.1:=[capi] ) + svt-av1? ( >=media-libs/svt-av1-0.9.1:= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DAVIF_CODEC_LIBGAV1=OFF + + # bug 916948 + -DAVIF_LIBYUV=OFF + + # Use system libraries. + -DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF) + -DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF) + -DAVIF_ZLIBPNG=SYSTEM + -DAVIF_JPEG=SYSTEM + + -DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF) + + -DAVIF_ENABLE_WERROR=OFF + ) + + if multilib_is_native_abi; then + mycmakeargs+=( + -DAVIF_CODEC_RAV1E=$(usex rav1e SYSTEM OFF) + -DAVIF_CODEC_SVT=$(usex svt-av1 SYSTEM OFF) + + -DAVIF_BUILD_EXAMPLES=$(usex examples ON OFF) + -DAVIF_BUILD_APPS=$(usex extras ON OFF) + -DAVIF_BUILD_TESTS=$(usex test ON OFF) + -DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF) + -DAVIF_GTEST=$(usex extras $(usex test SYSTEM OFF) OFF) + ) + else + mycmakeargs+=( + -DAVIF_CODEC_RAV1E=OFF + -DAVIF_CODEC_SVT=OFF + + -DAVIF_BUILD_EXAMPLES=OFF + -DAVIF_BUILD_APPS=OFF + -DAVIF_BUILD_TESTS=OFF + -DAVIF_ENABLE_GTEST=OFF + -DAVIF_GTEST=OFF + ) + + if ! use aom ; then + if use rav1e || use svt-av1 ; then + ewarn "libavif on ${MULTILIB_ABI_FLAG} will work in read-only mode." + ewarn "Support for rav1e and/or svt-av1 is is not available on ${MULTILIB_ABI_FLAG}" + ewarn "Enable aom flag for full support on ${MULTILIB_ABI_FLAG}" + fi + fi + fi + + cmake_src_configure +} + +pkg_postinst() { + if ! use aom && ! use rav1e && ! use svt-av1 ; then + ewarn "No AV1 encoder is set," + ewarn "libavif will work in read-only mode." + ewarn "Enable aom, rav1e or svt-av1 flag if you want to save .AVIF files." + fi + + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update +} + +pkg_postrm() { + use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update +} diff --git a/media-libs/libavif/libavif-9999.ebuild b/media-libs/libavif/libavif-9999.ebuild index 0f5d4d481176..1b5831110d64 100644 --- a/media-libs/libavif/libavif-9999.ebuild +++ b/media-libs/libavif/libavif-9999.ebuild @@ -21,13 +21,18 @@ DEPEND=" media-libs/libpng:=[${MULTILIB_USEDEP}] aom? ( >=media-libs/libaom-3.3.0:=[${MULTILIB_USEDEP}] ) dav1d? ( >=media-libs/dav1d-1.0.0:=[${MULTILIB_USEDEP}] ) - extras? ( test? ( dev-cpp/gtest ) ) + extras? ( + test? ( + dev-cpp/gtest + media-gfx/imagemagick[lcms] + ) + ) gdk-pixbuf? ( dev-libs/glib:2[${MULTILIB_USEDEP}] 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} @@ -39,12 +44,14 @@ BDEPEND=" multilib_src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=ON - -DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF) - -DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF) -DAVIF_CODEC_LIBGAV1=OFF + + # bug 916948 -DAVIF_LIBYUV=OFF # Use system libraries. + -DAVIF_CODEC_AOM=$(usex aom SYSTEM OFF) + -DAVIF_CODEC_DAV1D=$(usex dav1d SYSTEM OFF) -DAVIF_ZLIBPNG=SYSTEM -DAVIF_JPEG=SYSTEM @@ -62,6 +69,7 @@ multilib_src_configure() { -DAVIF_BUILD_APPS=$(usex extras ON OFF) -DAVIF_BUILD_TESTS=$(usex test ON OFF) -DAVIF_ENABLE_GTEST=$(usex extras $(usex test ON OFF) OFF) + -DAVIF_GTEST=$(usex extras $(usex test SYSTEM OFF) OFF) ) else mycmakeargs+=( @@ -72,6 +80,7 @@ multilib_src_configure() { -DAVIF_BUILD_APPS=OFF -DAVIF_BUILD_TESTS=OFF -DAVIF_ENABLE_GTEST=OFF + -DAVIF_GTEST=OFF ) if ! use aom ; then diff --git a/media-libs/libavif/metadata.xml b/media-libs/libavif/metadata.xml index fa304031f6dd..fc327ca39df8 100644 --- a/media-libs/libavif/metadata.xml +++ b/media-libs/libavif/metadata.xml @@ -18,6 +18,7 @@ <flag name="svt-av1">Enable support for the SVT-AV1 encoder</flag> </use> <upstream> + <bugs-to>https://github.com/AOMediaCodec/libavif/issues</bugs-to> <remote-id type="github">AOMediaCodec/libavif</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/libbsb/Manifest b/media-libs/libbsb/Manifest index 2662004f5f2b..5bce055f5b5b 100644 --- a/media-libs/libbsb/Manifest +++ b/media-libs/libbsb/Manifest @@ -1,4 +1,4 @@ DIST libbsb-0.0.7.tar.gz 155443 BLAKE2B b37eea6c3fff957b977008cb44ef5dc7a1a136bcf6d4d8d0dc0f317663d4b06301b93d19e157d3f9465ba0c52084aff2d3e3c04fa0a512a7520589eee585c9a7 SHA512 9a6d7f3d5c2680e008e87ac8b31b676814c9e89b4fb6a42cbbfd96d2d7bc7d734593a3aa94420a374e89431ffac655efdc48cf06718e682933f8975bc3c56515 EBUILD libbsb-0.0.7-r1.ebuild 611 BLAKE2B f0df878f0a7c3e04789679e4e461e47467ce45872e7a04de136d7af7d5a9758c8ebc5a038bdc207ff53d796678bf69d8e5672081aa0c662cc83fef406a477d63 SHA512 80b8715454f3c1b4a341ca8336fe0dafdf83a513466362215703594d65a5a40483280c4bf927a8617be4f76bb86f6e3cf93005a7ad67a5c3cc009345ac25df86 -EBUILD libbsb-0.0.7-r2.ebuild 713 BLAKE2B 0fef7ccd4d793d8b3cdb3907bed7fab9f9b1b57c7baf2a7b84bd2b55d6b67846291609f4c414dccba28761615f80bbff1c235cdee5b65bea12fcdde240524b2f SHA512 2c989aaf9a34754a506aeaca3668049b3bd9585e88a980b13bd88721701f7379d57dee01ae558f35d41ee4ce96a2bb7324525685cda6487c0faf34945e1d1728 +EBUILD libbsb-0.0.7-r2.ebuild 711 BLAKE2B 1d191bbac81cc8dcef99a8c26d4d50b01c407fd306edd97b00b3e154db001815a67ed6b7992ba5fe78560b554a6e4faff4a27ed92d065f0040d65d09917784d1 SHA512 d9ff3f048a30de76bb9ffcf930787322e90dc4e78e06b658d615bef26fc933e671ee0bc312109a003cd7f3ba2da2d2de924ad61d01d1519a70505b3e1b83f681 MISC metadata.xml 295 BLAKE2B 10c751277dd60deaf3396ac58289f4dfbd2310b4556b70913b0d2359ab5e63099ac3b248ee821723f189f69cb8ed91713cc899a33cff4281f6acec544bd30c99 SHA512 743123a3e9f36f5ebade194fc3c64582d197e2bafa0367e07adf8ce683aae2f86077028a7fcab7a9ab414d00ef5e31a56c368240c4a4a5df687289131654df0a diff --git a/media-libs/libbsb/libbsb-0.0.7-r2.ebuild b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild index 301930afdf66..4cbb0eefd8c6 100644 --- a/media-libs/libbsb/libbsb-0.0.7-r2.ebuild +++ b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" DEPEND="media-libs/libpng media-libs/tiff:=" diff --git a/media-libs/libcanberra/Manifest b/media-libs/libcanberra/Manifest index 6282b13edd7f..11ba74d4bb30 100644 --- a/media-libs/libcanberra/Manifest +++ b/media-libs/libcanberra/Manifest @@ -1,5 +1,5 @@ AUX libcanberra-0.30-wayland.patch 2382 BLAKE2B bc2be1eb32541c80483538b8e3105f281023cee22a2a0f67c8210b8cfc97273f5323cf31e3b7955e8b944af1a414b30554c9dff7d2de97cb1bcfb13f4cd56baa SHA512 9822e67dea1b541fedb0fa9779cfcb101ba8bd24d9ff238af59920b937cb1f5fbe5854ee5e642ff53e65f8d2d0996f2c46be67a51a211d2e76ae89ae98ec553a AUX libcanberra-gtk-module.sh 275 BLAKE2B d7f863f77983d4144035eefc7ce3abb4eb411ecc3aac5f5737b7ce0f44e42cf713b963a17c6a6afdaa95833eedaa510ccd9371056c2c6f0e805febf16c245e36 SHA512 6c945211ad9d461e5bdac209c83e0fc0c714eb194f6d57e4f18db1d904528fe845cd628572d0ab9eb4d53005c00073b376b6d718bcd0cddaeee83dc90042643d DIST libcanberra-0.30.tar.xz 318960 BLAKE2B c90c6863738b103c256eeb0907060a0f74b73ef50ac0728d2114aa558a7a1ad7cbae4184860573d3fac0032eba77327a4de94c459b99a81c3dc19da0e98adfda SHA512 f7543582122256826cd01d0f5673e1e58d979941a93906400182305463d6166855cb51f35c56d807a56dc20b7a64f7ce4391368d24990c1b70782a7d0b4429c2 -EBUILD libcanberra-0.30-r7.ebuild 2453 BLAKE2B 2b3dca5e38e617f4fa509973ebe4a74d1665e46019891aaa06ed67fba288f7f3f5be7dededf8ff339969875f8a571bb10cb7743e6870904c198eaaea9e5d8771 SHA512 673fff9a433648c4cbdae11b17472450de5401d35eecc3081ddcd73d3e4f507855decfebeb41896bab1feac12f0df76bef95793ccba8a74bae9fc28ef37d5005 -MISC metadata.xml 1743 BLAKE2B 3fc8e1231f2344d0d291573a6a42014035a12fe1ac9f69a3015236758b3f3a4ecb759ccb63e93f89037ab29ab87f405106b7fb9ba2b0966b3e5fb24c2046d340 SHA512 85f363f3f9cc6f47a876bce81675ee29e5bf61014f3c6a6f1ddacddbf24d1c3d9b1b3e3a38308fdb4fc67eed0fe01d5f78e94c55cc0369ffa7b862ac13cd6b40 +EBUILD libcanberra-0.30-r7.ebuild 2504 BLAKE2B 3ba712bb9c945d2c91ac0eecd86897e0ff238e76dfec0ecfc20c7e18689304957a4518f8347c4532f73b5fe48e2f68c42ebe2186217c3da53f7ef9536ebf234b SHA512 df7045d7ee4a1261d98cac5a36ee09aea17629f7a3a5be2d2db947af1985b2f6a9b963e3cad36bab1f6f8c1372b98e207386a7d48e2b60683d70bcdac9fef31e +MISC metadata.xml 1744 BLAKE2B 26312a41cefdc053215cb2a6ff704a3934f806df80d340a7766f9994ffb07118ed2647ead627197ffc8810627c00e220eec683e987bcb374b626c5508c70d7f2 SHA512 423e9ad57ce8d636c2d05b802c9cb6391d2794eeb9924009ae265c7de68165af664964c3a4f6b435bb88ffe5f37cd5d4f55addc62e1ff1b9e073c75817f0ea13 diff --git a/media-libs/libcanberra/libcanberra-0.30-r7.ebuild b/media-libs/libcanberra/libcanberra-0.30-r7.ebuild index 31565f4ebc7c..407df15f6c05 100644 --- a/media-libs/libcanberra/libcanberra-0.30-r7.ebuild +++ b/media-libs/libcanberra/libcanberra-0.30-r7.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit multilib-minimal systemd +inherit libtool multilib-minimal systemd DESCRIPTION="Portable sound event library" -HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/" -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.xz" +HOMEPAGE="https://0pointer.de/lennart/projects/libcanberra/" +SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.xz" LICENSE="LGPL-2.1+" SLOT="0" @@ -48,6 +48,11 @@ PATCHES=( "${FILESDIR}/${PN}-0.30-wayland.patch" ) +src_prepare() { + default + elibtoolize +} + multilib_src_configure() { ECONF_SOURCE="${S}" econf \ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ diff --git a/media-libs/libcanberra/metadata.xml b/media-libs/libcanberra/metadata.xml index fa09b064c145..854ff75b3c80 100644 --- a/media-libs/libcanberra/metadata.xml +++ b/media-libs/libcanberra/metadata.xml @@ -11,7 +11,7 @@ </maintainer> <longdescription> A small and lightweight implementation of the XDG Sound Theme Specification - (http://0pointer.de/public/sound-theme-spec.html) + (https://0pointer.de/public/sound-theme-spec.html) </longdescription> <use> <flag name="alsa">Enables ALSA sound driver.</flag> diff --git a/media-libs/libde265/Manifest b/media-libs/libde265/Manifest index 15f504b212e4..d69d12d3d163 100644 --- a/media-libs/libde265/Manifest +++ b/media-libs/libde265/Manifest @@ -2,6 +2,6 @@ AUX libde265-1.0.2-qtbindir.patch 1798 BLAKE2B 22e15a1d4dfe7f602c9b13611c17d4d6b DIST libde265-1.0.11.tar.gz 845996 BLAKE2B 91711132757a10f0f277800525ee6f6a3902604cc969b8756232b15b581d830951d70bccd57d7731b3ad670a3b7a0d2c22e9578f3763da65b3cdeb016422568b SHA512 2ce28558c66e20714c07bf3011bc10dccabb770649903616bc32f1c4f18beba559ef7e0e42365ead77d7e813316b8c051039dc393cd351221cbab7248b3fa34c DIST libde265-1.0.15.tar.gz 846016 BLAKE2B b968a46dd56c3dda7da0e24289ccf24d08baf382771794dafacba942de41b7458b3a515e22abe2f35465bac731e67f29b409dbc95ced3531a211e6e40a1ea774 SHA512 375d8e781108247e0e8b4d7a036d20cc5d0670bdbf6ddb40a6d3dbf912fa776d2f001fb762301cb97e4d43be29eb415b0cdbfc6e07aa18b3f2346f7409c64fce EBUILD libde265-1.0.11.ebuild 2348 BLAKE2B 60ddd570074a4eadd36bbed54ba447e0b5727119c3df19cc3a2723deb7666298b7678fb85ffda2af67825ac00b922cd5320763556c490c6bba1e26924f46fdf7 SHA512 ce0a5593dc85895377241f3d78b87d3faa207e8b662587f1b1b65113b0f87230e663090e70314b71f53ec7fa7b374156ea6cbba8d5a14252635e1f95be0ded95 -EBUILD libde265-1.0.15.ebuild 2354 BLAKE2B 0b077457e24345f2c42a062d693ec454944ca39f03b379b8b37839c5c62ab0bc6b9e52cffb55b7f5371abf2029bbf3b1c8246b61f692b171d6c4d321b16c239d SHA512 6833bb1627b7b552dbd26e3c494c212d16dab4003972b1c88b96d6cf90351bcf782af65a42e949eb9256a44c4357cf76844ae0876d42824950f807668c05b634 +EBUILD libde265-1.0.15.ebuild 2349 BLAKE2B 50ffe45d4bbc48807480857d3c6e2d50a27d0cb0d99fed8e716f24266953b47a2c2d4886925ff38467df8681547d0bcdb24dd259a4b973c381c60483dbd72c43 SHA512 2d9d7f7352680cde7cc92d97a3c69ce97c2dec0d5d31a5a52b8d3f4753fe1132ac4f92e677d49c4d99864257287a171a8c1909d0fc2be89581698bdfcc16cd6a EBUILD libde265-9999.ebuild 2354 BLAKE2B 0b077457e24345f2c42a062d693ec454944ca39f03b379b8b37839c5c62ab0bc6b9e52cffb55b7f5371abf2029bbf3b1c8246b61f692b171d6c4d321b16c239d SHA512 6833bb1627b7b552dbd26e3c494c212d16dab4003972b1c88b96d6cf90351bcf782af65a42e949eb9256a44c4357cf76844ae0876d42824950f807668c05b634 MISC metadata.xml 661 BLAKE2B 784b7d045c910e3242b8922f7851d489176d5e8ba2cef080ee5f250d37f407b56c7646301ee5a185eac4a5dad496b19be56e429d80343b7cdd9b762ffb361b55 SHA512 e4ad3770eaf5a8d961bee58d11c91c15235e028cb2e51d10a8b007d0b6444777c21eb4a7a846a538616231915f19df981296ea22d65f68ff5806b71bb2b4a0ce diff --git a/media-libs/libde265/libde265-1.0.15.ebuild b/media-libs/libde265/libde265-1.0.15.ebuild index ba775f376734..3556c4bc00fc 100644 --- a/media-libs/libde265/libde265-1.0.15.ebuild +++ b/media-libs/libde265/libde265-1.0.15.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/strukturag/libde265/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" fi DESCRIPTION="Open h.265 video codec implementation" diff --git a/media-libs/libdovi/Manifest b/media-libs/libdovi/Manifest index a7ae610284ab..7e8c7bcb061f 100644 --- a/media-libs/libdovi/Manifest +++ b/media-libs/libdovi/Manifest @@ -1,66 +1,104 @@ DIST aho-corasick-1.1.3.crate 183311 BLAKE2B 8dfcbba0b9d94e55eae739b16f5c6474baa43ee7854c5ca792f426a9f46fb0eece79cd493b804e51449181bcad338b96819fe977c02c9907654d713e26b9f830 SHA512 ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69 DIST anes-0.1.6.crate 23857 BLAKE2B 9ef464a964709b408c7d7846b9b1e54e52d6ae8f21f22ccfe509ef7197d4694f439084dbdb01fdf88829d181965ea9d1452253789a46fdf6d0520e3413c50d61 SHA512 f9dfaaca9ca327881ec30efaf24e208daae668b1e9d6963c8b0ca9f9fd13be777c793076a87980429f0dfa4db28ef5331ce6652a76da4d5a87485b23fc2fde29 DIST anstyle-1.0.6.crate 14604 BLAKE2B 0716d0dbb62bf05c63c2bfe1c689896660073a423d26965ce2570f11e1925752a61209d78c2f2fe65ec4eb64ea4ffbb39669e789c0ba5d1b71e75de929153b20 SHA512 dc0e505465be54799b9faad70d0c6f7f0dcf9f5e1aaa43177b826c85dae626b054910244da0499862f066f6723a1560ad12100aec523f28c6198f1ea0d1b78fa +DIST anstyle-1.0.8.crate 15771 BLAKE2B c039613e7de27cc990e5764810f9351754b160928a8954dc19041354cf9fef1422ed964237a5d39d16e4e9f8592ed52c523ccf36b0b5506f464d4f818f3332ff SHA512 3b867f73df0b2f69a0c7d5d6e62c7515045e053656afaa303e5aade8012e838cdf5d15d2c3d7c297db9e297d08ea69a9c8eed04b97922a83f56c58962c1c0b69 DIST anyhow-1.0.81.crate 45142 BLAKE2B 9b8678c5336fe5fd2823c58eae827f7aba726e12fb6edfa958c6e3b38a96dc3310bc8d044ee2e9db0bc611548f0be9a7b664b75321bd0b8a7e168d27dd3d7e78 SHA512 3d328c6b45a4780cfb6fc8daa5581cb5e45b230cb5f55837b0fcc8331c8d53630950c281115c06b21e655821a46d360c4aa667cbb24e87f3a534206361b08af5 +DIST anyhow-1.0.86.crate 46741 BLAKE2B 21b1f3acd1c1b659e6e9a53693178de67c806d7dbad30dedea0fb7078b2388baa196d1e7240a7dc88ed9dc93ee4c00bca8e608dad1b6bfb5bfa4f4c5ab51f0d3 SHA512 3853da32a2c53d73969bb29a1e622f3a6d5832d8888dc6bc8eedb76394b392f983aa3fcb1f542933e238841486106f0f38e9a2400c12c7699baba0ebe1d8193a DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 DIST bitstream-io-2.2.0.crate 34113 BLAKE2B a449d31429b3aed5ec54c2590d285a532377c7d5e614eb785e11bb208c3541d1df8c439999202ac52227544ca42008a60b0989696ed0888ef2bfdedbc23f6b95 SHA512 51d328fb67df4d89f755769cb8806249349d9d69a4c1c538f72120b058fb7fed81356b867363396234a96061da92446c6e07b6498c7bf9c1f3f99de60aad3f2f +DIST bitstream-io-2.5.0.crate 37723 BLAKE2B b9841766c4cfb1a669a8f180d9e2a0ed110a60f535fb69046859d740b672f78ee12fb805c2323164868a2dcfe6b55f8a6ee5e59003088a7533a5e537b02158e1 SHA512 8db74c147412c2ea335455d740cb2ef33be8ec0c3ffba08fdfd3983515abd8b47621d178bf1290a7830a9f15bd32912d17b3df7d39e9ac786970a868b8ed76d3 DIST bitvec-1.0.1.crate 224375 BLAKE2B 9f109db6888cf73d69646911cc1c9e90535e54a7afc436d878bbc63ca20a30cc6e5b5b5cd42aa78c38df5a4012454769c126f9072f39d58bdd09e54887ba6d9f SHA512 83d643c5aca020ebbe9094b5aaba6a796e7c3c509228a4348444e57a06bc3a5dd042eed57a2254d91661e73bdab2bc0d1bd02be376906acc6b6d75b5354a8d8e DIST bitvec_helpers-3.1.4.crate 5139 BLAKE2B 2f1b430e1548f82887b7e42750dbb5dce2288dfa4694a77dafc23687630af5b5289a22292c44a881f0a4bc23dd68cc247e868bb4def4f8c0258ddca169cdb4fe SHA512 fa1e3434b5b21d72b20b3b20f7359d24e882a6b3822231fe1cb060ae846c74e14990a69611aa79a4797906c6658413a505b6d4aeb20734fc76d70a370d2eda69 +DIST bitvec_helpers-3.1.5.crate 5147 BLAKE2B 4f9b297493abfdc6c8ea38db2c8bcaa23787d4aba746a9b0682afd27e7b04a1ffeeb5a51bdc3ea76080972de44321e5264a3e5150910f819178a73dfe78c4d95 SHA512 08ba37eb2c1d68ace18e82afe8e5f6a46259e44d3b3625234f68059acd72d53badc0016c1e9fb323488e85d7c7db5f8b8d8af14a3a947a98545492a49b218f65 DIST bumpalo-3.15.4.crate 85028 BLAKE2B 9ec98f430fef4e9b59e61d413b3703430f91bc818f3294aea7416cf8a35e0606357bb5b4d1edebe590f07fb614f832da16016c8530ff39ca853aff1d1369cc60 SHA512 59ca9f8e6b74bdd95b9b4ad1bff3bf4be46dacedeb1eea6196a65dfb0ca7b60e86ab6c25d0f91dae3caecd17ab73c48f953be0bc24bdc0ceaaf4c1726b9ffdc8 +DIST bumpalo-3.16.0.crate 85677 BLAKE2B 08da17b757931d2910e0299df53eb62731aa8c4ebd8915859b81d1982b331e7455dfac977c754e500a35ee07ba8eff00a61d2f62be99744e2ddbba06c1268f49 SHA512 a51b75c36f6794db444cab20eeb24f42a319080ecb486a56d254d6f873f3d188b5ccba11db30c068bd0c52c4322d4a3f5f5195c81c94b0bc04387030418835b1 DIST cast-0.3.0.crate 11452 BLAKE2B fe6edddd0589fa436cda32342d7beaabe4003afdbdf1d7c5db7e8748adf23b1b2cdcdd286235837c735d2143f29e692c152a5d56fb0458a54961e4dea303b2cb SHA512 4a3e19bc1e9e5ecc03aaef9bcdce01624ac0e6858c065fa1c41693db0ac172b9735ce872064561347cd9e79f00a274129011f6e4ccf9e61d960c8bb684b6d396 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST ciborium-0.2.2.crate 35611 BLAKE2B 7bb34ed2b16f55af2d762bbc83263bba901a0f05bc7677a370460549297839c4d6e913622e8a6cb3a5c2447b94b0bd17b7d5007228ea8881193d08e5b8deb072 SHA512 8d1af6a09f116e42f0098d7d0e34dd906dc3e718b257ff1a1fde655a235d40619f61f18917c0cf35c55de9160c255a9795d5e7525989037e3512807cc6a900b1 DIST ciborium-io-0.2.2.crate 6697 BLAKE2B 07636da78f59859515af0075cb36d9ca969113ac327ff727953c73b64b60ddae22e5b1b65d8be5aa401f8b13d34074cbc8b47f23abd7a13d551f0b1c78f23575 SHA512 641b8592f9699d5e6c607815c8e6dfc82b2bd01897015e04ef8853420a7d90c2ec5c1140e39eb7623ce05587bea52ef63659eae76baee5b6592d2ac5298ce106 DIST ciborium-ll-0.2.2.crate 14695 BLAKE2B 3c9ab0b338070359f9565706a504e4f6c65560072380af6e0a57068ae6716773d40e75dee84ded5e1d32f93445a07a0965759bedace58291b68b94479fb16488 SHA512 2f7ef6ad8bf5a862e8b9daa64bc6d8184c87a22c264b10dbb35c00c9effcd5712f354b4ca6c2eb8e6795d4b99d7cb88fa2acf01f3ad6fb28caf81708a500549a +DIST clap-4.5.13.crate 56267 BLAKE2B 233f2fb4405ee2ff669220214c13b6c94858dbc375c8bf7eb83d7488690d74ebd8e1514679e02d1354b493b6e37fd7ed4b2ae32065d115a7287014aece90c2af SHA512 dd1a42ad3bf39463966c2ef76f3ec2dc5a847160bcd73de1718bd6706790f1ace183e3c9e6ee8d06f6ddea4b9bf30c884fa97d36b44f30dac26a85a52d9a0025 DIST clap-4.5.3.crate 55388 BLAKE2B c0de02441b38bf4a4c7879997e70a8c0b55d41ac60ea2d918a3eaf7933ac9105a22cd59def6e7260066ab2d12ba32f13b26f4fffaa6303ed4e4f33622ac9c9c8 SHA512 735be90c75211cd8d77f014c8b91782246c652e92da810877a44ab4c9dc0b4ff9637640da04d57a17cd1550df1eba73d91d49d2e7a73815010c5d6a5017aaa9d +DIST clap_builder-4.5.13.crate 164093 BLAKE2B f938635782ba9c1a675bc15a73a36ee7f1cbee501dd10be6f267364fde125c75474e5abe226e0eaf0c9fb224887c65bbc1be4641ca093282d3042f9980f4ab94 SHA512 ab7a29b29a15d22701550fc590ca6ec256edf03828e2b9a87072734a8f66b6e5a1843ac2ee7856c62472960af4e8f40840f840adb78ce5afca918f333e0f623f DIST clap_builder-4.5.2.crate 163566 BLAKE2B 5eb81df416f3da0bb7e53c59ef4e914f03e2bb0563bb3707fbf70215f249aa523e3f5ef2205d0a8e25c23db6c6d0d344181c1c771566453505c769c55b355374 SHA512 af7eb8326a980cf461442a4dd6d224e61ae31a2fe4a45b34210a2c1f747eed49e00b6254699e82f986f441667f290a5de747b5e9d9d0360ed049504343385864 DIST clap_lex-0.7.0.crate 11915 BLAKE2B 03287f02067f6cb33bb3889e8032b0848e9a9cc17446eb0e2767768cf6ea8c579a7455d33c8af735fb8d0c16095b19f991a5e2528dee3a7628d68c16f9307fa4 SHA512 638feb2e4571677dbe15ef0423866d2f0df309723e5ad65ddeaff7fd5e2e83adcb973a32d52a5f3924ea88fcff865e956b7d30dcd569df0412ef47848af14036 +DIST clap_lex-0.7.2.crate 12805 BLAKE2B 952bf3f3885ae7bedd0e8add236590da5fce72a7ccd88ebda063410aef337ce7ccdb5e5e929cb870bc993891610edc0197150a3aa82a62fadc4bbfd96324fcdf SHA512 a8726397e5372fca3389748efdfdbd016b6baedad5b4bd95f33e4e820d4f40e0b94c88b1918ded3678aecf23911028e2261837e73d58ba7fd6f091eb47267380 DIST crc-3.0.1.crate 9950 BLAKE2B 2afbaee34f754953396e452260290422d19416dad4b88333e4501592deff3b3350363ca4c2b37d573ecd4e64a762b702b79445460f15fc90bdb8214fe43c0945 SHA512 aabe9d4058fb4710405146e978ec5881bce5ce8971618b69a7ff873b0fff15fc78e5c48ff0136ca6d37663a53905bc3c5daa0ed3a2ed4d8d721e90c3b0ec28a5 +DIST crc-3.2.1.crate 15070 BLAKE2B 9d5f488b57bc232528cfb8d9ef33a88d25d904395dfac8dc10e864dc0d6c89e576585195a20db585fe358859ec50afa998562ad6becf6fd2e505f3969eb36ed8 SHA512 64b7272d8cf55efe9768f9f3218f83302ccb59458a56fe3b7b2de1a53eb5a3b57fbf268647fdba5b230cccdd4058462ba583d76870ba12cb1057ac2787f181db DIST crc-catalog-2.4.0.crate 10155 BLAKE2B a9c3ef81871d72635addf1ded611fa6e963b9b128dda198eaa3a256512c8759608bae95df95524704aeb38f81e2fb6c2da2e29e306a8ed3dea595e63cdf05638 SHA512 25536456fe71c44fd8ec527299339c1d186f6e12f1f90142de60eabce337d836c2497ddd6307473b57a6cc720cfc8e29b059f378c70b8165bc171420ccb40a29 DIST criterion-0.5.1.crate 110088 BLAKE2B b99018b6a6f97fe47d90a2135e3d483ee624d43088d7881bafb2c35ba385629f1a4353110bf190c04903abc4ee99ad1735bc9c5afc6c2854a1aa9221fd714617 SHA512 6a1a32437bdb95f8472bafb5b04bb5999a6ff6fee4ca5965028ec53b4867d01b529241d01809a003722ec7d5710c323274b6f3b50ca0935919a9dee693f4d3b0 DIST criterion-plot-0.5.0.crate 22706 BLAKE2B 28a50375f2871ce6f168aafabff46f4368bf55cac379c67a2b4396403259372759dba3355786e695b566b1cddee9091a469755a04c06ee949f00aee8e9a28699 SHA512 971e96dcc64a5afa7488f1a99475f0f5639c0ef63f9eeebcada351868697cbff397e99827cc07c0a52e7d7d1a87856fe1fc48c22075776b3bc9c94af62d79f14 DIST crossbeam-deque-0.8.5.crate 21726 BLAKE2B d97b35e8e8858deaa7fa9a836e836d02914aad29e5c34ab121f52ed65e95213cb2574df82273277365889ea771f04eb40bb2439347c259979f1dd6d5e9853bcf SHA512 0f0c9745763ab156136227cf1415de514952a3f8282ffe413cc249f9f4b345b029940e6a6c87b3be8331a7c783655a35b89c7a2547360ea5ae10aa64ba7ae864 DIST crossbeam-epoch-0.9.18.crate 46875 BLAKE2B 200c256cad6011a3a14c4664bea6b150fce72d561c4fffc387fa561b08c0480e8756bf51c14874c5fb19f427424547f72d2cd7dd6f56fb8b6666a85f8d52bfd1 SHA512 0a8a199b9d77f4e28e91fe0a0cbff7e0dec58cac283631fd972477fa912d2f6ddfddaed2c695e4978b01cb5440b702822af6333e7c3dfbcb9a2c2086999516b2 DIST crossbeam-utils-0.8.19.crate 42328 BLAKE2B b2846f569555818fe7a3ef4aa29f68c638f933ee0251713c2c92624bee5f8013def5527027022963f572815991abb98d5e68d0fa00f478b2762133f84ffc84c0 SHA512 6e742fbb0d2a6371db87e81f8ac583259530a288237d0e8347394581c60004703a822318ec945936c410bb44001b115d8d986bb264e5b2d8091bb63a8edd93a9 +DIST crossbeam-utils-0.8.20.crate 42487 BLAKE2B b50da06721cfbfff07825574feada8a28d3814edb218434288683eec31bddabe2ffbf7e5ef1281ee14a8a77c56db3b66f3c5ceabaea9c72317c1bd2cecda0c26 SHA512 7175eadf9fa7c526fa11ff87e40ff203f0e7a4bcec15cb972f924f3c7ff7cc20b6e2e8dbbc1ede142a0207cd2baa4f446deb25d825d28a54cbd25c263701bfaa DIST crunchy-0.2.2.crate 2995 BLAKE2B 74ddf8c5e0deb2ceab65c20a2743e1230739ac6aa3af60c9e867a7852270697a1278b7dee00df8949fc4268f9756a4a098df1211ab3b3e31a122652c3ba0a6fb SHA512 36dc0aebc41a3aac5f1b178a7e61b65bcd9bb5c8539b2024f79428200f7c62daa7098af55c6ab0765febd2f8969bd6c0ac8096f73cdc0958e5c4e4eb6a4f7025 DIST either-1.10.0.crate 18334 BLAKE2B ac5d81e0822132846e29f8959671b14ac6047330d54020ea7d4ad790ef985ecb4ddcb96ec7e327b1a66b9c89d37b112dae33c9ac35232c136f60ad9baab7d5a2 SHA512 2de38a37b7f3e61effa89648acadbf220eacfda1ca7c82fb77484e45577769b724f7dbaa297e73e3d355d6b1bd5109373c3e96e4c1a13a918176162b33ea2432 +DIST either-1.13.0.crate 19169 BLAKE2B d6223c76421babf163a694aa513fe07adcf4cea329872c02f5af5956e89b2c353a899f5708e5a2924e5a92d871ba748490350ba30c17dcd78dd4379e229f6e11 SHA512 72e803079bae621d282136ab1e423ba71415bf12038b6f386f294cae68a67ad9ff16e4fdf4344eb3fee4418e853f9cac344c248f6befa3006d1c954668b36322 DIST equivalent-1.0.1.crate 6615 BLAKE2B 302d78069d9df05e78b53f0488a9e4eb98fa2bc1e21893dc8a0acf2234347ba7c4df4b9d6b380ae77d8ffb1074b9c790460fe2dae47318aa1c4fe4208244540a SHA512 b2bc60e804c1b02c461dcefcfd60fc37145af710d183ebe65f9a4d63f2b2072d23193f98dc550a9213c7fdc6a2a837af23b04a89294ebbb681a4aaf5d5031140 DIST funty-2.0.0.crate 13160 BLAKE2B db6315d63fffe9f70698da0b1b0e4aea4b509242c60e6639f00303dad8d2ba60c6c1c04fe9289695b7aa2d7a0c90c31fba72656afa7ad111b77358772b14a9f5 SHA512 691e1c275b648110ef42c4adece8178cf037bad40d469780280eb2ebe07aa4b0406737c5ba02c9f9f63ee57a99fec27e5e51712e2113655f7522c8678f689155 DIST half-2.4.0.crate 50666 BLAKE2B 5175650e5cb9fa08a5d45ce35b76b15454d27f214d9b9236902ffab71834b342beba0654f9c85fc796bbb499a1a979b60714a5bf7666d1faf59d61530073adbd SHA512 7357a0f84dc6ae394efdd464f5a6da2bafa48bf8d794b2c34d1507d4d66af31ece8a012b58e6f76eacea2c249488a12c20f8c7e516ddd42a70633c9dbaa13bf5 +DIST half-2.4.1.crate 50892 BLAKE2B c275a9ec70d2fc0c50cb63421399202d31252b0dbf463798ed0a12a17493817c66b8933811d483b348f8f945cb05aab7cc2a4d952bd16009c3da4860202e28dc SHA512 0bce235583ca128723186e1fb50f636b519bf826c942f02c5b969db4117baa87c644665c541991c16d1f1dd97c7233c017a513d45075fc72c5d99ccc7c1ac193 DIST hashbrown-0.14.3.crate 141425 BLAKE2B 23c63a99c6c6b7a6b9b9e8bbbc7f1e342e1eb9d7582fc9eb408d3eec50c99f34502d450170bcfef4da7f2b1e743e1d1619875ec879e4753dffcb84f3c10dc3b2 SHA512 4d344e5c89ce58e04668b80ef10e4e110a3a5daf4d610c52d980577795d0e2050c7d0b151d8ba97128117665e27b92ab0300f85b88bd6e1de943c62d49249356 +DIST hashbrown-0.14.5.crate 141498 BLAKE2B 7d7f31b6377c901de12f78f0004a347e3e3b948b1336a54b6abd8dd2210db0ac415efcdded421a00723f16563a7b833b5d1db3cad5c12cac916e273bf3e588b3 SHA512 215ea860bd3de80e2dd2d4647c9dd31c0ac895ea7c08b87256dc11d36407e412ffefaebc6cdbec024057dd4f24b3762b4fe427be307e15d1e68ccfde89a99742 DIST hermit-abi-0.3.9.crate 16165 BLAKE2B b779f005bd4cb9ba9abe401a0a559a5bbcc44726ac37f53e9c8d1f7218389ec8b48f74d14666261bc4fba4fbe5558cfefae873c49a2312c8c8bd4010b8344064 SHA512 f3a5a51d834a6ad55480b53f7e9cdc73a512ab0cc6c246a6ab1e8bf8f9851a0c8a55982f5bba6cb57b5a03b54870e73b0bab0a79195764c308318394a3ea8045 DIST indexmap-2.2.6.crate 82420 BLAKE2B fac5cf6339dc3c0a40b100035a5c874cc7b2efeafeb31c51488d25156e392dc9db86a497e76eead351d2126f69d060422faa9c55d73407a0de9f5be18d234123 SHA512 53211c4a9003d751feb6dcdf1a76495764cbf32d24bbfe2be7023946622ef4f2b07a6de57109e5d24ee01892f4b2be0e0692e10cd31fd39c4ffdff4d37abe9ea +DIST indexmap-2.3.0.crate 83027 BLAKE2B c42cd83845923e68f9035de2d0645dfd5f37edab8b5f076c5d578867e721403b71cc48c5a68166e03688be96995c73cb81d0f2583aae8e24eb554a432854cf84 SHA512 035f76873c8f94dc0ebf8e2cd29c157135a1a6b5fe042997bd30a928227f6257a19dfbc43ea9b50cee425fabdfbe0ef6704627126ae5cc937855d6c91fca0958 DIST is-terminal-0.4.12.crate 7470 BLAKE2B 6d1db6148198299d0775539734dc62a3c7e453d621d69e01c3addeadbec4e88dde6082e4e12c7b7e8359cbd93b68c0af314d4a8df4600061a9534834699cc38a SHA512 9eb840a419f530c60d6acc52fdc9d6477818fb513bf9c3e8ab808ecd19087a52933e958a930e7a8c316d5e5a3e5beb56c34b560dddaa03c744ad37cfe6554a0f DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3 DIST itoa-1.0.10.crate 10534 BLAKE2B 8ffcb345d07070cc01651fd44c19f3e0659185eda733c407fd4be0955a301879ae1272dae7f425279dae8dcb7f7dc954465c9a09b5c521938a503d34fecfe2a7 SHA512 fc496be0873e31afa6ddf7f2958030f8fcb517cadb86a48280a0c50ce50460afda189af1e6c26e5ff6f85c750d772c21503864c32b526c4fe4bcdb5b07918538 +DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 DIST js-sys-0.3.69.crate 81083 BLAKE2B 529c94cd2289883b3b43a848d47d8ae025ad0909548a38ba93ebc684ed3edafab16842b922da6c8b6be5ba39c36a1c05057dd3dd93fc8936d5dac372937ab8f6 SHA512 506722e6dc13484828a4147d974822ff9d103d9e7db58a48181b0957770d9fc43b97605ced105c5b680d8b2cda5fa1705f605707611cb48ed8a45a96d5f196b9 DIST libc-0.2.153.crate 740614 BLAKE2B 523a41bc8cff4ebcba0edbbe9e6a2286ec7cb3ba5e90ca5926c972b68e4b34188bc077d20c22376238c3cd91b7455898a95c505ace4ededea88cc496edb4c5a7 SHA512 3f99e3a192974fffdc053ef21e9ad5fb54b7cdbd4755df176704a95dba38047138ccab76763e89c6b565f37f98fd549fe368749f84f6d1638b3209cb07eae9b4 +DIST libc-0.2.155.crate 743539 BLAKE2B 42cdcf8d4a187383548b1f09d404474f168916d626d614463fe10a1fd886e972e1caf6297e75445214af3f31fe631d0927e54ec1cdc63e20082b3587e38dce16 SHA512 05354bba532b8338bda1f88f12c7f3893429734a06e33925fca2b99d49548ae5216e2cd84e782d2368a2dfef20b0e035e2dcad8dd13ede7119462a8c639b2807 DIST libdovi-3.3.0.tar.gz 459528 BLAKE2B 3582253118807b2171033d385194b40b439c097e1cbf786aa69872b88473ef49898390cddefdfdb3d5c55c2f44114522d2ea484b0a7a7d1e847056b3b5ae7c22 SHA512 f4d183305aee54aeaf2226b7f2848a81c0f99fe0368dcae09eb92b65dd85496b05ffb6d44ce16e04fab03a7a408de8f53c4654f67b286260c2c574f2d5afb579 +DIST libdovi-3.3.1.tar.gz 460353 BLAKE2B e6431f3e81d23e0ef4fcff52e82d9d55a86920ab2ae023d731369a9732bb2a41828a1815282ac2356ecac9e9112238b48a0ad1b3dcd355223de384a1ee8a2390 SHA512 f7240f2761aad5cc662ba401a81b4314a3a32a5b7ee1ce5b21497c767c40279438819184efe3de6e3faa7477b422fc9e9ab9177256c321fab8099e83933ea3ea DIST log-0.4.21.crate 43442 BLAKE2B 8429b3270794d3e2c7f7d5b58bd4fa1abb9d4807ab3a1ac980ac81c11d9544635003d8cf2e608c2c0094865459108a2879f280278e121df68d09bc1561d604ba SHA512 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b +DIST log-0.4.22.crate 44027 BLAKE2B 831dc5092db05123bf2e909eafa708339983edece9bc8cb802f0ab418d47ddc5045a72c1b58bc7c46ffa68080eebd0fd55d6e4f5b3d5ad3b0bc6b2ea0dcaace1 SHA512 bd7baa9c8a5523fd0864a53bcde955d484cacd782412b5b02c890b89dbf62137624da3a27337a310dd8f62bcc6606925a42bbd4ca161a3b7936ea4ff96bc0d71 DIST memchr-2.7.1.crate 96307 BLAKE2B f1a008fbdbfe84852a8ae1d9d9574306b1bf120dd5087903adbcca6af342c9abbb296496eb9bf6cb58915c4444b3edd6ca4e27131ac7d8aed8849815df87a944 SHA512 5120496faa31fc427c8b4178461a262b3a34d70eddb7ad17a19d6db8b9969c9e113d3625b5e6dc677087fc80907377b00ba0421aba9a92cf73ca2849d932f473 +DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 DIST num-traits-0.2.18.crate 51930 BLAKE2B 6c40e155d7a52267a7183d8030ef34245492d33f103cc24551b10da3eaa18e3db485062ff87057dc23e6b55e381e5c5d2a2633aaf6f4763c06677a0a0c524f02 SHA512 e395ad9f3b21b0dd1d3a94cefe0d68a42d1b1d429ddb2823696f9cd75042568a635d93d133ddb9497ed357e5b3be5caddb8e4a4af87b65882bbdc60b05c74ebc +DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af9730c0296a2bb4ebd200c08facd49bc31bf8ddd58967e0df7273a938832b620265d9f8f4d26ad16049bf6dac1cb4e5 SHA512 180018a5eceb45085e4e8d103ff21bb4d5079cea874c42a0ad4c76c99d275d434bbc1cc289f0cdec172866daa89dbfe0871410b2cc3407233fe1129786905956 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST oorandom-11.1.3.crate 10068 BLAKE2B 443ced49f63015823866257a36a88e566f75adaa79511c1c73f1190ec8855ca590d2b6ece07c2ad5e9e47a89f7891af6e9e43b7d74d9ac57cb3551e60b50aca1 SHA512 51ae60ef51da56d7673f36a6c5b99b743580c5f5be54fdcb54b69e5e2f6bbba3267f96b74e7cd6dee6962dfa6696fd9ed073f22726a2861b8f2601946a8efab9 +DIST oorandom-11.1.4.crate 10201 BLAKE2B fc77678ec202bc5ef7314ed876f670575983612db9cc94ddec4ad7e9f04e2e2742d12b746803b33f1dada4a10c8afe19210fbc337803ca59a0df74998fa6de92 SHA512 8d5acd7b344b1eb9635ae597b38d65f0da519366664f02bfd083d37b5e9c88f21403066a8e93d8a61e843e06ad9323cca9796058aabd901d0adf7e7235c17562 DIST plotters-0.3.5.crate 143975 BLAKE2B 57b9b37d9e5f43f12f1bbd95d0c0789a09b2f34b30278c62d8637f341a901ac4c0d70ce4a4f869429a43cafaab637d2f25af3eff12354b0e85b184f439c91320 SHA512 38bd608db346161ffa04c50aa315bf5d5eb2840490c5ad6722b9e294b8aacc3c434a1c6de073d2a29cb34de6cdc6260a227f9b7995ffbe75fbb8783708f50045 +DIST plotters-0.3.6.crate 147577 BLAKE2B 835e4bb81728d0c8199d33269d36e534064c8a7c2ba21cbc6d13ecee644b5dd6f4e8f743920770978133b70a168dfeeacc7979609f6904bbeb217c0361a17c70 SHA512 373a0ff61df8feeaaa0c32001a5354c7e1c2dee235aa76d1e8d3f98dd92479da07260f9e09f76ffd9467893eb6209dfcf751206e0603ccd21041f56d434560e6 DIST plotters-backend-0.3.5.crate 13440 BLAKE2B 72ba042a2057f7afebad34a794df17a0c340ae0d15af2631a3f3abbe117dd8a8d17f877dd935ad59f33494c523664cbd4fc11e05f6c7ae0c495b5e9d4c4a8708 SHA512 4468e2619d7fe47cd03fefa8b1d901ddf5cd47b2899b4b9082cfb695f315cbe415fd57efbef6e0a67eb51dd8edad530c15442810fbb87dfc4b7943b1a7f55460 +DIST plotters-backend-0.3.6.crate 13669 BLAKE2B 33c8feb8589ea4c3a9bf02a28b4d841d5e716e79db33bdb923caa21448039283dc7d926d10fcc6058bd7ae503d71b2fec5b5682d0265f899f9f9ddcd9f4b125e SHA512 d25418e21560b9020cdbf687900d306c2fd03c4517ebf61c5992441674f4be70ec0b36ec40d065e934e0f148a2348cdcee4508bae3fba8166fbb3769312b66bf DIST plotters-svg-0.3.5.crate 6948 BLAKE2B 1e8df5cdf68b1e27e22ef2f383a81caf76ab598d09f31c536e86c543df78a609a33c3c426660a34a37d1313cc2937b0c678c5e1e43fd3d65bce95b59b2531935 SHA512 91c4955f62dbb8d80e01e5cbdc7ad5f1869be6025de1d2baeeb9198fb108ad8f01916cdc0728b7123ed9217abe92cdd8ad30116dd454312c8f63bf9cec98644a +DIST plotters-svg-0.3.6.crate 6944 BLAKE2B e74d2bb5053b698f2a07270000249157ac1e5721e8b290cd60c2c840385e4f41d110be407597ca02633bdc5bfc3a2f3ea5c0f0fe0f800005a04741bace3a4e54 SHA512 62dbae4e7b95c01843c2470776a6a5c45df332846970c688b089cd2dd85dde146cec4cd57e42f9dbe8e994be5fb8906a47a0f8d3cb4a29ac3703ae668d374997 DIST proc-macro2-1.0.79.crate 47200 BLAKE2B fff8e514d618b8ef60d6a4ca7610607641cb25701fc5e8452e0db5f942a3c38c724acbbfb0474823fe0f4864df07958c1524383e7640105266608f1d5a741368 SHA512 8bfa6fc1022556cbabe0050a37b93c5ef1056ebda9d3dd368e705a7c695df9dfb5cd5adc18ad1eadf7338631ad1d5ed6f63f0adff3616429ef8c50a930b1838f +DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST quote-1.0.35.crate 28136 BLAKE2B 81424245e1e2b94459df68bb3a9a866c6a364102b5e1d010ede9c5f8278f8406d7b651957d091c5914e936b494b0f6e9a6a1dd8b7d35cd7d7100f86dee4ec12e SHA512 f5314fb6af17cf36c228e1970c569c29ec248954a450a5f90ba9e2896d04f74904c9cec5a1f74325f2489295a94491eee4ce8fb461e22cd4b34e53f1f881efd2 +DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST radium-0.7.0.crate 10906 BLAKE2B d576e0ea5c5287bcb6740cee3a3838b6ae4dfdef0ef05d34634b96dba5159e48260233db57a767c9e032fa5d9a5798361335cb19f7844f450113ece30ffbc51d SHA512 51e23cf52997b46c0018a94b0259b29d7bf33ddba19f6db406ca57ee5b1417d7e5f27dda3bb487d0099886011a97f238e8b3dd4d6c86e8464c0b471c1a7622a0 +DIST rayon-1.10.0.crate 180155 BLAKE2B 16cb706d2317d8a349394c521ec5ab550290c5ab2a0a0dc24f0282fa7eb01fd1351a7dc8b5af3a55ea321e6526fbe037fec3cf8b32463166a082a6e417a51fca SHA512 3f628c58f3af3cbd1f245ca1be9c8393eff41112891fc4e676a2b9e26b6cba7cb80d7b6ce46e75bbb65e42fc00c5c0bb6b6a4b59092882f03febeb31f9cca5d3 DIST rayon-1.9.0.crate 177770 BLAKE2B 34e20aeb82a548bd80b8ab3faf8fd870201ba3d67f9618e5493332a3c43bcf1443c027b8ccc76cec8df6bff852434531a01c8490f829f57df5cfbc3d8a6e8a42 SHA512 c9763503fb135eefdebebb82d4d19d20e48a182f1125030a7df085ebda4184942d9057598194ab8e8d39b942c83c231834b10a677e89badb6305a2b571fc1abc DIST rayon-core-1.12.1.crate 70701 BLAKE2B a32eb9ae9a71b4f0881f7bfd5375aa7db5681f20f7e0b25e6ecb3161f2aad36b93026c1691d02bf298a48ea07ec9475a237fba457ed0b0b8624aebab2b4988df SHA512 33d0297b682f131c50e1eabc3be583211a5abe790301cbca91bf510e43d6714b7564ca39fab7c4bf6f02aa0df6bb394f386a61320f21ddb6bd7aea1372b5e99e DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b +DIST regex-1.10.6.crate 253894 BLAKE2B 176cf6a1e86aa8a5004af5ab0d6cd4178135bdae3caeb6a8276b8739858c65e9ebcf23749398a5a91adcfee9cca3667b306c4adb6307acfe61dadba8c6f3eee4 SHA512 ec28961d226c944321d9953c42e43cf2d23b8ca0d72d6412e7b0f572c407aceb079bb82502d124af94d71d67c9e5e0c9f66ab9f31edf6023ff045ec37b770964 DIST regex-automata-0.4.6.crate 617565 BLAKE2B 8f1e2a3cc1d2d50478776281d2bf10164ef441dcf7127994f4a0341ec40588ec8dc1c07fdf9f670da9e61a7753551500b80314df130370b61d2c03c2b2e3135a SHA512 b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1 +DIST regex-automata-0.4.7.crate 617582 BLAKE2B 6295d866706b623b2025fdc0c407086fec15053229d708713d0ec165bd526ba25e7468d0009625cbbbc21d20345f0af2eea10addf6de633e8e6a02dddced67b8 SHA512 b19d00d64bb8cd833cfb35fabb162b9481716f4b7f6035c1c8f1de4e0f90e00823d006e057aa3505aeda48c9e1802e61173c4a2878891129a3a918727e43b0d3 DIST regex-syntax-0.8.2.crate 347228 BLAKE2B 211fd1c35ad0f28874d4b4d276e0fb0a27e5a1608f2f16ba2333641b154624e378419daf8d1c955f21ff5f40f6d49c89569b7e11ea5649850846d0fe447a675c SHA512 301dde555f300298f2594490ccd8b92033e4917fe9b8671b8a97db6c827793c73969be85a92999964dcaf3177edda51abeb576811ad6cab9772964dc0a77e728 +DIST regex-syntax-0.8.4.crate 347577 BLAKE2B 400323cdad2a7daa8d4006e4dd7a7b1234704df0f80ca0f4bb19447f8f1d270053bc8aa613e48291ab3a78c7eb02d7afec57bfc8d966a48b372a4c80de9b120c SHA512 10719c138d9aa304106fcbf77da0b01645d1b6fbc621abb639dbd43ed5fc3dbd22aaad8b86df55a60e7b2b4fc347b6f41419131d7b047273e146073250d892ed DIST roxmltree-0.19.0.crate 53547 BLAKE2B 0bf23bb050dec29cdfcd66bb231ea81caab40aa54b015c5480fde7dac899128438ecfb10d818dde456db8ec4cbeebc7f32f3c8ff17594b6a78c0f04f0361555f SHA512 c8eeb974d797316a8dc332c4068b2850eee124a13b0792cdc8acaefe521d8b40161f9159bbfee2866ab2c4f6133ceaaa1b5ed704a5f0db5ae3819d76042cbf36 +DIST roxmltree-0.20.0.crate 54594 BLAKE2B 9605ca407af248c71e0d2bc24d213aa6ff08a14eb548b85de16de7e172a617cdf12c2e4c686f6dd1c80455448a313f6e7d760885f189ae726934efbe06fb5603 SHA512 f8a934d3809e417c43bca53478cef0a7a18d908620175c84cfa2cdb8c85775b52cc641fb7eb12c80c483e0c17eb500dd3358ace858aceaa810d3ddbdef902d91 DIST ryu-1.0.17.crate 47537 BLAKE2B 28408e17a4322f1afb6f21bc8d7328c39d07186de4d464f8e9bd63a69757cb4af61b46e558075e14836f310f020ac824d5ffa616fc0a5ffba59b9df0bb66ffc4 SHA512 6dad725c4fb2d3a33ea30107b63cb702eed56bd2f3c16a72265f648f5aaefcd3d5a7b919b1d037af926cc6311bc68ba58c4e0483da2b2e2135c6a7c2d6601af4 +DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c DIST serde-1.0.197.crate 77087 BLAKE2B 4a4e04ededf5fefaabfcc4e17457db823239e8eeee7631a905ed47800ca10d26a93632e3a9d1b784b83f84168d0d649cfa2e6f5f1e68ab15a68e837cd5b6c699 SHA512 69e42825fce6a0a5d109979785daceacfd6afc5641e202fe83da32e2b1f968416557cce97fa014839e873e65f85c27494c8f8e20e6e9e4fbedf20d0291880410 +DIST serde-1.0.204.crate 78253 BLAKE2B 6fdebf3cbcc0327b404caaae43c87ba2b6105374a5ee3eaa34d44866e782132cff535da4c069c007783b7b6468d55cb1ceb6a41da74b9eab03ace7cf4811e09e SHA512 2fefbeed0117bd791fd25dd5ad0c99ed4f60aac5919605b6f642050f748dd472bf9d4d121b78b0cfe8719db30a675559d097bcc7542cb57451d1779dfd8d294f DIST serde_derive-1.0.197.crate 55771 BLAKE2B 73708908b6d1e104af4c63b498bd25c5a728e07e22afdf92f15754c0f17636efe44c0560c1f0df1b9a30708e8e8894a62f1ea57c234b6dd861cb9c8dc044eb4b SHA512 669376e248b76a5ee8b9c93fd9fe6d35372e7267fbabc14730539ef28a94e405ee5e9c2cc2846897d59d6153742cdc6799f9e2c87f20b9dad119bd3a86c28994 +DIST serde_derive-1.0.204.crate 55871 BLAKE2B 8f0cdb244a820712d557a3273e505c4461f4d7db89e8394040b4c66ede787b6b38b4c9923b38959ab4042c9076b8af72008c0dd15ac93a0ecdeb99da8fb526ae SHA512 bbb2b5e60e2af5bc7528b937ffaf0d3ffd433dbd9cb2592c1e07090620309057e4f11cbd6112fc1d2c5557e1bb3c0f4d59eb06ff06fa021ec683ab880997140e DIST serde_json-1.0.114.crate 146986 BLAKE2B 229f0a8e2c0bc35435b49774fab9d4cec4e2323e85e2f97ccaa2a18277ecfb9cff9e9b165786e782cba043e9ac670717364b0f9c145254eefd74582b728f2186 SHA512 2c35cd0e29ee2af6046ce849b5854b82b90f402b51c04ea86b32ce7d67869736f17a4d028dd8245c31201036bcca7a1d3df11d842a92a45b0eaebd809687d436 +DIST serde_json-1.0.122.crate 147200 BLAKE2B e678f61791da51bfc9df8e0184ee3d43c7eeef51c10ea5ea7b14f887ba22d6eb8ccd80a3080a35fc35279b36e635fa00ca3f102c4f6f2366a831d48014692407 SHA512 140830b38ca4e79eb66bb9d2b55c69434dde9208be926e7aaf7eb561af3c19148f9abd93d1526a7f77e249ac44d9226e4d6ae63eacfb6214544913480f668160 DIST syn-2.0.53.crate 254828 BLAKE2B 4bbff9a430e12baae231eec35dca4a3130e9977c6272dcad4a25266441959461e6e2b69832492a6895948fada9152abf8630c1d011c93912356397360bfb7b8e SHA512 0c3e40e1af47910b59877246700dd695e2bf03c35e036adb99e9756f8e055c8b3421020fc43f71954aa7adfdc56712d58968f3f39ca2e93c0daedfebd8862b9b +DIST syn-2.0.72.crate 267069 BLAKE2B b0b979f78937a10a6db45f96d5d93c595427a4e158d658a2186419d89b219a4a405ade488d88d9ebdbd605ce4b706aba7088ab39a77294f3cf9847bf032d8f91 SHA512 c3d26bf9787555bc6fd8bd789855d252e80ad28a413593e13bad174adf86087ff195a6b4227bdeb6d1a1c87b0af8e965d6f2d04b8d45e7383b6de49990b92e89 DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 +DIST tinyvec-1.8.0.crate 46796 BLAKE2B 720d0e6d881855a36779e12f5ffa708d3a8b96e6d0de9056cb33c9b8ce0d408f99b22f5b2bb9d64bee72a011fef846dbebbea2ccd238d7b951eb5ef0c4866e05 SHA512 b7b32e38229645965900f80f298685f13e6d13e58cfd6945409a6643ca9c9adc2621456956d5998ab9dd91c2db4ae79638b156ca0d9c7c5505023fd9b28414df DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad DIST wasm-bindgen-0.2.92.crate 184119 BLAKE2B ca256c686bb3854492bad6afe3cd27dab314561a1ea2e0205579820066b462bacdb2cc01075fb420bd20eb33b03a648ce1ff46feee04d8759ea8aa990ff8232a SHA512 6e46501276c0d4befbf930c816d6ae6c3764e3b5ce0ef4aafa627a6ea371f1a056ecc15970a817e9e9bf51c0a2ffa57df427d758b2d367beb6a474d75b8939a5 @@ -72,16 +110,28 @@ DIST web-sys-0.3.69.crate 728877 BLAKE2B 9f1678cbddb15f5a37331216a43785c72896f87 DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-util-0.1.6.crate 12234 BLAKE2B b8db8ec9d7ada5532a22a2d070320174c32ece1f48890e9b028708e194fe72a04287b11910dc2ddc7f9c9674a9d8d39449b3e100725e1f59e59e3047a7e3650b SHA512 b1c949f9bcd34c1949a9d3a7bde6ce62fcf3d2cb66df60af41fe67a9d1acb24e571cdd5ac721be9f1ee4b3af5ef5149b5724ad6e02b558e124ef2a4412d12db9 +DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 +DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 DIST windows-targets-0.52.4.crate 6310 BLAKE2B 0393bf3e7f8823edc455055e9977798bd6cdc1e523127cf840ee1b9e36febe40e01dcad9875a06aea283dd55443d02f643d42752103a5ec1de933285fe410b17 SHA512 4b2c26468df54b9801e6badd120dcffc15429fc78a614f45efa16d5fed1a36983198fbb621cc3beb4a4f9f0161ef8ddeca3a5c6a6ac48b5589681936f4d2bf50 +DIST windows-targets-0.52.6.crate 6403 BLAKE2B eb98d0a8daeed5fe76e7fa8edb2743e2a3e77dfb9c4ea68605a6ab10532cb7cfc43bc1cea0180869445bd940be762a40136500e26b84ca88b5e0c502004c7a4c SHA512 d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f DIST windows_aarch64_gnullvm-0.52.4.crate 433373 BLAKE2B 5678cf2371e4c566b7ff0dd1fabcae92d12ce9f97670524c93fd8c34bf6b09d054e7de2f852302b8d994f52c81015b7cc8a74f529490c7bdd17a3b5d2c88a12e SHA512 dbb914a866873892a8cffecd4ed4977fe6c3fc48a58bb9f88655d86e7f8969cc27e6f5bb7d40eee41ae7d78f6f4be65d46650719321a7697c7b5b99a0f07a5dd +DIST windows_aarch64_gnullvm-0.52.6.crate 435718 BLAKE2B 8b12ae02892cb69401329034bbca671d13bd268a112120b56b90504707cef89decfbd2560492844a9f0588fab62dc1476ab7e931126b939015d25a8cc91ca334 SHA512 f62b2d942bdb3a9353465b07d47b93de179bb706511aa497e4addd74cff95e689a9b633e7801ce786e73b5ae5f30b506b6faa199c5ab86eefdc1d94652df79c5 DIST windows_aarch64_msvc-0.52.4.crate 828055 BLAKE2B 3088f2f66fc91ad698906315eae7e6c0dd7da5414c28cfa25b24e138fc4a7da40535be09129cd37b8e331d8d6e8c41d0106fba1ef9e5b4ac561140653e9ded4d SHA512 dcc538d0a9c276e7ec415575ec1392bf476219348984d9567f56d5cc7af0f9beeac523a9a6651f763dd4f50f89535a3ea2275d5321ec022c2ee8814e4e84e95b +DIST windows_aarch64_msvc-0.52.6.crate 832615 BLAKE2B adc8ff61b6dc96d39c92c7d4221ae6aa0575edfc016cfcd046067ca5d8fcfd56d10e8e227be1c038ce34684be22c7ccaf5f18cd5a7638d28fbff4ba15b48b90b SHA512 a3e21305ad0e6de38f5b5ed5d37ee5825b7521064163bcdf31d63341cd87983f54377865d2daf3bb480d2d0aa66d6f598fa09540ec1d71baea74569c86bd213b DIST windows_i686_gnu-0.52.4.crate 875736 BLAKE2B 31ee3017a6db246b0d5fc02e10cdb517a69ceac3dbbc9d41b4051f5dfa1196e4a46e7b3f5f90935560c03bb139b897e5dce69989a3698d9c88ebae923e24ef30 SHA512 9d57260744607eb63453040c532bf3693cf3d8d93c56543ee00aa66adf3a71919e72bdef7811f287167403ade893248f189b797a5d2dcb24ef4e6f3d915a88c6 +DIST windows_i686_gnu-0.52.6.crate 880402 BLAKE2B 5aab8ee07132eccb7695807eb44811beeb0657aadfb672c54e99b6ae39c067ba9b93e38fc69bb5b9b14a9759f263ccd5e301597d2727d83b31b49a409b6bd405 SHA512 a1f6b5dd23d17ec3567bc9d11a4be6f35e196eee21ca342e9b88dbaa6a5f7c46e439c834b77e724f32ac22c0d81573746b3b513a6c944a221b92b2c76fe98822 +DIST windows_i686_gnullvm-0.52.6.crate 475940 BLAKE2B fec4fda8bb2bf319a501a22372fa642ae682e4dee3235b258a028190ee73220bfc55b3142f06249bb4579b17e5fde662bb2b121aefe18544653350d7d0fe7d8e SHA512 95f13af855d530acc0b856214478d4b11b8dbab3f8f79dd223d0b009790c0e46d096fc1773e0277997deb2d5b96c704f17f23c7df11411524629f75415dec99f DIST windows_i686_msvc-0.52.4.crate 895530 BLAKE2B 87ec4628472beec8697317662fd599a8ea0ba5a11a0cad6b23f2481f39b3a4e0546d37fade4d715ad06a4798cf7faa6435bafa1e5054105c064cb560468b6025 SHA512 0d5526b21bfb96ab352b5181dcf84ff31007ce338245a374b3b413805239359a689b1a21de56ae998cc13444e40867bc30c4200454b84ef9ffa7117318baef1e +DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38ce450be347a794d63ec39b719304c32722c9999b540ab40abe0216318900b7412970df99dfb36d1516a9517cae0c77d1bdc SHA512 ca97913ce202d73266cf55947b868bea7e964a4516b6a096a81aeab6a60ee73867171032ced35e3afccff741ddfb2def7468343b6eceb95253e4d4f349efbf96 DIST windows_x86_64_gnu-0.52.4.crate 831627 BLAKE2B 64d29f6e0837be822d89cc8aaea2514382d2c03b33deb5684df1d6b81573b3817add39d99f66181a762fae7c155e60a8c070affe43a0f2e247fb0c5ddcc7afd9 SHA512 96c673fb330af597fc3c71b53b9b66cacc9f3f64f05dc7cfe4a77447b7545280f065df22b7d91a6b7cf681a442d8b71c9d2dd128e76580664d8598c481cbb95e +DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb DIST windows_x86_64_gnullvm-0.52.4.crate 433358 BLAKE2B ffd55fba15ef713bd48caec5ed5f32936e05ac4897b721bd2b041229bc8c7beeca77ca018c3258dcdb09495629aa359d1dadaaf5112d38e7ea54670309d0ddf4 SHA512 f153d86b01e47f17ef08271b69becf7883bab92f96d40cdb1d74432f2bc6a7a65aa4ed931d8f6f4c2679e360bbd8d12037dc2a74a6a444fcaec5e4c784c54c74 +DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.4.crate 828019 BLAKE2B 08163b63d934114457cd64b1c372f8a0cfc1ebf48a2efb41d79031c58ea64e023acd32d2f5075b8b78536998188138562e584ece95f2021b4bc71087ac45f026 SHA512 0671fa3c0463c6d65b525ece8bc91eab2f75cb534de86ba2b1e854d4136fcb439717441881206dba7cfb602493bc24d2aefa96abf8977f5a0fe38d41eadc90f1 +DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 DIST wyz-0.5.1.crate 18790 BLAKE2B 07ac1435a812d2f50309348ef8378ea4955c001f01edaf2ffab108f7d524ee731f06b22fd42c043349a4a2271ec47ea203e89562076e8c7c1719112b0214c89a SHA512 15d86c167145c90e3fbabcefd11754fb1cb835896e32d1bb7f4b027e5b2092f5fdbdca4062c129bc38e655cb87c6a3f4e181747ee25d89db5e01fb1fcac18fe9 EBUILD libdovi-3.3.0.ebuild 2869 BLAKE2B a4e680982b229d191051256a0543ff611cb2b1052c30fcfbb499497137a67717ed6790edba030da726f817f443a12c94d1632995bc77157fad4e7630ee8299b2 SHA512 07464bfaf07426eea9ced0ab447393508c02a2e31a325a492eb6f04e05f4efc3256efaf42fa466d71a05f6ce1f9584735823adc5d9be99b1143bfd35352d9976 +EBUILD libdovi-3.3.1.ebuild 2853 BLAKE2B 835477539cb41bf209e6c33623439626803ea99c7a18f7f1fd4281adc7075bfe50905420c5f46e23492e66478bb254dc4f751ed0450dd11cea108f2a83efaa7d SHA512 8b2803b1514ed283c90c0aa20fa5e6a9f2add73e368e2563892e15c9ede137a67c1df9b052e7ec88a4aea7e43b2b2288832fe503fe6925d785ea0a56437774ac MISC metadata.xml 330 BLAKE2B 58eecc5643c7be5713145bff679903a5d34827b4cf976255bf573cfa488a2277ce773538297e3fb728ef8b90eb266a68a8329d80295240ccc2fbe4647c0ff566 SHA512 f083788feca4bafdd0376759f15ba6ff48121abd6ad98fb235142e415a089238efb570c564d0425d0099f3dcf9131cff56eed1e6d605716608cf3ea881ba4487 diff --git a/media-libs/libdovi/libdovi-3.3.1.ebuild b/media-libs/libdovi/libdovi-3.3.1.ebuild new file mode 100644 index 000000000000..ff1174953080 --- /dev/null +++ b/media-libs/libdovi/libdovi-3.3.1.ebuild @@ -0,0 +1,143 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + anes@0.1.6 + anstyle@1.0.8 + anyhow@1.0.86 + autocfg@1.3.0 + bitstream-io@2.5.0 + bitvec@1.0.1 + bitvec_helpers@3.1.5 + bumpalo@3.16.0 + cast@0.3.0 + cfg-if@1.0.0 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.13 + clap_builder@4.5.13 + clap_lex@0.7.2 + crc-catalog@2.4.0 + crc@3.2.1 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + crunchy@0.2.2 + either@1.13.0 + equivalent@1.0.1 + funty@2.0.0 + half@2.4.1 + hashbrown@0.14.5 + hermit-abi@0.3.9 + indexmap@2.3.0 + is-terminal@0.4.12 + itertools@0.10.5 + itoa@1.0.11 + js-sys@0.3.69 + libc@0.2.155 + log@0.4.22 + memchr@2.7.4 + num-traits@0.2.19 + once_cell@1.19.0 + oorandom@11.1.4 + plotters-backend@0.3.6 + plotters-svg@0.3.6 + plotters@0.3.6 + proc-macro2@1.0.86 + quote@1.0.36 + radium@0.7.0 + rayon-core@1.12.1 + rayon@1.10.0 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + roxmltree@0.20.0 + ryu@1.0.18 + same-file@1.0.6 + serde@1.0.204 + serde_derive@1.0.204 + serde_json@1.0.122 + syn@2.0.72 + tap@1.0.1 + tinytemplate@1.2.1 + tinyvec@1.8.0 + unicode-ident@1.0.12 + walkdir@2.5.0 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-shared@0.2.92 + wasm-bindgen@0.2.92 + web-sys@0.3.69 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_msvc@0.52.6 + wyz@0.5.1 +" +inherit cargo edo multilib-minimal rust-toolchain + +DESCRIPTION="Dolby Vision metadata parsing and writing" +HOMEPAGE="https://github.com/quietvoid/dovi_tool/" +SRC_URI=" + https://github.com/quietvoid/dovi_tool/archive/refs/tags/${P}.tar.gz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/dovi_tool-${P}/dolby_vision + +LICENSE="MIT" +LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016" # crates +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64" + +BDEPEND=" + dev-util/cargo-c +" + +QA_FLAGS_IGNORED="usr/lib.*/${PN}.*" + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_configure() { + local -n cargoargs=${PN}_CARGOARGS_${ABI} + + cargoargs=( + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/usr/$(get_libdir)" + --library-type=cdylib + --target="$(rust_abi)" + # cargo cbuild --help claims dev is default but (currently) this seems + # to always use release unless --profile=dev is explicitly passed? + $(usex debug --profile=dev --release) + ) +} + +multilib_src_compile() { + local -n cargoargs=${PN}_CARGOARGS_${ABI} + + edo cargo cbuild "${cargoargs[@]}" +} + +multilib_src_install() { + local -n cargoargs=${PN}_CARGOARGS_${ABI} + + edo cargo cinstall --destdir="${D}" "${cargoargs[@]}" +} diff --git a/media-libs/libglvnd/Manifest b/media-libs/libglvnd/Manifest index 2057095a4618..940dc377dc29 100644 --- a/media-libs/libglvnd/Manifest +++ b/media-libs/libglvnd/Manifest @@ -1,5 +1,5 @@ AUX libglvnd-1.7.0-backport-pr291.patch 1093 BLAKE2B d51184bbfd4c25f4a2df08b6b5dd31ce8d6325214e9131b6e3d66dcb3b21cd134476aa31e9c48011836ccf49b2593fc49aa25b85d54c04857af69e748a68c3ec SHA512 c640c0bee1d5b9470e70e6af0adc869e5f4a1099b475e52e4646273cccf571902e1d11589d5e7854140451189d041dc397be2afe8c84e796457842aff9f399ff DIST libglvnd-1.7.0.tar.bz2 572931 BLAKE2B 6b55dab6ac4202bdb007e34d73bf81a58eedb87b9375cca36b2f4c7565d89c393978e4511fa0a8865eaebd78d15f8bb0751eb80d4d7f73c8080a22665dbd3dad SHA512 7caef0a129527bb968bf1ced64082a56cdde881f013f5ba54c51c09989e7d559dba3071c8fdc04e535e62609d68e7622197445152f655e0afbe06890c0b7a69b -EBUILD libglvnd-1.7.0.ebuild 1430 BLAKE2B f8d81293ca7d0608a4650f6b7047d3c7f30cae1d0a0ab35e4ab8fcdbda2281d7d02c667410151515d8f2b1424ba69618f6a1548358b52a4f5d06bc33d67acee0 SHA512 b588bcba3dfc2a70dbe7c497bbb12c61995f92302071d878f95e3316e241425760a36ebd88442fb45d52ed9b379743f3022a05078d20e0a908e3df8735a27316 -EBUILD libglvnd-9999.ebuild 1378 BLAKE2B 4c5514dd10fb938aeb37b640452fe1acbc59e21bf7947bda19c4f1c6f02f5dda228ba1928e779ba3748527ebf565443dfc6948db81fc33a38f4746e504e0d1cf SHA512 29b8a98f8fc88c573c216378c1245799e6e4fc0d5c43e9cbe8e979cf377c78713e13c05b1af82ef6c7a78ccdb3a1ab5b759e531c18b6a6c4d36eaa45eac8ddfa +EBUILD libglvnd-1.7.0.ebuild 1430 BLAKE2B 54cb4229fd0d935d298a03441c4da4ca8c03e5fdd0e0dd72dad49684dc79ba101fbce34d94d7452ebc169f45707db4e3da7c102e3b2a06fb9c31b15ee207d181 SHA512 43569a90ee3bd253bc4a93161fdbbf78c721fd406a3aadad1f54c860f67e1991c54b86d0171fe8535e27440b698f7d231c86d35881417932bf3882770ff282c9 +EBUILD libglvnd-9999.ebuild 1378 BLAKE2B 02015e42ecbdedccfc838a460a727459f0135d9d254784be19ab7fe224bb3fa4d9a27ab8e82bd53ed4523e67c7728b53442807e26cbbafcfd5840e023dbf8cf0 SHA512 76c03bbdf2eaa0b89f108193073b408f9c6eec403bf082bc9c594e95d75cd14f1ca05ef3beaef807bd6d0ea8a6967ba1bda807f21d3c4b3e1ed1f813e2877f1f MISC metadata.xml 336 BLAKE2B 4bf6bd6267610a40d3966ded2563015cc2cdf4100bb5b56f14311d8f2ab4796c6bdb08f7fd9922a83bd9738e47f2c603ccf35117c0ef4fabfb6858048f34f4fe SHA512 52454eacfef943242844a5c244372c902fff7d801dd73372a4105c998b209fd333057ec47acbb7036613e6cc656b9bda52023e2d1a202d993d8a42c8055378c5 diff --git a/media-libs/libglvnd/libglvnd-1.7.0.ebuild b/media-libs/libglvnd/libglvnd-1.7.0.ebuild index ac956be50c41..59024281c433 100644 --- a/media-libs/libglvnd/libglvnd-1.7.0.ebuild +++ b/media-libs/libglvnd/libglvnd-1.7.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) VIRTUALX_REQUIRED=manual inherit meson-multilib python-any-r1 virtualx diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild index 8df0d572ada4..b5b2be5e4c0f 100644 --- a/media-libs/libglvnd/libglvnd-9999.ebuild +++ b/media-libs/libglvnd/libglvnd-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) VIRTUALX_REQUIRED=manual inherit meson-multilib python-any-r1 virtualx diff --git a/media-libs/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest index 5c2c9c665768..1d0d21eab14f 100644 --- a/media-libs/libgphoto2/Manifest +++ b/media-libs/libgphoto2/Manifest @@ -1,4 +1,5 @@ AUX libgphoto2-2.5.31-c99.patch 1231 BLAKE2B 161b4fceaca4f61a86f6957802c36d9566a67c554748b0d2fc6a77863bd3d420bcbbdaadc96ac54cc886ec80cb046d0e541dcd014bec99f55361914de96127d8 SHA512 f91f12e2809ef1ac6a5f01563d678f00d2dbb32880bcbf6ef7593887e8f41e7f8c4349c5f814ab56340a3e9df3825fae126716aa6ad06c80621558e7871371f1 DIST libgphoto2-2.5.31.tar.xz 6322264 BLAKE2B 9003769bf7726b205f6466e2332d1b144e2e1f2ac190c23f93200ec761597d08a7925e0a16dc65f66c9ca47f0c7e7a563c1cd5ada5cdf528bc605538cf67d80e SHA512 1061a676488aff2cad12a5ee49742be6d18750221ef808d69116763c2b357d38c1372db62933dfa8fd8411758acb97b8e3a40a5d4f37b8c563e981fd4ae4bb1f EBUILD libgphoto2-2.5.31-r1.ebuild 6341 BLAKE2B 8ef60fce150f71aed7c8770ce4e9ae09b71fac7d5727299559c0ccd8f5335ca45f73067c8876e77d13112d4c88301085a7d91215354b086f1741a9853518edb3 SHA512 544ac9da53fa015e5ce5e4a6aa78e0031fbec3ca8ac5b97fa62b599c6adef609182ee6b2d3ff4368336b200d50b433c69c0e9426136d73dff3073361501d7664 +EBUILD libgphoto2-2.5.31-r2.ebuild 6207 BLAKE2B e494720ba2bfdc695a9dbcc4d6e11ac17d7e8db158fa5afbd2dda9c96900a7da1044cb908afab333637786258608ce12f9aebcec6c9cf661bc15909030ef050b SHA512 1dd44fcd3e162bab72c0efa1841fc1597c57cbb2bdff0bf6fdb28ace9723d040b4856a9e99efa986c95ae650222d12578f77d60b1dfe79ba2a97d3bae514ea9c MISC metadata.xml 458 BLAKE2B 944547ab787583b1cd6678e3183a3f6cd76cf95461fb05758887ccfd41ceb8fc0bf7278fe786fd36fe2eee3664876fe4692d849a88bff58c3707e57f256b67b0 SHA512 a6c0af734aa579d486cb4f707f84b6b6beb26121092ced9976d05a6428a8096f79591b842d3ad906e5cb76ea1c8cd2bc2d21d587d6cb03041cc3ba72905f76be diff --git a/media-libs/libgphoto2/libgphoto2-2.5.31-r2.ebuild b/media-libs/libgphoto2/libgphoto2-2.5.31-r2.ebuild new file mode 100644 index 000000000000..6d7e138870e8 --- /dev/null +++ b/media-libs/libgphoto2/libgphoto2-2.5.31-r2.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# TODO +# 1. Track upstream bug --disable-docs does not work. +# https://sourceforge.net/p/gphoto/bugs/643/ + +EAPI=8 +inherit autotools multilib-minimal udev + +DESCRIPTION="Library that implements support for numerous digital cameras" +HOMEPAGE="http://www.gphoto.org/" +SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.xz" + +LICENSE="GPL-2" + +# FIXME: should we also bump for libgphoto2_port.so soname version? +SLOT="0/6" # libgphoto2.so soname version + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +# By default, drivers for all supported cameras will be compiled. +# If you want to only compile for specific camera(s), set CAMERAS +# environment to a space-separated list (no commas) of drivers that +# you want to build. +IUSE_CAMERAS=( + adc65 agfa_cl20 aox ax203 + barbie + canon casio_qv clicksmart310 + digigr8 digita dimagev dimera3500 directory + enigma13 + fuji + gsmart300 + hp215 + iclick + jamcam jd11 jl2005a jl2005c + kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 + largan lg_gsm + mars mustek + panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 + pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 + ricoh ricoh_g3 + samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 + soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z + toshiba_pdrm11 topfield tp6801 +) + +IUSE="doc examples exif gd jpeg nls serial ${IUSE_CAMERAS[@]/#/+cameras_}" +REQUIRED_USE="|| ( ${IUSE_CAMERAS[@]/#/cameras_} )" + +# libgphoto2 actually links to libltdl +RDEPEND=" + acct-group/plugdev + >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] + net-misc/curl[${MULTILIB_USEDEP}] + dev-libs/libltdl:0[${MULTILIB_USEDEP}] + >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] + cameras_ax203? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] ) + cameras_st2205? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] ) + exif? ( >=media-libs/libexif-0.6.21-r1[${MULTILIB_USEDEP}] ) + gd? ( >=media-libs/gd-2.0.35-r4:=[jpeg=,${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + serial? ( >=dev-libs/lockdev-1.0.3.1.2-r2[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-build/gtk-doc-am + app-alternatives/lex + >=sys-devel/gettext-0.19.1 + virtual/pkgconfig + doc? ( app-text/doxygen ) +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gphoto2-port-config + /usr/bin/gphoto2-config +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.5.31-c99.patch +) + +src_prepare() { + default + + # Handle examples ourselves + sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ + || die "examples sed failed" + + eautoreconf # For configure.ac patching +} + +multilib_src_configure() { + local myconf + use doc || myconf=( ac_cv_path_DOXYGEN=no ) + + # Upstream doesn't default to --enable-option-checking due having another + # configure in libgphoto2_port/ that also needs to be checked on every bump + # + # Serial port uses either lockdev or ttylock, but we don't have ttylock + # --with-doc-dir needed to prevent duplicate docs installation, bug #586842 + ECONF_SOURCE=${S} \ + econf \ + --cache-file="${BUILD_DIR}"/config.cache \ + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} \ + --disable-docs \ + --disable-gp2ddb \ + $(use_enable nls) \ + $(use_with exif libexif auto) \ + $(use_with gd) \ + $(use_with jpeg) \ + $(use_enable serial) \ + $(use_enable serial lockdev) \ + --with-libusb=no \ + --with-libusb-1.0=auto \ + --disable-ttylock \ + --with-camlibs=${cameras} \ + --with-hotplug-doc-dir="${EPREFIX}"/usr/share/doc/${PF}/hotplug \ + --with-rpmbuild=$(type -P true) \ + udevscriptdir="$(get_udevdir)" \ + "${myconf[@]}" +} + +src_configure() { + local cameras + local cam + local cam_warn=no + for cam in "${IUSE_CAMERAS[@]}"; do + if use "cameras_${cam}"; then + cameras+=",${cam}" + else + cam_warn=yes + fi + done + + if [ "${cam_warn}" = "yes" ]; then + [ -z "${cameras}" ] || cameras="${cameras:1}" + einfo "Enabled camera drivers: ${cameras:-none}" + einfo "Upstream will not support you if you do not compile all camera drivers first" + else + cameras="all" + einfo "Enabled camera drivers: all" + fi + + multilib-minimal_src_configure +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc; then + doxygen doc/Doxyfile || die "Documentation generation failed" + fi +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + + einstalldocs + dodoc TESTERS MAINTAINERS + + if use examples; then + docinto examples + dodoc examples/README examples/*.c examples/*.h + fi + + # FIXME: fixup autoconf bug #???? + if ! use doc && [ -d "${ED}/usr/share/doc/${PF}/apidocs.html" ]; then + rm -fr "${ED}/usr/share/doc/${PF}/apidocs.html" + fi + # end fixup + + local udev_rules cam_list + udev_rules="$(get_udevdir)/rules.d/70-libgphoto2.rules" + cam_list="/usr/$(get_libdir)/libgphoto2/print-camera-list" + + if [ -x "${ED}"/${cam_list} ]; then + # Let print-camera-list find libgphoto2.so + export LD_LIBRARY_PATH="${ED}/usr/$(get_libdir)" + # Let libgphoto2 find its camera-modules + export CAMLIBS="${ED}/usr/$(get_libdir)/libgphoto2/${PV}" + + einfo "Generating UDEV-rules ..." + mkdir -p "${ED}"/${udev_rules%/*} + echo -e "# do not edit this file, it will be overwritten on update\n#" \ + > "${ED}"/${udev_rules} + "${ED}"${cam_list} udev-rules version 201 group plugdev >> "${ED}"/${udev_rules} \ + || die "failed to create udev-rules" + else + eerror "Unable to find print-camera-list" + eerror "and therefore unable to generate hotplug usermap." + eerror "You will have to manually generate it by running:" + eerror " ${cam_list} udev-rules version 201 group plugdev > ${udev_rules}" + fi + +} + +pkg_postinst() { + if ! has_version "sys-auth/consolekit[acl]" \ + && ! has_version "sys-apps/systemd[acl]" \ + && ! has_version "sys-auth/elogind[acl]" ; then + elog "Don't forget to add yourself to the plugdev group " + elog "if you want to be able to access your camera." + fi + + local old_udev_rules="${EROOT}"/etc/udev/rules.d/99-libgphoto2.rules + if [[ -f ${old_udev_rules} ]]; then + rm -f "${old_udev_rules}" + fi + + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/media-libs/libheif/Manifest b/media-libs/libheif/Manifest index 9b05e89d4517..fb200ed73776 100644 --- a/media-libs/libheif/Manifest +++ b/media-libs/libheif/Manifest @@ -1,4 +1,9 @@ +AUX libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch 1378 BLAKE2B 5e5ba6be675ae555eea2f7a3956da64846c9ef6cc6c291fe27b306cb00fb25511e75fd029927ffd1bee6b8907ad36632758f98edbf4c864190659a741ab9a731 SHA512 e13f53612c308b5aa12aab6f098a209be9927f8226571e6d6207e4ddbb67bf6e1aee64a0de416e0e2cf1406304746a1475d1462153e0880d5f4cc9938f826c8a DIST libheif-1.15.2.tar.gz 1749773 BLAKE2B 788ecf59c936bfae9544bedd5fa50fd74f04adf29f804994bc208d2a5339b13984baf78a508babd80fa0d48381b2cc0bfb1e1140de97437b8c0336378a64fcb6 SHA512 79f22dad084bbe965dae7b8f92fc119dbdde7a04577ca9c7bc28b1a022a06f0ae64d3fbd11e82d6907f0fd678a31d98275e508a51a6bd0a9e8675c93790f1996 +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-9999.ebuild 2001 BLAKE2B 02130e50e78e847a881aeab0b1f4f86e1aab701500d42b430d3ba073715369bd444eff39150e8d948e1482341cd4e1c685a7eda59dfa697a4517de11c34799c7 SHA512 ad3efd5f606d0c5e5f747353f22d5953d4e1f68e964e945b9bc8c652753dd36ed85ea681ae41b7c270f34c9a131f84e229b49eb41eb4787d80ee909eb1ed9a62 -MISC metadata.xml 725 BLAKE2B c952cedefb662b71823790f5580a5255028a2b2c00d82098a87e76c55dda3a19bf2b5ed84a25f31729d02b0121c75befd5d5deb0223d1cc298cb8523023277d2 SHA512 b289faaae3347d1587d24e70c2a3baccf2efd7ae0e326b709a38220c5cdf5058545991b5386a720c2653d9494f8df1eca1ed90a703875373876349ab40d71afb +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/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch b/media-libs/libheif/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch new file mode 100644 index 000000000000..aee9049751aa --- /dev/null +++ b/media-libs/libheif/files/libheif-1.18.1-prepend_DESTDIR_when_generating_heif-convert_symlink.patch @@ -0,0 +1,22 @@ +From 337aa421f68c0274eb0db047646160b05fdde4a0 Mon Sep 17 00:00:00 2001 +From: Dirk Farin <dirk.farin@gmail.com> +Date: Wed, 24 Jul 2024 16:11:43 +0200 +Subject: [PATCH] fix installing heif-convert symlink in DESTDIR (#1249) + +--- + examples/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt +index 8ac3114370..fc9d2f2ca0 100644 +--- a/examples/CMakeLists.txt ++++ b/examples/CMakeLists.txt +@@ -34,7 +34,7 @@ install(FILES heif-dec.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) + + # create symbolic link from the old name `heif-convert` to `heif-dec` + if(NOT WIN32) +- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX} ${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") ++ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink heif-dec${CMAKE_EXECUTABLE_SUFFIX} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") + else() + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-dec${CMAKE_EXECUTABLE_SUFFIX} ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/heif-convert${CMAKE_EXECUTABLE_SUFFIX})") + endif() diff --git a/media-libs/libheif/libheif-1.17.6.ebuild b/media-libs/libheif/libheif-1.17.6.ebuild new file mode 100644 index 000000000000..7f802231d9b5 --- /dev/null +++ b/media-libs/libheif/libheif-1.17.6.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg multilib-minimal + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/strukturag/libheif.git" + inherit git-r3 +else + SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" +HOMEPAGE="https://github.com/strukturag/libheif" + +LICENSE="GPL-3" +SLOT="0/$(ver_cut 1-2)" +IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265" +REQUIRED_USE="test? ( go )" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-cpp/catch + dev-lang/go + ) +" +DEPEND=" + media-libs/dav1d:=[${MULTILIB_USEDEP}] + media-libs/libde265:=[${MULTILIB_USEDEP}] + media-libs/libpng:0=[${MULTILIB_USEDEP}] + media-libs/tiff:=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] + media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] + aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) + go? ( dev-lang/go ) + rav1e? ( media-video/rav1e:= ) + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) + x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/libheif/heif_version.h +) + +src_prepare() { + default + + if use test ; then + # bug 865351 + rm tests/catch.hpp || die + ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die + fi + + cmake_src_prepare + + multilib_copy_sources +} + +multilib_src_configure() { + export GO111MODULE=auto + local mycmakeargs=( + -DENABLE_PLUGIN_LOADING=true + -DWITH_LIBDE265=true + -DWITH_AOM_DECODER=$(usex aom) + -DWITH_AOM_ENCODER=$(usex aom) + -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf) + -DWITH_RAV1E="$(multilib_native_usex rav1e)" + -DWITH_SvtEnc="$(usex svt-av1)" + -DWITH_X265=$(usex x265) + -DWITH_KVAZAAR=true + -DWITH_JPEG_DECODER=true + -DWITH_JPEG_ENCODER=true + -DWITH_OpenJPEG_DECODER=true + -DWITH_OpenJPEG_ENCODER=true + ) + cmake_src_configure +} + +multilib_src_compile() { + default + cmake_src_compile +} + +multilib_src_test() { + default +} + +multilib_src_install() { + cmake_src_install +} + +multilib_src_install_all() { + einstalldocs +} diff --git a/media-libs/libheif/libheif-1.18.1.ebuild b/media-libs/libheif/libheif-1.18.1.ebuild new file mode 100644 index 000000000000..b5c9b73f88d0 --- /dev/null +++ b/media-libs/libheif/libheif-1.18.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg multilib-minimal + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/strukturag/libheif.git" + inherit git-r3 +else + SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" +HOMEPAGE="https://github.com/strukturag/libheif" + +LICENSE="GPL-3" +SLOT="0/$(ver_cut 1-2)" +IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265" +REQUIRED_USE="test? ( go )" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-cpp/catch + dev-lang/go + ) +" +DEPEND=" + media-libs/dav1d:=[${MULTILIB_USEDEP}] + media-libs/libde265:=[${MULTILIB_USEDEP}] + media-libs/libpng:0=[${MULTILIB_USEDEP}] + media-libs/tiff:=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}] + media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] + aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) + gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) + go? ( dev-lang/go ) + rav1e? ( media-video/rav1e:= ) + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) + x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +# https://github.com/strukturag/libheif/issues/1249 +PATCHES=( "${FILESDIR}"/${P}-prepend_DESTDIR_when_generating_heif-convert_symlink.patch ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/libheif/heif_version.h +) + +src_prepare() { + if use test ; then + # bug 865351 + rm tests/catch.hpp || die + ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die + fi + + cmake_src_prepare + + multilib_copy_sources +} + +multilib_src_configure() { + export GO111MODULE=auto + local mycmakeargs=( + -DENABLE_PLUGIN_LOADING=true + -DWITH_LIBDE265=true + -DWITH_AOM_DECODER=$(usex aom) + -DWITH_AOM_ENCODER=$(usex aom) + -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf) + -DWITH_RAV1E="$(multilib_native_usex rav1e)" + -DWITH_SvtEnc="$(usex svt-av1)" + -DWITH_X265=$(usex x265) + -DWITH_KVAZAAR=true + -DWITH_JPEG_DECODER=true + -DWITH_JPEG_ENCODER=true + -DWITH_OpenJPEG_DECODER=true + -DWITH_OpenJPEG_ENCODER=true + ) + cmake_src_configure +} + +multilib_src_compile() { + default + cmake_src_compile +} + +multilib_src_test() { + default +} + +multilib_src_install() { + cmake_src_install +} + +multilib_src_install_all() { + einstalldocs +} diff --git a/media-libs/libheif/libheif-9999.ebuild b/media-libs/libheif/libheif-9999.ebuild index 2b2d106acf2d..b5c9b73f88d0 100644 --- a/media-libs/libheif/libheif-9999.ebuild +++ b/media-libs/libheif/libheif-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools xdg multilib-minimal +inherit cmake xdg multilib-minimal if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/strukturag/libheif.git" @@ -17,14 +17,14 @@ DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" -SLOT="0/1.12" -IUSE="+aom gdk-pixbuf go rav1e test +threads x265" +SLOT="0/$(ver_cut 1-2)" +IUSE="+aom gdk-pixbuf go rav1e svt-av1 test +threads x265" REQUIRED_USE="test? ( go )" RESTRICT="!test? ( test )" BDEPEND=" test? ( - <dev-cpp/catch-3 + dev-cpp/catch dev-lang/go ) " @@ -32,53 +32,70 @@ DEPEND=" media-libs/dav1d:=[${MULTILIB_USEDEP}] media-libs/libde265:=[${MULTILIB_USEDEP}] media-libs/libpng:0=[${MULTILIB_USEDEP}] + media-libs/tiff:=[${MULTILIB_USEDEP}] sys-libs/zlib:=[${MULTILIB_USEDEP}] media-libs/libjpeg-turbo:0=[${MULTILIB_USEDEP}] aom? ( >=media-libs/libaom-2.0.0:=[${MULTILIB_USEDEP}] ) gdk-pixbuf? ( x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] ) go? ( dev-lang/go ) rav1e? ( media-video/rav1e:= ) - x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] )" + svt-av1? ( media-libs/svt-av1:=[${MULTILIB_USEDEP}] ) + x265? ( media-libs/x265:=[${MULTILIB_USEDEP}] ) +" RDEPEND="${DEPEND}" -src_prepare() { - default +# https://github.com/strukturag/libheif/issues/1249 +PATCHES=( "${FILESDIR}"/${P}-prepend_DESTDIR_when_generating_heif-convert_symlink.patch ) - sed -i -e 's:-Werror::' configure.ac || die +MULTILIB_WRAPPED_HEADERS=( + /usr/include/libheif/heif_version.h +) +src_prepare() { if use test ; then + # bug 865351 rm tests/catch.hpp || die ln -s "${ESYSROOT}"/usr/include/catch2/catch.hpp tests/catch.hpp || die fi - eautoreconf + cmake_src_prepare - # prevent "stat heif-test.go: no such file or directory" multilib_copy_sources } multilib_src_configure() { export GO111MODULE=auto - local econf_args=( - --enable-libde265 - --disable-static - $(multilib_is_native_abi && use go || echo --disable-go) - $(use_enable aom) - $(use_enable gdk-pixbuf) - $(use_enable rav1e) - $(use_enable threads multithreading) - $(use_enable test tests) - $(use_enable x265) + local mycmakeargs=( + -DENABLE_PLUGIN_LOADING=true + -DWITH_LIBDE265=true + -DWITH_AOM_DECODER=$(usex aom) + -DWITH_AOM_ENCODER=$(usex aom) + -DWITH_GDK_PIXBUF=$(usex gdk-pixbuf) + -DWITH_RAV1E="$(multilib_native_usex rav1e)" + -DWITH_SvtEnc="$(usex svt-av1)" + -DWITH_X265=$(usex x265) + -DWITH_KVAZAAR=true + -DWITH_JPEG_DECODER=true + -DWITH_JPEG_ENCODER=true + -DWITH_OpenJPEG_DECODER=true + -DWITH_OpenJPEG_ENCODER=true ) - ECONF_SOURCE="${S}" econf "${econf_args[@]}" + cmake_src_configure +} + +multilib_src_compile() { + default + cmake_src_compile } multilib_src_test() { default - emake -C go test +} + +multilib_src_install() { + cmake_src_install } multilib_src_install_all() { einstalldocs - find "${ED}" -name '*.la' -delete || die } diff --git a/media-libs/libheif/metadata.xml b/media-libs/libheif/metadata.xml index 99600fed24d1..e1aa5ee8fec4 100644 --- a/media-libs/libheif/metadata.xml +++ b/media-libs/libheif/metadata.xml @@ -7,6 +7,7 @@ <flag name="gdk-pixbuf">Enable <pkg>x11-libs/gdk-pixbuf</pkg> plugin</flag> <flag name="go">Enable building <pkg>dev-lang/go</pkg> code/examples</flag> <flag name="rav1e">Use <pkg>media-video/rav1e</pkg> for AVIF encoding</flag> + <flag name="svt-av1">Use <pkg>media-libs/svt-av1</pkg> for SVT-AV1 encoding</flag> <flag name="x265">Use <pkg> media-libs/x265</pkg> for HEIF encoding</flag> </use> <upstream> diff --git a/media-libs/libiptcdata/Manifest b/media-libs/libiptcdata/Manifest index 1932c0cc72b8..e4946075c4fb 100644 --- a/media-libs/libiptcdata/Manifest +++ b/media-libs/libiptcdata/Manifest @@ -1,3 +1,4 @@ DIST libiptcdata-1.0.5.tar.gz 593779 BLAKE2B 7e5226a289fed5c2f4b662efaa693a8b38e95ac34bc1365af05d1af649be876d3e5b58fecea4818255879bd7518aa482cb623540601fb3c8065acd428439a29c SHA512 64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a +EBUILD libiptcdata-1.0.5-r1.ebuild 1628 BLAKE2B fe52862cf9b691b3624280992ed7a94b0e6e0cfdeba3841b386085436b2d447fdfe2631d1c4d80447f621e9d95987392a008ff18464efdec4c31a01197fcde83 SHA512 7b5aef0070a0573a7e9f477628356237ff03927552f8168cac7422d531de145b07f1ee2f3604d695e1fa9365c41f8130d3b4db7679dc53b3423fc6c552470747 EBUILD libiptcdata-1.0.5.ebuild 1160 BLAKE2B 5472a979846b09c26b910b3c335e500ade2755d66309d834794d7e8db6d60a21c79ee9847f6feab6851f5ec9728ff88b457eaa04e0deae2babb0a5736e40754a SHA512 a1fe02239489469f46a2fe34a4eb21fddd0009d1e79d38f11f1fd1f9c19378a1ec4bd052f0d44b896eaaa0e84d6f9a34d6f958af475448cdf19edb1fd95862e7 MISC metadata.xml 948 BLAKE2B 2eb9fc81cf1795cfc57e9b89e5880a3f34b21937bc41e802ab09d3fd508ad9e9c67a6c621558e2cf56683a4641b8160a3cfac3ff6ea578ee12e7543f73e1d9e1 SHA512 8dbf6854415f937c99f88fd1c1159acbc94a40b992c8eeaf5edb855a7830d4d11ea8ae9929e2af3e3d11c8ce5c7163e723110fad5f15259d5a21b7451fbaa9ac diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild new file mode 100644 index 000000000000..a785c6e7881d --- /dev/null +++ b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit autotools distutils-r1 + +DESCRIPTION="Library for International Press Telecommunications Council (IPTC) metadata" +HOMEPAGE="https://github.com/ianw/libiptcdata https://libiptcdata.sourceforge.net/" +SRC_URI="https://github.com/ianw/${PN}/releases/download/release_1_0_5/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +IUSE="doc examples nls python" + +RDEPEND=" + nls? ( virtual/libintl ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-build/gtk-doc-am + virtual/pkgconfig + doc? ( >=dev-util/gtk-doc-1 ) + nls? ( >=sys-devel/gettext-0.13.1 ) + python? ( + ${DISTUTILS_DEPS} + ${PYTHON_DEPS} + ) +" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +src_prepare() { + default + eautoreconf + if use python; then + cd python || die + distutils-r1_src_prepare + fi +} + +src_configure () { + local myeconfargs=( + $(use_enable nls) + $(use_enable python) + $(use_enable doc gtk-doc) + ) + econf "${myeconfargs[@]}" + + if use python; then + cd python || die + distutils-r1_src_configure + fi +} + +src_compile() { + default + if use python; then + cd python || die + distutils-r1_src_compile + fi +} + +src_install () { + default + + find "${D}" -name '*.la' -delete || die "failed to remove *.la files" + + if use python; then + cd python || die + distutils-r1_src_install + fi + + if use examples; then + dodoc python/README + dodoc -r python/examples + fi +} diff --git a/media-libs/libjpeg-turbo/Manifest b/media-libs/libjpeg-turbo/Manifest index 702db0b86c04..408af999e5fe 100644 --- a/media-libs/libjpeg-turbo/Manifest +++ b/media-libs/libjpeg-turbo/Manifest @@ -1,13 +1,9 @@ AUX libjpeg-turbo-3.0.0-tests.patch 4077 BLAKE2B 437adbca7b2689508fbe8e025a1d30b706984e082167c855164bcb250829b9231a29df2117db0cb006f86e9ca9e29ece85707e2047f60483da40ef58c6d7d026 SHA512 c17c81ab4130bcb193ecc0754d00916d53ce6be9cdf6f04f6457c125951263c3a085d2baf440ec988feaf5fc45b593db59def096b3f988e9b704690394e2923e DIST libjpeg-turbo-2.1.5.1.tar.gz 2264936 BLAKE2B 9583a0a91e45347d651de6bf5192a23bfe4e64cef67cdbb18f5b578b424fc46fc114e5649e93a467906cf047948e43a11b6d17b48c47f879c51cff1a4ef356ff SHA512 86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6 DIST libjpeg-turbo-3.0.0.tar.gz 2799663 BLAKE2B 9a4b74aad81c2999ab7f3cd7d8695e1132edda141f4cc8a57e671f42cad4ac16b66b0f19cf4b874b61a82c008287ad88cd81d85547c195ed30456e29cb505285 SHA512 2307a2e240faf5b3119cdc5cf6a0255813d74591d4a4201fd2374940683cb9de90cb5926367e633f3624b27edd292209c7cd3c38d64522716e83fc81361289b4 -DIST libjpeg-turbo-3.0.1.tar.gz 2800900 BLAKE2B 9d2c784edd6493c4d9e2379fc4a8f0844e440d7afe774b231f611034d481dcf1be35979fb7d731a5a8f99000780f1343b7934a59df22c1dcaef295b6294ea494 SHA512 26a2c821a023579e82a7c2a00582747f5f24089aa0820ba304f1ff71c6894b7a6bd0468acc5ff90e2655e0a1c23a5a35a779df51f5cfa3e9eba527c709fab55b -DIST libjpeg-turbo-3.0.2.tar.gz 2831164 BLAKE2B b6eff81657707852ee9ea81099179c6e20914f513fd32b12b1bfbf5233f850f54a1062a98150044aa34476f0c54e42a67c88633a59834a764d3f8bb394f374f0 SHA512 f5eadda0712feb810a8c3bb2621fda24a4c30574998ce30f423b3ffa25225c7a87cb14b696232bc0270485f422a2853a5c32eafb65bc5eeab1b41d8aeb32ad29 DIST libjpeg-turbo-3.0.3.tar.gz 2832827 BLAKE2B 9d141dadd0dce970bf857b51352c57a8e15180438abd7d6d66f9dfd24e23889add8c6c89120b84026e40ab61611516b0567984bd1db37e9c45b41917cf32e9a6 SHA512 7c3a6660e7a54527eaa40929f5cc3d519842ffb7e961c32630ae7232b71ecaa19e89dbf5600c61038f0c5db289b607c2316fe9b6b03d482d770bcac29288d129 DIST libjpeg8_8d-2.debian.tar.gz 14764 BLAKE2B e93d12afa062da28b717b540492221f70e8d9ccf3885371647cf85a2937f938ca723d4a27d5e1c5d79c26aa25dddf69b38754558851a1704172e8b52baf8e17c SHA512 8c5959fb7583a2d61e9442187f67b91b45e72d9dd30db3360d583a3b5d8e1a908db5659f760bdd455b3056e6ae3535b2fd3b847df3d58b140a1816b754003675 EBUILD libjpeg-turbo-2.1.5.1.ebuild 3149 BLAKE2B 8b73e64a8f5386673bda5a5a09da56058abe71f1dde75556f56e0e4c9baf591c89a5b3e38d52491f80a7fdb6b97e911f02ca272c856724f587915783da130805 SHA512 7159ea794deadcb2a964746c41473b8ccab55e95b586caff97f2de0586e2b11aabb16dc9f111b824f6810703b826c6d3af294111aeab2c7fbff37a7837098829 EBUILD libjpeg-turbo-3.0.0.ebuild 3182 BLAKE2B 472c575770a21a680d3c62c4575641be8ff69fcae6b13943b8fc5ae65694716c9280b3e3a9c3decbe42d2694e5be6db827a79694169397200f1d2709a9c176d2 SHA512 3ab80cca3c3f025d2b2bbef64ba2a46ec2f3ed4b7445e62278d0575084daa0bbe9c14be846b756841f035be191cc8769e5216be1a65315240f350cbd4be32383 -EBUILD libjpeg-turbo-3.0.1.ebuild 3141 BLAKE2B fd2fc17811629aa018df39323ea447164f6371aaabecb98047ea2ec02e7a743dcc375a10d2822f4d54fe7311eb4ee49e7be1cb609a47be4a23293e4f7396be52 SHA512 b7ab892ec8d249e0ae53504646b7879f1ce392888d3d60680e964dbe18ff751095fee79f0da72af4f7b77bbc64f0af881cc101d286363c86c02682dad8c1f0c3 -EBUILD libjpeg-turbo-3.0.2.ebuild 3212 BLAKE2B 6b2f3f58c4f7dd0e87808f7a28bacabd1a39c7971a7238f0d32762f6d310d99cc4203de0f29d68ce679da31e1587431fcacecace023d4400192f331cc4476dcb SHA512 cd6dbb415ef13c0cd342f15f300b937941b993d33a2231b5022dfe443a3ad7b8e421c67b5db79691027b5182b753acae64f29f81b361ebe8f58bad4b5bd06a8d -EBUILD libjpeg-turbo-3.0.3.ebuild 3212 BLAKE2B 6b2f3f58c4f7dd0e87808f7a28bacabd1a39c7971a7238f0d32762f6d310d99cc4203de0f29d68ce679da31e1587431fcacecace023d4400192f331cc4476dcb SHA512 cd6dbb415ef13c0cd342f15f300b937941b993d33a2231b5022dfe443a3ad7b8e421c67b5db79691027b5182b753acae64f29f81b361ebe8f58bad4b5bd06a8d +EBUILD libjpeg-turbo-3.0.3-r1.ebuild 3256 BLAKE2B 5aca25133509dcc570c9d852c8265e2fa24f18e1a0124e89e6f4d6e516aa3a993e9967768efacc7395eaa63922d89c443db389c0db2014fadd04eff42c3acc7c SHA512 a5abb5eec7cece80deb2dc48dcb56544fc6d7bc02f0d5a65a72fd5a80c4c8906a99ece74ada219239f81ffe17f44c9751ec178dcaf1a50676de12951deaa82f9 MISC metadata.xml 567 BLAKE2B b4e2dc1098bc3a518b8af80dd63a9d6d000c6a62ab26e9d7792743b10955738bfccde4f6e32d46599194d8f63066913dad4b20c7a8674917d7bf9cd217a0f9bc SHA512 d9af7f4a6ca425c6ae75ac96da3b4467c62dc3baa0be04e590dc821f17e03e12279ed1faf2e66944ce0bed9ed0c9b176e7e372278062588db7adc9ed71f200c1 diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.1.ebuild deleted file mode 100644 index 43f76e0689fb..000000000000 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib java-pkg-opt-2 - -DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library" -HOMEPAGE="https://libjpeg-turbo.org/ https://sourceforge.net/projects/libjpeg-turbo/" -SRC_URI=" - https://downloads.sourceforge.net/${PN}/${P}.tar.gz - mirror://gentoo/libjpeg8_8d-2.debian.tar.gz -" - -LICENSE="BSD IJG ZLIB" -SLOT="0/0.2" -if [[ $(ver_cut 3) -lt 90 ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" -fi -IUSE="cpu_flags_arm_neon java static-libs" - -ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )" -COMMON_DEPEND=" - !media-libs/jpeg:0 - !media-libs/jpeg:62 -" -DEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jdk-1.8:*[-headless-awt] ) -" -RDEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - amd64? ( ${ASM_DEPEND} ) - x86? ( ${ASM_DEPEND} ) - amd64-linux? ( ${ASM_DEPEND} ) - x86-linux? ( ${ASM_DEPEND} ) - x64-macos? ( ${ASM_DEPEND} ) -" - -MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) - -src_prepare() { - local FILE - ln -snf ../debian/extra/*.c . || die - - for FILE in ../debian/extra/*.c; do - FILE=${FILE##*/} - cat >> CMakeLists.txt <<-EOF || die - add_executable(${FILE%.c} ${FILE}) - install(TARGETS ${FILE%.c}) - EOF - done - - cmake_src_prepare - java-pkg-opt-2_src_prepare -} - -multilib_src_configure() { - if multilib_is_native_abi && use java ; then - export JAVACFLAGS="$(java-pkg_javac-args)" - export JNI_CFLAGS="$(java-pkg_get-jni-cflags)" - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -DENABLE_STATIC="$(usex static-libs)" - -DWITH_JAVA="$(multilib_native_usex java)" - ) - - # Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810 - if use arm || use arm64; then - mycmakeargs+=( - -DWITH_SIMD=$(usex cpu_flags_arm_neon) - -DNEON_INTRINSICS=$(usex cpu_flags_arm_neon) - ) - fi - - # We should tell the test suite which floating-point flavor we are - # expecting: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/597 - # For now, mark loong as fp-contract. - if use loong; then - mycmakeargs+=( - -DFLOATTEST=fp-contract - ) - fi - - # Mostly for Prefix, ensure that we use our yasm if installed and - # not pick up host-provided nasm - if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then - mycmakeargs+=( - -DCMAKE_ASM_NASM_COMPILER=$(type -P yasm) - ) - fi - - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - - if multilib_is_native_abi && use java ; then - rm -rf "${ED}"/usr/classes || die - java-pkg_dojar java/turbojpeg.jar - fi -} - -multilib_src_install_all() { - find "${ED}" -type f -name '*.la' -delete || die - - local -a DOCS=( README.md ChangeLog.md ) - einstalldocs - - newdoc "${WORKDIR}"/debian/changelog changelog.debian - dobin "${WORKDIR}"/debian/extra/exifautotran - doman "${WORKDIR}"/debian/extra/*.[0-9]* - - docinto html - dodoc -r "${S}"/doc/html/. - - if use java; then - docinto html/java - dodoc -r "${S}"/java/doc/. - newdoc "${S}"/java/README README.java - fi -} diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.2.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.3-r1.ebuild index 8a6082694031..fff7d27ac9d5 100644 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.2.ebuild +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.3-r1.ebuild @@ -60,6 +60,7 @@ src_prepare() { multilib_src_configure() { if multilib_is_native_abi && use java ; then + export JAVAFLAGS="$(java-pkg_javac-args)" export JAVACFLAGS="$(java-pkg_javac-args)" export JNI_CFLAGS="$(java-pkg_get-jni-cflags)" fi diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.3.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.3.ebuild deleted file mode 100644 index 8a6082694031..000000000000 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-3.0.3.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib java-pkg-opt-2 - -DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library" -HOMEPAGE="https://libjpeg-turbo.org/ https://github.com/libjpeg-turbo/libjpeg-turbo" -SRC_URI=" - https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${PV}/${P}.tar.gz - mirror://gentoo/libjpeg8_8d-2.debian.tar.gz -" - -LICENSE="BSD IJG ZLIB java? ( GPL-2-with-classpath-exception )" -SLOT="0/0.2" -if [[ $(ver_cut 3) -lt 90 ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" -fi -IUSE="cpu_flags_arm_neon java static-libs" - -ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )" -COMMON_DEPEND=" - !media-libs/jpeg:0 - !media-libs/jpeg:62 -" -DEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jdk-1.8:*[-headless-awt] ) -" -RDEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - amd64? ( ${ASM_DEPEND} ) - x86? ( ${ASM_DEPEND} ) - amd64-linux? ( ${ASM_DEPEND} ) - x86-linux? ( ${ASM_DEPEND} ) - x64-macos? ( ${ASM_DEPEND} ) -" - -MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) - -src_prepare() { - local FILE - ln -snf ../debian/extra/*.c . || die - - for FILE in ../debian/extra/*.c; do - FILE=${FILE##*/} - cat >> CMakeLists.txt <<-EOF || die - add_executable(${FILE%.c} ${FILE}) - install(TARGETS ${FILE%.c}) - EOF - done - - cmake_src_prepare - java-pkg-opt-2_src_prepare -} - -multilib_src_configure() { - if multilib_is_native_abi && use java ; then - export JAVACFLAGS="$(java-pkg_javac-args)" - export JNI_CFLAGS="$(java-pkg_get-jni-cflags)" - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -DENABLE_STATIC="$(usex static-libs)" - -DWITH_JAVA="$(multilib_native_usex java)" - ) - - # Avoid ARM ABI issues by disabling SIMD for CPUs without NEON, bug #792810 - if use arm || use arm64; then - mycmakeargs+=( - -DWITH_SIMD=$(usex cpu_flags_arm_neon) - -DNEON_INTRINSICS=$(usex cpu_flags_arm_neon) - ) - fi - - # We should tell the test suite which floating-point flavor we are - # expecting: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/597 - # For now, mark loong as fp-contract. - if use loong; then - mycmakeargs+=( - -DFLOATTEST=fp-contract - ) - fi - - # Mostly for Prefix, ensure that we use our yasm if installed and - # not pick up host-provided nasm - if has_version -b dev-lang/yasm && ! has_version -b dev-lang/nasm; then - mycmakeargs+=( - -DCMAKE_ASM_NASM_COMPILER=$(type -P yasm) - ) - fi - - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - - if multilib_is_native_abi && use java ; then - rm -rf "${ED}"/usr/classes || die - java-pkg_dojar java/turbojpeg.jar - fi -} - -multilib_src_install_all() { - find "${ED}" -type f -name '*.la' -delete || die - - local -a DOCS=( README.md ChangeLog.md ) - einstalldocs - - newdoc "${WORKDIR}"/debian/changelog changelog.debian - dobin "${WORKDIR}"/debian/extra/exifautotran - doman "${WORKDIR}"/debian/extra/*.[0-9]* - - docinto html - dodoc -r "${S}"/doc/html/. - - if use java; then - docinto html/java - dodoc -r "${S}"/java/doc/. - newdoc "${S}"/java/README README.java - fi -} diff --git a/media-libs/libjxl/Manifest b/media-libs/libjxl/Manifest index a732c3be3907..56d66e9a5f75 100644 --- a/media-libs/libjxl/Manifest +++ b/media-libs/libjxl/Manifest @@ -1,19 +1,13 @@ AUX libjxl-0.8.2-backport-pr2596.patch 2017 BLAKE2B 3155febe7e02fc34dfdf692821028e16f97272f751176ef22126151e8edf18e2c7d9da88d9bc8334cd4737d36037a5a04eb7360a41fde39605db62942c52e62c SHA512 4f8cd6f2a70077b8e52b084a4c76f5a029e3e13e578d28bb2d9d3470ae89fa6867d541bacd079bd55b76eb17a1c2f3d845715fc0d4c9e2a199618d8a6871d1a1 AUX libjxl-0.8.2-backport-pr2617.patch 2853 BLAKE2B edeafa5bfa85f9868d98f4ee38be2dd4a5d747517e6aec59688d5314f1b6ede74bc3d20a11d08e3e2e2e87e8da987730a8a8cafcecce69369fdfa7bcb8ef2828 SHA512 ad8ddbe50d23895a3127d11bf36832ad1a1762e9b54bacc5f4d881accb5c81801618254b9b56afc4b145a7fb19bab8ca739974ff3bcb498e7db812d3a6cf004d AUX libjxl-0.9.1-backport-pr3143.patch 1065 BLAKE2B acc6ab904994f42cffe19296966587dbbf316289277d91e1a17cd635161b51eed770ab95fc682d93b8693d50def9bb205290c3eb534effdfdc2cd057db36647c SHA512 d5eeca764e13175eb64ba5ee47a9bf03080d0830395ba9b626b7144674a5ce8fbb694705a4d2c55f3b52507a59c5793e21e9c99dded65803857a0859a1f9f466 -DIST libjxl-0.10.2.tar.gz 1912303 BLAKE2B 9677d0d35d877ce269c9958accfbb5ee55d446dc0e8fa64df9323c1db3993613752803aae63a48c18eeb72ae91c2a044a1fab0a83ddf28fdf8395ddb67a72414 SHA512 1d19f30c0ae94e212326a15dc128612bce207e619c55c2a020401a27d01a933de71bb35e907521dc8fd853dd5578d74d74f7a5a282f0083fd22cf9cb07ccb96e DIST libjxl-0.10.3.tar.gz 1912351 BLAKE2B 4432ecf34ac03d9ce8fc814835c7ee31fcc1e516b95e347dcb201a6996e1ffaadbd2e78a6a235ee1c4ff5121af495b8bc621e6738e2d03a8eb1639fb397e5246 SHA512 5ece482f4c5f0312e87e020f921525622a6d3f1a3834f3cd8666638fc8d0fba8cd072ef58f7b153dc17ca19071ebae2fbad7b08e6d440c2669f4f1b35888a7d4 -DIST libjxl-0.8.2.tar.gz 1612062 BLAKE2B 2b5e65cde6c85881c5f26f676afec825c974f6919c3cc3f056ca4a9679162e89f2de35ab7d0b2a60782d39eca1f4ddad779f8d25d3f520417f6d9dea71e854db SHA512 769f102c46755d11a705ce47ae9e2ef49627ae708f416693bf1293aeeb713934baf4466e45b9c70b04ec1fc8b4a00d5ca7688c8ca03f0a91c9a15252c522a887 DIST libjxl-0.8.3.tar.gz 1612441 BLAKE2B d1c3b108c67d0a3a63ce50cdc7305b6853b182ec6c210d499e15120fbb858dada23997a4a0eb545f936e02230ed773506b066f24e19cce1f99aedaafd2bd7803 SHA512 f7fb4b2b0fd2459bec86918371369e80de59549c8dc24ff5c83546f564e54c81ea6a72720af151e3f9b64ef326f3ec8a5a6e0023b7fe2de14b056e501af579ef -DIST libjxl-0.9.2.tar.gz 1873156 BLAKE2B 558d82dfaa2e5e4fdb07542b2daf4b80f661dec46986d412bdc2b1af0ac4b501f9e533eefd73e923b94a54f82695c4aed5cc531abc9e818ab4faf0aab0267b94 SHA512 97bc0ccd249fe0fa6d0f52c470a0d0bd181e3f00cd9820dda5ca437dff260e6c9e2c95dceec4bd9354c3adc4fc6724228cb027c537af6df7d3f90ab8ee61653f DIST libjxl-0.9.3.tar.gz 1873236 BLAKE2B eb3811ef4fc64bb5df2e06b6b86cbc1b5dbe6eb9728e5ad5a8b791be57359eb63442722cdf629b006be518bf575409b93758d7ec0376a596de4405fb7686b7f2 SHA512 8aace2d8c0ece9db64a1620a10581ddc5a450543db64d44f864eaa5d3b8b3f0466c501fed5d58abdbf6eb5f90af25f6370c33718847bd070e851a02b560f541e DIST libjxl-testdata-d6168ffb9e1cc24007e64b65dd84d822ad1fc759.tar.gz 67553075 BLAKE2B 779fee87386e617edd93bca7a523fa1ab223ae88114c3cc5484987a7c92cca2d0bb3d668fa3c8064b2a0255c17a06447c009f4fbf9ef379692ddfa37dee1be97 SHA512 a48d74a1ccff404eb7675225b59965e056dc3fc09930572785d83bae03fa1c38e105336dbf5ecfc3f0995e8b8bfb1097b451ae661f2933590b2b152192c8aa2f DIST libjxl-testdata-ff8d743aaba05b3014f17e5475e576242fa979fc.tar.gz 69105882 BLAKE2B a80fce437b810e7b99b4c7bd106ec7eba01a1eeddc90e1b82cb8d75f3ca194c357ef8e7b7e1e9da65aa39dc2cd11d32cb6de8558188c5258c7446d58787603ff SHA512 0d237e706fd8d001a9cb245b685e8e39085416daedec019c348ccc64cf15a34cecdb0c245f94f57507f5934e487ee5157f51f59bb6a000f5899862c582336384 -EBUILD libjxl-0.10.2-r1.ebuild 2940 BLAKE2B 49f3c0f3f32d56c976afc6fe35d983a561493c33e95fd706f414599a7abf99af46f79d1484230cfd05106114338b2a4ee5511aa23232a03e6a7463420165b805 SHA512 f41aac4c7594e972464ce6f5e646f618f013603a56d1ecd937515d56942b46161f765276f90c6ee4dd8194fcd2a0c8fe9b9711ab5de952e62b6e5fbb12cd7d6a -EBUILD libjxl-0.10.3.ebuild 2945 BLAKE2B 00773bbe7fe462c425558fc9456f5871ab70a9083a52746e5fd8f0a0bf939654d4528213a85aa0cff31ee9722891b2306e14b962c58953ed65ceaa4585c778e2 SHA512 1b3470cb66f1bad55f76c4bb1b24f01a85973be5199e9cddba758e40714dce21b90a28eaeb5693c9906784448492e049ab337ddb6f07e5cb8651d57b9b52fe86 -EBUILD libjxl-0.8.2-r2.ebuild 2566 BLAKE2B 98867a0d0f9d5dc63a0bd82bbe0d38d3b9503439177d28943166eec16cdd593318c5eaa8c3f3d05c8fc55f4e2f63e6a309ad4a728232a703cfebc868e9141aa0 SHA512 5966e0eab345b00e50f20d2d94d6ff6b21dbc5bffbf4504a65e161d658763252ad76d556b21926ee7caf9255adbb9182bcdab0fe7a9bf77506bc988b0df85b9c -EBUILD libjxl-0.8.3.ebuild 2571 BLAKE2B 3d66e80efb11dd03ab12446eba565a26b136cd75644c8d5dd976fb2bc47bb0129e9afdd091b2200b9e62076ec0586b72cdcb4eb3c919aebfde91b02b6acc78a9 SHA512 f1ba0c1652f21bcba6bf8825d925cc97e2c9340711afeade8d7aa76ca2588bb81f7949e84139fe44aebb150e560a11f301e580a1f5564073f789d91d35c261ff -EBUILD libjxl-0.9.2-r1.ebuild 3002 BLAKE2B a0aeb136c356fae12bf8ee5d21f9ff63c23c8768bc6bcb66741d4213e1e8da823d44909c9d5093809b41807de009dcfa9e3d9b65745d92d7d97a49afa5660522 SHA512 bb1ae9fa5dc74cacb8a04e99dadb92ba8a5e96909c47e1a1a9414ffd044e4a29075a60d65a921abcfb2d98d29009bdd701679446405fc574d824beceacbe8de7 -EBUILD libjxl-0.9.3.ebuild 3007 BLAKE2B 6ded330ffaf6eb2daf3a402c91b4abd16769ff3e41b86d08f7717d27b76806a4e95a27a5f5a5b824b6068038616d863145e75458d1716ab0bcf9720acb38c6ea SHA512 1fcf2d77d03f317f07569d2124771abda3827043738e98c105961ae9ed1d9099aafa7972d7c57d154465fd7ae9f400390c3764287f7758663cf4f860cf25910a +EBUILD libjxl-0.10.3.ebuild 2940 BLAKE2B 49f3c0f3f32d56c976afc6fe35d983a561493c33e95fd706f414599a7abf99af46f79d1484230cfd05106114338b2a4ee5511aa23232a03e6a7463420165b805 SHA512 f41aac4c7594e972464ce6f5e646f618f013603a56d1ecd937515d56942b46161f765276f90c6ee4dd8194fcd2a0c8fe9b9711ab5de952e62b6e5fbb12cd7d6a +EBUILD libjxl-0.8.3.ebuild 2566 BLAKE2B 98867a0d0f9d5dc63a0bd82bbe0d38d3b9503439177d28943166eec16cdd593318c5eaa8c3f3d05c8fc55f4e2f63e6a309ad4a728232a703cfebc868e9141aa0 SHA512 5966e0eab345b00e50f20d2d94d6ff6b21dbc5bffbf4504a65e161d658763252ad76d556b21926ee7caf9255adbb9182bcdab0fe7a9bf77506bc988b0df85b9c +EBUILD libjxl-0.9.3.ebuild 3002 BLAKE2B a0aeb136c356fae12bf8ee5d21f9ff63c23c8768bc6bcb66741d4213e1e8da823d44909c9d5093809b41807de009dcfa9e3d9b65745d92d7d97a49afa5660522 SHA512 bb1ae9fa5dc74cacb8a04e99dadb92ba8a5e96909c47e1a1a9414ffd044e4a29075a60d65a921abcfb2d98d29009bdd701679446405fc574d824beceacbe8de7 EBUILD libjxl-9999.ebuild 2608 BLAKE2B e4247be931c67d10fa9e200bc113731a940678547be3743a282087dc09b1afe1bee0063ec0d090f60c3860d4542d210f50fdc762263f2609f6fedcb10df058f3 SHA512 63b91932054fd351b091daa652b0f000ad7675e48cb489e4b52da4d99991066dc501d8814b02c2b005e5211f032fe7f6dee1b53944fc239b7bbadd46ee143339 MISC metadata.xml 1029 BLAKE2B 4c5ef3d7aca316b497d964b1afcee9f71b165545691182c3818ef4f9a8bc7f10fdbed36a8bd58b0051b1f9851018a11efa3e9f7b57c5ec935435e16bd26b6036 SHA512 a3129f77efc640e78a2f1fa481fb6363249be74e74aabccb51970ec101808db95a326deeecfa557b669cfb2bf26622fc7dbcbe7624a0315d770e697bc3734296 diff --git a/media-libs/libjxl/libjxl-0.10.2-r1.ebuild b/media-libs/libjxl/libjxl-0.10.2-r1.ebuild deleted file mode 100644 index ed0c6b72ce32..000000000000 --- a/media-libs/libjxl/libjxl-0.10.2-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib gnome2-utils - -# This changes frequently. Please check the testdata submodule when bumping. -TESTDATA_COMMIT="ff8d743aaba05b3014f17e5475e576242fa979fc" -DESCRIPTION="JPEG XL image format reference implementation" -HOMEPAGE="https://github.com/libjxl/libjxl/" -SRC_URI=" - https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz - test? ( - https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz - -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+gdk-pixbuf gif jpeg openexr +png test" -REQUIRED_USE="test? ( png )" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/brotli:=[${MULTILIB_USEDEP}] - >=dev-cpp/highway-1.0.7[${MULTILIB_USEDEP}] - >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}] - gdk-pixbuf? ( - dev-libs/glib:2 - x11-libs/gdk-pixbuf:2 - ) - gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] ) - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) - openexr? ( media-libs/openexr:= ) - png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] ) -" -RDEPEND=" - ${DEPEND} - >=x11-misc/shared-mime-info-2.2 -" -DEPEND+=" - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) -" - -multilib_src_configure() { - local mycmakeargs=( - -DJPEGXL_ENABLE_BENCHMARK=OFF - -DJPEGXL_ENABLE_COVERAGE=OFF - -DJPEGXL_ENABLE_FUZZERS=OFF - -DJPEGXL_ENABLE_SJPEG=OFF - -DJPEGXL_WARNINGS_AS_ERRORS=OFF - - -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif) - -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) - -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) - - -DJPEGXL_ENABLE_SKCMS=OFF - -DJPEGXL_ENABLE_VIEWERS=OFF - -DJPEGXL_FORCE_SYSTEM_BROTLI=ON - -DJPEGXL_FORCE_SYSTEM_GTEST=ON - -DJPEGXL_FORCE_SYSTEM_HWY=ON - -DJPEGXL_FORCE_SYSTEM_LCMS2=ON - -DJPEGXL_ENABLE_DOXYGEN=OFF - -DJPEGXL_ENABLE_MANPAGES=OFF - -DJPEGXL_ENABLE_JNI=OFF - -DJPEGXL_ENABLE_JPEGLI=OFF - -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF - -DJPEGXL_ENABLE_TCMALLOC=OFF - -DJPEGXL_ENABLE_EXAMPLES=OFF - -DBUILD_TESTING=$(usex test ON OFF) - ) - - if use test; then - mycmakeargs+=( - -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" - ) - fi - - if multilib_is_native_abi; then - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=ON - -DJPEGXL_ENABLE_OPENEXR=$(usex openexr) - -DJPEGXL_ENABLE_PLUGINS=ON - -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf) - -DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF - -DJPEGXL_ENABLE_PLUGIN_MIME=OFF - ) - else - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=OFF - -DJPEGXL_ENABLE_OPENEXR=OFF - -DJPEGXL_ENABLE_PLUGINS=OFF - ) - fi - - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update -} - -pkg_postrm() { - use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update -} diff --git a/media-libs/libjxl/libjxl-0.10.3.ebuild b/media-libs/libjxl/libjxl-0.10.3.ebuild index 3430ddbc8d00..ed0c6b72ce32 100644 --- a/media-libs/libjxl/libjxl-0.10.3.ebuild +++ b/media-libs/libjxl/libjxl-0.10.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" IUSE="+gdk-pixbuf gif jpeg openexr +png test" REQUIRED_USE="test? ( png )" RESTRICT="!test? ( test )" diff --git a/media-libs/libjxl/libjxl-0.8.2-r2.ebuild b/media-libs/libjxl/libjxl-0.8.2-r2.ebuild deleted file mode 100644 index ea3c8f0cc52c..000000000000 --- a/media-libs/libjxl/libjxl-0.8.2-r2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -# This changes frequently. Please check the testdata submodule when bumping. -TESTDATA_COMMIT="d6168ffb9e1cc24007e64b65dd84d822ad1fc759" -DESCRIPTION="JPEG XL image format reference implementation" -HOMEPAGE="https://github.com/libjxl/libjxl" -SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz - -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz )" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="gif jpeg openexr +png test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/brotli:=[${MULTILIB_USEDEP}] - >=dev-cpp/highway-1.0.0[${MULTILIB_USEDEP}] - >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}] - gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] ) - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) - openexr? ( media-libs/openexr:= ) - png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] ) -" -RDEPEND=" - ${DEPEND} - >=x11-misc/shared-mime-info-2.2 -" -DEPEND+=" - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.2-backport-pr2596.patch" - "${FILESDIR}/${PN}-0.8.2-backport-pr2617.patch" -) - -multilib_src_configure() { - local mycmakeargs=( - -DJPEGXL_ENABLE_BENCHMARK=OFF - -DJPEGXL_ENABLE_COVERAGE=OFF - -DJPEGXL_ENABLE_FUZZERS=OFF - -DJPEGXL_ENABLE_SJPEG=OFF - -DJPEGXL_WARNINGS_AS_ERRORS=OFF - - -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif) - -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) - -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) - - -DJPEGXL_ENABLE_SKCMS=OFF - -DJPEGXL_ENABLE_VIEWERS=OFF - -DJPEGXL_ENABLE_PLUGINS=OFF - -DJPEGXL_FORCE_SYSTEM_BROTLI=ON - -DJPEGXL_FORCE_SYSTEM_GTEST=ON - -DJPEGXL_FORCE_SYSTEM_HWY=ON - -DJPEGXL_FORCE_SYSTEM_LCMS2=ON - -DJPEGXL_ENABLE_DOXYGEN=OFF - -DJPEGXL_ENABLE_MANPAGES=OFF - -DJPEGXL_ENABLE_JNI=OFF - -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF - -DJPEGXL_ENABLE_TCMALLOC=OFF - -DJPEGXL_ENABLE_EXAMPLES=OFF - ) - - if multilib_is_native_abi; then - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=ON - -DJPEGXL_ENABLE_OPENEXR=$(usex openexr) - -DBUILD_TESTING=$(usex test ON OFF) - ) - use test && - mycmakeargs+=( -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" ) - else - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=OFF - -DJPEGXL_ENABLE_OPENEXR=OFF - -DBUILD_TESTING=OFF - ) - fi - - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - - find "${ED}" -name '*.a' -delete || die -} diff --git a/media-libs/libjxl/libjxl-0.8.3.ebuild b/media-libs/libjxl/libjxl-0.8.3.ebuild index ff3f34b606fb..ea3c8f0cc52c 100644 --- a/media-libs/libjxl/libjxl-0.8.3.ebuild +++ b/media-libs/libjxl/libjxl-0.8.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz -> ${P LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" IUSE="gif jpeg openexr +png test" RESTRICT="!test? ( test )" diff --git a/media-libs/libjxl/libjxl-0.9.2-r1.ebuild b/media-libs/libjxl/libjxl-0.9.2-r1.ebuild deleted file mode 100644 index 3d567834e99f..000000000000 --- a/media-libs/libjxl/libjxl-0.9.2-r1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib gnome2-utils - -# This changes frequently. Please check the testdata submodule when bumping. -TESTDATA_COMMIT="ff8d743aaba05b3014f17e5475e576242fa979fc" -DESCRIPTION="JPEG XL image format reference implementation" -HOMEPAGE="https://github.com/libjxl/libjxl/" -SRC_URI=" - https://github.com/libjxl/libjxl/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz - test? ( - https://github.com/libjxl/testdata/archive/${TESTDATA_COMMIT}.tar.gz - -> ${PN}-testdata-${TESTDATA_COMMIT}.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+gdk-pixbuf gif jpeg openexr +png test" -REQUIRED_USE="test? ( png )" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/brotli:=[${MULTILIB_USEDEP}] - >=dev-cpp/highway-1.0.7[${MULTILIB_USEDEP}] - >=media-libs/lcms-2.13:2[${MULTILIB_USEDEP}] - gdk-pixbuf? ( - dev-libs/glib:2 - x11-libs/gdk-pixbuf:2 - ) - gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] ) - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) - openexr? ( media-libs/openexr:= ) - png? ( media-libs/libpng:=[${MULTILIB_USEDEP}] ) -" -RDEPEND=" - ${DEPEND} - >=x11-misc/shared-mime-info-2.2 -" -DEPEND+=" - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.9.1-backport-pr3143.patch" -) - -multilib_src_configure() { - local mycmakeargs=( - -DJPEGXL_ENABLE_BENCHMARK=OFF - -DJPEGXL_ENABLE_COVERAGE=OFF - -DJPEGXL_ENABLE_FUZZERS=OFF - -DJPEGXL_ENABLE_SJPEG=OFF - -DJPEGXL_WARNINGS_AS_ERRORS=OFF - - -DCMAKE_DISABLE_FIND_PACKAGE_GIF=$(usex !gif) - -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) - -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) - - -DJPEGXL_ENABLE_SKCMS=OFF - -DJPEGXL_ENABLE_VIEWERS=OFF - -DJPEGXL_FORCE_SYSTEM_BROTLI=ON - -DJPEGXL_FORCE_SYSTEM_GTEST=ON - -DJPEGXL_FORCE_SYSTEM_HWY=ON - -DJPEGXL_FORCE_SYSTEM_LCMS2=ON - -DJPEGXL_ENABLE_DOXYGEN=OFF - -DJPEGXL_ENABLE_MANPAGES=OFF - -DJPEGXL_ENABLE_JNI=OFF - -DJPEGXL_ENABLE_JPEGLI=OFF - -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF - -DJPEGXL_ENABLE_TCMALLOC=OFF - -DJPEGXL_ENABLE_EXAMPLES=OFF - -DBUILD_TESTING=$(usex test ON OFF) - ) - - if use test; then - mycmakeargs+=( - -DJPEGXL_TEST_DATA_PATH="${WORKDIR}/testdata-${TESTDATA_COMMIT}" - ) - fi - - if multilib_is_native_abi; then - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=ON - -DJPEGXL_ENABLE_OPENEXR=$(usex openexr) - -DJPEGXL_ENABLE_PLUGINS=ON - -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf) - -DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF - -DJPEGXL_ENABLE_PLUGIN_MIME=OFF - ) - else - mycmakeargs+=( - -DJPEGXL_ENABLE_TOOLS=OFF - -DJPEGXL_ENABLE_OPENEXR=OFF - -DJPEGXL_ENABLE_PLUGINS=OFF - ) - fi - - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update -} - -pkg_postrm() { - use gdk-pixbuf && multilib_foreach_abi gnome2_gdk_pixbuf_update -} diff --git a/media-libs/libjxl/libjxl-0.9.3.ebuild b/media-libs/libjxl/libjxl-0.9.3.ebuild index 00adab4f5232..3d567834e99f 100644 --- a/media-libs/libjxl/libjxl-0.9.3.ebuild +++ b/media-libs/libjxl/libjxl-0.9.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc64 ~riscv ~sparc x86" IUSE="+gdk-pixbuf gif jpeg openexr +png test" REQUIRED_USE="test? ( png )" RESTRICT="!test? ( test )" diff --git a/media-libs/libkeyfinder/Manifest b/media-libs/libkeyfinder/Manifest index 0ed0ccbb880b..dee43e844c48 100644 --- a/media-libs/libkeyfinder/Manifest +++ b/media-libs/libkeyfinder/Manifest @@ -1,5 +1,3 @@ -DIST libkeyfinder-2.2.7.tar.gz 79462 BLAKE2B 48b788eb871a133d755a892cdf73a677c31979380f0c03d914bf310727dd49f0e4184b2d5020829e7f78f2ad843273b5f983509ff785adc70c425a4260111315 SHA512 b98672cb0cc00326e526b79e96a0e0a8805bcd87f3711247031ea5a4fcb6447627d5b9210197e1cf23fa7c27093649e9fc702f53ee17df00e90a7caf074681e8 DIST libkeyfinder-2.2.8.tar.gz 79473 BLAKE2B 9341a6d93742516ba213503414c359123b2313134a603ed621a6c7e99e77dbd6f38ad986758d9736c7083fec505c6a1495541a38d825c0d0015e86fa9baa3b3c SHA512 31d86715172b62dd72b122a8d480db4598731b87ca58522ad797116acfcbc53b8ecf8fe7eb2b129857b5044b27d32dda9e03927e0a27f8edcdc5d6ce607a76eb -EBUILD libkeyfinder-2.2.7.ebuild 640 BLAKE2B 1710b1b74de0f444cfa72b48c8377b5862c981de6aad0753737669b144cde262db5df665ab997949c91319591f554234fa6a2a542727d0316b97a0f66a138b32 SHA512 072da9c1296a3c752b94691836ec4e90ca65ba3be254581a2cddd754f547d013a74574e26aaa77a7faef415ba42cb72c378d61b656f9997b93afeb1e9bc2178d EBUILD libkeyfinder-2.2.8.ebuild 640 BLAKE2B 4f2867ee19b03ba594f64e575124e1b3c7577a88d232826c7d8dbaf170d7bf00838e0759c1a75e689d509bce80ca489c8a492a2a17a215b940ab34a83cc4389e SHA512 4be13b3f9a803ce9148a4dbf59760754f7ad031ea7b0cd6aaed37cce816437fe651accf9a0e5c96e61d8b9a621da10d88bb4703df3a26b925af194a3a186a534 MISC metadata.xml 345 BLAKE2B f2538fbfcfff45f7c503376dcb7b6d043aaf3aa201c5738fe81f4886748bdb652a26911303b444e7cb1f4432c5a553dc78fb51ada95c1d054e475ca5b459603d SHA512 268c9bc84445403ac475a3bdc54cc8bb40b0686ae76affe978beb5b21614497782fd966a8fd2694f7c2e87be6d14730582373a929a5a3be0a042d61b7ecd92f2 diff --git a/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild b/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild deleted file mode 100644 index 679816d90f96..000000000000 --- a/media-libs/libkeyfinder/libkeyfinder-2.2.7.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Musical key detection library for digital audio" -HOMEPAGE="https://github.com/mixxxdj/libkeyfinder" -SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="" - -RDEPEND=" - sci-libs/fftw:3.0 -" -DEPEND="${RDEPEND}" - -src_prepare() { - sed -i -e "s/NAMES fftw /NAMES /" \ - cmake/FindFFTW3.cmake || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTING=OFF - ) - - cmake_src_configure -} diff --git a/media-libs/liblscp/Manifest b/media-libs/liblscp/Manifest index b451ddc3da5f..fc99cabb2ad6 100644 --- a/media-libs/liblscp/Manifest +++ b/media-libs/liblscp/Manifest @@ -1,9 +1,5 @@ AUX liblscp-0.9.6-conditional.patch 275 BLAKE2B 4ce887eb210c4e32d16a8b0300d7a03903671967122aff13a1c5d59edd02778bc4f1a7e29fd9cb56e54526e91b4ba9c6ed6f8ab526c49f783f7800c9f4587a7e SHA512 1d3d2b0ab448d7e58b8eb561292d445de41df9989a3268fa34a8d3b440195c09d7ce5b674227a4786f8c947794933250fea636b294723bb26ce65b301cc096de -DIST liblscp-0.9.12.tar.gz 99062 BLAKE2B b1701eba58211bbe6e46ae7b08ca535f6f68d724523f12aca394e31cf3f95bce2c4b3c051576f8cf5e2490cb9c85cbb8b6664e3088d36fa1cf409401996c53e0 SHA512 a29f87d04a9a2726dd3a465a6bc0891e51e1b63da624f3b282c9d32710c7a7f57e7bffed4d3a6f3d7d8db70e56f1d8050b3453c064fa433b6a113fb8b09fed5a -DIST liblscp-0.9.91.tar.gz 99118 BLAKE2B 8385f0e1468deb3f49ef124b6aa2d3e57f14852d8e32dfb786b05f5cd69b9ff3f74e22d88abd16ead42ac0c5a718a22882eab9e5a59d240f3f650e2b5fd97a20 SHA512 fde1e712af8c4c3d5308c1464060fb8bcdfc43b7ca3241af1f9fa7a30b0ce044e3c57fb588f0cbf5eaba47a964c9607550c05c2d0993c118da792cc0e2a18b41 DIST liblscp-1.0.0.tar.gz 99190 BLAKE2B d44b69ed180b22d66eab5f8a0bb2b8d24794d7aeedc9213729cc1787a1db6546f2a4d28c4177732b8281c5c4a103dd6f37f3af155caed886d694bafe74e718a3 SHA512 2f407d5461dcf20204a1f37fba9456076e8e052a47528d4f10da6a5e123758261cde2dffd99b45a16e3855b6d42ca6cce714bfeb8602aefb95f6dd2a825597d5 -EBUILD liblscp-0.9.12.ebuild 749 BLAKE2B a0a21dd4b3ba982ada8e76d476f1331cc3ea88222333e4badb63054037ae1e4f03de5ec4eec7e4d4382aeb57150cf9780e2e6850c8284038f708f6f4e7bb4b0d SHA512 c312e96c8deaa41fa59e3d8b15292b8f0091bf209ca8a6d9f530f5a7ac6e5f7d990da44b3d13777d85c2ffd5d22693d8d20258dbc287c5e15c240434c9c7470e -EBUILD liblscp-0.9.91.ebuild 750 BLAKE2B cabe577a40f5ba898182c2b6cf86f885ebd69ed84cef2c144dc47e77e560fec97eb553c05e3fb94efa17840337b79e94d470d9e9d349d090791b71535efc92f9 SHA512 2bd95460a437b8ece27b4fd13d7f9e364a03690c7575968ec7288db6eacd97d64781af701d474f42301f434db3b96490bcfc9f217acad907ee473c5520b80069 -EBUILD liblscp-1.0.0.ebuild 751 BLAKE2B af9d1c298f2b444cde35901c0d8cd2e2ceb1da7409d86ff43ad417b1c891a605a4b08e51292e4abc2057faa77668d8209a6a9c88f3663f180b8c2a7e51482d9a SHA512 4a68c8d9804f5ee934cf558d8af1f82d01bbf889162a1164197aa67b08b65f52cc53b9ab3884acf2527c3c1b137e42aec984a953671a53bd58f486dc6008dfb9 +EBUILD liblscp-1.0.0.ebuild 749 BLAKE2B a0a21dd4b3ba982ada8e76d476f1331cc3ea88222333e4badb63054037ae1e4f03de5ec4eec7e4d4382aeb57150cf9780e2e6850c8284038f708f6f4e7bb4b0d SHA512 c312e96c8deaa41fa59e3d8b15292b8f0091bf209ca8a6d9f530f5a7ac6e5f7d990da44b3d13777d85c2ffd5d22693d8d20258dbc287c5e15c240434c9c7470e EBUILD liblscp-9999.ebuild 751 BLAKE2B af9d1c298f2b444cde35901c0d8cd2e2ceb1da7409d86ff43ad417b1c891a605a4b08e51292e4abc2057faa77668d8209a6a9c88f3663f180b8c2a7e51482d9a SHA512 4a68c8d9804f5ee934cf558d8af1f82d01bbf889162a1164197aa67b08b65f52cc53b9ab3884acf2527c3c1b137e42aec984a953671a53bd58f486dc6008dfb9 MISC metadata.xml 250 BLAKE2B 3e6dae5d5f3b3ac412806dd8615a1975c7ea8a64bfd72ad54f2c93a9b24c19c620ac3e8b26e1f6cadec899443e138ee4fb7a82ecb83c784d0c03ee91854d8622 SHA512 2bfce2cf73aefce6dda06ea351cb93b2990b9543f48be1ae5406a5a5acf2c34faed1eb2ce715eb689eb50a9a1add5576b39232eb818c233f5a5589e16032aca8 diff --git a/media-libs/liblscp/liblscp-0.9.12.ebuild b/media-libs/liblscp/liblscp-0.9.12.ebuild deleted file mode 100644 index 8814d6bb81c4..000000000000 --- a/media-libs/liblscp/liblscp-0.9.12.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ library for the Linux Sampler control protocol" -HOMEPAGE="https://www.linuxsampler.org" - -if [[ ${PV} == "9999" ]] ; then - inherit subversion - ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk" -else - SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz - https://download.linuxsampler.org/packages/${P}.tar.gz" - KEYWORDS="amd64 ~ppc x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-0.9.6-conditional.patch" -) - -DOCS=( ChangeLog README ) - -src_configure() { - local mycmakeargs=( - -DBUILD_DOC=$(usex doc) - ) - cmake_src_configure -} diff --git a/media-libs/liblscp/liblscp-0.9.91.ebuild b/media-libs/liblscp/liblscp-0.9.91.ebuild deleted file mode 100644 index dd039ed5be77..000000000000 --- a/media-libs/liblscp/liblscp-0.9.91.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ library for the Linux Sampler control protocol" -HOMEPAGE="https://www.linuxsampler.org" - -if [[ ${PV} == "9999" ]] ; then - inherit subversion - ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk" -else - SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz - https://download.linuxsampler.org/packages/${P}.tar.gz" - KEYWORDS="amd64 ~ppc ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" -IUSE="doc" - -BDEPEND="doc? ( app-text/doxygen )" - -PATCHES=( - "${FILESDIR}/${PN}-0.9.6-conditional.patch" -) - -DOCS=( ChangeLog README ) - -src_configure() { - local mycmakeargs=( - -DBUILD_DOC=$(usex doc) - ) - cmake_src_configure -} diff --git a/media-libs/liblscp/liblscp-1.0.0.ebuild b/media-libs/liblscp/liblscp-1.0.0.ebuild index ae4c4afb8276..8814d6bb81c4 100644 --- a/media-libs/liblscp/liblscp-1.0.0.ebuild +++ b/media-libs/liblscp/liblscp-1.0.0.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] ; then else SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz https://download.linuxsampler.org/packages/${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~x86" + KEYWORDS="amd64 ~ppc x86" fi LICENSE="LGPL-2.1" diff --git a/media-libs/libmpd/Manifest b/media-libs/libmpd/Manifest index ba52d2a0687f..804fa32e2a3b 100644 --- a/media-libs/libmpd/Manifest +++ b/media-libs/libmpd/Manifest @@ -1,6 +1,5 @@ AUX libmpd-11.8.17-remove-strndup.patch 439 BLAKE2B 35f5f6efc5233ea61ce7967c52bf69d3aa44814d3506534d4272ef3df454e93e14005cce25b929d066dd4e4d1c1c28a08e7d6b59c490c1926e46fa61d1bf8511 SHA512 0b0c3b28abd7aaf540d6133ad5a72f5e0fc2cca593bc870106c17d9b1828a2bb35880436a489261ef1c56bbb176e0809d6f09165108bf867f776902cd5757fff AUX libmpd-11.8.17-return-0-instead-of-null.patch 1301 BLAKE2B 34afa197ed7d6418e15896d2ea1d5e9f6493546146cbf1d93d45a1fdeec88520ef26a62c02d080fb7093ecee845647929e92a1f08f1a0c1c0a8d8b5bf49a43f9 SHA512 19698d9092c0393c34e61710db09a02c7b288a55211f814a8a6dd5278cb9358a510978f1f44df173d73ef1c75b924a613babd8a7a1c0180e13c205612a3749db DIST libmpd-11.8.17.tar.gz 365015 BLAKE2B ed6afc3a90fa8a6b6e53ecfd67d195133a6bbecf4ddb3960247b5b2944624f0851d73229145a2ccb7eb3ca84b1d3a245dd3cc1de39f3bd9d5bd21f58f6576e18 SHA512 ffe2880834a4a39745a5327d628781e16eeb8cd1ec17402dda46ad96ff402bc0d8b4312ba058a39242ad9bb8c3a0bb6feb2c5ea2a30ef9be97652fdb5c02572d -EBUILD libmpd-11.8.17-r1.ebuild 877 BLAKE2B 4f4a354614dddd8863090387c44d6ae9d5d1c1829d3a53bd0b5380f873571547821c28b2e95287e6d37489811adb99651b43afd6e8919ce3d429b3e2d133f386 SHA512 a4dfe2f01f4b9409e663b2d4adc168c4468e3ee4a98005f50f576fd7be756727c4aefa3626f41223daae278c872409f959b432c59da86668962dc2035b02611a -EBUILD libmpd-11.8.17-r2.ebuild 935 BLAKE2B 7dca9364ad5dad740a3d0641988a7391cf3bc3d2b0875926be939c215288dddd2f867894f609c39e86aa234b4e7ac014a391ee6fc8f1b5e3830fc7f5a5d049de SHA512 0cbee115dd7b4ebf27410782f5edb4584eb95a1987235e49fbf13cfbb2b8f1f325924aca072a359a36e65f6eeef1ab5128c47414c4f140d6bd34ac5539a3eb55 +EBUILD libmpd-11.8.17-r2.ebuild 929 BLAKE2B 0d62ac4c91d4244bf6ef9c748ad8f8c7667969fce287b1470d98161e7f3f7c68d8a2430404ebfd99694c3894a6596275a73b1f3ccdc50c0249265cca3fb02b6a SHA512 dc2abb3526698861dd0ff8439c16d5325a41dea51a3c03b80ad6b3b251bd25d7521b9f32fa951d1a7d96b44480f92895248cf2ce758dfb852d5d754de9006286 MISC metadata.xml 252 BLAKE2B 648cca48f0a3b65ded6fd96d45d3f23cfae98bfa6b5f683383f1f49eedf763f99e034958d5a91ef3bf0904304eb7fa78dd7a582cf337762df4bd59c1eeaafb4e SHA512 cff6482e227806ef72806b8b925a4f5a3dfb87c26007a4614e1891524f18fb33c49d4d774d824676b02664d2703d8d8e8605e2f15983346868f4ba49405b75c4 diff --git a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild b/media-libs/libmpd/libmpd-11.8.17-r1.ebuild deleted file mode 100644 index 8703a2dfd0d2..000000000000 --- a/media-libs/libmpd/libmpd-11.8.17-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A library handling connections to a MPD server" -HOMEPAGE="https://gmpclient.org/" -SRC_URI="http://download.sarine.nl/Programs/gmpc/$(ver_cut 1-2)/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/doxygen ) -" -DEPEND=">=dev-libs/glib-2.16:2" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-remove-strndup.patch ) - -src_configure() { - econf $(use_enable static-libs static) -} - -src_compile() { - emake - use doc && emake -C doc doc -} - -src_install() { - use doc && local HTML_DOCS=( doc/html/* ) - default - find "${D}" -name '*.la' -type f -delete || die - rm "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die -} diff --git a/media-libs/libmpd/libmpd-11.8.17-r2.ebuild b/media-libs/libmpd/libmpd-11.8.17-r2.ebuild index 95e03eada009..ba492388cd66 100644 --- a/media-libs/libmpd/libmpd-11.8.17-r2.ebuild +++ b/media-libs/libmpd/libmpd-11.8.17-r2.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://download.sarine.nl/Programs/gmpc/$(ver_cut 1-2)/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="doc static-libs" BDEPEND=" diff --git a/media-libs/libmpeg3/Manifest b/media-libs/libmpeg3/Manifest deleted file mode 100644 index b118f7071a2b..000000000000 --- a/media-libs/libmpeg3/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST libmpeg3-1.8-patches-r0.tar.xz 5012 BLAKE2B b4a9a50f5765d233d48c50ef2156fa84a1e3804415847eabb33c9987597fba964983f89f973ba4f5458d5a0e77882b878b7b33a7c22adb1d3ad0824698126bad SHA512 233136e214403dc37bf5a6e66e017a051455f6745c57e204c1d0cd4ffcb8e0df858f945520e183886cf4df1930a2a566b08f69e9292642ec1eacffa0946c830b -DIST libmpeg3-1.8-src.tar.bz2 2452350 BLAKE2B f5d4a3f7291847baa35bf5103f7bc5d79122d488c1f89ae6006912666cd29d4651cc74721e5e451f543c2493f64bd3cae0fa72384d866454cae6f3e0a2e77985 SHA512 e381f07d46d47d391c6db420791a065e3572e17ca63966eb52712560867866683505693f73b25869059319eec66fd1c2f923dbef1fdca5ef9efbe598e217d60e -EBUILD libmpeg3-1.8-r3.ebuild 1771 BLAKE2B e7ff68cac19e2d3f15d19377a4184e0a313b73764c0b05605f90c528209b6680bcdf46414b9dfde564dd295fb3b541aa261761f0a916ecf42dc1cad654600bb7 SHA512 b67b155a1bed1951f9edb755fd5dac1e7dcce786438f280d56f7b76000ed78dee99640385be28393f5004513646deb4b47cecd0e4393bc896ce9544671a83a54 -MISC metadata.xml 310 BLAKE2B 7587cb72a91920b8ccaa188ac9adc08790997f2725c59e89c1a4f9ed5e07da4dd52b04e755655164a97eac3fe1d9c4c0aa89bea143c45843880916fb0b0dcae0 SHA512 acea51c1ce1d726d09c8b39557afe59844f17da2b78531d24faa7b1294b81fdb8c3cb6731548e5407ad0720023d176bf18d70edbacf6def86c01f26a7409c4d7 diff --git a/media-libs/libmpeg3/libmpeg3-1.8-r3.ebuild b/media-libs/libmpeg3/libmpeg3-1.8-r3.ebuild deleted file mode 100644 index 6613e59afecc..000000000000 --- a/media-libs/libmpeg3/libmpeg3-1.8-r3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="An MPEG library for linux" -HOMEPAGE="http://heroinewarrior.com/libmpeg3.php" -SRC_URI=" - https://downloads.sourceforge.net/heroines/${P}-src.tar.bz2 - https://dev.gentoo.org/~soap/distfiles/${P}-patches-r0.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" -IUSE="cpu_flags_x86_mmx" - -RDEPEND=" - media-libs/a52dec - media-libs/libjpeg-turbo:= - sys-libs/zlib" -DEPEND="${RDEPEND}" -BDEPEND="cpu_flags_x86_mmx? ( dev-lang/nasm )" - -PATCHES=( - "${WORKDIR}"/patches/${PN}-1.7-mpeg3split.patch - "${WORKDIR}"/patches/${PN}-1.7-textrel.patch - "${WORKDIR}"/patches/${PN}-1.7-gnustack.patch - "${WORKDIR}"/patches/${PN}-1.7-a52.patch - "${WORKDIR}"/patches/${PN}-1.7-all_gcc4.patch - "${WORKDIR}"/patches/${PN}-1.7-all_pthread.patch - "${WORKDIR}"/patches/${P}-impldecl.patch -) - -src_prepare() { - default - - cp -rf "${WORKDIR}"/patches/1.7/. . || die - eautoreconf -} - -src_configure() { - # disabling css since it's a fake one. - # One can find in the sources this message : - # Stubs for deCSS which can't be distributed in source form - econf \ - $(use_enable cpu_flags_x86_mmx mmx) \ - --disable-css -} - -src_install() { - HTML_DOCS=( docs/. ) - - default - - # This is a workaround, it wants to rebuild - # everything if the headers have changed - # So we patch them after install... - cd "${ED}"/usr/include/libmpeg3 || die - # This patch patches the .h files that get installed into /usr/include - # to show the correct include syntax '<>' instead of '""' This patch - # was also generated using info from SF's src.rpm - eapply "${WORKDIR}"/patches/gentoo-p2.patch - - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/libmpeg3/metadata.xml b/media-libs/libmpeg3/metadata.xml deleted file mode 100644 index 9c5596be8b24..000000000000 --- a/media-libs/libmpeg3/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>media-video@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="sourceforge">heroines</remote-id> - </upstream> -</pkgmetadata> diff --git a/media-libs/libmypaint/Manifest b/media-libs/libmypaint/Manifest index 41dd6a7752a1..fa39c97723fa 100644 --- a/media-libs/libmypaint/Manifest +++ b/media-libs/libmypaint/Manifest @@ -1,3 +1,3 @@ DIST libmypaint-1.6.1.tar.xz 519464 BLAKE2B 6302914ab7e0876012e5235573c5cb3a76cbca9b5f0707321b0fc0a8406f712b9164ccb02ecc8a63b13d1e640a04cba8063c568bcbe40fc8543fc4a2c1576e5b SHA512 e9413fd6a5336791ab3228a5ad9e7f06871d075c7ded236942f896a205ba44ea901a945fdc97b8be357453a1505331b59e824fe67500fbcda0cc4f11f79af608 -EBUILD libmypaint-1.6.1-r3.ebuild 1621 BLAKE2B 3b95a496cfbfd8d7a879eb59b17cbd36bf73c85a110c9f29c991ba875c684444a69117b1a15bc2325357cc9064b254ce1c2d9b854689f1f260da11a60944ec6e SHA512 1d24413ed5ac6a0c368909c9248c9f2625c37738f3e7a11d7b574023fb23f1605a41ec3a2b8ebc4bbbdad72a16920decb6bfb2b7b8477b6097863c831fc7a69b +EBUILD libmypaint-1.6.1-r3.ebuild 1621 BLAKE2B 7f4f798273693c7bc18b5fe53551f8c2e1de08f9b1d652b8ba3f3f30ea266064557fb57d3c0fee36ae01e5b93f22bf268e18ab69ff6619730700b7a1e8684e4c SHA512 6cbeb9a416f5876433d03eabab3c5412a33154105ce49872c4fd547f401471cf350d0a80b8607d2c33463687f11429b9dd2a009235d839ec5b3afc0d3cba29b4 MISC metadata.xml 408 BLAKE2B c33e77a854b4b4b17fc8cd6a2d693557e33993d813f7a12d50e21b9bc165757848788efe4ba6d479c331d3f35813483238a2a2fa9a40d4c6ba98abb912e2d9dd SHA512 7b766deb6889ecc403e7a379e0aab4967811ca7bfcf45034b3e77ebd9788031d728f2d0017752bf8fa111c6abc4e80c28192298a3e8065db0372282c2efedca8 diff --git a/media-libs/libmypaint/libmypaint-1.6.1-r3.ebuild b/media-libs/libmypaint/libmypaint-1.6.1-r3.ebuild index bc0c2a66922f..346b47c6012f 100644 --- a/media-libs/libmypaint/libmypaint-1.6.1-r3.ebuild +++ b/media-libs/libmypaint/libmypaint-1.6.1-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit libtool python-any-r1 toolchain-funcs diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index dd7df03aaac2..69317ec33c6d 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -1,7 +1,7 @@ DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf -DIST libopenmpt-0.7.6+release.autotools.tar.gz 1652544 BLAKE2B 022686bbb13728da134017b16c70cb9f3b47d64b0b6a889f473b5b72b5aa5cb66b84953b414075b6e9842fea947eb67b6cff2ae1130618bd0c0840f90ce88e70 SHA512 9665d3e301bab06f363bc4376fc488ca5befcf05f580deeb01a035167f02f8d47cda0d940239d5f29a91f97da6f31a2f6f20836b4f8ef6a248c7e39e49a7aa66 DIST libopenmpt-0.7.7+release.autotools.tar.gz 1660204 BLAKE2B 4b6ee75036c97ac2dce7e66776b36df09847db2c482cb22b052569385c06eb954d1cfae5cb00d415a6b18fd11663b2af43c94361dc9c0c84595c0d530e2bb355 SHA512 88d68bd32e696c01c070abd7156645c2969d389d6fb660f4f45d9e5e16ff9c25c3084d30cef208578080ee8a2da5c6045e5b1d93db7e2c456d42b91daaa02199 +DIST libopenmpt-0.7.9+release.autotools.tar.gz 1669833 BLAKE2B 9ba6af6df794583748336cc977b20d7bdb3f8d75e32d32a420c5e137511352ea5ec41b31beb7b0df78376dcb0e3a8160a1c527b6f4575b61b945a9f93252fe84 SHA512 e0928d3dc439c3ed7296b97dc8b8e255db22bfd91fd3bc73d0bdca8262a5cb26dff0ba89e508a4443ebe34c34fc880b202a758a11fde31b75e1ebd5725819414 EBUILD libopenmpt-0.6.6.ebuild 1560 BLAKE2B 649dbcde7c2bc9aabf1b50f6d7e232e1173f6669e9b73afb34b9cf6273783f52193dda79aa52d54fc0e502fe3a978bbba79bf04c631d2141b91c8d456e8ec4ac SHA512 35cea07a2a46d8f316455e5115e6388b601bb5fe8218a4460e4b523e4401b8b771d2d1149fbb5f97462bd8361ea842034040d80a40ed91166056f24273288bb0 -EBUILD libopenmpt-0.7.6.ebuild 1565 BLAKE2B 38801d8d41168da193233f4795af47d83f1b059e34aebb92b305ace8ff358f0779e77d2abc9ab2d4ec2a7f064ce315cdeeace1046b8439ff92bc22d1910baf1f SHA512 11e26a0dfc5121aa31e3c0b91ada621c378cbc2ada8b47aa6b462bae9734880703a88c4681c374963e52b4c8ecf7337b7105269484c7071f9d1dd16823ee9596 EBUILD libopenmpt-0.7.7.ebuild 1565 BLAKE2B bf355c4e8df835d7e1c575b2159b71841167042547a51405eff6b8eafe0e9d1a40a1d53684800769bd35744230bfc62d19bcebff4943c77cee60bc75513ee86b SHA512 59e0ac9f28dbf891e6bb02971682fa669af730f7e99c5ccb6d3b357f6fb4d08e33bbed1ac466c18990685ad15edce9b083027eda2b49efb4b49562598886da24 +EBUILD libopenmpt-0.7.9.ebuild 1565 BLAKE2B bf355c4e8df835d7e1c575b2159b71841167042547a51405eff6b8eafe0e9d1a40a1d53684800769bd35744230bfc62d19bcebff4943c77cee60bc75513ee86b SHA512 59e0ac9f28dbf891e6bb02971682fa669af730f7e99c5ccb6d3b357f6fb4d08e33bbed1ac466c18990685ad15edce9b083027eda2b49efb4b49562598886da24 MISC metadata.xml 328 BLAKE2B 25f8b37a7e7885a50e5b7305c9090033c78b1154214e05060c3407f0d27ac436aa3f0da1dff3a5ba1685bef390f1fe99416893aaf59e002921cc3464ce0d2167 SHA512 6686c75dbfcd5a5f9d6ef4d667916f54388180045471f8eb585c7b0d6e03f5d56c3fc892c97851f7453318309a456bbfd877eb240cbf008b71984009d08a8181 diff --git a/media-libs/libopenmpt/libopenmpt-0.7.6.ebuild b/media-libs/libopenmpt/libopenmpt-0.7.9.ebuild index b84da35eda01..03b0016c8652 100644 --- a/media-libs/libopenmpt/libopenmpt-0.7.6.ebuild +++ b/media-libs/libopenmpt/libopenmpt-0.7.9.ebuild @@ -9,6 +9,7 @@ MY_P="libopenmpt-${PV}+release.autotools" DESCRIPTION="Library to decode tracked music files (modules)" HOMEPAGE="https://lib.openmpt.org/libopenmpt/" SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" @@ -25,7 +26,6 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}/${MY_P}" ECONF_SOURCE="${S}" multilib_src_configure() { diff --git a/media-libs/libplacebo/Manifest b/media-libs/libplacebo/Manifest index fe6cbabf388b..5ec247c45a03 100644 --- a/media-libs/libplacebo/Manifest +++ b/media-libs/libplacebo/Manifest @@ -5,6 +5,6 @@ DIST libplacebo-glad-2.0.4.tar.gz 599932 BLAKE2B 788d2b70222fd09eea02515bdf3cbc1 DIST libplacebo-v6.338.2.tar.bz2 697450 BLAKE2B 538785bea0003ff49a14b75f26fcd255259ed3b809b4b40be4000ec715808d6603d0139fe872ff2cf4ec13851a03fe63b251d019ef163fbbbfa74a012e0efbe6 SHA512 6577d19590b4d186d721238bd4c6bf940d1e766fe58053673fb5efb4c2c0a4408f29e7a1477328689a30b22eeac8c27548b82c11bfa0bc527d16f691849479c7 DIST libplacebo-v7.349.0.tar.bz2 701309 BLAKE2B 6d0b546776c0326ab8305e7e12341b13e560e1ef53600913ece82341c762cdd466fd2d172781c769e59a57058769d5c0e48ca408ba0c2c7f936459bba6fb4212 SHA512 2e8cec7928aaafaaf9825cbacfb4758024ff04e40b98061fc6f178225647c90344e5aad23b02d82483062dbccf966a7d0178075151cefc6abaef1890f2b0c128 EBUILD libplacebo-6.338.2.ebuild 3371 BLAKE2B 6dc3cfa0829c429cd7c74ed2417b34a6cf4aa16e538950b8501b09dd788a5ea112ead070327e8b2edea2f908c7ff3f42f7532e7e61da14d9a7f550c230c5e187 SHA512 9e775926d8312cce562865d8fa0a18da96b6ce68f90b33f2994e2bcfca8b4458a879ad24c1032bb3ce980808960f4349212780cb7f31b74df4deb1592b163a62 -EBUILD libplacebo-7.349.0.ebuild 3376 BLAKE2B a096eb2162cbd029193cbebb99b67619e619f8d3a9d0221bae5d96aaf205f9769468f3a037162e278af675d112c9987ce1f752f2bf13a9b24701c2c3228a11ca SHA512 f441678f874752ba0f7f484cb0cb1e47c212ddc836e62fffe25eb5c667827b1cca0401b5b63ca01a58c8752bb5fac1cf8fb5d7f0e571e9ce3694721a59663bd7 +EBUILD libplacebo-7.349.0.ebuild 3371 BLAKE2B 6dc3cfa0829c429cd7c74ed2417b34a6cf4aa16e538950b8501b09dd788a5ea112ead070327e8b2edea2f908c7ff3f42f7532e7e61da14d9a7f550c230c5e187 SHA512 9e775926d8312cce562865d8fa0a18da96b6ce68f90b33f2994e2bcfca8b4458a879ad24c1032bb3ce980808960f4349212780cb7f31b74df4deb1592b163a62 EBUILD libplacebo-9999.ebuild 3376 BLAKE2B a096eb2162cbd029193cbebb99b67619e619f8d3a9d0221bae5d96aaf205f9769468f3a037162e278af675d112c9987ce1f752f2bf13a9b24701c2c3228a11ca SHA512 f441678f874752ba0f7f484cb0cb1e47c212ddc836e62fffe25eb5c667827b1cca0401b5b63ca01a58c8752bb5fac1cf8fb5d7f0e571e9ce3694721a59663bd7 MISC metadata.xml 794 BLAKE2B 7611ec1c500c2aeff415b9bda5b7a8f64df1e005972902eacc6fe25f84c8c68089041c0015e6ee82062eab9ae0127f502068a116ac01b6f9bbf4269ff8bf1987 SHA512 a8173a71e13137f432bef3b490b05c2e2899a935ed33259b21c488976deb78a860d09a81c8778e23f0b5eb42d02bcfe8a1867da98f4f29713864c21d463c0667 diff --git a/media-libs/libplacebo/libplacebo-7.349.0.ebuild b/media-libs/libplacebo/libplacebo-7.349.0.ebuild index 0bf9834ccf55..8832825d47b9 100644 --- a/media-libs/libplacebo/libplacebo-7.349.0.ebuild +++ b/media-libs/libplacebo/libplacebo-7.349.0.ebuild @@ -22,7 +22,7 @@ else ) " S="${WORKDIR}/${PN}-v${PV}" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86" fi DESCRIPTION="Reusable library for GPU-accelerated image processing primitives" diff --git a/media-libs/libprojectm/Manifest b/media-libs/libprojectm/Manifest index a91a5bce7ce6..da408d6e3156 100644 --- a/media-libs/libprojectm/Manifest +++ b/media-libs/libprojectm/Manifest @@ -1,6 +1,6 @@ DIST libprojectm-3.1.12.tar.gz 52831726 BLAKE2B f9a9ecf8fc55b49e664a61a5c0ca3eef745b00390d5dd3b1549d6d68985c246834d35adb96ab8595e2bf78997c4688096c7931a6be54ea9d867bfdbe5a427832 SHA512 6d265280f3e3e952686ebf77afd8b083669e9ab81d2d9d122168d47747c367ff3b17ab682cc041e4ac9cee9607b7393b5dcb067deac95fcbb97d63a9656912a5 DIST libprojectm-4.1.1.tar.gz 47988154 BLAKE2B 47fd71d857f307ea09c87d36102662423d1df4d62f36f23373fcba36760312bd4e4d11408a3f4820b5caedd2e31bfd0dfc1e551c1bf27eb0ba33149f8ea13ebe SHA512 af38913e56d46ed15118b2dccd2701f9bf043bb3103f58ad2ebbfaffc60c3ed4e1b0eb3d8f922bdffb0001acfa5e3d23633a4903250fd00ede0dede1e6e1ba47 EBUILD libprojectm-3.1.12-r2.ebuild 1430 BLAKE2B b258d36deab18db1cd795941e9f8314974d33504e0b7b8c2fb0caa3e892f1f475eefa85df17689c9b7404899170b4b250a0d01512351d91672690caac1e8c34e SHA512 2ccc4cc5912c88cbf6460f76d7beffa2f5c0cedb9fe2142a00d1e597bed23f94d2db03b8a7b7b6f89890789a3cfb7adc095a450c39c32e4ee152a6d34a24e400 -EBUILD libprojectm-4.1.1-r1.ebuild 1107 BLAKE2B 3becb7095e128e72ffefe14d186c9f6a3ea9ab4f3f0c6b4d7795811b39df15ab350be26968312f441ab2e56609889d6225570e34847510f757add590f4fe6442 SHA512 450fe7c191016c180f63b1b9c0b6dab2dc130599c47ae4c28b199123656c340ebca16118aa1e2f4ac9d6aa843d0babf931d17433faa407ac0c851c3bcdef2015 +EBUILD libprojectm-4.1.1-r1.ebuild 1100 BLAKE2B 8accd611b0b2a28c747b87f1fbf159f35f1a23a51a695f330f0616fac484aaa1988435f8bb1eed6d6c67d544600ded9e104ac489a5fb205b22608a8c6c90c9a3 SHA512 ff616dba9d6e179d0939ebf6cb2b3243d0b33d668bc89386b7ad6089dd9648d486ebc65d17a95ed07049fef76ba078d4dcfaa556f75aa16cd5464dcbf4d9a70a EBUILD libprojectm-9999.ebuild 1107 BLAKE2B 3becb7095e128e72ffefe14d186c9f6a3ea9ab4f3f0c6b4d7795811b39df15ab350be26968312f441ab2e56609889d6225570e34847510f757add590f4fe6442 SHA512 450fe7c191016c180f63b1b9c0b6dab2dc130599c47ae4c28b199123656c340ebca16118aa1e2f4ac9d6aa843d0babf931d17433faa407ac0c851c3bcdef2015 MISC metadata.xml 537 BLAKE2B 10a5d33fab64136cfe13e98831827ac21db70fc50262f89b88c0e444981b951695788a939e902c57ed3ccb69a740d8743a3bdca465bc51be0c14f28adb107242 SHA512 648699f222528a76e343792d819e69ff933e3e2d96fe4b38148b4053ad38ac684c4917ce62636abaaee8b3093837af09448e1a7e65cfcd928606295bcc0a36b4 diff --git a/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild b/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild index 404241093774..506045464288 100644 --- a/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild +++ b/media-libs/libprojectm/libprojectm-4.1.1-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == *9999 ]] ; then else MY_PV="${PV/_/-}" SRC_URI="https://github.com/projectM-visualizer/projectm/releases/download/v${MY_PV}/libprojectM-${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" S="${WORKDIR}/libprojectM-${MY_PV}" fi diff --git a/media-libs/libqaccessibilityclient/Manifest b/media-libs/libqaccessibilityclient/Manifest index 8f3cdd30b610..00a90c7170d4 100644 --- a/media-libs/libqaccessibilityclient/Manifest +++ b/media-libs/libqaccessibilityclient/Manifest @@ -2,5 +2,5 @@ AUX libqaccessibilityclient-0.5.0-memleak.patch 607 BLAKE2B f661045001090cfe8bca DIST libqaccessibilityclient-0.5.0.tar.xz 107288 BLAKE2B 1d2208adfba72d55818f25cb46901097ded51784fdfe6fafd02927f09edf4cdb285a767e174d64278cd87e907d943648856e67c7ffcffc6f7ca0082cfbf2d19c SHA512 560526596e490b19263b3a6fb77b06e69611b34865a8fe18c593348fdeba22c1afd2b6ac44bee15ad94d402996e113c41dd7fa601f815559957729e18d9d9537 DIST libqaccessibilityclient-0.6.0.tar.xz 92812 BLAKE2B 333b88003e53369c2a31955995688f7ce74c53695c392b2b4d3e2b7d312dd014617162c99d0d2c64ff4dacf8a1ed47b5f5b7ddb2ee8e8753ec212957db8d8467 SHA512 d8752b020e0f7c85dd885d2c313b2dc5a97892c9913eb430aa405b6e391e84b827abc7fcc1f9e36fee2216713cab1be41fc148ce612ed9ae3e164c5d52e2419a EBUILD libqaccessibilityclient-0.5.0-r1.ebuild 786 BLAKE2B c962472c1513796b950fb6eb70ee4506e97645f894a32564cb04e990bd95a027d8fe9760acdb104ef554029eb40cec926d76e00b78ba940b89d77803e39eca8b SHA512 a7db183d79effefa8a84a7bb18c2488278ef421680b7d52f66655c1cddd76d1ffbc4f1ec1bdcea0359cf6e0d0d50c2204b8ac9ecd5151c382a5e06a3792e3c06 -EBUILD libqaccessibilityclient-0.6.0.ebuild 689 BLAKE2B f69131c2e1c77eaba26a774450f11d13c178242805bcc10600d4a0da989a10ad544753b6cf50ef43abc9878d8de008ebb8eb7e9c167cc3e7293af0a214abbf18 SHA512 dea286946f4894e1018243e39c8aa7cd212f8c031e60106599707f11863001681b91784a575dd6c7571f9e153c2e2b9cd0298be3e224b6e75ec342b417856a57 +EBUILD libqaccessibilityclient-0.6.0.ebuild 701 BLAKE2B a943a7a066d8cf8fd47fa6b116e8daafb553fb82f22d0dce35dc673a2def7b13d268ac0d73734ceff6ea02af3d9f2c99e5569463bd80c7d00c74776f460aff8e SHA512 d7d3c6a9b38a3e1404544462360b1b62b6d0133fc49eeadbb9a199cee469dce40c198bd6cfe0dc75a3522d65167a37db4f1b78549537d57dfbe24ee46de21cf8 MISC metadata.xml 395 BLAKE2B 538aa83daab942d1e06d11b44e519d69d6082600eea8e3800d1f3c2f90e3aa120f46711bd27b969ed88a022fbebf4cd3ec33d75af9b9e139c816fed9d8dbacad SHA512 9718e57485b7731432060c34bfd382afb9889881253182218ba8c505a742b2162b0c7e50e4a41e0e3ca56e9ca1516650cc06f06ef12f736e35b62ac1c3bd0646 diff --git a/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.6.0.ebuild b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.6.0.ebuild index ae2f97327b25..770b0824f694 100644 --- a/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.6.0.ebuild +++ b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.6.0.ebuild @@ -16,7 +16,7 @@ https://invent.kde.org/libraries/libqaccessibilityclient" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~riscv" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi LICENSE="LGPL-2.1" diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 334d66ed583d..f223df2b8a6f 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -1,8 +1,10 @@ AUX libsdl2-2.0.16-static-libs.patch 2118 BLAKE2B 836fabd17be1520ad76baaf92a0ad357093bc08a5c1767edb1c81c9099fd27aadbf0525ab0666a560a3c728983f425864f1f513693801a8fa50edde5d32a3703 SHA512 f578e5ab1852705cfad4bf8b4a8aa36fb34637f3b26b83a9821716d08fc1152d7ea18daea623f540c860cd7a7566c4b8902b2cac2ae6d541e36e7bd15363d58a +AUX libsdl2-2.28.5-fix-libdecor-0.2.patch 1195 BLAKE2B cd07f864e8091796d20ade4f4fd9c62bd61d684da62e1639260b4737bf083f0828bcba116dc45f2db81dc3117853660e8fcaf143ffb192b6b30f41099d3aa256 SHA512 4291d5f8ca2370698ddb795c77673b110f802ab9c8c19213064b5e1268b5a92262b4cd065cf96c277a28ff319e8562ba6b7e74f5c53f0a60e22502d1b1b8fb03 DIST SDL2-2.28.5.tar.gz 7345355 BLAKE2B c96481bc02af6b6d077247238f7e46b0e3ec216664584add29cafb0a91d06dc6ddc637a01519dbd7182d4fa59cfaf26ad6733f72583021cf65849416f9c4b698 SHA512 12593eb78fcca877a8dfb78cf21a4e6feba7dc87c964de378ac462b36d8e41ecb587222cb41d5f56dd35b838e1b9867b8ae0cf2f4d2a01afaf23ac8c11edc84d DIST SDL2-2.30.2.tar.gz 7426565 BLAKE2B 258084c6965281951b78619d7ebcd80b0f6873f54ded93d35b6b898f0533fef9a29bef4a8babe53df50bc589b0565b3a3b1378a930b43fdce575c4a5baa70864 SHA512 19316bb4c483a8c4be2140b70d906b7767beabada481873217a9207bd41e79c1854a837e1394325f59795da010f5344f791a7973a846b8189e3f9b662f408aca DIST SDL2-2.30.3.tar.gz 7425677 BLAKE2B 9918723bc3a0bc3abfc6d47b4fc7eeabcafdc9925ee93e4f31b3637e843a5b060ae61aef9b93743340a9df914248cff510e5d38e758e032b5ed4df9eed587746 SHA512 75ddea9ac3c2130e9f6036b4718dbe3d9d1b40dab3cd48d3d488d5a397dd0c226c0573bf18d82eb41498800accf045e259d2ae305f069fad7b34e47a017f2372 -EBUILD libsdl2-2.28.5-r1.ebuild 7364 BLAKE2B 49292871623fea2f3fab3e4463edab75d3546b917a125af7f51dde859ebca093fb276b809f113dfedc4e1f255a743d0dbe454c7988df3acef476ec208fc9849d SHA512 3d8e1d82746208b3d330ee63f30169c05aba1c49d9c336f7b6ab8998539bba7472b749b00a95bdaa3df3c9bfc4a5f932809739a1955ef6f08e99451fc0e845d9 +EBUILD libsdl2-2.28.5-r1.ebuild 7385 BLAKE2B 74314d489f7d6b6d87223779f4a559492ad50b2efe9731b7696149756ddce40d3a193eb72a405d38cff3a88bf26faf2d65339a874f7e68c0316e0d91d5c0aaf4 SHA512 82e8160883795b7dd0a996bd86fad3dcc0c56847e531ecaea28f4edf0a7e449931589697b9e0eeb10328ca768b8be2081b3b9065d49167286d99b77ecb20bd7e +EBUILD libsdl2-2.28.5-r2.ebuild 7516 BLAKE2B da5807c940561d2e8174c9e2d2a2d46d59c73114a33f257f3818d8e489830a9ed5762810a5961161eb1763ae38411f6a70645198328430135a39e9b5759eba56 SHA512 e6719488f5bcbfff93338421a49cfb0e0c1c1a7546fd42d02e8d18e22a89b880ce73e743b587f06301a6303f95f46f9d2b42af01aa42c79530b1d74770c01242 EBUILD libsdl2-2.30.2-r1.ebuild 5733 BLAKE2B 1273e09d22913088d85bea63a86e028c519fc9d2b3daa7fd692ac791dba38652675a0bd526f3cb15c58313e65b9ade40fe67df910bef714df94f607cc666f04d SHA512 14830fad12f2af6ee408e94d2f5f7baece0c6028df4e48dae97594b9833ee3da02b80e1c0da148c574d169f42a414cd30e29f21101a132b7b33cdc122a80c127 EBUILD libsdl2-2.30.3.ebuild 5869 BLAKE2B 0d0d966f51d216b50c7123bb8a888dd059ff4dbd36e78a1b53a52fa0ed39c38d518ddc9da27ea26f12ee655a4d3335a0fc2eb9612c7efca62767fb1b20f73c60 SHA512 b288f5412d8b50816132f98777f4a34d0859270214dff6f68fd734c99316ec2a7a83de8d9c0e90d8362163583c587a35683caf8ebabb71cd626d839b0c992b47 MISC metadata.xml 1945 BLAKE2B 0f4c4a1526296bfbef001169c45626f0393cfcb6f5003d3d644c1ff1ef0197fdd38ddc2f16f1c1590ef895448bd6aa85ea3619a31487609d9ea2569077decd64 SHA512 d25c6e3b2cf3055f2faf71d926d5ad01c5b528f1349284dc3097607015ed93c70116223db0078d8ae764b598bc13a99f1b82cebe1e65206ea737508bdede12df diff --git a/media-libs/libsdl2/files/libsdl2-2.28.5-fix-libdecor-0.2.patch b/media-libs/libsdl2/files/libsdl2-2.28.5-fix-libdecor-0.2.patch new file mode 100644 index 000000000000..9ba92e98253b --- /dev/null +++ b/media-libs/libsdl2/files/libsdl2-2.28.5-fix-libdecor-0.2.patch @@ -0,0 +1,19 @@ +Fix static build with libdecor 0.2.0 + +Backports https://github.com/libsdl-org/SDL/commit/4ce935b9106a0311436e41c5f28f00db30a93de1 to libsdl2-2.28 +Bug: https://bugs.gentoo.org/936443 +--- a/src/video/wayland/SDL_waylandsym.h ++++ b/src/video/wayland/SDL_waylandsym.h +@@ -221,10 +221,10 @@ SDL_WAYLAND_SYM(int, libdecor_dispatch, (struct libdecor *, int)) + + #if defined(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR) || defined(SDL_HAVE_LIBDECOR_VER_0_2_0) + /* Only found in libdecor 0.1.1 or higher, so failure to load them is not fatal. */ +-SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_min_content_size, (struct libdecor_frame *,\ ++SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_min_content_size, (const struct libdecor_frame *,\ + int *,\ + int *)) +-SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_max_content_size, (struct libdecor_frame *,\ ++SDL_WAYLAND_SYM_OPT(void, libdecor_frame_get_max_content_size, (const struct libdecor_frame *,\ + int *,\ + int *)) + #endif diff --git a/media-libs/libsdl2/libsdl2-2.28.5-r1.ebuild b/media-libs/libsdl2/libsdl2-2.28.5-r1.ebuild index 1cc51ae15ab6..e45f84fe9aed 100644 --- a/media-libs/libsdl2/libsdl2-2.28.5-r1.ebuild +++ b/media-libs/libsdl2/libsdl2-2.28.5-r1.ebuild @@ -179,6 +179,7 @@ multilib_src_configure() { $(use_enable sound dummyaudio) $(use_enable wayland video-wayland) --disable-wayland-shared + --disable-libdecor $(use_enable video_cards_vc4 video-rpi) $(use_enable X video-x11) --disable-x11-shared diff --git a/media-libs/libsdl2/libsdl2-2.28.5-r2.ebuild b/media-libs/libsdl2/libsdl2-2.28.5-r2.ebuild new file mode 100644 index 000000000000..d8fd3b351009 --- /dev/null +++ b/media-libs/libsdl2/libsdl2-2.28.5-r2.ebuild @@ -0,0 +1,267 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +MY_P="SDL2-${PV}" +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="https://www.libsdl.org/" +SRC_URI="https://www.libsdl.org/release/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + +IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus doc fcitx4 gles1 gles2 +haptic ibus jack +joystick kms libsamplerate nas opengl oss pipewire pulseaudio sndio +sound static-libs test +threads udev +video video_cards_vc4 vulkan wayland X xscreensaver" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + alsa? ( sound ) + fcitx4? ( dbus ) + gles1? ( video ) + gles2? ( video ) + haptic? ( joystick ) + ibus? ( dbus ) + jack? ( sound ) + nas? ( sound ) + opengl? ( video ) + pulseaudio? ( sound ) + sndio? ( sound ) + vulkan? ( video ) + wayland? ( gles2 ) + xscreensaver? ( X ) +" + +COMMON_DEPEND=" + virtual/libiconv[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) + fcitx4? ( app-i18n/fcitx:4 ) + gles1? ( media-libs/mesa[${MULTILIB_USEDEP},gles1(+)] ) + gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2(+)] ) + ibus? ( app-i18n/ibus ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + kms? ( + >=x11-libs/libdrm-2.4.82[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm(+)] + ) + libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] ) + nas? ( + >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] + ) + opengl? ( + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + ) + pipewire? ( media-video/pipewire:=[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:=[${MULTILIB_USEDEP}] ) + udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) + wayland? ( + >=dev-libs/wayland-1.20[${MULTILIB_USEDEP}] + gui-libs/libdecor[${MULTILIB_USEDEP}] + >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl(+),gles2(+),wayland] + >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}] + ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXfixes-6.0.0[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) + ) +" +RDEPEND=" + ${COMMON_DEPEND} + vulkan? ( media-libs/vulkan-loader ) +" +DEPEND=" + ${COMMON_DEPEND} + ibus? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) + test? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) + vulkan? ( dev-util/vulkan-headers ) + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + app-text/doxygen + media-gfx/graphviz + ) + wayland? ( >=dev-util/wayland-scanner-1.20 ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/SDL2/SDL_config.h + /usr/include/SDL2/SDL_platform.h + /usr/include/SDL2/begin_code.h + /usr/include/SDL2/close_code.h +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.16-static-libs.patch + "${FILESDIR}"/${PN}-2.28.5-fix-libdecor-0.2.patch +) + +src_prepare() { + default + + # Unbundle some headers. + rm -r src/video/khronos || die + ln -s "${ESYSROOT}/usr/include" src/video/khronos || die + if ! use vulkan + then + sed -i '/testvulkan$(EXE) \\/d' "test/Makefile.in" || die + fi + + # SDL seems to customize SDL_config.h.in to remove macros like + # PACKAGE_NAME. Add AT_NOEAUTOHEADER="yes" to prevent those macros from + # being reintroduced. + # https://bugs.gentoo.org/764959 + AT_NOEAUTOHEADER="yes" AT_M4DIR="${BROOT}/usr/share/aclocal acinclude" \ + eautoreconf +} + +multilib_src_configure() { + use custom-cflags || strip-flags + + if use ibus; then + local -x IBUS_CFLAGS="-I${ESYSROOT}/usr/include/ibus-1.0 -I${ESYSROOT}/usr/include/glib-2.0 -I${ESYSROOT}/usr/$(get_libdir)/glib-2.0/include" + fi + + # sorted by `./configure --help` + local myeconfargs=( + $(use_enable static-libs static) + --enable-system-iconv + --enable-atomic + $(use_enable sound audio) + $(use_enable video) + --enable-render + --enable-events + $(use_enable joystick) + $(use_enable haptic) + --enable-power + --enable-filesystem + $(use_enable threads pthreads) + --enable-timers + --enable-file + --enable-loadso + --enable-cpuinfo + --enable-assembly + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable cpu_flags_x86_sse ssemath) + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable cpu_flags_x86_3dnow 3dnow) + $(use_enable cpu_flags_x86_sse sse) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable oss) + $(use_enable alsa) + --disable-alsa-shared + $(use_enable jack) + --disable-jack-shared + --disable-esd + $(use_enable pipewire) + --disable-pipewire-shared + $(use_enable pulseaudio) + --disable-pulseaudio-shared + --disable-arts + $(use_enable libsamplerate) + --disable-libsamplerate-shared + --disable-werror + $(use_enable nas) + --disable-nas-shared + $(use_enable sndio) + --disable-sndio-shared + $(use_enable sound diskaudio) + $(use_enable sound dummyaudio) + $(use_enable wayland video-wayland) + --disable-wayland-shared + $(use_enable wayland libdecor) + --disable-libdecor-shared + $(use_enable video_cards_vc4 video-rpi) + $(use_enable X video-x11) + --disable-x11-shared + $(use_enable X video-x11-xcursor) + $(use_enable X video-x11-xdbe) + $(use_enable X video-x11-xfixes) + $(use_enable X video-x11-xinput) + $(use_enable X video-x11-xrandr) + $(use_enable xscreensaver video-x11-scrnsaver) + $(use_enable X video-x11-xshape) + $(use_enable aqua video-cocoa) + --disable-video-directfb + --disable-fusionsound + --disable-fusionsound-shared + $(use_enable kms video-kmsdrm) + --disable-kmsdrm-shared + $(use_enable video video-dummy) + $(use_enable opengl video-opengl) + $(use_enable gles1 video-opengles1) + $(use_enable gles2 video-opengles2) + $(use_enable vulkan video-vulkan) + $(use_enable udev libudev) + $(use_enable dbus) + $(use_enable fcitx4 fcitx) + $(use_enable ibus) + --disable-directx + --disable-rpath + --disable-render-d3d + $(use_with X x) + ac_cv_header_libunwind_h=no + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + + if use test; then + # Most of these workarounds courtesy Debian + # https://salsa.debian.org/sdl-team/libsdl2/-/blob/debian/latest/debian/rules + local mytestargs=( + --x-includes="/usr/include" + --x-libraries="/usr/$(get_libdir)" + SDL_CFLAGS="-I${S}/include" + SDL_LIBS="-L${BUILD_DIR}/build/.libs -lSDL2" + ac_cv_lib_SDL2_ttf_TTF_Init=no + CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" + ) + + mkdir "${BUILD_DIR}/test" || die + cd "${BUILD_DIR}/test" || die + ECONF_SOURCE="${S}/test" econf "${mytestargs[@]}" + fi +} + +multilib_src_compile() { + emake all V=1 + use test && emake -C test all V=1 +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + cd docs || die + doxygen || die + fi +} + +multilib_src_test() { + LD_LIBRARY_PATH="${BUILD_DIR}/build/.libs" emake -C test check V=1 +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + # Do not delete the static .a libraries here as some are + # mandatory. They may be needed even when linking dynamically. + find "${ED}" -type f -name "*.la" -delete || die + + dodoc {BUGS,CREDITS,README-SDL,TODO,WhatsNew}.txt README.md docs/README*.md + use doc && dodoc -r docs/output/html/ +} diff --git a/media-libs/libshumate/Manifest b/media-libs/libshumate/Manifest index 094db70df91b..8800af90402f 100644 --- a/media-libs/libshumate/Manifest +++ b/media-libs/libshumate/Manifest @@ -1,5 +1,7 @@ DIST libshumate-1.1.3.tar.xz 299644 BLAKE2B f07a583e1fd142a0601c725840e84397ed04962f828cbc15217dcdc0d767015664a06252879416e9422cb32154406dae2742ffb511404c5923ce9acab7efae0c SHA512 163cce5c9aca2f3c52da3ecb3b4a651798e314d38a145ed4c69b0510303c72a0934c24084036ca2dfaab8b008753a37f7116b0bd2907cddc78a2aceee4f847d2 DIST libshumate-1.1.4.tar.xz 299700 BLAKE2B 1f60b0807d99c8ea675be2ca85ada1929c51aa1a5f27bb5565ddba062626c4bde447f95ad4b7e02b6d3f57af1365501e64b5bca18dc566b3bf0ae1f47d5c638f SHA512 f2bb90255a43fbdf9b17bd69260c9054378959900adbc26db9b7417f98595f1d5c9221db4f31b78a546f7bd30d95175f4210fc7db11db6704d7de4c9ad000619 +DIST libshumate-1.2.2.tar.xz 321216 BLAKE2B f0f26798fc9a32707d5e669c0af5396ddcdff0bea9f93150f29751ab952f72bfed457f105ea0835d3b31fbb3d66934139e1a6a06e1d056d47bf2f270cc32b23c SHA512 9e1f3f26aa591ac681ccd4613ae921f4e3f3863bacd0a0dc3be56f52749135d6c035535111808d18929d5be2a6461a47739e586f20081f485bb992b4e0a22c3a EBUILD libshumate-1.1.3.ebuild 1608 BLAKE2B 7ba44ffb6b282e97b5c25fa9eaeaf09d8ea0448664b8d9e1a3e646f0a4c130af9ff83f5f0fdebcbe3030a80ce0fbff7827f5d2a2085e023bd49172360f6e6353 SHA512 c9f976ad26fdf93d058c64100f9db65fd9f9242fa146a7f551dec1ea5749a22581d2a51518689daf7800ed1be173cc77b5cf88852546c7e2f23c5ae7831c7f0e EBUILD libshumate-1.1.4.ebuild 1611 BLAKE2B 5dc2303798124fa9f570b592951c3b7820cde4847c4e7d1d6ae6877c7a811088597bc8fa4e5c40083c487afb38d78035a27c22dfe5c2d532a2329a61a226623a SHA512 25a71dfb501c443f83bc1486bf7fa6532eb04d28401bce4f54bbaae83cfd7d43660ebe2fa7d8e5565590332cd5712f181c8b1a8488080bccf3f3b50a02b8d0f6 +EBUILD libshumate-1.2.2.ebuild 1399 BLAKE2B 007218fb1c6fb00949ba4b63af434f7329f087813f8b3f04b712a2f945d6cda1da0bf8315545e299cae676f2dfe95cf21d402be3c02f1c0900371624ff5c3832 SHA512 7c83e5ba08fbf90b73be399b875c5d83ed7378145a26738f83f4b6762a1c94b2e7e572e0c2ca222e0f6cb21b144cdbfa8faf0ca117327118645b23aa01a5c854 MISC metadata.xml 445 BLAKE2B 58a069a9ded7b8fab96c93fd3b11e1fd7b4ae4a58966f5bbeedb560547005a56f62167bc31aa5c05ca68f1855e12c2d915825922d5b6504e359893e0786579a5 SHA512 3e5352258641f4a9e6722777971cc3fb02359e831708c1749f2d77c7b15d147adbf54097d311435f5220cd49bab9e298b3379f4a59c0f4563a6706f608343299 diff --git a/media-libs/libshumate/libshumate-1.2.2.ebuild b/media-libs/libshumate/libshumate-1.2.2.ebuild new file mode 100644 index 000000000000..425d110b1dd0 --- /dev/null +++ b/media-libs/libshumate/libshumate-1.2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala virtualx + +DESCRIPTION="Shumate is a GTK toolkit providing widgets for embedded maps" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libshumate" + +LICENSE="LGPL-2.1+" +SLOT="1.0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" +REQUIRED_USE="gtk-doc? ( introspection )" + +IUSE="gtk-doc +introspection sysprof vala" + +RDEPEND=" + >=dev-libs/glib-2.74.0:2 + >=x11-libs/cairo-1.4 + >=dev-db/sqlite-1.12:3 + >=gui-libs/gtk-4:4 + >=net-libs/libsoup-3.0:3.0 + introspection? ( >=dev-libs/gobject-introspection-0.6.3:= ) + >=dev-libs/json-glib-1.6.0[introspection?] + dev-libs/protobuf-c +" +DEPEND="${RDEPEND} + sysprof? ( dev-util/sysprof-capture:4 ) +" +BDEPEND=" + gtk-doc? ( >=dev-util/gi-docgen-2021.1 ) + vala? ( $(vala_depend) ) +" + +src_configure() { + local emesonargs=( + $(meson_use introspection gir) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + -Ddemos=false # only built, not installed + -Dvector_renderer=true + $(meson_feature sysprof) + ) + meson_src_configure +} + +src_test() { + virtx dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +src_install() { + meson_src_install + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html || die + mv "${ED}"/usr/share/doc/libshumate-1.0 "${ED}"/usr/share/gtk-doc/html/libshumate-1.0 || die + fi +} diff --git a/media-libs/libsidplayfp/Manifest b/media-libs/libsidplayfp/Manifest index 5757fd405210..719b28486c56 100644 --- a/media-libs/libsidplayfp/Manifest +++ b/media-libs/libsidplayfp/Manifest @@ -1,5 +1,5 @@ -DIST libsidplayfp-2.7.1.tar.gz 806267 BLAKE2B 7bc484fb80b42dce8bdf679db58d118d30bb90ddaad059ab2c7d981220d5faa281e608d43ed47e8fa64080f671e5c9b7bb5950d91c90a735c97dc6f70b651d65 SHA512 3f7ebca088922a4ecd3f84351f1ac0cbc1d6c04f672434bd72c9d5a60b0c1cc19adffe86167da809d0352e2cd104a9ecec42aad10a69156d5c3c58f6b9caca31 DIST libsidplayfp-2.8.0.tar.gz 805758 BLAKE2B bb9aac09c4325cbdfa0c258cd6a7ba0de8fa372a778bccc1aa4135d6b69cc6ce5a848fc04429bcce573b91546a44960741755d0aa1e3dfe25a26795d2c2cbba0 SHA512 2744d0def52c505273de64301848dd570a5f1c267299b6bf0a7914a148a05b7449b490ac98a69ca45bffe826b1ef043cdd6aa9bd878a9eff88b6459d52132237 -EBUILD libsidplayfp-2.7.1.ebuild 685 BLAKE2B dae51274f54b5fd7a13c1ae93a7421f1c19e00c65f06e91df328db88ab33d39dc13d2eb9926e6c422827054d62db69f6be80d75e0c311f5b56ac6ece4d90f6ff SHA512 b993aa6da66d5f33c3bec51b6b1e5565bcea2b862e61cdb8021f6a1dce403fed5ae28945d260efdcbb86a81c4a84b58f3ef3b3f6601d43032241cae59a652794 -EBUILD libsidplayfp-2.8.0.ebuild 687 BLAKE2B 89257d5934cd9327850f3719e4fa316f15b3d124c722a7b026689e099a12faa3eca8ecbd8bba245043ea15603ea223aea103986df2fa495982e09a11347c23bc SHA512 faa54ae1b2098e9f988edda7fa3dcaebfe9dd1af6d44e26dbcccf228e06bc980d14a387f4c1d361c6dea462c921f789fc214a9c86f00650c747f1f382d4b7538 +DIST libsidplayfp-2.9.0.tar.gz 807772 BLAKE2B 9ec5066a69f912c4183e98c4883875b646c9f6150ab4bd3c8d9a7110a9c75529cdb6f8aeac8d379ecacf2c0ec6181a8ee13ff93bcc53f296b8900b0e6c8d5281 SHA512 3d6b0b6ab5155da3ae4cface17a2fe85deb1dd8ab8076dba60f04e5df78b10dc9b756b408734a1012e254d3d24d8cfcf15b562fdb1f28edd756a5d63719595b0 +EBUILD libsidplayfp-2.8.0.ebuild 685 BLAKE2B dae51274f54b5fd7a13c1ae93a7421f1c19e00c65f06e91df328db88ab33d39dc13d2eb9926e6c422827054d62db69f6be80d75e0c311f5b56ac6ece4d90f6ff SHA512 b993aa6da66d5f33c3bec51b6b1e5565bcea2b862e61cdb8021f6a1dce403fed5ae28945d260efdcbb86a81c4a84b58f3ef3b3f6601d43032241cae59a652794 +EBUILD libsidplayfp-2.9.0.ebuild 687 BLAKE2B 89257d5934cd9327850f3719e4fa316f15b3d124c722a7b026689e099a12faa3eca8ecbd8bba245043ea15603ea223aea103986df2fa495982e09a11347c23bc SHA512 faa54ae1b2098e9f988edda7fa3dcaebfe9dd1af6d44e26dbcccf228e06bc980d14a387f4c1d361c6dea462c921f789fc214a9c86f00650c747f1f382d4b7538 MISC metadata.xml 339 BLAKE2B 79d766f101909c202affb7cc72bbefdfb8d5b44fcbf74f17f98e665351384a8110aec7ddec0c685fb328198d29ae4953ce341cda3dd4abd2a67f157d90628175 SHA512 172879da9ed0be1ff48d75d23d3b23e3070247b4ef1decb291b020f7bc1522dd033e78f92d38511eedaae7c1944edc5bb05ff763f4d20a6b7015198ebd38f16f diff --git a/media-libs/libsidplayfp/libsidplayfp-2.8.0.ebuild b/media-libs/libsidplayfp/libsidplayfp-2.8.0.ebuild index bc7c3460f07e..4eefc5282af5 100644 --- a/media-libs/libsidplayfp/libsidplayfp-2.8.0.ebuild +++ b/media-libs/libsidplayfp/libsidplayfp-2.8.0.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/sidplay-residfp/${PN}/$(ver_cut 1-2)/ LICENSE="GPL-2" SLOT="0/6" -KEYWORDS="~amd64 ~hppa ~riscv ~x86" +KEYWORDS="amd64 ~hppa ~riscv x86" IUSE="static-libs" src_prepare() { diff --git a/media-libs/libsidplayfp/libsidplayfp-2.7.1.ebuild b/media-libs/libsidplayfp/libsidplayfp-2.9.0.ebuild index 4eefc5282af5..bc7c3460f07e 100644 --- a/media-libs/libsidplayfp/libsidplayfp-2.7.1.ebuild +++ b/media-libs/libsidplayfp/libsidplayfp-2.9.0.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://downloads.sourceforge.net/sidplay-residfp/${PN}/$(ver_cut 1-2)/ LICENSE="GPL-2" SLOT="0/6" -KEYWORDS="amd64 ~hppa ~riscv x86" +KEYWORDS="~amd64 ~hppa ~riscv ~x86" IUSE="static-libs" src_prepare() { diff --git a/media-libs/libspng/Manifest b/media-libs/libspng/Manifest new file mode 100644 index 000000000000..4cc83f5ea92b --- /dev/null +++ b/media-libs/libspng/Manifest @@ -0,0 +1,3 @@ +DIST libspng-0.7.4.tar.gz 159230 BLAKE2B 3deaf6b1687fc6951aa4ccc844d1716e37ecaac3954894c3e601bc702ef184e7b7a553498afce79ae033a035b5d9eb19d0dea74fd00bed9218094cb4b583b3ce SHA512 cd729653599ed97f80d19f3048c1b3bc2ac16f922b3465804b1913bc45d9fc8b28b56bc2121fda36e9d3dcdd12612cced5383313b722a5342b613f8781879f1a +EBUILD libspng-0.7.4.ebuild 593 BLAKE2B da04796d2db2539bd28acfd3151151aea07d45c1a927129afb84e97069790acea21b80799aec9fc435d6c4a2d87153f31eb4f79fd6630c927da10a9109d10520 SHA512 c91614272218dd03fd460c7816288c6d6f8b39ddf4ea89c9bcdc7bb4bc4517c39ec05adce2e1237d8b54ffecf5b069366555224d69ea9e0c7de9fbb7adb4667f +MISC metadata.xml 466 BLAKE2B 65015dc2e2698bc2c82def971a78f84eba94edb717c57d79f8e6775a0990dc0bf3c47d6398490e193f91d0fef04f733b27d51651cc6791d68641e666d6f42095 SHA512 8639c2aef749df8c31ca5ec6b52d1f807946a45eae07929f3764a099d57147461a69be3f16f9f9b12ea489242436cad42b8fe581b8e8715af7623053947f0d45 diff --git a/media-libs/libspng/libspng-0.7.4.ebuild b/media-libs/libspng/libspng-0.7.4.ebuild new file mode 100644 index 000000000000..b7176cf79366 --- /dev/null +++ b/media-libs/libspng/libspng-0.7.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Simple, modern libpng alternative" +HOMEPAGE="https://github.com/randy408/libspng" +SRC_URI=" + https://github.com/randy408/libspng/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib +" +DEPEND=" + ${RDEPEND} + test? ( + >=media-libs/libpng-1.6.0 + ) +" + +src_configure() { + local emesonargs=( + $(meson_use test dev_build) + ) + + meson_src_configure +} diff --git a/media-libs/libspng/metadata.xml b/media-libs/libspng/metadata.xml new file mode 100644 index 000000000000..f6a0ccb4a893 --- /dev/null +++ b/media-libs/libspng/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">randy408/libspng</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/libsvgtiny-pixbuf/Manifest b/media-libs/libsvgtiny-pixbuf/Manifest index 00b9f501e1af..f7eebf46715b 100644 --- a/media-libs/libsvgtiny-pixbuf/Manifest +++ b/media-libs/libsvgtiny-pixbuf/Manifest @@ -1,3 +1,3 @@ DIST libsvgtiny-pixbuf-0.0.2.tar.xz 263100 BLAKE2B 1afebcfaf77dbd765ee6c6b4dae1decab2f5458bd7ccfcae8a4b5b02e71c53999d130f698b9d5619fff40ecb96a98f7d63f984e182a525720c3c9df9fc5dc227 SHA512 bf657fd341cab1f9b7ff81f9d517096176e6b82d14c2d6be12e0b6a8420e787bd8c9d7324ecccad8c0a01c839b9de0ecf6f998996571dcba8e9b6c22c28bbe56 -EBUILD libsvgtiny-pixbuf-0.0.2.ebuild 667 BLAKE2B 0291ac41f65092a59b2f00a9a81e74237a2b4f5e8853efc47a63d88faa1da718b8af1a115787d317c40bcfeb90d67ec959c808073abfde932f12087d17ad76bb SHA512 1a3cdcfbb8d26a03cbb801e2644ad4253cd60695bf8f6894707c082a5df7bafbe45430861830b29403b43a3f872346b8d0bae674ff275491b5f3d1a3ad2d8658 +EBUILD libsvgtiny-pixbuf-0.0.2.ebuild 674 BLAKE2B 8ea2eaaeb31da5eaaa7d8731e7322ac068c6f46a6c9bc7080f07540cf360231ea4b6d1868feb7481e57dccb9a346cffb7d834814fdbf78d04b42c18f288aaec5 SHA512 b46f01ab966e8384f755b03c33cbbc8fcd8ed13e39adc7837b62da497ab44ef075f4e2258c731c665c57f26d38fe1559bdb099a3dd04db2a132f4318e90d7293 MISC metadata.xml 410 BLAKE2B 477e5b88250e37a88df946d5cf13995c80986d3a6e14916a8f94f74a3c0a08f026923a0aa0aa6e7c1952022671e54a5727e4d7dc42135ff48d875bd5c3e1720b SHA512 e3431d0ef28a06ec69371eb190be35f21b3b0e52b981496b1e5294ec592663c2bd58241a771189e2b06e7a9f102ca406851bfd277adb75f4f1c994a42dfd0dbd diff --git a/media-libs/libsvgtiny-pixbuf/libsvgtiny-pixbuf-0.0.2.ebuild b/media-libs/libsvgtiny-pixbuf/libsvgtiny-pixbuf-0.0.2.ebuild index 8f8ea2a0abab..ffc0abe23372 100644 --- a/media-libs/libsvgtiny-pixbuf/libsvgtiny-pixbuf-0.0.2.ebuild +++ b/media-libs/libsvgtiny-pixbuf/libsvgtiny-pixbuf-0.0.2.ebuild @@ -8,7 +8,7 @@ HOMEPAGE="https://michael.orlitzky.com/code/libsvgtiny-pixbuf.xhtml" SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.xz" LICENSE="AGPL-3" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="amd64 ~riscv" RDEPEND="dev-libs/libxml2:= media-libs/libsvgtiny:= diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest index 2d5d17eca266..112ea80828da 100644 --- a/media-libs/libv4l/Manifest +++ b/media-libs/libv4l/Manifest @@ -1,9 +1,9 @@ AUX libv4l-1.26.0-meson.patch 3156 BLAKE2B c0b91160b4a065458e2889a196671f4fe083fa44c0061c00ecb1f272274af5edc00780bbe74003a03264a3d50ca5af010f4c75ce574547a1d39a09ebf1f72ec1 SHA512 f20f72ac9edc1ac188b838975dac7f5a64fb37910c6e714003121355a587bc6610e70a355fceb15839051ca9ca5042695e83ee424b1238e8159e0ffdb971e878 AUX libv4l-1.26.1-libcxx.patch 1681 BLAKE2B 7a9caceeb658b11161ceffd62337b7415688cc52498a6ee710c392f812dc3489b9fc670116e11a077f1d3a6e31be51dadd7d2f3e94e4cd9fa52b5109a4fb379b SHA512 c9750908a19454ea31b8a8167350c375040acbcde75c798062d712d9d5cb17d87175beb4c10abcab20fa6f13a21cf2bfd1b809c34ee42ee7166d4dfb02a18ae0 DIST v4l-utils-1.22.1.tar.bz2 2086238 BLAKE2B a3f01a17ea7c8925c74dd883d30b42f54b7926d253dac79e4cadaba43abc33672804257b3b92e5aa640ead6b5aaaa2458f05e21642044d7dea77e5580a8dbe9a SHA512 8a634d8995d13f453dfaf90ca5d0dfb26f2f4b10a0d200d76a949c46f77040d12fc0a5b35e05d7b1ba68bcfc85a445be5a5ab1d4a7d4eabfe3a254038ccc6170 -DIST v4l-utils-1.24.1.tar.bz2 2238340 BLAKE2B 1702918699d47b17467e012c2b1875c58851175c1007351a3b40d0b0fa40437eb695efa9e21afe3351f66780899d45798eef7f23c90a4831bface70a245b8a54 SHA512 1e82ba125285e875bf4a216adedab9147009e6af1aadd79a3a1770231d3c96ec29245b33e75f69a9ce1b25011e71746db242c778ac3369148de1e9de2e318663 DIST v4l-utils-1.26.1.tar.xz 1192312 BLAKE2B 84a6b5737447fa332b64af8fdc2ecb308865528bc16487e55a4ccc00a76288239432b299ab2225829530db9158b0449f64e2e1c3fb782c7495da55ea8e7a171a SHA512 a3b12b311977afec410db8b430696e923a24e04f003a5891cc77ddeb667d0b98666a06d31a439c95ce57d9e9c9c2593c5e9dd9e7cf2be002adb95db5b8f00ac8 +DIST v4l-utils-1.28.1.tar.xz 1246516 BLAKE2B a68728ab6802754cd766453375e212624ee731a7fc9b0d0da6a4c62ce19e75968c5bdbefa33d2977d439a23f36f5c8ff83efc44dae65eed206a31ef19ea57363 SHA512 6493c97f59af5fe0ffa4bb815ebac4531f5ea2b0612c2035c7f00a888ce686ee0aeeaef982553ff9ad6441c39dac63e6c718b1bedb0541cb2ce2e3c2f91ab12f EBUILD libv4l-1.22.1.ebuild 1474 BLAKE2B 02e405372e756e104f9f12fbcf91fdad9065a7da032cdec3b5ef1e1978ec816625d605f89b79a428a5cc21cdfc9422148cb133160aee9d97775d45565ed5516c SHA512 a4b2facc7b261e0b7231374ffe7e049460b1f9da123d02e9b82e5371e6d6dea77e052ea007554b0090a2c5bfe452ca9a02f43d86d3add0bc942fde22563e577d -EBUILD libv4l-1.24.1.ebuild 1481 BLAKE2B 1ea5253e7f594b4ed2f51a3bbe002992ba979c4beb662497e5912faebfb30ce23363b851f114873b44a7d4030e20c4a350f2d92afafc1c20f503f31e4c575923 SHA512 b55663f8836ecef9c5b45a0e436c9bef3842e058af4f066c1586c6bc38a315ffe57e489741ca273816e5e99420a97ead030224f1e6058f1059d61a3d7a5b38ab -EBUILD libv4l-1.26.1.ebuild 3297 BLAKE2B e48dfeb1023184db54cd491309bd2a4978d9998dfe741b941eb5edcab350b74c6a0eb55d2ca6425df817206f30a5e42bd177911b9fd644c7a11cf7d0906736c8 SHA512 4100011c4b7b9bd775a62d4eff555772a6f451667a0a01bc7e28c20d6a33bf8f93acc7e8d5ecf46ae0d2a33b3c4aca7e609e75ee41930c5ea32ad2a2c358b4b2 +EBUILD libv4l-1.26.1.ebuild 3300 BLAKE2B 426736f90057b463d70a0764d04351f836f5e92b841feb417094a0593073bc9c7f10785a28489c12ea5877a9e489f790b60bc680003fe1bbb5ca1cec6e75ba5e SHA512 32e0aca1a0a122d924687ed16d5646c3128b43b2e6b7f2d5916b66517fb6d388262ab2453fa36c36c56b944f6d1df1cfc4aa7f2736eaef007d1bd2ada676e1a2 +EBUILD libv4l-1.28.1.ebuild 3611 BLAKE2B 42f909447826bd449e065294a814026be69e05afaa5ed662154883a2bf5dc57cba37986a3611fa18aed0fc81c97af9beec8ec7e7edd6abfd082e6842d80f381d SHA512 0928faf388acfb51abd0939d7abcf6f96a5a378b146ad967e9d324c2eef21729717059da467e23faf4f8133802df6dd05c6ca20ac728a2053c1b7b2d0b8e060e MISC metadata.xml 1333 BLAKE2B 980117d95da191d35287e97e99c1add4231438d0e5f763cd576bd9bf79ce894297bd32252b8e73a1356d14be66dde09ef0ae3307a0e856554cb024569eee63ee SHA512 da28f9574865217098fb8602d7860131e58b7c16501bef840814a3ef7870a5565795151c8b574ecc895c9614400b5ac5b444430fd147dabea0f747174d6ae7a0 diff --git a/media-libs/libv4l/libv4l-1.24.1.ebuild b/media-libs/libv4l/libv4l-1.24.1.ebuild deleted file mode 100644 index f740eb8669a1..000000000000 --- a/media-libs/libv4l/libv4l-1.24.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools linux-info multilib-minimal - -MY_P="v4l-utils-${PV}" - -DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package" -HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" -SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2" - -LICENSE="LGPL-2.1+" -SLOT="0/0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="dvb jpeg" - -RDEPEND=" - dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) - !elibc_glibc? ( sys-libs/argp-standalone ) - jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) - !media-tv/v4l2-ctl - !<media-tv/ivtv-utils-1.4.0-r2 -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - CONFIG_CHECK="~SHMEM" - linux-info_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # Hard disable the flags that apply only to the utils. - ECONF_SOURCE=${S} \ - econf \ - --disable-static \ - $(use_enable dvb libdvbv5) \ - --disable-qv4l2 \ - --disable-qvidcap \ - --disable-v4l-utils \ - $(use_with jpeg) \ - $(use_with dvb libudev) -} - -multilib_src_compile() { - emake -C lib -} - -multilib_src_install() { - emake -j1 -C lib DESTDIR="${D}" install -} - -multilib_src_install_all() { - dodoc ChangeLog README.lib* TODO - - # no static archives - find "${D}" -name '*.la' -delete || die -} diff --git a/media-libs/libv4l/libv4l-1.26.1.ebuild b/media-libs/libv4l/libv4l-1.26.1.ebuild index 3480dac0970b..7359cb46f31a 100644 --- a/media-libs/libv4l/libv4l-1.26.1.ebuild +++ b/media-libs/libv4l/libv4l-1.26.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.xz" LICENSE="LGPL-2.1+" SLOT="0/0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="bpf doc dvb jpeg qt5 tracer +utils" REQUIRED_USE=" @@ -99,7 +99,7 @@ multilib_src_configure() { $(meson_native_use_bool utils v4l-utils) -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" - -Dudevdir="$(get_udevdir)" + -Dudevdir="${EPREFIX}$(get_udevdir)" $(meson_native_use_feature doc doxygen-doc) $(meson_native_use_bool doc doxygen-html) $(meson_native_use_bool doc doxygen-man) diff --git a/media-libs/libv4l/libv4l-1.28.1.ebuild b/media-libs/libv4l/libv4l-1.28.1.ebuild new file mode 100644 index 000000000000..7f11f9769139 --- /dev/null +++ b/media-libs/libv4l/libv4l-1.28.1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info meson-multilib systemd udev xdg + +MY_P="v4l-utils-${PV}" + +DESCRIPTION="v4l-utils libraries and optional utilities" +HOMEPAGE="https://git.linuxtv.org/v4l-utils.git" +SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" +LICENSE="LGPL-2.1+" +SLOT="0/0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="bpf doc dvb jpeg qt5 qt6 tracer +utils" + +REQUIRED_USE=" + bpf? ( utils ) + qt5? ( utils ) + qt6? ( utils ) + tracer? ( utils ) +" + +RDEPEND=" + dvb? ( virtual/libudev[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + utils? ( + !elibc_glibc? ( sys-libs/argp-standalone ) + bpf? ( + dev-libs/libbpf:= + virtual/libelf:= + ) + qt6? ( + dev-qt/qtbase:6[gui,opengl,widgets,-gles2-only] + dev-qt/qt5compat:6 + media-libs/alsa-lib + virtual/opengl + ) + !qt6? ( qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5[-gles2-only(-),-gles2(-)] + dev-qt/qtwidgets:5 + media-libs/alsa-lib + virtual/opengl + ) ) + tracer? ( dev-libs/json-c:= ) + virtual/libudev + ) + !<media-tv/v4l-utils-1.26 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig + bpf? ( sys-devel/clang:*[llvm_targets_BPF] ) + doc? ( app-text/doxygen ) + utils? ( + dev-lang/perl + qt6? ( dev-qt/qtbase:6 ) + !qt6? ( qt5? ( dev-qt/qtcore:5 ) ) + ) +" + +# Not really prebuilt but BPF objects make our QA checks go crazy. +QA_PREBUILT="*/rc_keymaps/protocols/*.o" + +check_llvm() { + if [[ ${MERGE_TYPE} != binary ]] && use bpf; then + local clang=${ac_cv_prog_CLANG:-${CLANG:-clang}} + ${clang} -target bpf -print-supported-cpus &>/dev/null || + die "${clang} does not support the BPF target. Please check LLVM_TARGETS." + fi +} + +pkg_pretend() { + has_version -b sys-devel/clang && check_llvm +} + +pkg_setup() { + check_llvm + CONFIG_CHECK="~SHMEM" linux-info_pkg_setup +} + +src_prepare() { + default + use qt6 || sed -i "/^dep_qt6/s/'qt6/&DiSaBlEd/" meson.build || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_native_use_feature bpf) + -Dgconv=disabled + $(meson_feature jpeg) + $(meson_feature dvb libdvbv5) + $(meson_native_use_feature tracer v4l2-tracer) + $(meson_native_use_bool utils v4l-utils) + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" + -Dudevdir="${EPREFIX}$(get_udevdir)" + $(meson_native_use_feature doc doxygen-doc) + $(meson_native_use_bool doc doxygen-html) + $(meson_native_use_bool doc doxygen-man) + ) + if multilib_is_native_abi && { use qt6 || use qt5; }; then + emesonargs+=( + -Dqv4l2=enabled + -Dqvidcap=enabled + ) + else + emesonargs+=( + -Dqv4l2=disabled + -Dqvidcap=disabled + ) + fi + meson_src_configure +} + +multilib_src_install_all() { + dodoc ChangeLog README.lib* TODO + + if use utils; then + dodoc README.md + newdoc utils/dvb/README README.dvb + newdoc utils/libv4l2util/TODO TODO.libv4l2util + newdoc utils/libmedia_dev/README README.libmedia_dev + newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance + fi +} + +pkg_postinst() { + xdg_pkg_postinst + use utils && udev_reload + + if use utils && [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then + ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so" + ewarn "you may need to take action to avoid breakage. See" + ewarn "https://bugs.gentoo.org/767175 for more details." + fi +} + +pkg_postrm() { + xdg_pkg_postrm + use utils && udev_reload +} diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index 6e2f4dcb2222..d4f52d4cfcf9 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -1,14 +1,12 @@ AUX libva-intel-media-driver-23.3.4-Remove-unwanted-CFLAGS.patch 1530 BLAKE2B 732af31ff06fc92c7fa5375e767dfbcf52805baa52a71f26b9b2b9687eda9fe60cf9b618030040e5595aba24c9c781eb26243a257a2f025f2427a1a9d2cbafa4 SHA512 eeba11f6c4922c909aef909f145213418c32e28c19bab9b5c6051e51de9482562f1229f2236f1ed0e7365d59359827c889cabc7f81566205e47152bcea380313 AUX libva-intel-media-driver-23.3.4_testing_in_src_test.patch 2497 BLAKE2B 5db90e062447461d7310dc039f8969abd9618142b85b18d7b98dace6ef144df386f3cec3e3a1540588781ef1b92c7b6b276d8bddf30199cb0ff36dc3d7d88b3d SHA512 5a7b10a740e62c8729449d5f1d255621e5dadf944c3c9e13f8c8598c8e11c9b44b59844106825cc22d1fc30846e84539254a4c5b1295c5291638943cd314ca88 DIST intel-media-24.1.5.tar.gz 25834293 BLAKE2B 076731a57c7fbf6776df393c631e8abda7e07679b5babb28a8973b9919ce6522b3bfa92f9a1fcb173714a2c7dedec79a791a8e94d3e1962df072d1b2157692b9 SHA512 9c8121345f23153361f6458b638938896c42542c80efb0490847aa04c873a0726199985318ee6691f240def12d4f18e804971040dc1284b0cd46287756bb61ba -DIST intel-media-24.2.1.tar.gz 25838267 BLAKE2B 85a0e8416317c846c28c76a70468ba26f388482a4a4348364564df968db22703da112a1908ba371fa0f626d5771bb61cf28cb7ef824fb8a2f756062d99f8731a SHA512 79bbe7d48b14860f6340d57d5cc85d3e7c6d49ff1b95807ece4db3bcaf9d49b2f08ddabe49d9015e7fdf80241030a792dec7dcae00c393463242b69eac7c46b9 -DIST intel-media-24.2.2.tar.gz 25842653 BLAKE2B 0943e7ab47c9782a72b846c4debc233382d04d77e956a71a93c790930dca8b619b59b40a2f530f58db2f9a1b70b1bdbea7e78cf303301ca8311130aa3e59afb1 SHA512 e2d556a57b61a8a0d89e00858406121aac8dd7b44b1291c2f7af90d127d002a1c6acffc8d7d69502e646fe2057fbabd625eec5b3271b784c3c9b1835e23d4bdd -DIST intel-media-24.2.3.tar.gz 25843886 BLAKE2B 4f9403d66883083f13f5a33939a9b30625521b1d918813de0b50bcc462497a52add0d0878adb487fefd836163a5e5b0804ced281d7269cef7dbb576675f6566b SHA512 78b57e35eb6473b70fc02803650179f9f2e3fdb4d4350e3200b4f930d8f6e4b6efc28ff8cbab533316fb4838f599de25ec57733142ed4bd2b70b909211bd3a2b -DIST intel-media-24.2.4.tar.gz 25863578 BLAKE2B e0d779db4a31c620b49d55a6a6a43c66040baf7e1c93f9d9842c5a34ffbd477eb21aaf278659de63ebda7aa7611eacc3435ea8343a0f4813ca04a1aa4a3327ab SHA512 749c2b337958ad23d3c58a5f712eca86246604827271fc208a355ef6074ddfedce0ddc80dafc79216e6bd13dcef8752a6940fd2a07fce8e3b224006cce9dce83 +DIST intel-media-24.2.5.tar.gz 25860224 BLAKE2B 2d2cfe9b72a1271e98deae9b80321c4953e2dfa73db80156d09352f2420081fda4ece0f4d98a4cd9c36217a8808d4816451d041fcb4f46979efaa3c8ae1d84e5 SHA512 f283cf4b6536e2c05df9c169958668ab7ee96291473a203dfd2fe79888e297b0b12f2b75ea9dba988335139fc7a63c1d2a4908a5a7d2c68b807fa131cb29b7b4 +DIST intel-media-24.3.0.tar.gz 27035846 BLAKE2B cb1d8764f532234c8f853d8918f33be2ad31d807fc7b128acb2551e62004d3e8a431bbb7c38e534c0ad5b5f0c2e4e1917da0ea8e242d5785088e2a6a4ef9bc2d SHA512 2e9c21c93e8d842aef7785195c7c6ad4fceb384eccb79e4108d7305cd2ba9ce34e9785ecd227345ede1135678da61259d325f074e1e9c8d08b29da107f96bfdc +DIST intel-media-24.3.1.tar.gz 27087463 BLAKE2B 0c8519e5976e51cb6c854363f23f30bb98ea4a6e47a66e196a18a174ebde89bb71d36d21aa58a39f5dd3da76d225bd8902c1e983865ab1831dac3f7368d476fa SHA512 557fb40dcb409304f3209e0409d208648629f10bdeb2d9f4fe17f3c581bcc05c71d00cc9331c1d498e1981607b7fff7e4cad20a8f88b5b3605c7a606a5648828 EBUILD libva-intel-media-driver-24.1.5.ebuild 1512 BLAKE2B cf3863f914dca4ca54c2d52455cd2e278e4fa9570743fae517bef623d94d6202a10ef583c724193d0a3fcb169064f2efc4e09c0d0581dd24428fa6ac27f305ee SHA512 ed937550ae0e8944c8e0dc3f76177150bf0fb45e06a193cd410b4d9d6643446f298c1ebcf6b315c7192f6fc342465abce823d01dc0a7667b7336dc012d1925c3 -EBUILD libva-intel-media-driver-24.2.1.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34 -EBUILD libva-intel-media-driver-24.2.2.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34 -EBUILD libva-intel-media-driver-24.2.3.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34 -EBUILD libva-intel-media-driver-24.2.4.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34 -EBUILD libva-intel-media-driver-9999.ebuild 1513 BLAKE2B 497d026ff6824bd2dbe00e6fec56220b892daaace1c593fabac83220457e1f75b799d19d1388263fcb6c5b30701e9e7aea54b714e0201f6c240f763925dcfa80 SHA512 1b51d2a2e120dd71beb547a8ca2ecae4877be7ce0401157ec1acad222641e4f095a3f961e30fdfcd44d6c68cee4e1de5a42218740914cc0ff3dd0f2312402afe +EBUILD libva-intel-media-driver-24.2.5.ebuild 1513 BLAKE2B 12f5e2300d3fc0560a6bdbf73d15c3fe54eb71973912c93b089ad6700741f5dd2e180751d75c9f487462d3dd8ded18565c9268f1ed01118d0a8ddae2d2d345db SHA512 51fe6b32460a5d35466aceea3cdee22438bb0d4d2ecb1ea292158c4bf03db0c0e65d5333b1b228a0a92c8660b4e948559c761d240bcd00f5cd8636413d969c1a +EBUILD libva-intel-media-driver-24.3.0.ebuild 1513 BLAKE2B 12f5e2300d3fc0560a6bdbf73d15c3fe54eb71973912c93b089ad6700741f5dd2e180751d75c9f487462d3dd8ded18565c9268f1ed01118d0a8ddae2d2d345db SHA512 51fe6b32460a5d35466aceea3cdee22438bb0d4d2ecb1ea292158c4bf03db0c0e65d5333b1b228a0a92c8660b4e948559c761d240bcd00f5cd8636413d969c1a +EBUILD libva-intel-media-driver-24.3.1-r1.ebuild 1513 BLAKE2B 4df7c3752b76041c049c93e1ca8c91a9dde58bf604409966a3dd83d0cf27c3c4db27e8e27e3e08b239f61cd20649c3feecb4e3e4ec7fb46718f17610ab37c486 SHA512 fc9361487126961ea9eb3b8e0778aee066dd27f12e6961f7204b54338f80f490103483fd3aa3dafdbf3f391a7488bc8c27976571cf1fecb2c7a41778ce85f23b +EBUILD libva-intel-media-driver-9999.ebuild 1513 BLAKE2B 12f5e2300d3fc0560a6bdbf73d15c3fe54eb71973912c93b089ad6700741f5dd2e180751d75c9f487462d3dd8ded18565c9268f1ed01118d0a8ddae2d2d345db SHA512 51fe6b32460a5d35466aceea3cdee22438bb0d4d2ecb1ea292158c4bf03db0c0e65d5333b1b228a0a92c8660b4e948559c761d240bcd00f5cd8636413d969c1a MISC metadata.xml 565 BLAKE2B e630d474342839898d53aef1849b002ef651c9f4fe3bfcfe72e809012e6c65153b1a6c14db922a45440ffd5717b90dddd6973185f8a625906e9d5571e50728d9 SHA512 22227f8a9cc39fff74f0bf2cdc8953f110e94ce0ab107076269d604c3cf8ae46c8496c9bcf47598e351cb9714e427f213ade5e446a5e8c67acfc87db5530b370 diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.1.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.1.ebuild deleted file mode 100644 index 91b4623797d9..000000000000 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib flag-o-matic - -if [[ ${PV} == *9999 ]] ; then - : ${EGIT_REPO_URI:="https://github.com/intel/media-driver"} - if [[ ${PV%9999} != "" ]] ; then - : ${EGIT_BRANCH:="release/${PV%.9999}"} - fi - inherit git-r3 -else - MY_PV="${PV%_pre}" - SRC_URI="https://github.com/intel/media-driver/archive/intel-media-${MY_PV}.tar.gz" - S="${WORKDIR}/media-driver-intel-media-${MY_PV}" - if [[ ${PV} != *_pre* ]] ; then - KEYWORDS="~amd64" - fi -fi - -DESCRIPTION="Intel Media Driver for VA-API (iHD)" -HOMEPAGE="https://github.com/intel/media-driver" - -LICENSE="MIT BSD redistributable? ( no-source-code )" -SLOT="0" -IUSE="+redistributable test X" - -RESTRICT="!test? ( test )" - -DEPEND=">=media-libs/gmmlib-22.3.18:=[${MULTILIB_USEDEP}] - >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}] -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-23.3.4-Remove-unwanted-CFLAGS.patch - "${FILESDIR}"/${PN}-23.3.4_testing_in_src_test.patch -) - -multilib_src_configure() { - # https://github.com/intel/media-driver/issues/356 - append-cxxflags -D_FILE_OFFSET_BITS=64 - - local mycmakeargs=( - -DMEDIA_BUILD_FATAL_WARNINGS=OFF - -DMEDIA_RUN_TEST_SUITE=$(usex test) - -DBUILD_TYPE=Release - -DPLATFORM=linux - -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) - -DENABLE_NONFREE_KERNELS=$(usex redistributable) - -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now - ) - local CMAKE_BUILD_TYPE="Release" - cmake_src_configure -} diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.2.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.5.ebuild index 91b4623797d9..343e7ed8c609 100644 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.2.ebuild +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.5.ebuild @@ -29,7 +29,7 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-22.3.18:=[${MULTILIB_USEDEP}] +DEPEND=">=media-libs/gmmlib-22.3.20:=[${MULTILIB_USEDEP}] >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}] " RDEPEND="${DEPEND}" diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.3.0.ebuild index 91b4623797d9..343e7ed8c609 100644 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.3.0.ebuild @@ -29,7 +29,7 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-22.3.18:=[${MULTILIB_USEDEP}] +DEPEND=">=media-libs/gmmlib-22.3.20:=[${MULTILIB_USEDEP}] >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}] " RDEPEND="${DEPEND}" diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.3.1-r1.ebuild index 91b4623797d9..bc3be02793b7 100644 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.4.ebuild +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.3.1-r1.ebuild @@ -29,8 +29,8 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-22.3.18:=[${MULTILIB_USEDEP}] - >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}] +DEPEND=">=media-libs/gmmlib-22.3.20:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.22.0[X?,${MULTILIB_USEDEP}] " RDEPEND="${DEPEND}" diff --git a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild index c39052ca1e08..343e7ed8c609 100644 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ b/media-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild @@ -29,8 +29,8 @@ IUSE="+redistributable test X" RESTRICT="!test? ( test )" -DEPEND=">=media-libs/gmmlib-22.3.14:=[${MULTILIB_USEDEP}] - >=media-libs/libva-2.20.0[X?,${MULTILIB_USEDEP}] +DEPEND=">=media-libs/gmmlib-22.3.20:=[${MULTILIB_USEDEP}] + >=media-libs/libva-2.21.0[X?,${MULTILIB_USEDEP}] " RDEPEND="${DEPEND}" diff --git a/media-libs/libva/Manifest b/media-libs/libva/Manifest index 31a1a396d9d4..d048916ebba2 100644 --- a/media-libs/libva/Manifest +++ b/media-libs/libva/Manifest @@ -1,8 +1,7 @@ -AUX clang-17-version-script-check-fix.patch 2112 BLAKE2B 7be78047996e71ae144b160a0f860d5e0559a927a172962595a3a8b14c9b4af13e87ef515c7e749fe225e1ceb74077d660628853ce0b01001a599fec326e5f78 SHA512 29b202a999d1342574eb40b5d1259b5db857de4a4e8929c0ca02ead0707546063b95c28d67bcb3ee94174340760d5b0aab189653e2bbad45b93b6793588053d4 AUX libva-2.21.0-no-undefined-version.patch 1686 BLAKE2B 91423e339768f6efcd1a3704dd697c53f0e9459477cc2e967e12642d28ec46b27b98440ab7119764981e0cee2410112af2b6597f9e3c7c8e61340d20d1202d49 SHA512 da0aa0a288cc434f3ad143fc5f375d76ec8ea9125befb2f7eb628da0c4e95ddc833a167eff69fa9e2653a8e379fbb8cce80c27eccbd9d8ccc368280dbb485123 -DIST libva-2.20.0.tar.gz 280079 BLAKE2B bb1b7f8757d068765fa69e57e8747e0bbd61ea0874bd42d27e0a99786cad2a4a81d7c20a28ff977cebcef54cd8cafa6c0493c18b563ad1ab47a9c3190d0cd1c6 SHA512 85f4aa6b6e9173d407ca3987745f985d0f898091f14c947a928b6db662a03b5cfe82483901690d81618697fe17a2c41ff6694a611f3654d5ab06840da987e40d DIST libva-2.21.0.tar.gz 281515 BLAKE2B bd430162b07987d8982d8f81296e94623efea68624f34b7e159ebefeb37a2b062f2c0d809e16e76c172d6c2df11b59691174fb9a1d65d0938949ac2a025b746c SHA512 93654bb892e0e269d7682a1344fe6f7298432d1f2b347396c63aa1bd84ac0f707af34950a93098fe86a9bc8986fc9f97f75f0f15d8495ffd2caf8cf0eed9612c -EBUILD libva-2.20.0.ebuild 1640 BLAKE2B c54dad2a9bec5c1e8982d355c59aa9204af5d2212cbd92e3aeac5a4908ef1a715d97d3f44c3f3b4532d8a0433c0287817021b05ee993dc02eced1fe7858e3e79 SHA512 6c52e382deebfc7b7efb621f065b49c1380f93316e0b48bde9d9b9c388ca989bbf55e9d9843dcda2cf7bd8a6c299d5d738e7c09e2a5319d198a859676176ffdd +DIST libva-2.22.0.tar.gz 301705 BLAKE2B b438c95613628b8eb1150238016bafdf2ef33fc01ed78742cd50768238cedf5475752a6dd7413ee217961a705abcd7628219ddf3f13c5aa77015b6bbb4e77929 SHA512 cd633e5e09eac1ed10f1fc12b0f664f836e0eda9e47c17e1295b746cfd643a18fd0564a06a148ced3cf1e2321aa4d21275918bcf8c717d3981e98a598179f370 EBUILD libva-2.21.0.ebuild 1645 BLAKE2B 51e1e15f5aa4e42650b6967d404f04cabfd9a56bb55aee81ef998e23be2a42580c4bb1a7546b0f0ceb1b923ad2b0656a31390a1c8df8cb595263235d4cec394b SHA512 65810a2e5cdf56d0ba0556e87ecf586016eab7692d58e996a1a9cec59abc8a8e8e710acf8027d05a770c74bbdbeca305c43aab5b9d25df9825ec0e4c38a2068f -EBUILD libva-9999.ebuild 1544 BLAKE2B 3b5b3112bafca3f8e6efdf15f214135cb7e8d4ebc0a64040bcd6ab39a4f40fbd4df03af84101f25280780768512706a25568361187c9c3684332211b36b54a8f SHA512 cbb0614ff00b592a4ca71561acab24d5c1053bab5ed7a8c75353a0b1e3182c589035019536254dd44bc2377b841bd77fb2fcd45d2e9dbe4e7951e8cc5c4740f7 +EBUILD libva-2.22.0.ebuild 1581 BLAKE2B 22d553df498d1e92da44fb4bd250f68c3d46f135427d6fe06425a8a203b74c5df2e7ed3f2fbbc13478335933c7bb4331049b3eb9258ec25abedb8028a6fde3cb SHA512 878745dd47c6daea25ac23cfa8ef801ed56a41e9154c4d11d917af853affdac603404be166b91928cf257da5f18081978dd0a57a9cd5bb17305209ebccc2b928 +EBUILD libva-9999.ebuild 1544 BLAKE2B 9a11667941f748b7de6ee372496a659d71d32f409b98e8a77e922fbff6b2a1852828c9f2674e45a2570783d42a4e92a04ad26949afde51fc3ecabe4a2d0deee9 SHA512 4463670469882e5e3e56c0f92bbb7c375ee6bf0e7ead0306f717b0e8f96ac21d5e1ba8b0922df18909fb5002224b4dfba32981b6a48aa926b45dfc64b82b53a0 MISC metadata.xml 332 BLAKE2B ee8f4e2f059c3b81126ce55575cfb267c783c37e84bfd39b4564b5f0615da7d6d7efda0bd1fe3c547aa81ff3a6de056bf2555d5049d15bc33aab16c0e2a7271d SHA512 dfa43788c2b4701dde7eacecacdd4a372b192fb98ba8d471a5226eb15b20acb89e564358aa75a1673956005ed904b9e34135ff77d230b1bee95731d61198aef0 diff --git a/media-libs/libva/files/clang-17-version-script-check-fix.patch b/media-libs/libva/files/clang-17-version-script-check-fix.patch deleted file mode 100644 index 670b8c80a881..000000000000 --- a/media-libs/libva/files/clang-17-version-script-check-fix.patch +++ /dev/null @@ -1,62 +0,0 @@ -Upstream URL: https://github.com/intel/libva/pull/732 -From 17e07d17ba723a6b5822390afacdd3ccd976ecd2 Mon Sep 17 00:00:00 2001 -From: Violet Purcell <vimproved@inventati.org> -Date: Sun, 1 Oct 2023 16:34:19 -0400 -Subject: [PATCH] va: Fix -Wl,--version-script check with LLD 17 - -LLD 17 uses --no-undefined-version by default, so the check currently -fails due to vaCreateSurface being undefined. This commit replaces that -check with a generic check in the top level meson.build, using the -conftest.syms file. - -Signed-off-by: Violet Purcell <vimproved@inventati.org> ---- - conftest.syms | 6 ++++++ - meson.build | 6 ++++++ - va/meson.build | 2 +- - 3 files changed, 13 insertions(+), 1 deletion(-) - create mode 100644 conftest.syms - -diff --git a/conftest.syms b/conftest.syms -new file mode 100644 -index 000000000..7d8590ff3 ---- /dev/null -+++ b/conftest.syms -@@ -0,0 +1,6 @@ -+VERSION_1 { -+ global: -+ main; -+ local: -+ *; -+}; -diff --git a/meson.build b/meson.build -index 6acf90676..b37a85119 100644 ---- a/meson.build -+++ b/meson.build -@@ -87,6 +87,12 @@ dl_dep = cc.find_library('dl', required : false) - WITH_DRM = not get_option('disable_drm') and (host_machine.system() != 'windows') - libdrm_dep = dependency('libdrm', version : '>= 2.4.60', required : (host_machine.system() != 'windows')) - -+ld_supports_version_script = cc.links( -+ 'int main() { return 0; }', -+ name : '-Wl,--version-script', -+ args : ['-shared', '-Wl,--version-script,' + '@0@/@1@'.format(meson.current_source_dir(), 'conftest.syms')] -+) -+ - WITH_X11 = false - if get_option('with_x11') != 'no' - x11_dep = dependency('x11', required : get_option('with_x11') == 'yes') -diff --git a/va/meson.build b/va/meson.build -index 372ae89ff..33c6cc8d3 100644 ---- a/va/meson.build -+++ b/va/meson.build -@@ -60,7 +60,7 @@ libva_sym_arg = '-Wl,-version-script,' + '@0@/@1@'.format(meson.current_source_d - - libva_link_args = [] - libva_link_depends = [] --if cc.links('', name: '-Wl,--version-script', args: ['-shared', libva_sym_arg]) -+if ld_supports_version_script - libva_link_args = libva_sym_arg - libva_link_depends = libva_sym - endif - diff --git a/media-libs/libva/libva-2.20.0.ebuild b/media-libs/libva/libva-2.22.0.ebuild index 6b90d7162477..428ba181bbd3 100644 --- a/media-libs/libva/libva-2.20.0.ebuild +++ b/media-libs/libva/libva-2.22.0.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} = *9999 ]] ; then EGIT_REPO_URI="https://github.com/intel/libva" else SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64 ~loong ~mips ppc64 ~riscv x86 ~amd64-linux ~x86-linux" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" fi LICENSE="MIT" @@ -22,7 +22,7 @@ SLOT="0/$(ver_cut 1)" IUSE="wayland X" RDEPEND=" - >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.75[${MULTILIB_USEDEP}] wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] ) @@ -48,10 +48,6 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/va/va_dricommon.h ) -PATCHES=( - "${FILESDIR}/clang-17-version-script-check-fix.patch" -) - multilib_src_configure() { local emesonargs=( -Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers" diff --git a/media-libs/libva/libva-9999.ebuild b/media-libs/libva/libva-9999.ebuild index 2271f036b522..bfc76885c3de 100644 --- a/media-libs/libva/libva-9999.ebuild +++ b/media-libs/libva/libva-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ SLOT="0/$(ver_cut 1)" IUSE="wayland X" RDEPEND=" - >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.75[${MULTILIB_USEDEP}] wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] ) diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index d28f8bd9fa4b..1adf842670f9 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -1,14 +1,24 @@ AUX 24.0.4-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch 1088 BLAKE2B 87a70ee57b7a6c11479af58a649398125e8461bdfd5b2a3b8f875497425cecee5f359fb06a34b0d227ac8007ef89285814090e59127e5ef7f3c74a394f7d50b6 SHA512 1af6f99f66a4add4e3401ff4f9cb4e2e06adf89518ff754b94cfe078ee285c413ee63e6a434a66eb95f551cf0231249858b0ea428cb9ab473dca190983d98960 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a SHA512 de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5 -DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262 SHA512 a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d -DIST mesa-24.1.2.tar.xz 29057184 BLAKE2B 8c66d22101c516b8f9323fcfd92bc242a9d6133a65611cd8b5616eeed9f9825423ecd696a1bbe80832d9d6c1b3b14b34fb54bbe13527ac41af6d0d00a10126f2 SHA512 ea28540552f9f28200c22423afcf9d9bb961557eae0dc11416c5ef60788c3e7f6d2b841c6bdbe2827d1339ea9d854623c1a0e08d4f1fd79d304fcdd52f790637 -DIST paste-1.0.14.tar.gz 18429 BLAKE2B 88f533fd336bbbe24872b100777703832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16 SHA512 0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34 -DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d SHA512 cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5 -DIST quote-1.0.33.tar.gz 32169 BLAKE2B 2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3 SHA512 3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b -DIST syn-2.0.39.tar.gz 286899 BLAKE2B 8bf5e89cb961195b48896294dc876d4e5e81fe7ac1df5330b972e6fdcfa2cf89fd1467f315081f84c1f447d402850e0ab4c7dc2bd20271c5e2bc9a2e3008f70b SHA512 2ee6bb196bef427a9b9aada38fb3a3a11e893c4e9e8808063f544f5c05cda58d554dfea24488dd60b4c299457852b52bf17e5de8595333ff4f2358441964c672 -DIST unicode-ident-1.0.12.tar.gz 50118 BLAKE2B 04e2651e14251d68f4e7e70e1e7a6d5eded21aa4f684c6162a91608189f6dcabaca4aa22204c40e08c82d76773c679ff965f21836264885a3b4cb62d7aa762db SHA512 0d0228bfd8eb6a94d8ae4a003511dd5ad52a58b08d98a8f0a8c5e3dc8b3e6b987ea5009255dc1e9c411f91aec16edc4aaff26ed7a9c48430272f970cd2a9510d +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.1.6.tar.xz 29172600 BLAKE2B 295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9 SHA512 2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc +DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5 SHA512 5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6 +DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721 SHA512 a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294 +DIST paste-1.0.14.crate 18157 BLAKE2B 35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c SHA512 3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee +DIST proc-macro2-1.0.70.crate 44343 BLAKE2B fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c SHA512 ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f +DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 +DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c +DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 +DIST syn-2.0.68.crate 265035 BLAKE2B 8bc6f68ed286bea617a2cfaf3949bb699d3a0466faeca735314a51596ce950e4ee57eda88154bd562c1728cfaff4cdb5bc1ba701b9d47a9c50d4c4f011bee975 SHA512 7b781f8ea2b0d01c06f47d165da99cd96e3b44a33de1d77c78a2cb37ebe3f8304f426ba3d0d1cf766241dcc0537908774504df7d455d63bf89ec22ac0499d372 +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 EBUILD mesa-24.0.9.ebuild 11904 BLAKE2B fbd74015635daad6ced24491c05e077b2617f42b154f208eba92c3f880bc2381e57db3287d1b5c6c129924e6a8476812ef8883ddbd1509b4b2206d1a58f8317e SHA512 a25ecf8382dd350d306ada954e54a049a9a61d95afd65c16ef378538a44ba532ea893a3212835758871c782502598fb5a533a5f7fe0e49f155f836c24679fcac -EBUILD mesa-24.1.1.ebuild 14310 BLAKE2B 21c697eb3bcd4dddeec9877fcee16f819ca89f9eacbfbe6c7ca4868da32925a103f3051a87219d8e93440c669a435be388ed4206aead86e46119117fcd2e155f SHA512 1f12d36112aa3ddbf8e26e00899f662f40301c7bf60e86cec53f74e1f0c199c6d33f1f095691d0d20ef9de52411a84dcd90f7f8e45056950eea5f8730306f0c2 -EBUILD mesa-24.1.2.ebuild 14310 BLAKE2B 21c697eb3bcd4dddeec9877fcee16f819ca89f9eacbfbe6c7ca4868da32925a103f3051a87219d8e93440c669a435be388ed4206aead86e46119117fcd2e155f SHA512 1f12d36112aa3ddbf8e26e00899f662f40301c7bf60e86cec53f74e1f0c199c6d33f1f095691d0d20ef9de52411a84dcd90f7f8e45056950eea5f8730306f0c2 -EBUILD mesa-9999.ebuild 14310 BLAKE2B 21c697eb3bcd4dddeec9877fcee16f819ca89f9eacbfbe6c7ca4868da32925a103f3051a87219d8e93440c669a435be388ed4206aead86e46119117fcd2e155f SHA512 1f12d36112aa3ddbf8e26e00899f662f40301c7bf60e86cec53f74e1f0c199c6d33f1f095691d0d20ef9de52411a84dcd90f7f8e45056950eea5f8730306f0c2 +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-24.1.6.ebuild 13739 BLAKE2B 23b5b302962a028676b753f1bf71b85986445e64540e4c702969e4c2045d7994ffa7e6424ed87b02406c9d300f29383df54eb397eec452e0714c827e9b7b3c05 SHA512 ad37b061d392cfe67d8fcefa82ebed2634bc5f0ae61f6b4f84193ffa9c866f10abd7ab7f915fee381c36643b88b1c6cdbb0ee40dd3f7a25fe0502caf07140309 +EBUILD mesa-24.2.0.ebuild 13665 BLAKE2B 77bb4aebb4bc005d1a03fa4f34dc47380302b4b7f6614bc3cd6413fbc08b29d49677255e728d76168bed215a3048f2a11c27460c334d7933e3e106bc0b898d30 SHA512 ae6303ce7eb79a2ca55c82de2f95d6cde71350f6fd72f11ab043ff06215d860e13016e7af825b98b4aa082fed306091114c9d52734560da6c2fc1e329b0619af +EBUILD mesa-24.2.0_rc4.ebuild 13665 BLAKE2B f2191d5fac54380bacaf3e4f71ed7fa854e95c6e23f779800d046cfbd758bca20908af8a4d0023bbf2a3078b9c6aa602eed6ba158b18c3cd516ec3085de683e8 SHA512 5a956ca54b19d4d755e23baccaaea48144c9bd894e65c05f6ca79dd6d3ebe5967fbb55186fe25774b3c6adcd56bde70fb15bbf998f7441c2042e6af003125b07 +EBUILD mesa-9999.ebuild 13665 BLAKE2B 77bb4aebb4bc005d1a03fa4f34dc47380302b4b7f6614bc3cd6413fbc08b29d49677255e728d76168bed215a3048f2a11c27460c334d7933e3e106bc0b898d30 SHA512 ae6303ce7eb79a2ca55c82de2f95d6cde71350f6fd72f11ab043ff06215d860e13016e7af825b98b4aa082fed306091114c9d52734560da6c2fc1e329b0619af MISC metadata.xml 1435 BLAKE2B 53690878512b86ce0b8dce38b083684c85ad5c1a655d5a69cb3265e156869845263eb16f271691b66c9f0cd76e97b56908acf7a1792d6abac0ec99447826cbb5 SHA512 842106e5d6eb60ff33c8cae7f0d52983c4f7e104152718b50fc790cbcb2506551a6fc7841fe8e3c7963850c238f77505b0e49b10a3a936baf459e1acaf73e07f diff --git a/media-libs/mesa/mesa-24.1.3.ebuild b/media-libs/mesa/mesa-24.1.3.ebuild new file mode 100644 index 000000000000..292f6c562ff5 --- /dev/null +++ b/media-libs/mesa/mesa-24.1.3.ebuild @@ -0,0 +1,494 @@ +# 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.119" +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}] + ") + 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}]" || 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 || # swrast + 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 + + 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 -- swrast + 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-24.1.1.ebuild b/media-libs/mesa/mesa-24.1.4.ebuild index c184d9ab1e76..9a583c95d8ec 100644 --- a/media-libs/mesa/mesa-24.1.1.ebuild +++ b/media-libs/mesa/mesa-24.1.4.ebuild @@ -5,40 +5,43 @@ 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/_/-}" -SYN_PV=2.0.39 -PROC_MACRO2_PV=1.0.70 -QUOTE_PV=1.0.33 -UNICODE_IDENT_PV=1.0.12 -PASTE_PV=1.0.14 - -NAK_URI=" - https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> syn-${SYN_PV}.tar.gz - https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz -> proc-macro2-${PROC_MACRO2_PV}.tar.gz - https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz -> quote-${QUOTE_PV}.tar.gz - https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz - https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz -> paste-${PASTE_PV}.tar.gz +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" - SRC_URI="${NAK_URI}" inherit git-r3 else SRC_URI=" https://archive.mesa3d.org/${MY_P}.tar.xz - ${NAK_URI} " 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} @@ -186,8 +189,20 @@ x86? ( )" src_unpack() { - [[ ${PV} == 9999 ]] && git-r3_src_unpack - unpack ${A} + 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() { @@ -282,20 +297,6 @@ src_prepare() { default sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ bin/symbols-check.py || die # bug #830728 - - if use video_cards_nvk; then - # NVK Subproject Handling - pushd "${S}" >/dev/null || die - for subpkg in proc-macro2-${PROC_MACRO2_PV} syn-${SYN_PV} quote-${QUOTE_PV} unicode-ident-${UNICODE_IDENT_PV} paste-${PASTE_PV}; do - # copy subprojects folder - cp -r ../${subpkg} subprojects || die - # copy meson.build - cp subprojects/packagefiles/${subpkg%-*}/meson.build subprojects/${subpkg} || die - # ovewrite subpkg version when needed - sed -i -e "s/directory = \S\+/directory = ${subpkg}/" subprojects/${subpkg%-*}.wrap || die - done - popd >/dev/null || die - fi } multilib_src_configure() { diff --git a/media-libs/mesa/mesa-24.1.2.ebuild b/media-libs/mesa/mesa-24.1.5.ebuild index c184d9ab1e76..9a583c95d8ec 100644 --- a/media-libs/mesa/mesa-24.1.2.ebuild +++ b/media-libs/mesa/mesa-24.1.5.ebuild @@ -5,40 +5,43 @@ 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/_/-}" -SYN_PV=2.0.39 -PROC_MACRO2_PV=1.0.70 -QUOTE_PV=1.0.33 -UNICODE_IDENT_PV=1.0.12 -PASTE_PV=1.0.14 - -NAK_URI=" - https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> syn-${SYN_PV}.tar.gz - https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz -> proc-macro2-${PROC_MACRO2_PV}.tar.gz - https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz -> quote-${QUOTE_PV}.tar.gz - https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz - https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz -> paste-${PASTE_PV}.tar.gz +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" - SRC_URI="${NAK_URI}" inherit git-r3 else SRC_URI=" https://archive.mesa3d.org/${MY_P}.tar.xz - ${NAK_URI} " 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} @@ -186,8 +189,20 @@ x86? ( )" src_unpack() { - [[ ${PV} == 9999 ]] && git-r3_src_unpack - unpack ${A} + 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() { @@ -282,20 +297,6 @@ src_prepare() { default sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ bin/symbols-check.py || die # bug #830728 - - if use video_cards_nvk; then - # NVK Subproject Handling - pushd "${S}" >/dev/null || die - for subpkg in proc-macro2-${PROC_MACRO2_PV} syn-${SYN_PV} quote-${QUOTE_PV} unicode-ident-${UNICODE_IDENT_PV} paste-${PASTE_PV}; do - # copy subprojects folder - cp -r ../${subpkg} subprojects || die - # copy meson.build - cp subprojects/packagefiles/${subpkg%-*}/meson.build subprojects/${subpkg} || die - # ovewrite subpkg version when needed - sed -i -e "s/directory = \S\+/directory = ${subpkg}/" subprojects/${subpkg%-*}.wrap || die - done - popd >/dev/null || die - fi } multilib_src_configure() { diff --git a/media-libs/mesa/mesa-24.1.6.ebuild b/media-libs/mesa/mesa-24.1.6.ebuild new file mode 100644 index 000000000000..9a583c95d8ec --- /dev/null +++ b/media-libs/mesa/mesa-24.1.6.ebuild @@ -0,0 +1,494 @@ +# 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.119" +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}] + ") + 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}]" || 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 || # swrast + 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 + + 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 -- swrast + 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-24.2.0.ebuild b/media-libs/mesa/mesa-24.2.0.ebuild new file mode 100644 index 000000000000..a64eb1901f88 --- /dev/null +++ b/media-libs/mesa/mesa-24.2.0.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..13} ) + +inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs + +MY_P="${P/_/-}" + +CRATES=" + syn@2.0.68 + proc-macro2@1.0.86 + 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-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 c184d9ab1e76..a64eb1901f88 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -5,40 +5,43 @@ EAPI=8 LLVM_COMPAT=( {15..18} ) LLVM_OPTIONAL=1 -PYTHON_COMPAT=( python3_{10..12} ) +CARGO_OPTIONAL=1 +PYTHON_COMPAT=( python3_{10..13} ) inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain toolchain-funcs MY_P="${P/_/-}" -SYN_PV=2.0.39 -PROC_MACRO2_PV=1.0.70 -QUOTE_PV=1.0.33 -UNICODE_IDENT_PV=1.0.12 -PASTE_PV=1.0.14 - -NAK_URI=" - https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> syn-${SYN_PV}.tar.gz - https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz -> proc-macro2-${PROC_MACRO2_PV}.tar.gz - https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz -> quote-${QUOTE_PV}.tar.gz - https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz - https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz -> paste-${PASTE_PV}.tar.gz +CRATES=" + syn@2.0.68 + proc-macro2@1.0.86 + 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" - SRC_URI="${NAK_URI}" inherit git-r3 else SRC_URI=" https://archive.mesa3d.org/${MY_P}.tar.xz - ${NAK_URI} " 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} @@ -46,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 @@ -82,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}] @@ -161,6 +166,7 @@ BDEPEND=" $(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} @@ -186,8 +192,20 @@ x86? ( )" src_unpack() { - [[ ${PV} == 9999 ]] && git-r3_src_unpack - unpack ${A} + 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() { @@ -247,7 +265,8 @@ pkg_pretend() { python_check_deps() { python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" || return 1 + 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 @@ -282,20 +301,6 @@ src_prepare() { default sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ bin/symbols-check.py || die # bug #830728 - - if use video_cards_nvk; then - # NVK Subproject Handling - pushd "${S}" >/dev/null || die - for subpkg in proc-macro2-${PROC_MACRO2_PV} syn-${SYN_PV} quote-${QUOTE_PV} unicode-ident-${UNICODE_IDENT_PV} paste-${PASTE_PV}; do - # copy subprojects folder - cp -r ../${subpkg} subprojects || die - # copy meson.build - cp subprojects/packagefiles/${subpkg%-*}/meson.build subprojects/${subpkg} || die - # ovewrite subpkg version when needed - sed -i -e "s/directory = \S\+/directory = ${subpkg}/" subprojects/${subpkg%-*}.wrap || die - done - popd >/dev/null || die - fi } multilib_src_configure() { @@ -316,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 @@ -357,16 +362,8 @@ 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 -- swrast + 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 diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 96d3b3615b8b..07aeb7e7718f 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -1,6 +1,8 @@ AUX mlt-6.10.0-swig-underlinking.patch 596 BLAKE2B b51670d051ae2bd016da65f560ed861518845d11e46aa5b4971a68f196452b86af3e00cb9af02bf23b32028731eb5352214aa63a047ebe12386c9f749df1236c SHA512 95cf9339b88979eb19cda3698474fc386c0c2d01333435e95b5a7662dbc5c359f5c78e05a0d78836023191c07a97e0dbf20c354e10cf6d1ad59d64fa9a203160 AUX mlt-6.22.1-no_lua_bdepend.patch 153 BLAKE2B 3ea31c570e7bef81bda0905549baedee8b9eed2bc14c535abff02985d573e4606f4f8f42213bcbc86fa68af905ba6c39dddcbf63efa20172c608659153d79073 SHA512 b382ee68f2815b4aa62ce7708a7452536f2bc0287dc4d59f557c08fbf51d6bef7607f63e11e991b4f52eb7e06afbde06d53aac3d42b4a0c96f59332ec17d48cd AUX mlt-7.0.1-cmake-symlink.patch 569 BLAKE2B 06f7c8e7ec78206bb1344bab98f1d9ec816b16c458300964fe31ff30f8f2cc64d8f25a795773fd64db7249b031a164c350b55b6326c4d07d73ffd27f8786a911 SHA512 6deb458c3a89f800b4770460330c1e545c22d3a7304f0713b7ae214145d1413a3061c7c026ab2f6fc44801d1d7505352f03c0da7034e817b684e0ebb25d9a94f +AUX mlt-7.24.0-musl-build-fix.patch 3927 BLAKE2B a8d0d2a5597745cfb078477fd0118e77159723a4628d9272d0891c98c2f8f9aa495ee06b1f5717f612e6045dbc35b38bd7652de18141aa020459e835c5eb63a9 SHA512 19861879d68becd2122d4ad8b81b4017f2df671c12e245888496a0b079b9856d1ac4f5c8af6246b5b35be2e2766bd29d2cce4a9659e92bfd86dbf925e096a774 DIST mlt-7.24.0.tar.gz 1662552 BLAKE2B f6e83b3c3fd9e3bf64366a6f6165b1839003b0fd058e1368e0648e011eff6da1a9af9fa7652aff032bc4ed4465be4648b5f1ae25fc102397aa9ae2d19981643a SHA512 a9e7fd5dc04152e523456bad244416b4fdeb5961ee7cadb816dd1393277d1d801200db595dcd28e520d76e6b2caca17e65c39b0256beb7c42a58ef241b85471d +EBUILD mlt-7.24.0-r1.ebuild 4130 BLAKE2B 0696093d54eae8edc8384eebd59c8e16d67a8ca5f5e8048736d64de6a5ab4c6f22e02ec0dffd2522f3c41df32a898246bc90c3aa1e8a393cb6c88628a75a8032 SHA512 c57a92b98196d6574279872041a1144899d04e6a9acc125141f686772094a861684bc99794e161bef592dcfcf141b5623c7926caa1f94c61542d8b64f46716a0 EBUILD mlt-7.24.0.ebuild 4077 BLAKE2B 751b8720dba5aa2df8ce12cde88604983b25887b88abf4b8c8a7a97d0546993383d6a0112d73ca7f5641cf668e0b3c5d88248e32ff86073c2308e083dc5b2690 SHA512 f797e0200874a6ac284fee89abd7634b5c6b7710e170765cc0bb3884d6302af5ce796acd9a7d281b8a82b4d3b096ce35b2320882bc3d21517ae6b8b05b04838a MISC metadata.xml 1412 BLAKE2B 8d4eed394f1d1e95e5559466ef1840978966e8f1f7b89fdfd2549b2a35b6ce8f114c9373374fdaefe320cc34a4dc8cbd9f6c4433740d1ae9680de54484b5e3d1 SHA512 b19c711dc3798f952e0223dc0628b25aa3c9a296d66ee2f2b7f46a55b82e71c0c583ee64517be88dcc55eb1e9c31aa782b9043eb7630a853077afb1bf8b4dedd diff --git a/media-libs/mlt/files/mlt-7.24.0-musl-build-fix.patch b/media-libs/mlt/files/mlt-7.24.0-musl-build-fix.patch new file mode 100644 index 000000000000..7349c5dc1a9d --- /dev/null +++ b/media-libs/mlt/files/mlt-7.24.0-musl-build-fix.patch @@ -0,0 +1,54 @@ +https://github.com/mltframework/mlt/pull/1009 +From: Brahmajit Das <brahmajit.xyz@gmail.com> +Date: Sat, 27 Jul 2024 14:51:47 +0000 +Subject: [PATCH 1/1] Fix building on musl libc + +Not every Linux distribution uses GLibc, hence the code under +``` +\#if defined(__linux__) || defined(__GLIBC__) +``` +is not evaluated properly on non GLibc Linux distributions resulting in +build errors such as: + +``` +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_properties.c: In function 'mlt_properties_set_lcnumeric': +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_properties.c:154:22: error: assignment to 'mlt_locale_t' {aka 'struct __locale_struct *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] + 154 | list->locale = strdup(locale); + | ^ +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_properties.c: In function 'mlt_properties_get_lcnumeric': +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_properties.c:186:16: error: assignment to 'const char *' from incompatible pointer type 'mlt_locale_t' {aka 'struct __locale_struct *'} [-Wincompatible-pointer-types] + 186 | result = list->locale; + | ^ +[11/173] /usr/bin/x86_64-pc-linux-musl-gcc -DPREFIX_DATA=\"/usr/share/mlt-7\" -DPREFIX_LIB=\"/usr/lib/mlt-7\" -Dmlt_EXPORTS -I/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/.. -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -std=gnu11 -fPIC -mmmx -msse -msse2 -MD -MT src/framework/CMakeFiles/mlt.dir/mlt_property.c.o -MF src/framework/CMakeFiles/mlt.dir/mlt_property.c.o.d -o src/framework/CMakeFiles/mlt.dir/mlt_property.c.o -c /var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.c +FAILED: src/framework/CMakeFiles/mlt.dir/mlt_property.c.o +/usr/bin/x86_64-pc-linux-musl-gcc -DPREFIX_DATA=\"/usr/share/mlt-7\" -DPREFIX_LIB=\"/usr/lib/mlt-7\" -Dmlt_EXPORTS -I/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/.. -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -std=gnu11 -fPIC -mmmx -msse -msse2 -MD -MT src/framework/CMakeFiles/mlt.dir/mlt_property.c.o -MF src/framework/CMakeFiles/mlt.dir/mlt_property.c.o.d -o src/framework/CMakeFiles/mlt.dir/mlt_property.c.o -c /var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.c +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.c: In function 'time_clock_to_frames': +/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.c:331:31: error: passing argument 2 of 'setlocale' from incompatible pointer type [-Wincompatible-pointer-types] + 331 | setlocale(LC_NUMERIC, locale); + | ^~~~~~ + | | + | mlt_locale_t {aka struct __locale_struct *} +In file included from /var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.h:34, + from /var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_property.c:28: +/usr/include/locale.h:55:23: note: expected 'const char *' but argument is of type 'mlt_locale_t' {aka 'struct __locale_struct *'} + 55 | char *setlocale (int, const char *); +``` + +Reported on Gentoo Linux with musl libc. +Please refer bug: https://bugs.gentoo.org/936747 for more details. + +Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> +--- a/src/framework/mlt_property.h ++++ b/src/framework/mlt_property.h +@@ -30,7 +30,7 @@ + #include <sys/param.h> + #endif + +-#if defined(__linux__) || defined(__GLIBC__) ++#if defined(__GLIBC__) + #include <locale.h> + typedef locale_t mlt_locale_t; + #elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506) +-- +2.45.2 + diff --git a/media-libs/mlt/mlt-7.24.0-r1.ebuild b/media-libs/mlt/mlt-7.24.0-r1.ebuild new file mode 100644 index 000000000000..f29e65ccd11d --- /dev/null +++ b/media-libs/mlt/mlt-7.24.0-r1.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-single-r1 cmake flag-o-matic + +DESCRIPTION="Open source multimedia framework for television broadcasting" +HOMEPAGE="https://www.mltframework.org/" +SRC_URI="https://github.com/mltframework/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/7" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="debug ffmpeg frei0r gtk jack libsamplerate opencv opengl python qt5 qt6 rtaudio rubberband sdl test vdpau vidstab xine xml" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# Needs unpackaged 'kwalify' +RESTRICT="test" + +# rtaudio will use OSS on non linux OSes +# Qt already needs FFTW/PLUS so let's just always have it on to ensure +# MLT is useful: bug #603168. +DEPEND=" + >=media-libs/libebur128-1.2.2:= + sci-libs/fftw:3.0= + ffmpeg? ( media-video/ffmpeg:0=[vdpau?] ) + frei0r? ( media-plugins/frei0r-plugins ) + gtk? ( + media-libs/libexif + x11-libs/pango + ) + jack? ( + >=dev-libs/libxml2-2.5 + media-libs/ladspa-sdk + virtual/jack + ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.2 ) + opencv? ( >=media-libs/opencv-4.5.1:=[contrib] ) + opengl? ( + media-libs/libglvnd + media-video/movit + ) + python? ( ${PYTHON_DEPS} ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-libs/libexif + x11-libs/libX11 + ) + qt6? ( + dev-qt/qt5compat:6 + dev-qt/qtbase:6[gui,network,opengl,widgets,xml] + dev-qt/qtsvg:6 + media-libs/libexif + x11-libs/libX11 + ) + rtaudio? ( + >=media-libs/rtaudio-4.1.2 + kernel_linux? ( media-libs/alsa-lib ) + ) + rubberband? ( media-libs/rubberband ) + sdl? ( + media-libs/libsdl2[X,opengl,video] + media-libs/sdl2-image + ) + vidstab? ( media-libs/vidstab ) + xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 ) + xml? ( >=dev-libs/libxml2-2.5 ) +" +# java? ( >=virtual/jre-1.8:* ) +# perl? ( dev-lang/perl ) +# php? ( dev-lang/php ) +# ruby? ( ${RUBY_DEPS} ) +# sox? ( media-sound/sox ) +# tcl? ( dev-lang/tcl:0= ) +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + python? ( >=dev-lang/swig-2.0 ) +" + +DOCS=( AUTHORS NEWS README.md ) + +PATCHES=( + # downstream + "${FILESDIR}"/${PN}-6.10.0-swig-underlinking.patch + "${FILESDIR}"/${PN}-6.22.1-no_lua_bdepend.patch + "${FILESDIR}"/${PN}-7.0.1-cmake-symlink.patch + "${FILESDIR}"/${PN}-7.24.0-musl-build-fix.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # Respect CFLAGS LDFLAGS when building shared libraries. Bug #308873 + if use python; then + sed -i "/mlt.so/s/ -lmlt++ /& ${CFLAGS} ${LDFLAGS} /" src/swig/python/build || die + python_fix_shebang src/swig/python + fi + + cmake_src_prepare +} + +src_configure() { + # Workaround for bug #919981 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DCLANG_FORMAT=OFF + -DGPL=ON + -DGPL3=ON + -DBUILD_TESTING=$(usex test) + -DMOD_KDENLIVE=ON + -DMOD_SDL1=OFF + -DMOD_SDL2=$(usex sdl) + -DMOD_AVFORMAT=$(usex ffmpeg) + -DMOD_PLUS=ON + -DMOD_FREI0R=$(usex frei0r) + -DMOD_GDK=$(usex gtk) + -DMOD_JACKRACK=$(usex jack) + -DMOD_RESAMPLE=$(usex libsamplerate) + -DMOD_OPENCV=$(usex opencv) + -DMOD_SPATIALAUDIO=OFF # TODO: package libspatialaudio + -DMOD_MOVIT=$(usex opengl) + -DMOD_QT=$(usex qt5) + -DMOD_GLAXNIMATE=$(usex qt5) + -DMOD_QT6=$(usex qt6) + -DMOD_GLAXNIMATE_QT6=$(usex qt6) + -DMOD_RTAUDIO=$(usex rtaudio) + -DMOD_RUBBERBAND=$(usex rubberband) + -DMOD_VIDSTAB=$(usex vidstab) + -DMOD_XINE=$(usex xine) + -DMOD_XML=$(usex xml) + -DMOD_SOX=OFF + ) + + # TODO: rework upstream CMake to allow controlling MMX/SSE/SSE2 + # TODO: add swig language bindings? + # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover + + if use python; then + mycmakeargs+=( + -DSWIG_PYTHON=ON + -DPython3_EXECUTABLE="${PYTHON}" + ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /usr/share/${PN} + doins -r demo + + # + # Install SWIG bindings + # + + docinto swig + + if use python; then + dodoc "${S}"/src/swig/python/play.py + python_optimize + fi +} diff --git a/media-libs/mpvqt/Manifest b/media-libs/mpvqt/Manifest index c176f6c059f9..7147d639c55a 100644 --- a/media-libs/mpvqt/Manifest +++ b/media-libs/mpvqt/Manifest @@ -1,3 +1,3 @@ -DIST mpvqt-1.0.0.tar.xz 36172 BLAKE2B 7b88c9f0e69bb4784087161addb7299d061646dca3e2707ce697a67cfec9f668c894df7479c1ded7ddc1f73f48c127051f6b27f536aca35f272235f1b09bcfc1 SHA512 42b19e74d682e327566559c9d600a8cd98b1a64d01804fccc5f85c990532daf434cc2005bf0af10d3cae78643d512651cfac504193e015538d5f75eaa088f26c -EBUILD mpvqt-1.0.0.ebuild 600 BLAKE2B 983c9ec215f44da6a57a942a9c7f0280dd2d9b7b8772b52cdd755bfaa2411bca2ff2364344fcf7bf4ae8b669b92e5a05ce042451973c3192fc324b206e730a1a SHA512 e6547551530016b472721bbdbf65736b0153a3f5b5754fa6e82a2608e5d228fe4674b0a973205e78490afa5d9683233aab12f2343641d85d75824ed114000c7f +DIST mpvqt-1.0.1.tar.xz 32104 BLAKE2B 260780c13928a8f65a5305949c02fc44d26f11e1f313f9ba240db1ed5d16d266a5b74b08e608b99c876a76ea0da1f147b17a37686fc36d1ecab1f888c235b008 SHA512 0e7acf301742fb3e4ee07d7b3112f00522c2d5f3c1001060538e887c48aa0dfb87752f9b99011618895075cb6098f369289131c7de31a6b65513852236451dde +EBUILD mpvqt-1.0.1.ebuild 619 BLAKE2B 3cc08db40ceade85432749a17df1fb5d78f37f2540162df39121a31c829aa17af7aadd17f6518c1e8a31e2af307d1fe7b66469bee57b469cfc877ec85b0392da SHA512 b2c43961cf4914924012d3c70febecb55327f9a0f70090e9f24ae0ddcc553ae205834af8f3b679800f6055f831aeda188766dc141020540a9eafc77d70df951e MISC metadata.xml 413 BLAKE2B 902e41f27313db1cc2485d240feaf9837bb44bd64a7d9c8d155c7586e81b37347c87705d98369eba4303880d3a130a6e2a26b38b388472fb34266fb16e9f7c42 SHA512 28ffda76eb9492dca302f51d28c4af3269f230687fdfdfc6c1689f4005207ff9c991771367c5e0c2ae62c34c05a94b79feb5144e72fdb9ca8edebbcbaed0881a diff --git a/media-libs/mpvqt/mpvqt-1.0.0.ebuild b/media-libs/mpvqt/mpvqt-1.0.1.ebuild index 86d121242343..1c2fe7f623e2 100644 --- a/media-libs/mpvqt/mpvqt-1.0.0.ebuild +++ b/media-libs/mpvqt/mpvqt-1.0.1.ebuild @@ -3,13 +3,13 @@ EAPI=8 -KFMIN=5.245.0 -QTMIN=6.5.0 +KFMIN=6.3.0 +QTMIN=6.6.2 inherit ecm kde.org -if [[ ${KDE_BUILD_TYPE} = release ]]; then +if [[ ${KDE_BUILD_TYPE} == release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" fi DESCRIPTION="libmpv wrapper for QtQuick2 and QML" @@ -20,7 +20,7 @@ SLOT="6" IUSE="" DEPEND=" - >=dev-qt/qtbase-${QTMIN}:6[gui,opengl] + >=dev-qt/qtbase-${QTMIN}:6[gui,opengl,wayland] >=dev-qt/qtdeclarative-${QTMIN}:6 media-video/mpv:=[libmpv] " diff --git a/media-libs/nas/Manifest b/media-libs/nas/Manifest index 5a4db0f995ba..743d8c54645a 100644 --- a/media-libs/nas/Manifest +++ b/media-libs/nas/Manifest @@ -5,6 +5,6 @@ AUX nas.conf.d 229 BLAKE2B 2ac8a6d914d02bc92258d7dfe3118e89ed6e3fe9d98e7a24eb8d7 AUX nas.init.d 347 BLAKE2B 8b87c877fafd0e5993f909a4e132ed9f7042a3d8bdced8c7487afc962dfcad24a586ac754b99cbff815475f1326f44d52effb8eefd65cd0e25e6bc45991233af SHA512 556fc5d5135f789b0691de889aeaadce29319964443052787db5cb4cda480ed68c547c772de97c07ba2e0800f25cfa859376a3d80e9518995aae8136fe171468 DIST nas-1.9.5-patches.tar.xz 7788 BLAKE2B 54172eba6547b0890cdef7b87a38b7d85bf05ffbec2d459da6b66b48ce7e627a9c7a4c4d4550729d0c4acd3de99a0299d57d2cc75ecea74f745764f284a9d0e7 SHA512 dce3e68c3018aa0553b4c48baa66e37db4db54ed33aad388902e2b05c9dcc6e696b69b1c00f9adbcfddcd262ed65758ea5897a13856315edd522297814df0899 DIST nas-1.9.5.tar.gz 1170144 BLAKE2B 81b063f888d66534f8779d6b0534397ada703868ff711c49b998fbf56bc6e4313fa245b6168fe9913936afa0685bab595df24f9f4bd5663dfa560c4b64534466 SHA512 051b32593e7ace09cf2d12720fb80e38d4f83f36858debacfb828c759e98b3e29401c76e3e3770f57fbbd1750a84b17a18e712f0de3dbe0ff56f2505c2488d9a -EBUILD nas-1.9.5-r2.ebuild 2848 BLAKE2B 8a8864723605c928d38c5065d21e4d3f8c07a299eb5af2f860063f267b3ede25aaa9c8f0d6a6e79b8900be1a9a20f7178e1faa93cb7d5a4c82a3a417aff6f7b1 SHA512 9f55dde0117aa4ed5c8c06cc37eb96bb7e86d53419deeeaad53dac96ad9841ac37c419264287ad3da5f7979c2c23496d1656b2ad27b3486b05eb9a0be5406bcf +EBUILD nas-1.9.5-r2.ebuild 2846 BLAKE2B 2fbf04053dd1d9c93f8a45e06596402cc7e3d42698146895f9bd0a4505138e6c63d343129dfb4909d789f077d1a36f14731acf17a4b8f37971558cb9a155d3df SHA512 7d8524e9505aaeefbc4e2fa77d8509602fdedeacf6398a60d3473e39c58761c4977e977c28dbc5c19d90cc530f6c989de4a71068ae8fae223366f37b75d1517e EBUILD nas-1.9.5.ebuild 2628 BLAKE2B ebb4afbf0d60114193377c788ef96aa86537aaa26779c5175e5351d930a9b1504ff3c21958d5e0af5b01fd2c3cf2957425bbe8d26aab91e9f8d912e276b6f3cc SHA512 c99ac280908dc1ee24d1627ca0c3289d6e3a0a0cf85ea78a61a88201da3a860794230d2dcb203df2528b80cd5707eef77325a0dac5c2518322ebba2a81035ae4 MISC metadata.xml 327 BLAKE2B 61fd2aff2796ecff70b16eb84bc90e9242cc3b08d8fb8fff9eb702310ad248ed2c0946fa3f974a420684ad9db4c47f871111ec1170e7d44eca89f263ce533f80 SHA512 bc1d1fa01d3ae21da48bc805c5f822cdff2f14f6a9c6c1ad5ee65063c265bd1c62efb3f45746fe9d1cbf55ff742c7812113f94068a47907042952016067310a7 diff --git a/media-libs/nas/nas-1.9.5-r2.ebuild b/media-libs/nas/nas-1.9.5-r2.ebuild index 3fb113d0881f..8d298261deb3 100644 --- a/media-libs/nas/nas-1.9.5-r2.ebuild +++ b/media-libs/nas/nas-1.9.5-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.9.5-p LICENSE="HPND MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" IUSE="doc static-libs" RDEPEND=" diff --git a/media-libs/noise-suppression-for-voice/Manifest b/media-libs/noise-suppression-for-voice/Manifest index 86436c2319b8..2f8512b6cb3e 100644 --- a/media-libs/noise-suppression-for-voice/Manifest +++ b/media-libs/noise-suppression-for-voice/Manifest @@ -1,5 +1,9 @@ -AUX noise-suppression-for-voice-1.03-tests.patch 1005 BLAKE2B e53d2630774781792e7ed637675fc5de1512aad869810514c5ce749a6bff3ee6ca308dd8434ceaae87bb2931748faccad3262db332695eedf0726421cc70831d SHA512 1b34d5c2fb7f8c71a8a1d0a2ec905148fbb52d5717d43eaedf922d1128804b3167fd78c7db299327e0dd5bba3548c32edd1f166837f0fffa3873753d991b143f -DIST noise-suppression-for-voice-1.03.tar.gz 19486457 BLAKE2B 50d92eb6d8868aa5c175fd2d78c3a24a9d92ddc00327c9155ac59a3d143ec7e462b122e3ad6b07f5647346d69731c0940658581a42100df5924eb759385dd1fc SHA512 1cf08c947a1f5415e35d11007acb3bf1cbb6929c81c3d877d2a1714ec30061285077f9850eb08da7784bf2188d849bd630ad605b1b6e03ea75a1afb16076a512 -EBUILD noise-suppression-for-voice-1.03.ebuild 1766 BLAKE2B ce8ac7c715cdb7c54535dd821a8dfae61148e81e79a58ac5d869ed226882be1c89a1b2b8ba57c870aedd8ddf746a37631631acb075820cb939ac7a2259c50c8f SHA512 8b94ebf807e0e6bcaa906772153f2271f5d42ab96b116e1db0b4004a3ddf071c01c8cf2552d1d6ffd89ba1c9d845f51a1d1a4b02a3bbd474a7b6d7a4205a032c -EBUILD noise-suppression-for-voice-9999.ebuild 1766 BLAKE2B ce8ac7c715cdb7c54535dd821a8dfae61148e81e79a58ac5d869ed226882be1c89a1b2b8ba57c870aedd8ddf746a37631631acb075820cb939ac7a2259c50c8f SHA512 8b94ebf807e0e6bcaa906772153f2271f5d42ab96b116e1db0b4004a3ddf071c01c8cf2552d1d6ffd89ba1c9d845f51a1d1a4b02a3bbd474a7b6d7a4205a032c +AUX 99-input-denoising.conf 975 BLAKE2B 53f6a7a97c93746e6ebfa77aff6423fc7603dad8c8007227a8ee48dd81bf4d861feff528d7f00470e71b27fb44be01d1b5183f994cb78599a80dd6988de33581 SHA512 185a5fdff8114cbada4b6156b812a545bf93b53a7157e78ad081d73d704654c1a997e8a5fcfd5b65b1d2e492e2680e22ee34bb71ac28f26593f61d1050a0a5a2 +AUX noise-suppression-for-voice-1.10-Patch-out-use-of-execinfo.h.patch 1750 BLAKE2B 1423f555d24977bdda4af384cf565c28042f8679959ad95b9b7854eb81fd92c250cad0a7085c3bf4c4b458b882e8b2f47cb2971a71d1b6ea3eb7556e0dbabc3f SHA512 1c2b077c534b7db0f527e059e27c6319e3c3b10314190f3c0ab1652fa960bea98ba5c4b945e25f9eb1a84654e0f2a866a6773d4228bd1a4a43862dd078cb3111 +AUX noise-suppression-for-voice-1.10-Patch-out-use-of-stat64.patch 1751 BLAKE2B ddf971ee02df4caf154f9a5f5d2a1ec6aad59201551384130a9cd18685097a467ebfb5d427f159514d1dcb71e2e609f710761b8f0d130fda1564c149fd6156a2 SHA512 67a36eac0bf1e2d69d39dc211e450bb8076f50a64518bbf0586fe4f85865e0862a226cbe3e808cea08e25d15303c9db7942bf662a5fa54a0fb7ccb961c22122e +AUX noise-suppression-for-voice-1.10-Patch-out-uses-of-nl_langinfo-for-musl.patch 1359 BLAKE2B df0e9dcbfd83a743f7eba6847f1e4617176e0c895d6fe7692a7c5170e0bb06ba41e5cf7b284f07c630ac9c2dba4e7d7ee98de1026843712e54b1c81495a27c17 SHA512 cdcccdf93d6bd4e79db6b14226bd7c970142adbdd84d13ce8a772ee258cf0a7828fee1aec6c22ded52e7e05f93a3d79d22f1ccdebe5004b62557399e010d68a9 +AUX noise-suppression-for-voice-1.10-tests.patch 1005 BLAKE2B e53d2630774781792e7ed637675fc5de1512aad869810514c5ce749a6bff3ee6ca308dd8434ceaae87bb2931748faccad3262db332695eedf0726421cc70831d SHA512 1b34d5c2fb7f8c71a8a1d0a2ec905148fbb52d5717d43eaedf922d1128804b3167fd78c7db299327e0dd5bba3548c32edd1f166837f0fffa3873753d991b143f +DIST noise-suppression-for-voice-1.10.tar.gz 37315188 BLAKE2B cd2f6029aefd6aaef546bcdbc7c0eaf9692a79ba81575649314124c8d6775cb49c62e22a0c4aa8845b9cef07637ed523ee034e79d7a3f0f71db85e7a9f402508 SHA512 17b0f9eb2e377036e0b27045e826ac16ae9e6b1c4e60888ec4663d000cd7d89458ad8365b5bc45b6ed3b2e41e208a45b9db5c79518afb283b3b21554aff2ce84 +EBUILD noise-suppression-for-voice-1.10-r2.ebuild 2380 BLAKE2B 2effe3feca6883bf236398bc402abeba8a7f82e01e0d31a05f0067cf5243f81ac85bf5a470c3c592a9d715fa77545499928a0c9843c0e095097eeda7dcdd2345 SHA512 ce08a1563a299941791895dca57586e2f5cdb6491284cbdc01d1e6b2cd8cd115423788312aaf5eefa5f81fc518a1b8bd1af60e738e7bf5c9bf8c8ee1b3d3c173 +EBUILD noise-suppression-for-voice-9999.ebuild 1992 BLAKE2B f6a557e44bdeb3c1a9d5729b152791e507d3b579a6f2118846bf8ffc18c05db17c3549a914082f1a2aa2d960308a1ba3ed3d37721d630381556be0bdbb391857 SHA512 0345c17dbca575fccd52b2f9fe4c1213f6e8f007de21dd2b23f75fa398b88d8792fcf843621f4aa64ff3d569f73180f4b5e81f380a3437fc053957c2117a8e2f MISC metadata.xml 778 BLAKE2B 08b4b25e83e178aeade44e0893ecb314fa66d2818cf89ae527c33bf626142b9470936224037ca3b19683a2acc70d854594032cbe166cbdb3d4e882e0bc0ff8c6 SHA512 fced74a022682a0420ba60a529451e4c4b2bf8742e1595ada05465980af3e460fd8aa9400f0a96a538334b03728ccdd5200e2c950126e5fbe3f8fb663e69682c diff --git a/media-libs/noise-suppression-for-voice/files/99-input-denoising.conf b/media-libs/noise-suppression-for-voice/files/99-input-denoising.conf new file mode 100644 index 000000000000..37b770619d82 --- /dev/null +++ b/media-libs/noise-suppression-for-voice/files/99-input-denoising.conf @@ -0,0 +1,33 @@ +context.modules = [ +{ name = libpipewire-module-filter-chain + args = { + node.description = "Noise Canceling source" + media.name = "Noise Canceling source" + filter.graph = { + nodes = [ + { + type = ladspa + name = rnnoise + plugin = %PATH_TO_LADSPA_PLUGIN% + label = noise_suppressor_mono + control = { + "VAD Threshold (%)" = 50.0 + "VAD Grace Period (ms)" = 200 + "Retroactive VAD Grace (ms)" = 0 + } + } + ] + } + capture.props = { + node.name = "capture.rnnoise_source" + node.passive = true + audio.rate = 48000 + } + playback.props = { + node.name = "rnnoise_source" + media.class = Audio/Source + audio.rate = 48000 + } + } +} +] diff --git a/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-execinfo.h.patch b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-execinfo.h.patch new file mode 100644 index 000000000000..e87fb0ada3f9 --- /dev/null +++ b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-execinfo.h.patch @@ -0,0 +1,51 @@ +From 74ff3c3990e725c6f9ae407e5f28673570fa4645 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?= + <kacper.slominski72@gmail.com> +Date: Sun, 11 Aug 2024 22:38:58 +0200 +Subject: [PATCH 1/3] Patch out use of execinfo.h + +Not available on musl, and the backtrace functionality is unused +anyway (only called by the leak detector AFAICS). +--- + external/JUCE/modules/juce_core/juce_core.cpp | 4 ---- + .../JUCE/modules/juce_core/system/juce_SystemStats.cpp | 9 +-------- + 2 files changed, 1 insertion(+), 12 deletions(-) + +diff --git a/external/JUCE/modules/juce_core/juce_core.cpp b/external/JUCE/modules/juce_core/juce_core.cpp +index 067a189..e3e6254 100644 +--- a/external/JUCE/modules/juce_core/juce_core.cpp ++++ b/external/JUCE/modules/juce_core/juce_core.cpp +@@ -101,10 +101,6 @@ + #include <sys/time.h>
+ #include <net/if.h>
+ #include <sys/ioctl.h>
+-
+- #if ! (JUCE_ANDROID || JUCE_WASM)
+- #include <execinfo.h>
+- #endif
+ #endif
+
+ #if JUCE_MAC || JUCE_IOS
+diff --git a/external/JUCE/modules/juce_core/system/juce_SystemStats.cpp b/external/JUCE/modules/juce_core/system/juce_SystemStats.cpp +index 3fe9ac7..840c731 100644 +--- a/external/JUCE/modules/juce_core/system/juce_SystemStats.cpp ++++ b/external/JUCE/modules/juce_core/system/juce_SystemStats.cpp +@@ -173,14 +173,7 @@ String SystemStats::getStackBacktrace() + }
+
+ #else
+- void* stack[128];
+- auto frames = backtrace (stack, numElementsInArray (stack));
+- char** frameStrings = backtrace_symbols (stack, frames);
+-
+- for (int i = 0; i < frames; ++i)
+- result << frameStrings[i] << newLine;
+-
+- ::free (frameStrings);
++ jassertfalse; // patched out <execinfo.h>
+ #endif
+
+ return result;
+-- +2.44.2 + diff --git a/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-stat64.patch b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-stat64.patch new file mode 100644 index 000000000000..890c33d6197c --- /dev/null +++ b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-use-of-stat64.patch @@ -0,0 +1,42 @@ +From 6b2901929fa7d618bda890adc7ecc15cb18d5b01 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?= + <kacper.slominski72@gmail.com> +Date: Sun, 11 Aug 2024 23:31:25 +0200 +Subject: [PATCH 2/3] Patch out use of stat64 + +Not available on musl, and we're better off with using +-D_FILE_OFFSET_BITS=64 instead anyway. +--- + CMakeLists.txt | 2 ++ + external/JUCE/modules/juce_core/native/juce_posix_SharedCode.h | 2 +- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2c9ade5..ddbaa16 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -9,6 +9,8 @@ set(CMAKE_BINARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + + set(MINGW_ADDITIONAL_LINKING_FLAGS "-static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic") + ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64") ++ + if(NOT BUILD_VERSION) + set(BUILD_VERSION 1.99) + endif() +diff --git a/external/JUCE/modules/juce_core/native/juce_posix_SharedCode.h b/external/JUCE/modules/juce_core/native/juce_posix_SharedCode.h +index 700e191..b92f19c 100644 +--- a/external/JUCE/modules/juce_core/native/juce_posix_SharedCode.h ++++ b/external/JUCE/modules/juce_core/native/juce_posix_SharedCode.h +@@ -167,7 +167,7 @@ int juce_siginterrupt (int sig, int flag) + //==============================================================================
+ namespace
+ {
+- #if JUCE_LINUX || (JUCE_IOS && ! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS stuff is to avoid a simulator bug)
++ #if (JUCE_IOS && ! __DARWIN_ONLY_63_BIT_INO_T) // (this iOS stuff is to avoid a simulator bug)
+ using juce_statStruct = struct stat64;
+ #define JUCE_STAT stat64
+ #else
+-- +2.44.2 + diff --git a/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-uses-of-nl_langinfo-for-musl.patch b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-uses-of-nl_langinfo-for-musl.patch new file mode 100644 index 000000000000..04de9f024b69 --- /dev/null +++ b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-Patch-out-uses-of-nl_langinfo-for-musl.patch @@ -0,0 +1,36 @@ +From b0ab5ab1b140fe76ff2e923e9d6434ad434adb88 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?= + <kacper.slominski72@gmail.com> +Date: Sun, 11 Aug 2024 23:46:21 +0200 +Subject: [PATCH 3/3] Patch out uses of nl_langinfo for musl + +Not available on musl, instead use the alternative code path for BSD. +--- + .../JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/external/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp b/external/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp +index 84abf88..a7b3343 100644 +--- a/external/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp ++++ b/external/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp +@@ -198,7 +198,7 @@ String SystemStats::getComputerName() +
+ String SystemStats::getUserLanguage()
+ {
+- #if JUCE_BSD
++ #if JUCE_BSD || (JUCE_LINUX && !defined(__GLIBC__))
+ if (auto langEnv = getenv ("LANG"))
+ return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", false, true);
+
+@@ -210,7 +210,7 @@ String SystemStats::getUserLanguage() +
+ String SystemStats::getUserRegion()
+ {
+- #if JUCE_BSD
++ #if JUCE_BSD || (JUCE_LINUX && !defined(__GLIBC__))
+ return {};
+ #else
+ return getLocaleValue (_NL_IDENTIFICATION_TERRITORY);
+-- +2.44.2 + diff --git a/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.03-tests.patch b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-tests.patch index d9f8bd5a0d33..d9f8bd5a0d33 100644 --- a/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.03-tests.patch +++ b/media-libs/noise-suppression-for-voice/files/noise-suppression-for-voice-1.10-tests.patch diff --git a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-1.03.ebuild b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-1.10-r2.ebuild index 0fd3b8452a21..89d7719e6af2 100644 --- a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-1.03.ebuild +++ b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-1.10-r2.ebuild @@ -14,17 +14,12 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" - - PATCHES=( - "${FILESDIR}/${P}-tests.patch" - ) fi LICENSE="GPL-3+" SLOT="0" -IUSE="+ladspa lv2 vst vst3 test" -REQUIRED_USE="|| ( ladspa lv2 vst vst3 )" +IUSE="lv2 vst vst3 test" RESTRICT="!test? ( test )" COMMON_DEPEND=" @@ -43,18 +38,22 @@ DEPEND=" RDEPEND="${DEPEND}" +# Fixes for the JUCE issues the latter 3 patches work around have been +# submitted upstream, but have not been merged yet: +# https://github.com/juce-framework/JUCE/pull/1239 +PATCHES=( + "${FILESDIR}/${P}-tests.patch" + "${FILESDIR}/${P}-Patch-out-use-of-execinfo.h.patch" + "${FILESDIR}/${P}-Patch-out-use-of-stat64.patch" + "${FILESDIR}/${P}-Patch-out-uses-of-nl_langinfo-for-musl.patch" +) + src_configure() { # Bug #925672 - # append-atomic-flags does not work for us in this case, as it can - # only test for single integers of given sizes, meanwhile - # noise-suppression-for-voice does std::atomic<RnNoiseStats>, where - # RnNoiseStats is a struct with 4 uint32_t members. - if test-flags-CCLD "-latomic" &>/dev/null; then - append-flags -Wl,--push-state,--as-needed,-latomic,--pop-state - fi + append-atomic-flags local mycmakeargs=( - -DBUILD_LADSPA_PLUGIN=$(usex ladspa ON OFF) + -DBUILD_LADSPA_PLUGIN=ON -DBUILD_LV2_PLUGIN=$(usex lv2 ON OFF) -DBUILD_VST_PLUGIN=$(usex vst ON OFF) -DBUILD_VST3_PLUGIN=$(usex vst3 ON OFF) @@ -69,3 +68,21 @@ src_test() { cp "${BUILD_DIR}/src/common/CTestTestfile.cmake" "${BUILD_DIR}/CTestTestfile.cmake" || die cmake_src_test } + +src_install() { + cmake_src_install + + dodir /usr/share/pipewire/pipewire.conf.avail/ + sed "s|%PATH_TO_LADSPA_PLUGIN%|${EPREFIX}/usr/$(get_libdir)/ladspa/librnnoise_ladspa.so|" \ + "${FILESDIR}/99-input-denoising.conf" \ + > "${D}/${EPREFIX}/usr/share/pipewire/pipewire.conf.avail/99-input-denoising.conf" || die +} + +pkg_postinst() { + elog "An example PipeWire configuration has been installed into:" + elog "${EPREFIX}/usr/share/pipewire/pipewire.conf.avail/99-input-denoising.conf" + elog "" + elog "You can enable it by copying or symlinking the file into:" + elog " ~/.config/pipewire/pipewire.conf.d/ for your user, or" + elog " /etc/pipewire/pipewire.conf.d/ to enable it system-wide." +} diff --git a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild index 0fd3b8452a21..0affaae2c0c2 100644 --- a/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild +++ b/media-libs/noise-suppression-for-voice/noise-suppression-for-voice-9999.ebuild @@ -14,17 +14,12 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" - - PATCHES=( - "${FILESDIR}/${P}-tests.patch" - ) fi LICENSE="GPL-3+" SLOT="0" -IUSE="+ladspa lv2 vst vst3 test" -REQUIRED_USE="|| ( ladspa lv2 vst vst3 )" +IUSE="lv2 vst vst3 test" RESTRICT="!test? ( test )" COMMON_DEPEND=" @@ -45,16 +40,10 @@ RDEPEND="${DEPEND}" src_configure() { # Bug #925672 - # append-atomic-flags does not work for us in this case, as it can - # only test for single integers of given sizes, meanwhile - # noise-suppression-for-voice does std::atomic<RnNoiseStats>, where - # RnNoiseStats is a struct with 4 uint32_t members. - if test-flags-CCLD "-latomic" &>/dev/null; then - append-flags -Wl,--push-state,--as-needed,-latomic,--pop-state - fi + append-atomic-flags local mycmakeargs=( - -DBUILD_LADSPA_PLUGIN=$(usex ladspa ON OFF) + -DBUILD_LADSPA_PLUGIN=ON -DBUILD_LV2_PLUGIN=$(usex lv2 ON OFF) -DBUILD_VST_PLUGIN=$(usex vst ON OFF) -DBUILD_VST3_PLUGIN=$(usex vst3 ON OFF) @@ -69,3 +58,21 @@ src_test() { cp "${BUILD_DIR}/src/common/CTestTestfile.cmake" "${BUILD_DIR}/CTestTestfile.cmake" || die cmake_src_test } + +src_install() { + cmake_src_install + + dodir /usr/share/pipewire/pipewire.conf.avail/ + sed "s|%PATH_TO_LADSPA_PLUGIN%|${EPREFIX}/usr/$(get_libdir)/ladspa/librnnoise_ladspa.so|" \ + "${FILESDIR}/99-input-denoising.conf" \ + > "${D}/${EPREFIX}/usr/share/pipewire/pipewire.conf.avail/99-input-denoising.conf" || die +} + +pkg_postinst() { + elog "An example PipeWire configuration has been installed into:" + elog "${EPREFIX}/usr/share/pipewire/pipewire.conf.avail/99-input-denoising.conf" + elog "" + elog "You can enable it by copying or symlinking the file into:" + elog " ~/.config/pipewire/pipewire.conf.d/ for your user, or" + elog " /etc/pipewire/pipewire.conf.d/ to enable it system-wide." +} diff --git a/media-libs/nvidia-vaapi-driver/Manifest b/media-libs/nvidia-vaapi-driver/Manifest index ad04856a95c7..5fa4a2fbeea7 100644 --- a/media-libs/nvidia-vaapi-driver/Manifest +++ b/media-libs/nvidia-vaapi-driver/Manifest @@ -1,3 +1,3 @@ DIST nvidia-vaapi-driver-0.0.12.tar.gz 183420 BLAKE2B bf3d2f92a0a38d209d3108893664a7b28657657b432cd43a016442b2192c10850ea4278a2a4a02dd53ba759cef38f39d36bdfa934b1fc3a229aed1ff7f7e0a55 SHA512 e586107d840fbcbce3f4f4f4397188d7df2beaeb763ec0ceaae6f4edb2a5638abed388816796e0a0b0665087cfb09fce2a4d83a3cdfd2279edf6b1be278f2ab2 -EBUILD nvidia-vaapi-driver-0.0.12.ebuild 597 BLAKE2B 3514b99749415d701bb0be999a19992677f47a6cd3078f16c34080a980c546b62272f24283f5c387965b671272b8e11e9bab3419300f79dc80af38d5fee4bc64 SHA512 0d3a625f965bdf8b74b461fd1587aed34eff1ab47e49573b47305a6e283e7f8b318f51676fc2099cf7fd21440ed01bce1e8c06dcc4fe510388ea373b2134805b +EBUILD nvidia-vaapi-driver-0.0.12.ebuild 976 BLAKE2B 82f4c9c145456e199240ce4ab0a60147297b0e7a7d457c4840f37af9d2ed27bc05b5d81002d97e201535896221947b50c5e2f3ab73908df028c36533ef010f8b SHA512 624a23b62e4fc5fa7b027cffcd3c17090476d7429778eb1e15a1a4b0d140a0133bce00e8013a61a5b276806e9ba4a3b3797b123c5fd20d7b7b9e259e8ab270b2 MISC metadata.xml 600 BLAKE2B 780e519992c02718417c1de7ca5c966c4795088bb649d862277959602ea6744c3d78589dc70e5c3eaefc989f9afd7eccded785b7e6e253fc8ae591731634c596 SHA512 5c43e6438c06d5631837711047ca2ccaccda39871af1eaef5ff997a5c35c2ec9f86a0188f44e961095c44823b11847289d04e16575e6061d4c894762a81b1c63 diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.12.ebuild b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.12.ebuild index 3c66a5114841..24f23d496823 100644 --- a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.12.ebuild +++ b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.12.ebuild @@ -20,3 +20,13 @@ RDEPEND="media-libs/gst-plugins-bad DEPEND="${RDEPEND} >=media-libs/nv-codec-headers-11.1.5.1" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + # Source: https://github.com/elFarto/nvidia-vaapi-driver/blob/v0.0.12/src/backend-common.c#L13 + elog "If vaapi drivers fail to load, then make sure that you are" + elog "passing the correct parameters to the kernel." + elog "nvidia_drm.modeset should be set to 1." + + elog "Check the wiki page for more information: " + elog "https://wiki.gentoo.org/wiki/VAAPI" +} diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index 82012099ae17..48ad0a861d53 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,3 +1,5 @@ DIST oneVPL-intel-gpu-24.2.2.tar.gz 9059065 BLAKE2B 05ff0161fab1d7b3c55bfeeae0262f960136f04e75530d1b1fa7bf99cefc5c30f4041907d303c7197eefbf55e30d834e6cd7a15fe6216780e0aaead8585ff8e2 SHA512 47cdbcf39fddd7a54682b9d1dbeb210175fa052326b33664bc5b80f9dc073df333c9e21ae57db49781d494e49a199c6ffe2f90719041b09c5e5fa46922e3e159 +DIST oneVPL-intel-gpu-24.2.5.tar.gz 9063523 BLAKE2B 1d993c5f8fc460323b3630af4068e49c8222c685288f32a3500d9bc646ef99ef1273854422d34831739bbe13750993a9f23b1a8e4ed827b28e0712422b06786f SHA512 a7aa37d27e4f2429634382d55074a014d96fa15ff2c5c40539f753888152f42dd46c9e5b0899021099091167f7a611016e79792ed8808935276adf34199113bf EBUILD oneVPL-intel-gpu-24.2.2.ebuild 1183 BLAKE2B cfc4ed146226a96ff930e055b4cddd6507bcfce2bbb61127b6307345e50a8b00e221af3619bf8b5a463ea67bd218ba0cf504f8a21c3bdabd1bfc41c8a38ac57d SHA512 e22654acc930e24a9af91b9de320b555b16f4237130bfd84345a6810990ec59eff5d7f4fbd363327e971c4b44326e917b028117802e18c3e5998bf6578d82959 -MISC metadata.xml 434 BLAKE2B f5f6ea2e0ebac9ba06ebdb2a8469e99171f25ad08d8e992695e7d189f5c3f8fb3e966d710fe02cbd1f590f2137e265d9bf5014f0d9e7a492574b526360d70133 SHA512 713bf6044fd4d5606568af248dc0adf1a93c5917fb7d6d79c7a033a5b52a0164769b02086caa0a4492979c586511b5a4d7b85fe603ffe80d4884786e05dc520e +EBUILD oneVPL-intel-gpu-24.2.5.ebuild 1162 BLAKE2B 0bcadd31110f58587ba24c9fdd00a16d7f51045063748b9e14b7e67dbd34f9cae71c8e6bc78623d37196cbf1f97ebd86a18d29b1f418dd6dfd1d83f9d353bb91 SHA512 854ffae85a8d6ee5b33f5c9375a71be032f9886e1e3f72f41e21a09c43f425bd12ec1da595f8f748c8db2c68b110f58332eebf5e432389a25e66543db4d6e1e6 +MISC metadata.xml 423 BLAKE2B c6931732df601757fd545622f7bb00835b0f779a9cbca46dcf49a4cff74d3ede80163eb226c6f18073544864732a315fb067542d1347024104cc95e1f23a956c SHA512 2c731c3125ae435eb021268228d51dd61f6b4135bf402c8f9de0b55235067fe03a9677d9f90f65e75a7f73f9d8afec5711744a19b4aea83acc675ed1c8dc8112 diff --git a/media-libs/oneVPL-intel-gpu/metadata.xml b/media-libs/oneVPL-intel-gpu/metadata.xml index 1d48ba0cbeed..6bcfa55e06ba 100644 --- a/media-libs/oneVPL-intel-gpu/metadata.xml +++ b/media-libs/oneVPL-intel-gpu/metadata.xml @@ -9,6 +9,6 @@ <name>Andrew Ammerlaan</name> </maintainer> <upstream> - <remote-id type="github">oneapi-src/oneVPL-intel-gpu</remote-id> + <remote-id type="github">intel/vpl-gpu-rt</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild new file mode 100644 index 000000000000..1e9794bab839 --- /dev/null +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-24.2.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="oneAPI Video Processing Library Intel GPU implementation" +HOMEPAGE="https://github.com/intel/vpl-gpu-rt/" +SRC_URI="https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/vpl-gpu-rt-intel-onevpl-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + media-libs/libva + x11-libs/libdrm[video_cards_intel] +" +# At runtime we need a dispatcher, libvpl is preferred but mediasdk also works +RDEPEND="${DEPEND} + >=media-libs/libva-intel-media-driver-${PV} + || ( + media-libs/libvpl + media-libs/intel-mediasdk + ) +" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DBUILD_RUNTIME=ON + # To build the kernels we need to package the cm-compiler, use pre-built instead + -DBUILD_KERNELS=OFF + -DBUILD_TESTS="$(usex test)" + # This only seems to do something if we BUILD_KERNELS=ON + #-DBUILD_TOOLS="$(usex tools)" + # OpenCL only has an effect if we build kernels + -DENABLE_OPENCL=OFF + ) + cmake_src_configure +} diff --git a/media-libs/openal/Manifest b/media-libs/openal/Manifest index 6c358f17df0b..1b63d0297148 100644 --- a/media-libs/openal/Manifest +++ b/media-libs/openal/Manifest @@ -1,3 +1,4 @@ +AUX openal-1.23.1-gcc15-cstdint.patch 650 BLAKE2B d4d809a519476586a41db29a277f73c568110c9fcc5a5e2f0a0e945877c757025a46069d143e95cb24d470f4147796e1072dd06fe5322b50e51f10551866e89f SHA512 9a3d76575c9af49ad1c6b3764e098df10c72fcd95495927fe98572f51e19b7fa3fc5cad48c2924069a95d2c563a2a11861de7022c07ccbd1d99d7af11209c151 DIST openal-soft-1.23.1.tar.bz2 699330 BLAKE2B 214eb5c6714f8beec711fbebb60725fb06daf77bcb62b14125ff3bc11ebe97365893a36652819bcde92d3714bb2a7ec2ac119a1f439a74fea56f65c7574f2c95 SHA512 0d40577cd27040dc8814c15bacc310a0ce1c98e084f0a37db9f66899265df42ea61ac672efba7445e495849c25b9ba5b086f43320a38965f6ee74081b2896819 -EBUILD openal-1.23.1-r1.ebuild 2874 BLAKE2B d479019920a93a39a1fbe6f8b2d47e21ed9edc4f6a3846592913f40c0abd30492acfbeb17d03e58a2420761c701f23da4def77835ae48883159d381fe491003b SHA512 24c07d6aeaebcb25fddad0069a9789f8dc621891d8aa454c41beca95b8e1a9995f02bb52e19ab136d3eb8ec407f4f295c4cdac8c0b398cea79dd85643c7a2bb9 +EBUILD openal-1.23.1-r1.ebuild 2935 BLAKE2B 5fcfc4e936bec0b789562ed1f2ba234a75a5196ffb3a57ce9ecee65e7a0734d24e37df0f698d8e22ecda74c6c68d0df5afdcf972effd073be3b486b68aa1ae50 SHA512 2eaab5ba0da57c11005bce92e997676fa641a1fece0d4ee8f6902e8bc4d12db73f2e188d4537fa992b49455a31e474ce953612e0631701ad3e2c351cb2d17608 MISC metadata.xml 538 BLAKE2B 4b9dc398e2edd4930ade6cffbe1e39776bc3a0a1aa5ea2fa4753d8756517f7d2efc3e22ce31eef1f79dee9dc1d1f5c4ca945f1d5b54a7ffac081173f8bb6ffc1 SHA512 9e817af11955ef748ea11979a1da99c046ca4f45f812f1555f9dcd0606ca16e8d027de9588d792170faf81a42a091cc8d5edffff1d12d99128f08f688f685462 diff --git a/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch b/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch new file mode 100644 index 000000000000..ce4ceb455b2f --- /dev/null +++ b/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch @@ -0,0 +1,32 @@ +Fixed exhaustively upstream in https://github.com/kcat/openal-soft/commit/64f8e8347f7ed3f98917fae7587f4d72b54c28ef +but doesn't apply cleanly, so do a minimal fix here. +--- a/alc/alu.h ++++ b/alc/alu.h +@@ -2,6 +2,7 @@ + #define ALU_H + + #include <bitset> ++#include <cstdint> + + #include "aloptional.h" + +--- a/core/mixer/defs.h ++++ b/core/mixer/defs.h +@@ -2,6 +2,7 @@ + #define CORE_MIXER_DEFS_H + + #include <array> ++#include <cstdint> + #include <stdlib.h> + + #include "alspan.h" +--- a/core/uhjfilter.h ++++ b/core/uhjfilter.h +@@ -2,6 +2,7 @@ + #define CORE_UHJFILTER_H + + #include <array> ++#include <cstdint> + + #include "almalloc.h" + #include "alspan.h" diff --git a/media-libs/openal/openal-1.23.1-r1.ebuild b/media-libs/openal/openal-1.23.1-r1.ebuild index 577f84a4b295..2c46a9584900 100644 --- a/media-libs/openal/openal-1.23.1-r1.ebuild +++ b/media-libs/openal/openal-1.23.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -51,6 +51,10 @@ DEPEND=" DOCS=( alsoftrc.sample docs/env-vars.txt docs/hrtf.txt ChangeLog README.md ) +PATCHES=( + "${FILESDIR}"/${PN}-1.23.1-gcc15-cstdint.patch +) + multilib_src_configure() { local mycmakeargs=( # See bug #809314 for getting both options for backends diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest index 6cecbf16e560..ab880daf62f6 100644 --- a/media-libs/opencolorio/Manifest +++ b/media-libs/opencolorio/Manifest @@ -5,6 +5,7 @@ AUX opencolorio-2.2.1-support-doxygen-1.9.7.patch 5263 BLAKE2B 7d9ddd3db43dba048 AUX opencolorio-2.2.1-support-minizip-ng-4.patch 3133 BLAKE2B f84abb93233d0834b1f1bd8066140db1120ddf1a1eeb95d340283ed5ef56bb598787d8a23cdc5b8acbbdc595d6850956c25e0a0f57139d872e45dd5469407d55 SHA512 d0c811f80978f8d08dccd94cd25b26b5fd9e8ba3bcb2cffa82426e9faea5e0afef46843128e297614d7e2fd0886bc9928ddb7e03b9b691fd03b05923693de8da AUX opencolorio-2.3.0-fix-cxxflags.patch 868 BLAKE2B 0c0a553066f4901a48290be145bdd2d543b5b6afb3b2363227da4366e70ba5d9a803ffbe00f5d63e5ee5f4cfc292c9e4f79fdee5555b72bf6f3f3d0db80e80d0 SHA512 f272b547535691e5d4e73aa5c11bdb4e04ef06838b0e34153f08d0b742d8875f93dbf5c2502c2a54725b9b6c1e5caac795c5f69bd3d3b48cf6826f358889155a AUX opencolorio-2.3.0-support-yaml-cpp-0.8.0.patch 808 BLAKE2B aed4b9d8bf512e42578e239bfe9a60074cb812d5d8894fc489f535a709d1b755d1934cf1c556ee9a06b5fd199796f4f6defdb36b8f9df7503288fd4a7eb5db7c SHA512 cf5a4b007ab4a9c25f6f94caeb007a0f4f2d83203eca6a4b83b38abc9df08593eb10159194e9c399f5877a618acd4da355b8fb299f39a73d04a4c94a903dbecc +AUX opencolorio-2.3.2-include-cstdint.patch 730 BLAKE2B 35df68ae92e99373f47a0aeba7425e27df851d63205af0c6343cfddeeb36331eab7a9b4a2eedafc13f52301232733160ba0fe0c338553bf0aae069b91c73a6fb SHA512 072c3ebc9d155c1ff389884871d098695dedcfcf3c339088f4b1888df83b0c6bbc8ea0e1bdd18f9e3d7d4d7f1d554ad72be6022552a57879e6c03badb7397e2d DIST opencolorio-2.1.3.tar.gz 11024701 BLAKE2B bcd1eb6a74260f451e49ef40e729bfc4c354ab255d96c261fbf865c586f285fe876ed54b05276f3b6b25ece4fd261672fe1dd519041ffad77d7c78efc8cf161d SHA512 b26fcfa3ea12ab6e4b019a13ce79ebcfd215c674acb348f2d9f85f749b2a5beccd395ed1cc9954e4b3cb83a160b24a8d7d81994ac1d9ea8cfe074b81d6b8a061 DIST opencolorio-2.2.1.tar.gz 11336775 BLAKE2B b463d6a0a7e7fec0a890fa8a0cd06ed269f925c5986dfb82eb53728a09d884c89e6c4dfe112706ce27351d4440909ff9680387028d1dc887e7d866b30c39c54f SHA512 d5f3a4b5bd661af7336c015d07e0feccb286464a08239a3c259a97217001161e7571f5137475fc2f4d1b9af6381bbfa03c0b60f41de282f114307961b8d84fc9 DIST opencolorio-2.3.0.tar.gz 11406998 BLAKE2B 0e62e43de076a712f68b68b91c9908bc9050316e3500e0924fafb08a3356ce361953f49dfd1eb022eeada11e499653833a48a22a4ba593504617c1c61b16d488 SHA512 cdf20ca6c85b1d70244d8532d010344f1cf85be6a116d831e83ea04d7c47a961049691e6a241e9a7f632d864df57a4bccb68084e27187ec8a05f1fdf344824d7 @@ -12,5 +13,5 @@ DIST opencolorio-2.3.2.tar.gz 11443450 BLAKE2B 2573d2f229ba0349574d83883cd653485 EBUILD opencolorio-2.1.3.ebuild 3168 BLAKE2B 7e64eecf250f5f56b15dde6c7a283185f4bb95d939c771a98b0856eba91de18f02ae27ac354ef104c6eb515f79bfa49e5daa8b1f407347f3c1fb0706597a2261 SHA512 b5f4ec43b46270cc2b05875b722c70840822eb0a46f4b1fd6bcd781170a331d5ce9809aca4df1364666992059aba53ea6f20a4c88c6b2ac0015b2280c3bfd64d EBUILD opencolorio-2.2.1.ebuild 3705 BLAKE2B 59712f2546a5411902a98368ec6cf97921c12cb515ba555e2736deea90e643be2ab5b86f567b9158bf5fa75a040fb632e8c7b9a9f053fb6d74c42ca769380bdd SHA512 a419232dde52910c34ee7ecb6270a735e15c414754916ba6fad1495f4f14cff9714637b3cc6536828e955e2c0c794ecd23ead6eb17a2436740ab5eb577ccbd5f EBUILD opencolorio-2.3.0.ebuild 4606 BLAKE2B d907b310540d7124b311e36e897078559e9fb16ad944a183af464f3d4e88b859eab8325fea18686e756763689b6af209a0a19745897298185e7df65f338c1d7b SHA512 03887551e7376d62c51ba548aeef9a30bf4501097c40bf6315c499ada08ab8154cbb1d1fd5c6725636074045a3b07ea80b43ee38ad4717fa9b345e82ced4b766 -EBUILD opencolorio-2.3.2.ebuild 4827 BLAKE2B 8cf7b7a5ce4ffc4f276e8f58bf11fed3c40990b88142a7882041a6d0a45cfb8e0d39e689789836f4064c91f38451fe51dcea37ac63b9152f258740d305ee5b3e SHA512 ac794c39142b5e648080b4e6436b1988f15ec18eab480d9597022ae7e90ccf8e45fe1fc1f69475e3ea697201b195a8088b25f74e42568b124f4919882e76018b +EBUILD opencolorio-2.3.2.ebuild 4876 BLAKE2B ba39476309537862701e5cc96d4a62ee2b4a02e42165fbe9865aabd94ef24b6de174e9b55f0b313e13757ba6f79fa63aefbdb785effc3daf8001c8d8680255c6 SHA512 fdbcd63ad2e0185a0b430c193b73b27df8b5ecc4628d939244d2e386afbc77121da1ffa274a71d06f19af8c74bb2df061607eb170e05eda36b5d44da4bffde83 MISC metadata.xml 792 BLAKE2B 6b94c1223e756ef3179ab3442c134bf7881400434332691bc693a36c8bceb4db609dd143afb6a18192c7bfaa9ccb72015c215e08b3bd65fbdb3ccc2fb3ff713d SHA512 c1b3d44b5ce24813b3e07074ba2fe40c3af89033dfbe5a372b130be26fcfeba9fa9c2a0d9e6a695972dc402979aa732df27fd3c6128a8f3a51fe926ecb73cb25 diff --git a/media-libs/opencolorio/files/opencolorio-2.3.2-include-cstdint.patch b/media-libs/opencolorio/files/opencolorio-2.3.2-include-cstdint.patch new file mode 100644 index 000000000000..89f3b9465754 --- /dev/null +++ b/media-libs/opencolorio/files/opencolorio-2.3.2-include-cstdint.patch @@ -0,0 +1,26 @@ +From fb9b39dcb69746f9011087a6e1bc727872b86cfb Mon Sep 17 00:00:00 2001 +From: Paul Zander <negril.nx+gentoo@gmail.com> +Date: Wed, 14 Aug 2024 17:43:30 +0200 +Subject: [PATCH] Fix compilation on GCC 15 + +Bug: https://bugs.gentoo.org/937408 +Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> +--- + include/OpenColorIO/OpenColorIO.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/OpenColorIO/OpenColorIO.h b/include/OpenColorIO/OpenColorIO.h +index 784cf8d..7e04976 100644 +--- a/include/OpenColorIO/OpenColorIO.h ++++ b/include/OpenColorIO/OpenColorIO.h +@@ -6,6 +6,7 @@ + #define INCLUDED_OCIO_OPENCOLORIO_H + + #include <cstddef> ++#include <cstdint> + #include <iosfwd> + #include <limits> + #include <stdexcept> +-- +2.46.0 + diff --git a/media-libs/opencolorio/opencolorio-2.3.2.ebuild b/media-libs/opencolorio/opencolorio-2.3.2.ebuild index 70d5fb6ebc07..a9aa47ecd117 100644 --- a/media-libs/opencolorio/opencolorio-2.3.2.ebuild +++ b/media-libs/opencolorio/opencolorio-2.3.2.ebuild @@ -90,6 +90,7 @@ RESTRICT="test" #"!test? ( test )" PATCHES=( "${FILESDIR}/${PN}-2.2.1-adjust-python-installation.patch" + "${FILESDIR}/${PN}-2.3.2-include-cstdint.patch" ) pkg_setup() { diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index 78440eecb53c..e06b8275f150 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -34,5 +34,6 @@ DIST opencv_3rdparty-fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d.tar.gz 1470898 BLA DIST opencv_contrib-4.9.0.tar.gz 59803362 BLAKE2B e6b90e9bd462f96ef010490d45105d7125622d6c49912653c0d387568ae7109b1cbcac4cc0f52c1f997a45ed75923caea90bf4ad9336e689a56742b029789038 SHA512 ebaee3b88bd7ae246727e65a98d9fbc1d9772a4181a1926f3af742410b78dc87d2386bcd96ac67d7fb1a3020c3717a2cdebdcf9304d6dfd9ea494004791cf043 DIST opencv_extra-4.9.0.tar.gz 502141517 BLAKE2B ed7351f29c6fb80d56d5ef383af68322fa805c7689132f7ca9bb43c9a1319c5876ce6d5c40d583c955eb255dd82b876c94ed42625cd71b13830ec94b2cc75dc2 SHA512 f05c1eaed491d15107c858af5b33d0d5856070dcb6f94491ba33a172b2f0caf34905eb5d1787e1247bc888626478647fce0db7f3ccbc6d6faba0ee43fd6b6bfa EBUILD opencv-4.8.1-r2.ebuild 29152 BLAKE2B 26ed0294916f8062548587cc168c944aa178bcba5f2f84ceacf98e5a1380b8af8469fe6b0d201846d3678e4dba4e7647e9ee2efbed7e11a6b24ec0ed9417a06a SHA512 1cfae2b8cf6f2d975745bf4080627c1259a1c4131a688fd06e6f530b4edfa3376170f9486a1fadb1ee15aa932bb9abb27436bdd3a4c357ccf0502a756361fc31 -EBUILD opencv-4.9.0-r1.ebuild 34640 BLAKE2B ac1c9e65505000ad057f6d1750402b9264fa4d23504d34d25667c0025c5e34387b03c533809d499e9e394bdeef32d51f7c99aa4eba3a8c2311615ae5c8f87c65 SHA512 daa1f32158b1dd97a46b964eba8ece7ffcb08e8eb39257f9e8833a914fd10a5c70c54da97536c371732a5f7e274bbfae78b3d8a1c867421752e7555a22c08316 +EBUILD opencv-4.9.0-r1.ebuild 34638 BLAKE2B 695e677013af934cf4920f69f0b0c8e3f60836ea80a39f8dd628a0431b8947f067fdc052b848d6c215511bf5661fbe9177c083815eb661bacdaeffb27a292da9 SHA512 255936aa5da242b54afdf2b8ee12a7038453d528e947fec2b113a72f620feb4f3f967fa57b0fe5c6a166d3cb8452be5a57b965f46cc7886c0fc1e123c9a7aeab +EBUILD opencv-4.9.0-r2.ebuild 35016 BLAKE2B 3abcc5d39b5495090ca92b569674efd5a3ac8ffaf847634791b3976bc86539c1d61191d9bc5006b786e625556787eda8b2bed4b4b0f9eb7e9e63f0ae37eac77f SHA512 62598531e0380a7b8bd2edc3592d66205d99a75c3e80da4041473e1d24a7d9c5b9f251061194eee96fb1bebf44635a41c7bc27f60dedb591a64ca6b7644c6229 MISC metadata.xml 3718 BLAKE2B 44b00ff4bc94a19f6a1b68cfefb29ce9f1a4ee21ee999b72a258268893ede5274d863d3a6faa325e6f0522c078c6afae53c6de4c46d6ed5a083888e195f34276 SHA512 b6c2f0a27b84afcb576209a3bdc641e81323c01bcac9617086d79821e723ea3c9698e8f3c5db837d46da68e48b6d9d08bdd05977e22d58d6c7ad30fa7b965b52 diff --git a/media-libs/opencv/opencv-4.9.0-r1.ebuild b/media-libs/opencv/opencv-4.9.0-r1.ebuild index dbf8b20165fd..227ff691acb6 100644 --- a/media-libs/opencv/opencv-4.9.0-r1.ebuild +++ b/media-libs/opencv/opencv-4.9.0-r1.ebuild @@ -56,7 +56,7 @@ else https://github.com/${PN}/${PN}_extra/archive/refs/tags/${PV}.tar.gz -> ${PN}_extra-${PV}.tar.gz ) " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" fi LICENSE="Apache-2.0" diff --git a/media-libs/opencv/opencv-4.9.0-r2.ebuild b/media-libs/opencv/opencv-4.9.0-r2.ebuild new file mode 100644 index 000000000000..3ddfccd217f2 --- /dev/null +++ b/media-libs/opencv/opencv-4.9.0-r2.ebuild @@ -0,0 +1,1035 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cuda java-pkg-opt-2 cmake-multilib flag-o-matic python-r1 toolchain-funcs virtualx + +DESCRIPTION="A collection of algorithms and sample code for various computer vision problems" +HOMEPAGE="https://opencv.org" + +if [[ ${PV} = *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + # branch master + ADE_PV="0.1.2d" + # branch wechat_qrcode_20210119 + QRCODE_COMMIT="a8b69ccc738421293254aec5ddb38bd523503252" + # branch dnn_samples_face_detector_20170830 + DNN_SAMPLES_FACE_DETECTOR_COMMIT="b2bfc75f6aea5b1f834ff0f0b865a7c18ff1459f" + # branch contrib_xfeatures2d_boostdesc_20161012 + XFEATURES2D_BOOSTDESC_COMMIT="34e4206aef44d50e6bbcd0ab06354b52e7466d26" + # branch contrib_xfeatures2d_vgg_20160317 + XFEATURES2D_VGG_COMMIT="fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" + # branch contrib_face_alignment_20170818 + FACE_ALIGNMENT_COMMIT="8afa57abc8229d611c4937165d20e2a2d9fc5a12" + # branch nvof_2_0_bsd + NVIDIA_OPTICAL_FLOW_COMMIT="edb50da3cf849840d680249aa6dbef248ebce2ca" + + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/opencv/ade/archive/v${ADE_PV}.tar.gz -> ade-${ADE_PV}.tar.gz + contrib? ( + https://github.com/${PN}/${PN}_contrib/archive/${PV}.tar.gz -> ${PN}_contrib-${PV}.tar.gz + dnnsamples? ( + https://github.com/${PN}/${PN}_3rdparty/archive/${QRCODE_COMMIT}.tar.gz -> ${PN}_3rdparty-${QRCODE_COMMIT}.tar.gz + https://github.com/${PN}/${PN}_3rdparty/archive/${DNN_SAMPLES_FACE_DETECTOR_COMMIT}.tar.gz + -> ${PN}_3rdparty-${DNN_SAMPLES_FACE_DETECTOR_COMMIT}.tar.gz + ) + contribxfeatures2d? ( + https://github.com/${PN}/${PN}_3rdparty/archive/${XFEATURES2D_BOOSTDESC_COMMIT}.tar.gz + -> ${PN}_3rdparty-${XFEATURES2D_BOOSTDESC_COMMIT}.tar.gz + https://github.com/${PN}/${PN}_3rdparty/archive/${XFEATURES2D_VGG_COMMIT}.tar.gz + -> ${PN}_3rdparty-${XFEATURES2D_VGG_COMMIT}.tar.gz + ) + contribdnn? ( + https://github.com/${PN}/${PN}_3rdparty/archive/${FACE_ALIGNMENT_COMMIT}.tar.gz + -> ${PN}_3rdparty-${FACE_ALIGNMENT_COMMIT}.tar.gz + ) + cuda? ( + https://github.com/NVIDIA/NVIDIAOpticalFlowSDK/archive/${NVIDIA_OPTICAL_FLOW_COMMIT}.tar.gz + -> NVIDIAOpticalFlowSDK-${NVIDIA_OPTICAL_FLOW_COMMIT}.tar.gz + ) + ) + test? ( + https://github.com/${PN}/${PN}_extra/archive/refs/tags/${PV}.tar.gz -> ${PN}_extra-${PV}.tar.gz + ) + " + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0/${PV}" # subslot = libopencv* soname version + +# general options +IUSE="debug doc +eigen gflags glog java non-free opencvapps +python test testprograms" + +# modules +IUSE+=" contrib contribcvv contribdnn contribfreetype contribhdf contribovis contribsfm contribxfeatures2d dnnsamples examples +features2d" +# hardware +IUSE+=" opencl cuda cudnn video_cards_intel" +# video +IUSE+=" +ffmpeg gstreamer xine vaapi v4l gphoto2 ieee1394" +# image +IUSE+=" gdal jasper jpeg jpeg2k openexr png quirc tesseract tiff webp" +# gui +IUSE+=" gtk3 qt5 qt6 opengl vtk" +# parallel +IUSE+=" openmp tbb" +# lapack options +IUSE+=" atlas lapack mkl" + +# TODO make this only relevant for binhost +CPU_FEATURES_MAP=( + cpu_flags_arm_neon:NEON + cpu_flags_arm_vfpv3:VFPV3 + + cpu_flags_ppc_vsx:VSX # (always available on Power8) + cpu_flags_ppc_vsx3:VSX3 # (always available on Power9) + + cpu_flags_x86_sse:SSE # (always available on 64-bit CPUs) + cpu_flags_x86_sse2:SSE2 # (always available on 64-bit CPUs) + + cpu_flags_x86_sse3:SSE3 + cpu_flags_x86_ssse3:SSSE3 + + cpu_flags_x86_sse4_1:SSE4_1 + cpu_flags_x86_popcnt:POPCNT + cpu_flags_x86_sse4_2:SSE4_2 + + cpu_flags_x86_f16c:FP16 + cpu_flags_x86_fma3:FMA3 + cpu_flags_x86_avx:AVX + cpu_flags_x86_avx2:AVX2 + cpu_flags_x86_avx512f:AVX_512F +) +IUSE+=" ${CPU_FEATURES_MAP[*]%:*}" +unset ARM_CPU_FEATURES PPC_CPU_FEATURES X86_CPU_FEATURES_RAW X86_CPU_FEATURES + +REQUIRED_USE=" + amd64? ( cpu_flags_x86_sse cpu_flags_x86_sse2 ) + cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) + cpu_flags_x86_f16c? ( cpu_flags_x86_avx ) + cuda? ( + contrib + tesseract? ( opencl ) + ) + cudnn? ( cuda ) + dnnsamples? ( examples ) + gflags? ( contrib ) + glog? ( contrib ) + contribcvv? ( contrib || ( qt5 qt6 ) ) + contribdnn? ( contrib ) + contribfreetype? ( contrib ) + contribhdf? ( contrib ) + contribovis? ( contrib ) + contribsfm? ( contrib eigen gflags glog ) + contribxfeatures2d? ( contrib ) + java? ( python ) + opengl? ( ?? ( gtk3 || ( qt5 qt6 ) ) ) + python? ( ${PYTHON_REQUIRED_USE} ) + tesseract? ( contrib ) + ?? ( gtk3 || ( qt5 qt6 ) ) + test? ( || ( ffmpeg gstreamer ) jpeg png tiff features2d ) +" + +# TODO find a way to compile these with the cuda compiler +REQUIRED_USE+=" + cuda? ( !gdal !openexr !tbb ) +" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + app-arch/bzip2[${MULTILIB_USEDEP}] + dev-libs/protobuf:=[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + cuda? ( <dev-util/nvidia-cuda-toolkit-12.4:0= ) + cudnn? ( dev-libs/cudnn:= ) + contribdnn? ( dev-libs/flatbuffers:= ) + contribhdf? ( sci-libs/hdf5:= ) + contribfreetype? ( + media-libs/freetype:2[${MULTILIB_USEDEP}] + media-libs/harfbuzz:=[${MULTILIB_USEDEP}] + ) + contribovis? ( >=dev-games/ogre-1.12:= ) + ffmpeg? ( media-video/ffmpeg:0=[${MULTILIB_USEDEP}] ) + gdal? ( sci-libs/gdal:= ) + gflags? ( dev-cpp/gflags:=[${MULTILIB_USEDEP}] ) + glog? ( dev-cpp/glog:=[${MULTILIB_USEDEP}] ) + gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] ) + gstreamer? ( + media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] + ) + gtk3? ( + dev-libs/glib:2[${MULTILIB_USEDEP}] + x11-libs/gtk+:3[${MULTILIB_USEDEP}] + ) + ieee1394? ( + media-libs/libdc1394:=[${MULTILIB_USEDEP}] + sys-libs/libraw1394[${MULTILIB_USEDEP}] + ) + java? ( >=virtual/jre-1.8:* ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) + jpeg2k? ( + jasper? ( media-libs/jasper:= ) + !jasper? ( media-libs/openjpeg:2=[${MULTILIB_USEDEP}] ) + ) + lapack? ( + atlas? ( sci-libs/atlas ) + mkl? ( sci-libs/mkl ) + !atlas? ( + !mkl? ( + virtual/cblas + >=virtual/lapack-3.10 + virtual/lapacke + ) + ) + ) + opencl? ( + virtual/opencl[${MULTILIB_USEDEP}] + dev-util/opencl-headers + ) + openexr? ( + dev-libs/imath:= + media-libs/openexr:= + ) + opengl? ( + virtual/opengl[${MULTILIB_USEDEP}] + virtual/glu[${MULTILIB_USEDEP}] + ) + png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] ) + python? ( + ${PYTHON_DEPS} + dev-python/numpy:=[${PYTHON_USEDEP}] + ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + opengl? ( dev-qt/qtopengl:5 ) + ) + !qt5? ( + qt6? ( + dev-qt/qtbase:6[gui,widgets,concurrent,opengl?] + ) + ) + quirc? ( media-libs/quirc ) + tesseract? ( app-text/tesseract[opencl=,${MULTILIB_USEDEP}] ) + tbb? ( dev-cpp/tbb:=[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] ) + v4l? ( >=media-libs/libv4l-0.8.3[${MULTILIB_USEDEP}] ) + vaapi? ( media-libs/libva[${MULTILIB_USEDEP}] ) + vtk? ( sci-libs/vtk:=[rendering,cuda=] ) + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] ) + xine? ( media-libs/xine-lib ) +" +DEPEND=" + ${COMMON_DEPEND} + eigen? ( >=dev-cpp/eigen-3.3.8-r1:3 ) + java? ( >=virtual/jdk-1.8:* ) +" +# TODO gstreamer dependencies +DEPEND+=" + test? ( + gstreamer? ( + media-plugins/gst-plugins-jpeg[${MULTILIB_USEDEP}] + media-plugins/gst-plugins-x264[${MULTILIB_USEDEP}] + ) + ) +" +RDEPEND=" + ${COMMON_DEPEND} + java? ( >=virtual/jre-1.8:* ) +" +BDEPEND=" + virtual/pkgconfig + cuda? ( dev-util/nvidia-cuda-toolkit:0= ) + doc? ( + app-text/doxygen[dot] + python? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + ) + ) + java? ( >=dev-java/ant-1.10.14-r3 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-3.4.0-disable-download.patch" + "${FILESDIR}/${PN}-3.4.1-cuda-add-relaxed-constexpr.patch" + "${FILESDIR}/${PN}-4.1.2-opencl-license.patch" + "${FILESDIR}/${PN}-4.4.0-disable-native-cpuflag-detect.patch" + "${FILESDIR}/${PN}-4.5.0-link-with-cblas-for-lapack.patch" + + "${FILESDIR}/${PN}-4.8.1-use-system-flatbuffers.patch" + "${FILESDIR}/${PN}-4.8.1-use-system-opencl.patch" + "${FILESDIR}/${PN}-4.9.0-drop-python2-detection.patch" + "${FILESDIR}/${PN}-4.9.0-ade-0.1.2d.tar.gz.patch" + "${FILESDIR}/${PN}-4.9.0-cmake-cleanup.patch" + + # TODO applied in src_prepare + # "${FILESDIR}/${PN}_contrib-${PV}-rgbd.patch" + # "${FILESDIR}/${PN}_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch" +) + +cuda_get_cuda_compiler() { + local compiler + tc-is-gcc && compiler="gcc" + tc-is-clang && compiler="clang" + [[ -z "$compiler" ]] && die "no compiler specified" + + local package="sys-devel/${compiler}" + local version="${package}" + local CUDAHOSTCXX_test + while + local CUDAHOSTCXX="${CUDAHOSTCXX_test}" + version=$(best_version "${version}") + if [[ -z "${version}" ]]; then + if [[ -z "${CUDAHOSTCXX}" ]]; then + die "could not find supported version of ${package}" + fi + break + fi + CUDAHOSTCXX_test="$( + dirname "$( + realpath "$( + which "${compiler}-$(echo "${version}" | grep -oP "(?<=${package}-)[0-9]*")" + )" + )" + )" + version="<${version}" + do ! echo "int main(){}" | nvcc "-ccbin ${CUDAHOSTCXX_test}" - -x cu &>/dev/null; done + + echo "${CUDAHOSTCXX}" +} + +cuda_get_host_native_arch() { + : "${CUDAARCHS:=$(__nvcc_device_query)}" + echo "${CUDAARCHS}" +} + +pkg_pretend() { + if use cuda && [[ -z "${CUDA_GENERATION}" ]] && [[ -z "${CUDA_ARCH_BIN}" ]]; then # TODO CUDAARCHS + einfo "The target CUDA architecture can be set via one of:" + einfo " - CUDA_GENERATION set to one of Maxwell, Pascal, Volta, Turing, Ampere, Lovelace, Hopper, Auto" + einfo " - CUDA_ARCH_BIN, (and optionally CUDA_ARCH_PTX) in the form of x.y tuples." + einfo " You can specify multiple tuple separated by \";\"." + einfo "" + einfo "The CUDA architecture tuple for your device can be found at https://developer.nvidia.com/cuda-gpus." + fi + + if use cuda && [[ ${MERGE_TYPE} == "buildonly" ]] && [[ -n "${CUDA_GENERATION}" || -n "${CUDA_ARCH_BIN}" ]]; then + local info_message="When building a binary package it's recommended to unset CUDA_GENERATION and CUDA_ARCH_BIN" + einfo "$info_message so all available architectures are build." + fi + + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + use java && java-pkg-opt-2_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + # remove bundled stuff + rm -r 3rdparty || die "Removing 3rd party components failed" + sed -e '/add_subdirectory(.*3rdparty.*)/ d' \ + -i CMakeLists.txt cmake/*cmake || die + + if use contrib; then + cd "${WORKDIR}/${PN}_contrib-${PV}" || die + eapply "${FILESDIR}/${PN}_contrib-4.8.1-rgbd.patch" + eapply "${FILESDIR}/${PN}_contrib-4.8.1-NVIDIAOpticalFlowSDK-2.0.tar.gz.patch" + if has_version ">=dev-util/nvidia-cuda-toolkit-12.4" && use cuda; then + # TODO https://github.com/NVIDIA/cccl/pull/1522 + eapply "${FILESDIR}/${PN}_contrib-4.9.0-cuda-12.4.patch" + fi + cd "${S}" || die + + ! use contribcvv && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/cvv" || die; } + # ! use contribdnn && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/dnn" || die; } + ! use contribfreetype && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/freetype" || die; } + ! use contribhdf && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/hdf" || die; } + ! use contribovis && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/ovis" || die; } + ! use contribsfm && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/sfm" || die; } + ! use contribxfeatures2d && { rm -R "${WORKDIR}/${PN}_contrib-${PV}/modules/xfeatures2d" || die; } + fi + + mkdir -p "${S}/.cache/ade" || die + cp \ + "${DISTDIR}/ade-${ADE_PV}.tar.gz" \ + "${S}/.cache/ade/$(md5sum "${DISTDIR}/ade-${ADE_PV}.tar.gz" | cut -f 1 -d " ")-v${ADE_PV}.tar.gz" || die + + if use dnnsamples; then + mkdir -p "${S}/.cache/wechat_qrcode" || die + for file in "detect.caffemodel" "detect.prototxt" "sr.prototxt" "sr.caffemodel"; do + mv \ + "${WORKDIR}/${PN}_3rdparty-${QRCODE_COMMIT}/${file}" \ + "${S}/.cache/wechat_qrcode/$( \ + md5sum "${WORKDIR}/${PN}_3rdparty-${QRCODE_COMMIT}/${file}" | cut -f 1 -d " " \ + )-${file}" || die + done + + mv \ + "${WORKDIR}/${PN}_3rdparty-${DNN_SAMPLES_FACE_DETECTOR_COMMIT}/res10_300x300_ssd_iter_140000.caffemodel" \ + "${S}/samples/dnn/" || die + fi + + if use contribxfeatures2d; then + cp \ + "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_BOOSTDESC_COMMIT}/"*.i \ + "${WORKDIR}/${PN}_contrib-${PV}"/modules/xfeatures2d/src/ || die + mkdir -p "${S}/.cache/xfeatures2d/boostdesc" || die + for file in "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_BOOSTDESC_COMMIT}/"*.i; do + mv \ + "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_BOOSTDESC_COMMIT}/$(basename "${file}")" \ + "${S}/.cache/xfeatures2d/boostdesc/$( \ + md5sum "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_BOOSTDESC_COMMIT}/$(basename "${file}")" | cut -f 1 -d " " \ + )-$(basename "${file}")" || die + done + + cp \ + "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_VGG_COMMIT}/"*.i \ + "${WORKDIR}/${PN}_contrib-${PV}"/modules/xfeatures2d/src/ || die + mkdir -p "${S}/.cache/xfeatures2d/vgg" || die + for file in "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_VGG_COMMIT}/"*.i; do + mv \ + "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_VGG_COMMIT}/$(basename "${file}")" \ + "${S}/.cache/xfeatures2d/vgg/$( \ + md5sum "${WORKDIR}/${PN}_3rdparty-${XFEATURES2D_VGG_COMMIT}/$(basename "${file}")" | cut -f 1 -d " " \ + )-$(basename "${file}")" || die + done + fi + + if use contribdnn; then + mkdir -p "${S}/.cache/data" || die + mkdir -p "${WORKDIR}/${PN}_extra-${PV}/testdata/cv/face/" || die + file="face_landmark_model.dat" + cp \ + "${WORKDIR}/${PN}_3rdparty-${FACE_ALIGNMENT_COMMIT}/${file}" \ + "${WORKDIR}/${PN}_extra-${PV}/testdata/cv/face/" \ + || die + mv \ + "${WORKDIR}/${PN}_3rdparty-${FACE_ALIGNMENT_COMMIT}/${file}" \ + "${S}/.cache/data/$( \ + md5sum "${WORKDIR}/${PN}_3rdparty-${FACE_ALIGNMENT_COMMIT}/${file}" | cut -f 1 -d " " \ + )-${file}" || die + fi + + if use cuda; then + mkdir -p "${S}/.cache/nvidia_optical_flow" + cp \ + "${DISTDIR}/NVIDIAOpticalFlowSDK-${NVIDIA_OPTICAL_FLOW_COMMIT}.tar.gz" \ + "${S}/.cache/nvidia_optical_flow/$( \ + md5sum "${DISTDIR}/NVIDIAOpticalFlowSDK-${NVIDIA_OPTICAL_FLOW_COMMIT}.tar.gz" | cut -f 1 -d " " \ + )-${NVIDIA_OPTICAL_FLOW_COMMIT}.tar.gz" || die + fi + + if use java; then + java-pkg-opt-2_src_prepare + + # set encoding so even this cmake build will pick it up. + export ANT_OPTS+=" -Dfile.encoding=iso-8859-1" + export ANT_OPTS+=" -Dant.build.javac.source=$(java-pkg_get-source)" + export ANT_OPTS+=" -Dant.build.javac.target=$(java-pkg_get-target)" + fi +} + +multilib_src_configure() { + # bug #919101 and https://github.com/opencv/opencv/issues/19020 + filter-lto + + # please don't sort here, order is the same as in CMakeLists.txt + local mycmakeargs=( + -DMIN_VER_CMAKE=3.26 + + -DCMAKE_POLICY_DEFAULT_CMP0148="OLD" # FindPythonInterp + + # for protobuf + -DCMAKE_CXX_STANDARD=17 + + # Optional 3rd party components + # =================================================== + -DENABLE_DOWNLOAD=yes + -DOPENCV_ENABLE_NONFREE="$(usex non-free)" + -DWITH_QUIRC="$(usex quirc)" + -DWITH_FLATBUFFERS="$(multilib_native_usex contribdnn)" + -DWITH_1394="$(usex ieee1394)" + # -DWITH_AVFOUNDATION="no" # IOS + -DWITH_VTK="$(multilib_native_usex vtk)" + -DWITH_EIGEN="$(usex eigen)" + -DWITH_VFW="no" # Video windows support + -DWITH_FFMPEG="$(usex ffmpeg)" + -DWITH_GSTREAMER="$(usex gstreamer)" + -DWITH_GTK="$(usex gtk3)" + -DWITH_GTK_2_X="no" # only want gtk3 nowadays + -DWITH_IPP="no" + -DWITH_JASPER="$(multilib_native_usex jasper)" + -DWITH_JPEG="$(usex jpeg)" + -DWITH_OPENJPEG="$(usex jpeg2k)" + -DWITH_WEBP="$(usex webp)" + -DWITH_OPENEXR="$(multilib_native_usex openexr)" + -DWITH_OPENGL="$(usex opengl)" + -DOpenGL_GL_PREFERENCE="GLVND" + -DWITH_OPENVX="no" + -DWITH_OPENNI="no" # Not packaged + -DWITH_OPENNI2="no" # Not packaged + -DWITH_PNG="$(usex png)" + -DWITH_GDCM="no" + -DWITH_PVAPI="no" + -DWITH_GIGEAPI="no" + -DWITH_ARAVIS="no" + -DWITH_WIN32UI="no" # Windows only + # -DWITH_QUICKTIME="no" + # -DWITH_QTKIT="no" + -DWITH_TBB="$(usex tbb)" + -DWITH_OPENMP="$(usex !tbb "$(usex openmp)")" + -DWITH_PTHREADS_PF="yes" + -DWITH_TIFF="$(usex tiff)" + -DWITH_UNICAP="no" # Not packaged + -DWITH_V4L="$(usex v4l)" + -DWITH_LIBV4L="$(usex v4l)" + # -DWITH_DSHOW="yes" # direct show supp + -DWITH_MSMF="no" + -DWITH_XIMEA="no" # Windows only + -DWITH_XINE="$(multilib_native_usex xine)" + -DWITH_CLP="no" + -DWITH_OPENCL="$(usex opencl)" + -DWITH_OPENCL_SVM="no" # "$(usex opencl)" + -DWITH_DIRECTX="no" + -DWITH_INTELPERC="no" + -DWITH_IPP_A="no" + -DWITH_MATLAB="no" + -DWITH_VA="$(usex vaapi)" + -DWITH_VA_INTEL="$(usex vaapi "$(usex video_cards_intel)")" + -DWITH_GDAL="$(multilib_native_usex gdal)" + -DWITH_GPHOTO2="$(usex gphoto2)" + -DWITH_LAPACK="$(multilib_native_usex lapack)" + -DWITH_ITT="no" # 3dparty libs itt_notify + # =================================================== + # CUDA build components: nvidia-cuda-toolkit + # =================================================== + -DWITH_CUDA="$(multilib_native_usex cuda)" + -DWITH_CUBLAS="$(multilib_native_usex cuda)" + -DWITH_CUFFT="$(multilib_native_usex cuda)" + -DWITH_CUDNN="$(multilib_native_usex cudnn)" + # NOTE set this via MYCMAKEARGS if needed + -DWITH_NVCUVID="no" # TODO needs NVIDIA Video Codec SDK + -DWITH_NVCUVENC="no" # TODO needs NVIDIA Video Codec SDK + -DCUDA_NPP_LIBRARY_ROOT_DIR="$(usex cuda "${EPREFIX}/opt/cuda" "")" + # =================================================== + # OpenCV build components + # =================================================== + -DBUILD_SHARED_LIBS="yes" + -DBUILD_JAVA="$(multilib_native_usex java)" # Ant needed, no compile flag + -DBUILD_ANDROID_EXAMPLES="no" + -DBUILD_opencv_apps="$(usex opencvapps)" + -DBUILD_DOCS="$(usex doc)" # Doesn't install anyways. + -DBUILD_EXAMPLES="$(multilib_native_usex examples)" + -DBUILD_TESTS="$(multilib_native_usex test)" + -DBUILD_PERF_TESTS="no" + + # -DBUILD_WITH_STATIC_CRT="no" + -DBUILD_WITH_DYNAMIC_IPP="no" + -DBUILD_FAT_JAVA_LIB="no" + # -DBUILD_ANDROID_SERVICE="no" + -DBUILD_CUDA_STUBS="$(multilib_native_usex cuda)" + -DOPENCV_EXTRA_MODULES_PATH="$(usex contrib "${WORKDIR}/${PN}_contrib-${PV}/modules" "")" + # =================================================== + # OpenCV installation options + # =================================================== + -DINSTALL_CREATE_DISTRIB="no" + -DINSTALL_BIN_EXAMPLES="$(multilib_native_usex examples)" + -DINSTALL_C_EXAMPLES="$(multilib_native_usex examples)" + -DINSTALL_TESTS="$(multilib_native_usex testprograms)" + # -DINSTALL_ANDROID_EXAMPLES="no" + -DINSTALL_TO_MANGLED_PATHS="no" + -DOPENCV_GENERATE_PKGCONFIG="yes" + # opencv uses both ${CMAKE_INSTALL_LIBDIR} and ${LIB_SUFFIX} + # to set its destination libdir + -DLIB_SUFFIX= + # =================================================== + # OpenCV build options + # =================================================== + # -DENABLE_CCACHE="no" + # bug 733796, but PCH is a risky game in CMake anyway + -DBUILD_USE_SYMLINKS="yes" + -DENABLE_PRECOMPILED_HEADERS="no" + -DENABLE_SOLUTION_FOLDERS="no" + -DENABLE_PROFILING="no" + -DENABLE_COVERAGE="no" + -DOPENCV_DOWNLOAD_TRIES_LIST="0" + + -DHAVE_opencv_java="$(multilib_native_usex java)" + + -DBUILD_WITH_DEBUG_INFO="$(usex debug)" + -DOPENCV_ENABLE_MEMORY_SANITIZER="$(usex debug)" + -DCV_TRACE="$(usex debug)" + -DENABLE_NOISY_WARNINGS="$(usex debug)" + -DOPENCV_WARNINGS_ARE_ERRORS="no" + -DENABLE_IMPL_COLLECTION="no" + -DENABLE_INSTRUMENTATION="no" + -DGENERATE_ABI_DESCRIPTOR="no" + # =================================================== + # things we want to be hard off or not yet figured out + # =================================================== + -DBUILD_PACKAGE="no" + # =================================================== + # Not building protobuf but update files bug #631418 + # =================================================== + -DWITH_PROTOBUF="yes" + -DBUILD_PROTOBUF="no" + -DPROTOBUF_UPDATE_FILES="yes" + -DProtobuf_MODULE_COMPATIBLE="yes" + # =================================================== + # things we want to be hard enabled not worth useflag + # =================================================== + -DOPENCV_DOC_INSTALL_PATH="share/doc/${P}" + # NOTE do this so testprograms do not fail TODO adjust path in code + -DOPENCV_TEST_DATA_INSTALL_PATH="share/${PN}$(ver_cut 1)/testdata" + -DOPENCV_TEST_INSTALL_PATH="libexec/${PN}/bin/test" + -DOPENCV_SAMPLES_BIN_INSTALL_PATH="libexec/${PN}/bin/samples" + + -DBUILD_IPP_IW="no" + -DBUILD_ITT="no" + + # =================================================== + # configure modules to be build + # =================================================== + -DBUILD_opencv_gapi="$(usex ffmpeg yes "$(usex gstreamer)")" + -DBUILD_opencv_features2d="$(usex features2d)" + -DBUILD_opencv_java_bindings_generator="$(usex java)" + -DBUILD_opencv_js="no" + -DBUILD_opencv_js_bindings_generator="no" + -DBUILD_opencv_objc_bindings_generator="no" + -DBUILD_opencv_python2="no" + -DBUILD_opencv_ts="$(usex test)" + -DBUILD_opencv_video="$(usex ffmpeg yes "$(usex gstreamer)")" + -DBUILD_opencv_videoio="$(usex ffmpeg yes "$(usex gstreamer)")" + + -DBUILD_opencv_cudalegacy="no" + + # -DBUILD_opencv_world="yes" + + -DDNN_PLUGIN_LIST="all" + -DHIGHGUI_PLUGIN_LIST="all" + -DVIDEOIO_PLUGIN_LIST="all" + + ) + + if use qt5; then + mycmakeargs+=( + -DWITH_QT="$(multilib_native_usex qt5)" + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6="yes" + ) + elif use qt6; then + mycmakeargs+=( + -DWITH_QT="$(multilib_native_usex qt6)" + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5="yes" + ) + else + mycmakeargs+=( + -DWITH_QT="no" + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5="yes" + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6="yes" + ) + fi + + # ================================================== + # cpu flags, should solve 633900 + #=================================================== + # TODO binhost https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options + + local CPU_BASELINE="" + for i in "${CPU_FEATURES_MAP[@]}" ; do + if [[ ${ABI} != x86 || ${i%:*} != "cpu_flags_x86_avx2" ]]; then # workaround for Bug 747163 + use "${i%:*}" && CPU_BASELINE="${CPU_BASELINE}${i#*:};" + fi + done + unset CPU_FEATURES_MAP + + mycmakeargs+=( + -DCPU_BASELINE="${CPU_BASELINE}" + ) + if [[ ${MERGE_TYPE} != "buildonly" ]]; then + mycmakeargs+=( + -DOPENCV_CPU_OPT_IMPLIES_IGNORE="yes" + -DCPU_DISPATCH= + ) + fi + + # =================================================== + # OpenCV Contrib Modules + # =================================================== + if use contrib; then + mycmakeargs+=( + -DBUILD_opencv_cvv="$(usex contribcvv)" + -DBUILD_opencv_dnn="$(usex contribdnn)" + -DBUILD_opencv_freetype="$(usex contribfreetype)" + -DBUILD_opencv_hdf="$(multilib_native_usex contribhdf)" + -DBUILD_opencv_ovis="$(usex contribovis)" + -DBUILD_opencv_sfm="$(usex contribsfm)" + -DBUILD_opencv_xfeatures2d="$(usex contribxfeatures2d)" + ) + + if multilib_is_native_abi && use !tesseract; then + mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_Tesseract="yes" + ) + fi + fi + + # workaround for bug 413429 + tc-export CC CXX + + if multilib_is_native_abi && use cuda; then + cuda_add_sandbox -w + addwrite "/proc/self/task" + CUDAHOSTCXX="$(cuda_get_cuda_compiler)" + CUDAARCHS="$(cuda_get_host_native_arch)" + export CUDAHOSTCXX + export CUDAARCHS + mycmakeargs+=( + -DENABLE_CUDA_FIRST_CLASS_LANGUAGE="yes" + ) + fi + + if use ffmpeg; then + mycmakeargs+=( + -DOPENCV_GAPI_GSTREAMER="no" + ) + fi + + # according to modules/java/jar/CMakeLists.txt:23-26 + if use java; then + mycmakeargs+=( + -DOPENCV_JAVA_SOURCE_VERSION="$(java-pkg_get-source)" + -DOPENCV_JAVA_TARGET_VERSION="$(java-pkg_get-target)" + ) + fi + + if use mkl; then + mycmakeargs+=( + -DLAPACK_IMPL="MKL" + -DMKL_WITH_OPENMP="$(usex !tbb "$(usex openmp)")" + -DMKL_WITH_TBB="$(usex tbb)" + ) + fi + + # NOTE set this via MYCMAKEARGS if needed + if use opencl; then + if has_version sci-libs/clfft; then + mycmakeargs+=( -DWITH_OPENCLAMDFFT="yes" ) + else + mycmakeargs+=( -DWITH_OPENCLAMDFFT="no" ) + fi + if has_version sci-libs/clblas; then + mycmakeargs+=( -DWITH_OPENCLAMDBLAS="yes" ) + else + mycmakeargs+=( -DWITH_OPENCLAMDBLAS="no" ) + fi + else + mycmakeargs+=( + -DWITH_OPENCLAMDFFT="no" + -DWITH_OPENCLAMDBLAS="no" + ) + fi + + if use test; then + # opencv tests assume to be build in Release mode + CMAKE_BUILD_TYPE="Release" + mycmakeargs+=( + -DOPENCV_TEST_DATA_PATH="${WORKDIR}/${PN}_extra-${PV}/testdata" + ) + if use vtk; then + mycmakeargs+=( + -DVTK_MPI_NUMPROCS="$(nproc)" # TODO + ) + fi + fi + + if multilib_is_native_abi && use python; then + python_configure() { + # Set all python variables to load the correct Gentoo paths + local mycmakeargs=( + "${mycmakeargs[@]}" + # python_setup alters PATH and sets this as wrapper + # to the correct interpreter we are building for + -DBUILD_opencv_python3="yes" + -DBUILD_opencv_python_bindings_generator="yes" + -DBUILD_opencv_python_tests="$(usex test)" + -DPYTHON_DEFAULT_EXECUTABLE="${EPYTHON}" + -DINSTALL_PYTHON_EXAMPLES="$(usex examples)" + ) + cmake_src_configure + } + + python_foreach_impl python_configure + else + mycmakeargs+=( + -DPYTHON_EXECUTABLE="no" + -DINSTALL_PYTHON_EXAMPLES="no" + -DBUILD_opencv_python3="no" + -DBUILD_opencv_python_bindings_generator="no" + -DBUILD_opencv_python_tests="no" + ) + cmake_src_configure + fi +} + +multilib_src_compile() { + opencv_compile() { + cmake_src_compile + } + if multilib_is_native_abi && use python; then + python_foreach_impl opencv_compile + else + opencv_compile + fi +} + +multilib_src_test() { + CMAKE_SKIP_TESTS=( + 'Test_ONNX_layers.LSTM_cell_forward/0' + 'Test_ONNX_layers.LSTM_cell_bidirectional/0' + 'Test_TensorFlow_layers.Convolution3D/1' + 'Test_TensorFlow_layers.concat_3d/1' + + 'AsyncAPICancelation/cancel*basic' + ) + + if ! use gtk && ! use qt5 && ! use qt6; then + CMAKE_SKIP_TESTS+=( + # these fail with parallism + '^Highgui_*' + ) + fi + + if multilib_is_native_abi && use cuda; then + CMAKE_SKIP_TESTS+=( + 'CUDA_OptFlow/BroxOpticalFlow.Regression/0' + 'CUDA_OptFlow/BroxOpticalFlow.OpticalFlowNan/0' + 'CUDA_OptFlow/NvidiaOpticalFlow_1_0.Regression/0' + 'CUDA_OptFlow/NvidiaOpticalFlow_2_0.Regression/0' + ) + fi + + if use opengl; then + CMAKE_SKIP_TESTS+=( + 'OpenGL/Buffer.MapDevice/*' + 'OpenGL/*Gpu*' + ) + fi + + if use opencl; then + CMAKE_SKIP_TESTS+=( + 'OCL_Arithm/InRange.Mat/\(CV_32S,*' + ) + fi + + local myctestargs=( + --test-timeout 180 + ) + + if multilib_is_native_abi && use cuda; then + cuda_add_sandbox -w + export OPENCV_PARALLEL_BACKEND="threads" + export DNN_BACKEND_OPENCV="cuda" + fi + + opencv_test() { + export OPENCV_CORE_PLUGIN_PATH="${BUILD_DIR}/lib" + export OPENCV_DNN_PLUGIN_PATH="${BUILD_DIR}/lib" + export OPENCV_VIDEOIO_PLUGIN_PATH="${BUILD_DIR}/lib" + + export OPENCV_TEST_DATA_PATH="${WORKDIR}/${PN}_extra-${PV}/testdata" + + # Work around zink warnings + export LIBGL_ALWAYS_SOFTWARE=true + results=() + for test in "${BUILD_DIR}/bin/opencv_test_"*; do + echo "${test}" + if ! "${test}" --gtest_color=yes --gtest_filter="-$(IFS=: ; echo "${CMAKE_SKIP_TESTS[*]}")"; then + + results+=( "$(basename ${test})" ) + + if [[ -z "${OPENCV_TEST_CONTINUE_ON_FAIL}" ]]; then + eerror "${results[*]} failed" + die + fi + fi + done + + echo -e "${results[*]}" + } + + if multilib_is_native_abi && use python; then + python_foreach_impl virtx opencv_test + else + virtx opencv_test + fi +} + +multilib_src_install() { + if use abi_x86_64 && use abi_x86_32; then + MULTILIB_WRAPPED_HEADERS=( # {{{ + # [opencv4] + /usr/include/opencv4/opencv2/cvconfig.h + /usr/include/opencv4/opencv2/opencv_modules.hpp + + /usr/include/opencv4/opencv2/core_detect.hpp + + /usr/include/opencv4/opencv2/cudaarithm.hpp + /usr/include/opencv4/opencv2/cudabgsegm.hpp + /usr/include/opencv4/opencv2/cudacodec.hpp + /usr/include/opencv4/opencv2/cudafeatures2d.hpp + /usr/include/opencv4/opencv2/cudafilters.hpp + /usr/include/opencv4/opencv2/cudaimgproc.hpp + /usr/include/opencv4/opencv2/cudalegacy.hpp + /usr/include/opencv4/opencv2/cudalegacy/NCV.hpp + /usr/include/opencv4/opencv2/cudalegacy/NCVBroxOpticalFlow.hpp + /usr/include/opencv4/opencv2/cudalegacy/NCVHaarObjectDetection.hpp + /usr/include/opencv4/opencv2/cudalegacy/NCVPyramid.hpp + /usr/include/opencv4/opencv2/cudalegacy/NPP_staging.hpp + /usr/include/opencv4/opencv2/cudaobjdetect.hpp + /usr/include/opencv4/opencv2/cudaoptflow.hpp + /usr/include/opencv4/opencv2/cudastereo.hpp + /usr/include/opencv4/opencv2/cudawarping.hpp + # [cudev] + /usr/include/opencv4/opencv2/cudev.hpp + /usr/include/opencv4/opencv2/cudev/block/block.hpp + /usr/include/opencv4/opencv2/cudev/block/detail/reduce.hpp + /usr/include/opencv4/opencv2/cudev/block/detail/reduce_key_val.hpp + /usr/include/opencv4/opencv2/cudev/block/dynamic_smem.hpp + /usr/include/opencv4/opencv2/cudev/block/reduce.hpp + /usr/include/opencv4/opencv2/cudev/block/scan.hpp + /usr/include/opencv4/opencv2/cudev/block/vec_distance.hpp + /usr/include/opencv4/opencv2/cudev/common.hpp + /usr/include/opencv4/opencv2/cudev/expr/binary_func.hpp + /usr/include/opencv4/opencv2/cudev/expr/binary_op.hpp + /usr/include/opencv4/opencv2/cudev/expr/color.hpp + /usr/include/opencv4/opencv2/cudev/expr/deriv.hpp + /usr/include/opencv4/opencv2/cudev/expr/expr.hpp + /usr/include/opencv4/opencv2/cudev/expr/per_element_func.hpp + /usr/include/opencv4/opencv2/cudev/expr/reduction.hpp + /usr/include/opencv4/opencv2/cudev/expr/unary_func.hpp + /usr/include/opencv4/opencv2/cudev/expr/unary_op.hpp + /usr/include/opencv4/opencv2/cudev/expr/warping.hpp + /usr/include/opencv4/opencv2/cudev/functional/color_cvt.hpp + /usr/include/opencv4/opencv2/cudev/functional/detail/color_cvt.hpp + /usr/include/opencv4/opencv2/cudev/functional/functional.hpp + /usr/include/opencv4/opencv2/cudev/functional/tuple_adapter.hpp + /usr/include/opencv4/opencv2/cudev/grid/copy.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/copy.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/histogram.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/integral.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/minmaxloc.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/pyr_down.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/pyr_up.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/reduce.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/reduce_to_column.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/reduce_to_row.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/split_merge.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/transform.hpp + /usr/include/opencv4/opencv2/cudev/grid/detail/transpose.hpp + /usr/include/opencv4/opencv2/cudev/grid/histogram.hpp + /usr/include/opencv4/opencv2/cudev/grid/integral.hpp + /usr/include/opencv4/opencv2/cudev/grid/pyramids.hpp + /usr/include/opencv4/opencv2/cudev/grid/reduce.hpp + /usr/include/opencv4/opencv2/cudev/grid/reduce_to_vec.hpp + /usr/include/opencv4/opencv2/cudev/grid/split_merge.hpp + /usr/include/opencv4/opencv2/cudev/grid/transform.hpp + /usr/include/opencv4/opencv2/cudev/grid/transpose.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/constant.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/deriv.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/detail/gpumat.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/extrapolation.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/glob.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/gpumat.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/interpolation.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/lut.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/mask.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/remap.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/resize.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/texture.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/traits.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/transform.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/warping.hpp + /usr/include/opencv4/opencv2/cudev/ptr2d/zip.hpp + /usr/include/opencv4/opencv2/cudev/util/atomic.hpp + /usr/include/opencv4/opencv2/cudev/util/detail/tuple.hpp + /usr/include/opencv4/opencv2/cudev/util/detail/type_traits.hpp + /usr/include/opencv4/opencv2/cudev/util/limits.hpp + /usr/include/opencv4/opencv2/cudev/util/saturate_cast.hpp + /usr/include/opencv4/opencv2/cudev/util/simd_functions.hpp + /usr/include/opencv4/opencv2/cudev/util/tuple.hpp + /usr/include/opencv4/opencv2/cudev/util/type_traits.hpp + /usr/include/opencv4/opencv2/cudev/util/vec_math.hpp + /usr/include/opencv4/opencv2/cudev/util/vec_traits.hpp + /usr/include/opencv4/opencv2/cudev/warp/detail/reduce.hpp + /usr/include/opencv4/opencv2/cudev/warp/detail/reduce_key_val.hpp + /usr/include/opencv4/opencv2/cudev/warp/reduce.hpp + /usr/include/opencv4/opencv2/cudev/warp/scan.hpp + /usr/include/opencv4/opencv2/cudev/warp/shuffle.hpp + /usr/include/opencv4/opencv2/cudev/warp/warp.hpp + # [contribcvv] + /usr/include/opencv4/opencv2/cvv.hpp + /usr/include/opencv4/opencv2/cvv/call_meta_data.hpp + /usr/include/opencv4/opencv2/cvv/cvv.hpp + /usr/include/opencv4/opencv2/cvv/debug_mode.hpp + /usr/include/opencv4/opencv2/cvv/dmatch.hpp + /usr/include/opencv4/opencv2/cvv/filter.hpp + /usr/include/opencv4/opencv2/cvv/final_show.hpp + /usr/include/opencv4/opencv2/cvv/show_image.hpp + # [contribdnn] + /usr/include/opencv4/opencv2/dnn.hpp + /usr/include/opencv4/opencv2/dnn/all_layers.hpp + /usr/include/opencv4/opencv2/dnn/dict.hpp + /usr/include/opencv4/opencv2/dnn/dnn.hpp + /usr/include/opencv4/opencv2/dnn/dnn.inl.hpp + /usr/include/opencv4/opencv2/dnn/layer.details.hpp + /usr/include/opencv4/opencv2/dnn/layer.hpp + /usr/include/opencv4/opencv2/dnn/shape_utils.hpp + /usr/include/opencv4/opencv2/dnn/utils/debug_utils.hpp + /usr/include/opencv4/opencv2/dnn/utils/inference_engine.hpp + /usr/include/opencv4/opencv2/dnn/version.hpp + /usr/include/opencv4/opencv2/dnn_superres.hpp + # [contribhdf] + /usr/include/opencv4/opencv2/hdf.hpp + /usr/include/opencv4/opencv2/hdf/hdf5.hpp + + /usr/include/opencv4/opencv2/mcc.hpp + /usr/include/opencv4/opencv2/mcc/ccm.hpp + /usr/include/opencv4/opencv2/mcc/checker_detector.hpp + /usr/include/opencv4/opencv2/mcc/checker_model.hpp + + /usr/include/opencv4/opencv2/text.hpp + /usr/include/opencv4/opencv2/text/erfilter.hpp + /usr/include/opencv4/opencv2/text/ocr.hpp + /usr/include/opencv4/opencv2/text/swt_text_detection.hpp + /usr/include/opencv4/opencv2/text/textDetector.hpp + + # [qt5,qt6] + /usr/include/opencv4/opencv2/viz.hpp + /usr/include/opencv4/opencv2/viz/types.hpp + /usr/include/opencv4/opencv2/viz/viz3d.hpp + /usr/include/opencv4/opencv2/viz/vizcore.hpp + /usr/include/opencv4/opencv2/viz/widget_accessor.hpp + /usr/include/opencv4/opencv2/viz/widgets.hpp + + /usr/include/opencv4/opencv2/wechat_qrcode.hpp + ) # }}} + fi + if multilib_is_native_abi && use python; then + python_foreach_impl cmake_src_install + python_foreach_impl python_optimize + else + cmake_src_install + fi +} diff --git a/media-libs/openimageio/Manifest b/media-libs/openimageio/Manifest index a17af42a7e45..11010064d389 100644 --- a/media-libs/openimageio/Manifest +++ b/media-libs/openimageio/Manifest @@ -1,3 +1,4 @@ +AUX openimageio-2.5.12.0-heif-find-fix.patch 802 BLAKE2B bdf3e77c396d7e39935a3afb6fcb5140d4db83cc7bc3385d71adad7f3d27d53f300244f986be788e0ac51e26a59edc67c819ed57c5affc514f7d72088fa34e38 SHA512 c1d02001703ee17af4192d7a8ada592d9e03e2af2822393eb1d1db1de26777dd1715dfe68af36d1070dd29bf33b3f8db6b2d9d7a6dde989c90fc89b4cfff24cb AUX openimageio-2.5.12.0-tests-optional.patch 1310 BLAKE2B 563d3ede3ea10439e130d96647918387455ae8fb1fbb75220a064ce98322f8d87f113c04b6e215db6d6e95bf1e96f9c922f144a46af1674726f5b87918a4ae3a SHA512 95b6921b4dadc6535d978178141b62916121e27540f8e578d93347bfab59506f49ded7584b03b8dac04af44e14a74701437fa0f6faacca9d12657352fc0d3f06 AUX openimageio-2.5.12.0_heif_test.patch 839 BLAKE2B e7309fde786053afc3c373bfd5d6affa8d86d7524ff44b52a61b3c4cf3bb18cd2a987699e788eb7d6a910a1bd8b813deb2497475799593a6c780442d6cc31963 SHA512 f32a5b46bc4fb678322b0f9d930e1bdaae370087084ffce4dcf61de6a3d56059a384924fd718ed5cfbaff0ab76c6a1f8bdaf8c4e3961b9defaadb04e1d402b90 AUX openimageio-2.5.8.0-fits.patch 672 BLAKE2B 3bc6252c246698ef29dd74fdf1e1dde59658c717ed078cd5b9e251dc59f57395bc761325664d07ccae90df32e3600ab9c68732d3610ba9c99fbc236eb28840d6 SHA512 bdcca17073be2d8d2fdfb770f117f429fa4c8db26e7366d1ab9e211837fe07622054cd71ff9206fa7c449974faba865c6412d7a5cbd3042ca1a0b8e8a944efc5 @@ -10,6 +11,7 @@ DIST file003.fits 581760 BLAKE2B 35d77c64ff9e25f34593ea41839a4f7712dc344d12ab2c0 DIST file009.fits 25920 BLAKE2B 594061eba4d48da8cbfee58ab592a0adb5a22d681228330e84f60304e5146a8856e9c65b763d6d8e2136217ebe85d92128318cccfcf6358c7bc767232c6382c9 SHA512 57d53622854399aed96efbeff78e700990b2fc63c4dbd1bc9ac58c7670af98d528db2f1a3e9de4e74b977f8318109b465b46423bbac36bf2bf34a1e33e7dcdb8 DIST file012.fits 1019520 BLAKE2B e86d9e0004ca159d9a5ae0585776db65c7dd49162cb5dbd8b511686244950e33746d8a41f60b5ba8fcea220194fa87e16235adb7ccc0b4fb4b0a61e6c5c376a8 SHA512 45439544da478b24ccbcf14dc9a651aa8ecbce29b9992204d85c1eee42bc88b68802ec57bc148510da1e062de95ee53dd5c64c9bfa2e0b6cdfd945a78d1fc76a DIST openimageio-2.5.12.0.tar.gz 52535046 BLAKE2B d60e823b8834c68098e771929475b7321363aad044b244a5c2a284e1c67a1a3145d22ed259eccbc4f6fbfcd6d2768414e4f22bdfa17f6516205d7749dcc6c6c8 SHA512 c6e53b5484702c66f01490d23f272e597e016b984d54f81e400605bf2a2e1dd7843ce25a7ef51ffbc7ee7089b42e8d73a91699b93cb655b5ca9ef869c9a950f4 +DIST openimageio-2.5.13.1.tar.gz 52538869 BLAKE2B ceba0bde73cbf2b5b7b243fa1dc4806aece881c37775418c3305d5e5665e1c249219cad2c7b0d9d4acd5955897dc13dfb94e4627e9ae866e6400559b99e7021a SHA512 3c9eb9a361464e73fae518b704438bbf409c846031f05026d8b9ace91431819ac80674130ccd2300deb9756ae26e150bf5c0a866be3f3fb65bdfba0ba60395ab DIST openimageio-2.5.9.0.tar.gz 52051925 BLAKE2B 7d499d80af6cdecfdea9a422030c095357b67a7d8dd281638e2e687df47b5c7b57c909c8682f1c6185251df13d6f9c7ddf1f9d5fc7fef26351fe0d4b8cc7d8c6 SHA512 554f61e19e3f81c8495f48386494a1aeee3a2a759b3022b4fb5cf1dba1dbc813cd0956b60d08a2c1feca69d97141e5836651fcbbeadab1e050eb2d103eb1c41f DIST openimageio-oexr-test-image-df16e765fee28a947244657cae3251959ae63c00.tar.gz 252131865 BLAKE2B f5f2477897f84148574cdd02b673c7bdff49d8f45026375095bb6f184230466e2e60020be7583e5a5aa0aa9c971e7251979d3eeb2ee620d47342b1e4435427e0 SHA512 e89c2935496c5fec2ebe1175e9b9bd3aecb23374ec3947057195ee6d31a883c1a67c4dc754bf0a5b68859093b5e169b70ffabd4736cf67f9e3dc09f3299fc54f DIST openimageio-oiio-test-image-7d821f02c848022b2ee703d6bee48ca2acbfae70.tar.gz 141224552 BLAKE2B e185f6b2bd345ca0740d1ac7bc48e5a283a80db0d2fa88566367e1179e96d048ac371708db29a6591d0c4eb7f9c171af22bac30fd68bc223e2c373db3b99077d SHA512 a3c9e4151c946b79e2eb37cd53fd2865d6117431ad06e4e35d42c10d9ff8415224e2f20e14af8dd869ec2a6c6faf4f9d8ef28e5b6556c88a54398de4a8843b59 @@ -21,6 +23,7 @@ DIST tst0006.fits 112320 BLAKE2B 1e3df92d994c1d0cfbf18956b124cc85510ae2dbbdbc528 DIST tst0007.fits 8640 BLAKE2B cf6eaff174e88bbd27f642964e6b3e5502cb08742d465a7cabb7aeaf284838f44660b5fa98c17df3c28f5986ecf657d8ec011579e3d9d62e63ce2171c157fd91 SHA512 ee8359132031678fa5e37f3b44642f41a7f64b251c3e788fbb756ad761327c1e1243df2b718cfe246449198d4e642b36fd43c61308ac434121ad4eadb3b2aaa3 DIST tst0008.fits 8640 BLAKE2B 7b4213cef2106cf0e298fce1ba3b28e74ba6ed26a2441650af297384b46c22910af8a36c2693c1c0e5aed6196561a8e4b4c75cde54541ea7a1a9d684a41f2f40 SHA512 c2dc77eb54cfc48bc97228a06e25cc5b4b2a8f32f417d5a34bb6794b020b277e144b1d5c71f09a44c94e05797c99f318de3f8705eabd22b44ac1b47fe601f918 DIST tst0013.fits 72000 BLAKE2B 6ca11cd033782adc8f359217e30752b47623c317aa155dc1bae43a0a019f7d5f9d4ba9c7349e99ee14f2d6498d5d166597606721b251b1b2dc039fbe400d00a3 SHA512 c816642e89e3bfdce38a4f755e84a12af35c9da48916abb66bcabf2f899201dfba3c988f929395092921a53a6d94922d84d325334e9bd8d348cdb305878ccb6a -EBUILD openimageio-2.5.12.0.ebuild 8123 BLAKE2B 8c7123b99c4d42023d676c6b642aedd56797d72b6a556f083692f8ed11c42d5089e8588b92788bafe39e28ac2c6af15e1340c7b5a14d9d234f36970d8c7b5da2 SHA512 83b59b19b80419964ac16a1288996dda79f67a5e13adc3a06e411a3a60953c69f598719ad5c9b0721dfdb1f3ee5d11480ceef2465f04cb09090b404a38d7e027 +EBUILD openimageio-2.5.12.0.ebuild 8173 BLAKE2B 9f2f0de7c572bb0faf773c7bd86e88e52e94ad174f585f688afe6bf9ee33b6808594119a8c750a751c36a87995a31b5a853ee828c01902f196b11130136eb0d8 SHA512 67de131af4ba7ee0e0db2be375dcfa5fdef0ff8d789f47e3ed535537e90404197f48bdaaf5ba23366e29de27ccfb14bd342ddfbb9159f54c7ed27086e4217ecf +EBUILD openimageio-2.5.13.1.ebuild 8173 BLAKE2B 9f2f0de7c572bb0faf773c7bd86e88e52e94ad174f585f688afe6bf9ee33b6808594119a8c750a751c36a87995a31b5a853ee828c01902f196b11130136eb0d8 SHA512 67de131af4ba7ee0e0db2be375dcfa5fdef0ff8d789f47e3ed535537e90404197f48bdaaf5ba23366e29de27ccfb14bd342ddfbb9159f54c7ed27086e4217ecf EBUILD openimageio-2.5.9.0.ebuild 7112 BLAKE2B b7f47974a996bc81e5439f4a7ab84496c06dffe01ee96a33a85415f6b4341d2281b853123b7a4b116d83715ddf21481dd592ca4689426ae84f332e95d3ebac41 SHA512 c0119d58d7a34f0511c3fd7e4a941acd98b271719460b12c6ccbefa9f49ea10b18003f005553a6cc86e6425b57399452cd1b6e52c113c37bb0c63d22ae583885 MISC metadata.xml 981 BLAKE2B 3497976625638ed812c74f4cceef74a752ab81f035674352d5b30f533c8b3f819a7cb44395d7e8456c78d92103ebe9c89bbf71aa292a2c72255674676e379318 SHA512 a349edcb5a9fcf5c7abe77d37260126b4866ba9bff06e7bc11279d91ac193ffe8df13dfcb373306fea417a28d0a6b8b2028c660adaf83d9a6f1a698cd48dd4e5 diff --git a/media-libs/openimageio/files/openimageio-2.5.12.0-heif-find-fix.patch b/media-libs/openimageio/files/openimageio-2.5.12.0-heif-find-fix.patch new file mode 100644 index 000000000000..6ffcdc3def3a --- /dev/null +++ b/media-libs/openimageio/files/openimageio-2.5.12.0-heif-find-fix.patch @@ -0,0 +1,19 @@ +From: Huang Rui <vowstar@gmail.com> +Date: 2024-07-22 +Subject: [PATCH] fix FindLibheif with heif_version.h multilib warpper + +--- a/src/cmake/modules/FindLibheif.cmake 2024-07-15 21:30:17.000000000 +0800 ++++ b/src/cmake/modules/FindLibheif.cmake 2024-07-22 17:33:21.827445823 +0800 +@@ -30,7 +30,11 @@ + DOC "The directory where libheif libraries reside") + + if (LIBHEIF_INCLUDE_DIR) +- file(STRINGS "${LIBHEIF_INCLUDE_DIR}/libheif/heif_version.h" TMP REGEX "^#define LIBHEIF_VERSION[ \t].*$") ++ execute_process( ++ COMMAND sh -c "${CMAKE_C_COMPILER} -E -dD -P ${LIBHEIF_INCLUDE_DIR}/libheif/heif_version.h | grep LIBHEIF_VERSION" ++ OUTPUT_VARIABLE TMP ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++ ) + string(REGEX MATCHALL "[0-9.]+" LIBHEIF_VERSION ${TMP}) + endif () + diff --git a/media-libs/openimageio/openimageio-2.5.12.0.ebuild b/media-libs/openimageio/openimageio-2.5.12.0.ebuild index c778a756041e..bd837866d719 100644 --- a/media-libs/openimageio/openimageio-2.5.12.0.ebuild +++ b/media-libs/openimageio/openimageio-2.5.12.0.ebuild @@ -126,6 +126,7 @@ PATCHES=( "${FILESDIR}/${PN}-2.5.8.0-fix-unit_simd.patch" "${FILESDIR}/${PN}-2.5.8.0-fix-tests.patch" "${FILESDIR}/${PN}-2.5.12.0-tests-optional.patch" + "${FILESDIR}/${PN}-2.5.12.0-heif-find-fix.patch" ) pkg_setup() { diff --git a/media-libs/openimageio/openimageio-2.5.13.1.ebuild b/media-libs/openimageio/openimageio-2.5.13.1.ebuild new file mode 100644 index 000000000000..bd837866d719 --- /dev/null +++ b/media-libs/openimageio/openimageio-2.5.13.1.ebuild @@ -0,0 +1,303 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +TEST_OIIO_IMAGE_COMMIT="7d821f02c848022b2ee703d6bee48ca2acbfae70" +TEST_OEXR_IMAGE_COMMIT="df16e765fee28a947244657cae3251959ae63c00" +inherit cmake flag-o-matic python-single-r1 virtualx + +DESCRIPTION="A library for reading and writing images" +HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO" +SRC_URI=" + https://github.com/AcademySoftwareFoundation/OpenImageIO/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://github.com/AcademySoftwareFoundation/OpenImageIO-images/archive/${TEST_OIIO_IMAGE_COMMIT}.tar.gz + -> ${PN}-oiio-test-image-${TEST_OIIO_IMAGE_COMMIT}.tar.gz + https://github.com/AcademySoftwareFoundation/openexr-images/archive/${TEST_OEXR_IMAGE_COMMIT}.tar.gz + -> ${PN}-oexr-test-image-${TEST_OEXR_IMAGE_COMMIT}.tar.gz + jpeg2k? ( https://www.itu.int/wftp3/Public/t/testsignal/SpeImage/T803/v2002_11/J2KP4files.zip ) + + fits? ( + https://www.cv.nrao.edu/fits/data/tests/ftt4b/file001.fits + https://www.cv.nrao.edu/fits/data/tests/ftt4b/file002.fits + https://www.cv.nrao.edu/fits/data/tests/ftt4b/file003.fits + https://www.cv.nrao.edu/fits/data/tests/ftt4b/file009.fits + https://www.cv.nrao.edu/fits/data/tests/ftt4b/file012.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0001.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0003.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0005.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0006.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0007.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0008.fits + https://www.cv.nrao.edu/fits/data/tests/pg93/tst0013.fits + ) + ) +" +S="${WORKDIR}/OpenImageIO-${PV}" + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv" + +X86_CPU_FEATURES=( + aes:aes sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2 + avx:avx avx2:avx2 avx512f:avx512f f16c:f16c +) +CPU_FEATURES=( "${X86_CPU_FEATURES[@]/#/cpu_flags_x86_}" ) + +IUSE="dicom doc ffmpeg fits gif gui jpeg2k opencv openvdb ptex python qt6 raw test +tools +truetype ${CPU_FEATURES[*]%:*}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) gui? ( tools ) test? ( tools truetype )" + +RESTRICT="!test? ( test )" + +BDEPEND=" + jpeg2k? ( app-arch/unzip ) + doc? ( + app-text/doxygen + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + ) +" +RDEPEND=" + dev-libs/boost:= + dev-cpp/robin-map + dev-libs/libfmt:= + dev-libs/pugixml:= + >=media-libs/libheif-1.13.0:= + media-libs/libjpeg-turbo:= + media-libs/libpng:0= + >=media-libs/libwebp-0.2.1:= + >=dev-libs/imath-3.1.2-r4:= + >=media-libs/opencolorio-2.1.1-r4:= + >=media-libs/openexr-3:0= + media-libs/tiff:= + sys-libs/zlib:= + dicom? ( sci-libs/dcmtk ) + ffmpeg? ( media-video/ffmpeg:= ) + fits? ( sci-libs/cfitsio:= ) + gif? ( media-libs/giflib:0= ) + jpeg2k? ( >=media-libs/openjpeg-2.0:2= ) + opencv? ( media-libs/opencv:= ) + openvdb? ( + dev-cpp/tbb:= + media-gfx/openvdb:= + ) + ptex? ( media-libs/ptex:= ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-libs/boost:=[python,${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pybind11[${PYTHON_USEDEP}] + ') + ) + gui? ( + media-libs/libglvnd + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) + qt6? ( + dev-qt/qtbase:6[gui,widgets,opengl] + ) + ) + raw? ( media-libs/libraw:= ) + truetype? ( media-libs/freetype:2= ) +" +DEPEND=" + ${RDEPEND} +" + +DOCS=( + CHANGES.md + CREDITS.md + README.md +) + +PATCHES=( + "${FILESDIR}/${PN}-2.5.8.0-fix-unit_simd.patch" + "${FILESDIR}/${PN}-2.5.8.0-fix-tests.patch" + "${FILESDIR}/${PN}-2.5.12.0-tests-optional.patch" + "${FILESDIR}/${PN}-2.5.12.0-heif-find-fix.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + if ! use dicom; then + rm "src/dicom.imageio" -r || die + fi + + if ! use gif; then + rm src/gif.imageio -r || die + fi + + if ! use jpeg2k; then + rm src/jpeg2000.imageio -r || die + fi + + if ! use raw; then + rm src/raw.imageio -r || die + fi + + cmake_src_prepare + cmake_comment_add_subdirectory src/fonts + + if use test ; then + mv -v "${WORKDIR}/OpenImageIO-images-${TEST_OIIO_IMAGE_COMMIT}" "${WORKDIR}/oiio-images" || die + mv -v "${WORKDIR}/openexr-images-${TEST_OEXR_IMAGE_COMMIT}" "${WORKDIR}/openexr-images" || die + + if use fits; then + mkdir -p "${WORKDIR}/fits-images/"{ftt4b,pg93} || die + for a in ${A}; do + if [[ "${a}" == file*.fits ]]; then + cp "${DISTDIR}/${a}" "${WORKDIR}/fits-images/ftt4b/" || die + fi + if [[ "${a}" == tst*.fits ]]; then + cp "${DISTDIR}/${a}" "${WORKDIR}/fits-images/pg93/" || die + fi + done + fi + + if use jpeg2k; then + mv -v "${WORKDIR}/J2KP4files" "${WORKDIR}/j2kp4files_v1_5" || die + fi + + cp testsuite/heif/ref/out-libheif1.1{2,5}-orient.txt || die + eapply "${FILESDIR}/${PN}-2.5.12.0_heif_test.patch" + fi +} + +src_configure() { + # Build with SIMD support + local cpufeature + local mysimd=() + for cpufeature in "${CPU_FEATURES[@]}"; do + use "${cpufeature%:*}" && mysimd+=("${cpufeature#*:}") + done + + # If no CPU SIMDs were used, completely disable them + [[ -z ${mysimd[*]} ]] && mysimd=("0") + + # This is currently needed on arm64 to get the NEON SIMD wrapper to compile the code successfully + # Even if there are no SIMD features selected, it seems like the code will turn on NEON support if it is available. + use arm64 && append-flags -flax-vector-conversions + + local mycmakeargs=( + -DVERBOSE="yes" + -DINTERNALIZE_FMT="no" + # -DALWAYS_PREFER_CONFIG="yes" + # -DGLIBCXX_USE_CXX11_ABI="yes" + # -DTEX_BATCH_SIZE="8" # TODO AVX512 -> 16 + -DSTOP_ON_WARNING="OFF" + + -DCMAKE_CXX_STANDARD="17" + -DDOWNSTREAM_CXX_STANDARD="17" + + -DCMAKE_UNITY_BUILD_MODE="BATCH" + -DUNITY_SMALL_BATCH_SIZE="$(nproc)" + + -DBUILD_DOCS="$(usex doc)" + # -DBUILD_OIIOUTIL_ONLY="no" + -DBUILD_TESTING="$(usex test)" + + -DINSTALL_FONTS="OFF" + -DINSTALL_DOCS="$(usex doc)" + + -DENABLE_DCMTK="$(usex dicom)" + -DENABLE_FFmpeg="$(usex ffmpeg)" + -DENABLE_FITS="$(usex fits)" + -DENABLE_FREETYPE="$(usex truetype)" + -DENABLE_GIF="$(usex gif)" + -DENABLE_LibRaw="$(usex raw)" + -DENABLE_Nuke="no" # not in Gentoo + -DENABLE_OpenCV="$(usex opencv)" + -DENABLE_OpenJPEG="$(usex jpeg2k)" + -DENABLE_OpenVDB="$(usex openvdb)" + -DENABLE_TBB="$(usex openvdb)" + -DENABLE_Ptex="$(usex ptex)" + + -DENABLE_GIF="$(usex gif)" + -DENABLE_LIBRAW="$(usex raw)" + -DENABLE_PTEX="$(usex ptex)" + -DENABLE_OPENJPEG="$(usex jpeg2k)" + + -DOIIO_BUILD_TOOLS="$(usex tools)" + -DOIIO_BUILD_TESTS="$(usex test)" + -DOIIO_DOWNLOAD_MISSING_TESTDATA="no" + + -DUSE_CCACHE="no" + -DUSE_EXTERNAL_PUGIXML="yes" + # -DUSE_LIBCPLUSPLUS="yes" + -DUSE_R3DSDK="no" # not in Gentoo + -DUSE_PYTHON="$(usex python)" + -DUSE_SIMD="$(local IFS=','; echo "${mysimd[*]}")" +) + + if use gui; then + mycmakeargs+=( -DUSE_IV="yes" -DUSE_OPENGL="yes" -DUSE_QT="yes" ) + if ! use qt6; then + mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6="yes" ) + fi + else + mycmakeargs+=( + -DUSE_QT="no" + ) + fi + + if use python; then + mycmakeargs+=( + "-DPYTHON_VERSION=${EPYTHON#python}" + "-DPYTHON_SITE_DIR=$(python_get_sitedir)" + ) + fi + + cmake_src_configure +} + +src_test() { + # A lot of tests needs to have access to the installed data files. + # So install them into the image directory now. + DESTDIR="${T}" cmake_build install + + CMAKE_SKIP_TESTS=( + "-broken$" + ) + + sed -e "s#../../../testsuite#../../../OpenImageIO-${PV}/testsuite#g" \ + -i "${CMAKE_USE_DIR}/testsuite/python-imagebufalgo/ref/out.txt" || die + + local -x CI CMAKE_PREFIX_PATH LD_LIBRARY_PATH OPENIMAGEIO_FONTS PYTHONPATH + CI=true + CMAKE_PREFIX_PATH="${T}/usr" + LD_LIBRARY_PATH="${T}/usr/$(get_libdir)" + OPENIMAGEIO_FONTS="${CMAKE_USE_DIR}/src/fonts" + + if use python; then + PYTHONPATH="${T}$(python_get_sitedir)" + fi + + virtx cmake_src_test + + # Clean up the image directory for src_install + rm -fr "${T:?}"/usr || die +} + +src_install() { + cmake_src_install + + # remove Windows loader file + if use python; then + rm "${D}$(python_get_sitedir)/__init__.py" || die + fi +} diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest index 8a12a3ae1c7c..06992ac6d589 100644 --- a/media-libs/opus/Manifest +++ b/media-libs/opus/Manifest @@ -1,5 +1,5 @@ AUX opus-1.3.1-libdir-macro.patch 359 BLAKE2B 901a1f09417bb962b3268a1d9a85cfc356df9c67b05452e31599c37cf9c0a2267c50e6b9bd820af2445d54a290d4170492bff692566c01e9b1841ed755b9c020 SHA512 ec9643035203e70589eeed1079cf4da7af548fc1e2f8f30645217042e6adb3f9e0f874dcbd96ad49c07637abb3abca94c201cfc7dd41ad1d687ecbc00320eb2c AUX opus-1.4-arm64-neon.patch 888 BLAKE2B 31a46a4d4cda3381bbd2406bc5f3c8d3ee2c91df8616f2b7e1169925651447b2474839fb3fb03c34f5f66922f6e9fe1947c864e00a1fe786ec0f2b81c6c99166 SHA512 3b7a57da6499eef821119ba66a207a73c47cbfafeda76c411c5293ad77df1d6955ab96815ccc19eba0aeefc6e75502c13a75afd5d50c3ebc51fc53a40b1218ea DIST opus-1.5.2.tar.gz 7839412 BLAKE2B 1c54de8171df1da69b64a2eca4ce97a0280cfceafb387f40ef1186add366030a397fabc19b18cf1e50d6dbaccb027697d1e2b3da4fa6ab73d70c2b4e723e87f7 SHA512 78d963cd56d5504611f111e2b3606e236189a3585d65fae1ecdbec9bf4545632b1956f11824328279a2d1ea2ecf441ebc11e455fb598d20a458df15185e95da4 -EBUILD opus-1.5.2.ebuild 1605 BLAKE2B 293f7635c48dc8c05d68f8c5a95804fa2ccf2fdcb6ec42f71a22699d55a194384d3d87d83fa01516fe652e0c8e04faa989992e0a070c412ca8898efa2db64b98 SHA512 998fd44115003c12a9d44542630045e646c4b05e7434c077a4f948af5b5475df2f5447207c5ee5365bb17d52866ee747a06de4cf9ca37fd871ef10f53aad20fd -MISC metadata.xml 538 BLAKE2B d65f695f3bf53cb827c9fbfc621cb58f3465e77f74f3bb3c436fc8741161798b6f7dc3381a07e21f7f1e5310104ed89179c64d9ab30f2102c76ef6ee73ad9ebc SHA512 0e84eba3a3711486a9569e7d38b0fe7cd11aa0d68c123f3304b6b698394dff4e48f4270624793cdc17a16a3ac8c9f921ae50bcbb30b920916b4bad9ae60c7117 +EBUILD opus-1.5.2.ebuild 1757 BLAKE2B c480427e450a5ad2964a321c749fc3b460dff78fdb4b01431876df693842bc9081e706b3ef883b6e3c0c3ce9a720e9cab03cf332a4eaebb7f817969902923c98 SHA512 76051167e78e9acad9ca0397368a878ffc223121e6e6e9e28e4686b7823a41e519daed48e5d3f3c9da0ee54d398ef549465498f619eb5ed3157fffee4e8b030e +MISC metadata.xml 740 BLAKE2B 7e4989a8c9ea2a654cca560f1ebba578e139168827d812e790443ec089ac59acf080b95160b16e85f4210810774803415a9ad055a8ffaa6cf12316a10e14673c SHA512 4a13a0c94bc4d9b325e0d599dc14a1f8cfd521250d67cb5d9ea1aa0d9c0ad3bb6a751cd52a8f834588d9d0b8e1e70a0fd82307c86960acdf314ce281cae93b72 diff --git a/media-libs/opus/metadata.xml b/media-libs/opus/metadata.xml index ead8947401fe..233bcf4e3835 100644 --- a/media-libs/opus/metadata.xml +++ b/media-libs/opus/metadata.xml @@ -11,6 +11,9 @@ </maintainer> <use> <flag name="custom-modes">Enable non-Opus modes, e.g. 44.1 kHz and 2^n frames</flag> + <flag name="deep-plc">Enable Deep Packet Loss Concealment (PLC)</flag> + <flag name="dred">Enable Deep REDundancy (DRED)</flag> + <flag name="osce">Enable Opus Speech Coding Enhancement (OSCE)</flag> </use> <upstream> <remote-id type="github">xiph/opus</remote-id> diff --git a/media-libs/opus/opus-1.5.2.ebuild b/media-libs/opus/opus-1.5.2.ebuild index 571ca9f768dc..f6ac860f04ca 100644 --- a/media-libs/opus/opus-1.5.2.ebuild +++ b/media-libs/opus/opus-1.5.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit flag-o-matic meson-multilib python-any-r1 DESCRIPTION="Open codec for interactive speech and music transmission over the Internet" @@ -14,7 +14,11 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86" INTRINSIC_FLAGS="cpu_flags_x86_sse cpu_flags_arm_neon" -IUSE="custom-modes debug doc hardened static-libs test ${INTRINSIC_FLAGS}" +IUSE="custom-modes debug deep-plc dred doc hardened osce static-libs test ${INTRINSIC_FLAGS}" +REQUIRED_USE=" + dred? ( deep-plc ) + osce? ( deep-plc ) +" RESTRICT="!test? ( test )" BDEPEND=" @@ -38,6 +42,9 @@ multilib_src_configure() { $(meson_feature test tests) $(meson_use debug assertions) $(meson_use hardened hardening) + $(meson_feature deep-plc) + $(meson_feature dred) + $(meson_feature osce) $(meson_native_use_feature doc docs) diff --git a/media-libs/osl/Manifest b/media-libs/osl/Manifest index 096bc8e98c67..b928aa45d7d3 100644 --- a/media-libs/osl/Manifest +++ b/media-libs/osl/Manifest @@ -3,7 +3,7 @@ DIST osl-1.13.10.0.tar.gz 21776721 BLAKE2B 6b40adcf50403292003ae8216e60328d5af6d DIST osl-1.13.7.0.tar.gz 21774349 BLAKE2B 1fd731f14b8dce948d7995efadb63eec8ce028ed6b095db391d2dfedcbbd62ca3aad9cd5d7d40f94c9e358f952d841899103467a2f81b12a605ae8c8436a16ff SHA512 15ffc6a5eed44141672af3d7ddab5d97abacad2062cddb35ef2a8484538a9a9a86cbd7e7170deafcefd3b69df764bfd207685603ca17a2fbff4299ccd1afe569 EBUILD osl-1.12.14.0-r1.ebuild 9915 BLAKE2B 1066b5f8de5e64142f545025ee50eb7cfbc9bcb97ba3148363cf17c7962c997205df7341fb250b8b3acfcb10c19fe3259404aaa049e638fe8a12cd243b5a6049 SHA512 f56d81c78fb40713cbf5e1635275975d5801b6abbb876a2c67709a3c22ed5cbe521c153e8aa3865fc943675f5d15935244b18f99fed14d552db878877c620bde EBUILD osl-1.12.14.0.ebuild 3906 BLAKE2B 99da9664c5a9ea78af28d4ce67cc44ba9b446bcf46efc7ce2f5f57fafe6e3a51ed89f16681b8cd2be5afaf3d1b0cee9e5f2a8156547fca4945d0d2432ecb9b92 SHA512 db06490cc6dea73fa9e4c0dec4a4f0c605689ad8ec10710a44a0da718b9aada9524ba40cad6d6df75049ac50abbae0ad0fca595b7dd69429a45f49943d0f9cb5 -EBUILD osl-1.13.10.0.ebuild 7682 BLAKE2B 2088ec50cc26da7374f29f5da59f302f04c626010f687d9365dac517894ef101d7e15730d96efe109deb5adf0a44e34f3d32748258f5525589c19ca71c9f9e39 SHA512 5f1a8c990888f4af09b2676fe131dacaf13855a0ac49fc1c614b1e849c1b1afbbc4029b6c7258e1530190edf4db02374fff1b2db74a61434dc2658e0b0ef229c +EBUILD osl-1.13.10.0.ebuild 7681 BLAKE2B af39ddf672f0121c07efb623cca9260ecd0423bd885397ce7ca787b86c4f8fefabe5433259e69fa87b58f85d5905519e6835766b8e8e2fa813721a971a375aef SHA512 0073d65ff2063947aab3d8e1d05d4d043626392fb79d90ffb5b1f304695561494d4de9a460031f58bad9179e61191a08e67de7f5de284eabab8f8f86c3ea3efa EBUILD osl-1.13.7.0.ebuild 11741 BLAKE2B 98ae068b097406fcbfeed428c051e3049a2a7b0feda20f4744664072d5be18ac2d6b5eeaf6e96d8573997ff0ba6da3240afb307f6a84f178d4915daa4ff6617a SHA512 74254e8793acc25a7429fb4915912f7f2f14cf810e83b0ad922be4ec6853f5cd8e12992bb7532d891b66bbf2078f89c46bd416b61e21c88487d4008ed48590ce EBUILD osl-9999.ebuild 7682 BLAKE2B 2088ec50cc26da7374f29f5da59f302f04c626010f687d9365dac517894ef101d7e15730d96efe109deb5adf0a44e34f3d32748258f5525589c19ca71c9f9e39 SHA512 5f1a8c990888f4af09b2676fe131dacaf13855a0ac49fc1c614b1e849c1b1afbbc4029b6c7258e1530190edf4db02374fff1b2db74a61434dc2658e0b0ef229c MISC metadata.xml 1162 BLAKE2B 56fc654915ef7d354844d8b9d99cbe1e2fa8ece1bf3ee2028847d8add16c663cab3110598ae78b7da05c6f3b06bc0926ff1797827c5b2750c03ec02d4c5effe2 SHA512 6e391782385aca530fb9526dd4675845aefd42d760555a7633b0daec2d2890e5d2ce93f39b4c297c1f1056e2c4607c228baba4a1875f05c47362abeb50455dba diff --git a/media-libs/osl/osl-1.13.10.0.ebuild b/media-libs/osl/osl-1.13.10.0.ebuild index 3df3ad89ba3b..2d149fe4a5f5 100644 --- a/media-libs/osl/osl-1.13.10.0.ebuild +++ b/media-libs/osl/osl-1.13.10.0.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} = *9999* ]] ; then else # If a development release, please don't keyword! SRC_URI="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64" S="${WORKDIR}/OpenShadingLanguage-${PV}" fi diff --git a/media-libs/phonon-vlc/Manifest b/media-libs/phonon-vlc/Manifest index 7f73c1253a5a..045f376ec978 100644 --- a/media-libs/phonon-vlc/Manifest +++ b/media-libs/phonon-vlc/Manifest @@ -1,5 +1,5 @@ DIST phonon-backend-vlc-0.11.3.tar.xz 67196 BLAKE2B 597ead8300bfcd4dd1a94ee1733e77ea15436eea01924093ba6655d08de7b2334cd39c10e61655adcbf12e5ca1afb239c0ee0bd05fefe2e294cc1cb1ef5c7799 SHA512 11593d15874734d92922bcfd8e038a2a4f528d9145d525d6654aad7bb9d7edb911f31f564d83217341dff3be973c8cf00d91f03b66a90305f4f7ed97c2d57033 DIST phonon-backend-vlc-0.12.0.tar.xz 71664 BLAKE2B 9ace1020d8e9a9e97243706ff81703d3f22bf892f402e44451147a24547d09bcf12f5745377c01d65b4d1fb03cd975b323b2cab62f8136880d1d9c004cca7d7b SHA512 78f5ead829d5025c7cb9e01b33819514d795651d1d932c03bd8cc2ad5d427e5aaaeeb6016820d5a7bb9907f6df1142a0fbc097830d7c63b01f77d2167a0c9264 EBUILD phonon-vlc-0.11.3-r1.ebuild 736 BLAKE2B 68e053bf42c51ecbbad2f94e76cb8b1d982d706320cd4913aa9954cff08b7f4f6332d1f8739bf664c6dda930dbec3ec88177dd6a530c95a36caf6ec59467fa6a SHA512 f5c1296f63b6d71265c4d77b224b38bbc2ccc3b70349bd07db9432643796407f4661d3da97b8a75a556bc50e560a3290c47e4a264a3303c92d060e6fc1b4039e -EBUILD phonon-vlc-0.12.0-r1.ebuild 1719 BLAKE2B 8620f2a9d060edc6f09db5cb15b951683b21d4b340a4c624203edaaad36e90c6ed8b8d24bf252f1073fcbba7e6a4cbceb4a45c24202d605744742536aaa65fa6 SHA512 3456b92382e9f7470f1b8352845e71fd54dd6b0e307a40894388d88ce4f730ee07ae8626dc41ef13bf5a2d236397ca28367fe8157992f9e3a6c339597296bc64 +EBUILD phonon-vlc-0.12.0-r1.ebuild 1723 BLAKE2B 6a2370411298eb0092498638be2d10ce767e9338cd07edb63880639ec5c667f4ca68dbfb8eb58922038683f3e474b2eb03221a0ffbb39c9da33a1a90ac19c6fc SHA512 f528e55796dfd65c5e0c689285ee9d4c8857208ea5a2f6bd3c853355f9e135a313e176d39b7c40c89f682d697d4bf2ce6b2e8527b7ea7bc6e0f4f9bced3833a9 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild b/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild index 62f5f652f8ac..e017d1454f56 100644 --- a/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild +++ b/media-libs/phonon-vlc/phonon-vlc-0.12.0-r1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://community.kde.org/Phonon" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/phonon/phonon-backend-vlc/${PV}/phonon-backend-vlc-${PV}.tar.xz" S="${WORKDIR}"/phonon-backend-vlc-${PV} - KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" + KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86" fi LICENSE="LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" diff --git a/media-libs/phonon/Manifest b/media-libs/phonon/Manifest index 2e5e64b3d764..ebe60ab255ca 100644 --- a/media-libs/phonon/Manifest +++ b/media-libs/phonon/Manifest @@ -1,6 +1,7 @@ AUX phonon-4.11.1-clang-16.patch 1356 BLAKE2B 2adbe00797db0efab8a065c455b8122bea99ffdca9317939c85e54c65cf9292f1de7531bff89fbed227cdab035547680291c6d20d02a374bfe7e28ef9ec9706d SHA512 5ef9e3bcefd607036e47cd6578be5bb98a384bb4cd4820aab90cd7adf1eb0ae54ad001550909a93513e1d622ef4101f95fce733e3fa7a95d5df8454290ef92aa +AUX phonon-4.12.0-cmake.patch 2806 BLAKE2B 3c71db1e4fd0b74c651ceb52830792f1cb5e9db207b3881cc03614ac2c0e8e8f737e545e17060d2055e19ffb1dd458efac05795d80dc566c96a91d21244d4766 SHA512 0f4d10d14a8a1a3d7259b5719c19820142fcf9e4363187bf08be53d5b15f581a5876962bcea84ea8f1de2d298c1a872d2814f2cce7f82841ae457c7d3171121e DIST phonon-4.11.1.tar.xz 314732 BLAKE2B 9be341f8df643b352392a208c7f24d799edcc94146b71c73d93974a7ef02cc75b5baa1e2ddd037e7e2d3afeb52347d96caaa8b3a2319631802261735a3a751df SHA512 858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 DIST phonon-4.12.0.tar.xz 408996 BLAKE2B 568af4aec5247759e49db2137978b9f1828256f817bcb321f02e69d597d78e97c9ce437e89cd63b5a8b15c312f74ccee11b34270e74be2dc24c2af9ee97490f0 SHA512 0dbd88464985051f4c43e64a4d0b7e2d65e7f6b54fd2bae4ec1790fbdf9f79348aa91d4839c72a4f66297d5a9c7b379cc34923b99b97130a5443e5b2c0cc8a9a EBUILD phonon-4.11.1-r2.ebuild 1307 BLAKE2B 69c75e346c77710c52591a8debe93bb09c34217584a520622dbfcfb2b4442b3039f1705ee5550f4b35edef1fc65a33286517deb24373264adceef2d365679ebd SHA512 daae7f938573ea831c299c0ef584ae4526570e64e3cb0790cfc7dae34b364fb4bb72ac0f312d0733fb17de6bcc3f74e3dbd9a08247c5d43e2776bae5deb8ec3b -EBUILD phonon-4.12.0-r3.ebuild 2299 BLAKE2B c06645d8024ff377535d591e7bb90152765987d9a8b5ed6afc9487b92e56bcd8196492a51bd6b721296b3027e40d2b56cce43488da014d9ef7857f575307794f SHA512 af90f3df9ef4b7ad04a951363806f2dcb031cc437e3f8886e2a3f704ced271ca3e7c87319b55fdb28acc82fefac31ca1b5c7c726b849acbff24fb90bdc7aab5f +EBUILD phonon-4.12.0-r3.ebuild 2357 BLAKE2B 89276f8d310c9b482f9f94a26508718efa0799a9fb74b0f727cf945aedca3454077b9d022ef31bc89c497704fb465608cb70e2c6c5dd0841857f0119b261cd6d SHA512 62a1ded9aca0d08eedb9a33f9b6b7ea958eba310abab2f732af262e81f27c80cc37770ff32b20dce03f7823bb3a10bc211cb6623f52229a8dccc165b2185b024 MISC metadata.xml 463 BLAKE2B 856a539bfa489dac4d6550f9fb4104b419dc6dd12a5d6ec67ac7d9f743fa31d96c3323937558704b7941a914c1ca342b5a6030e9f16b7d84f2339f93d2a1fb9f SHA512 c6aa1e0f8f11e813c228619f9c857bfa3e15d3278a1b5af3910f8f789a7d93f889a9adb9121f19b4b52abbfa0b4a67d89a037679ae0eab00b0db04ed5e16526e diff --git a/media-libs/phonon/files/phonon-4.12.0-cmake.patch b/media-libs/phonon/files/phonon-4.12.0-cmake.patch new file mode 100644 index 000000000000..f212567777f1 --- /dev/null +++ b/media-libs/phonon/files/phonon-4.12.0-cmake.patch @@ -0,0 +1,69 @@ +From 02bde730f0750ca751da81a7077a0f70bf9dd056 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Thu, 22 Aug 2024 21:19:07 +0200 +Subject: [PATCH] Hide QtDesigner cmake finding and workarounds behind existing + option + +Otherwise, `add_library(Qt::OpenGLWidgets ALIAS Qt6::OpenGLWidgets)` will +potentially fail even if PHONON_BUILD_DESIGNER_PLUGIN was not requested. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 32 ++++++++++++++++++-------------- + 1 file changed, 18 insertions(+), 14 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c00760fc..babeb392 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,5 @@ + cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +-project(Phonon VERSION "4.12.0") ++project(Phonon VERSION "4.11.1") + + include(FeatureSummary) + +@@ -116,23 +116,27 @@ foreach(version ${VERSIONS}) + # https://bugreports.qt.io/browse/QTBUG-114706 + add_library(Qt::Widgets ALIAS Qt${QT_MAJOR_VERSION}::Widgets) + +- # Designer Plugin +- find_package(Qt${QT_MAJOR_VERSION}Designer ${REQUIRED_QT_VERSION}) +- set_package_properties(Qt${QT_MAJOR_VERSION}Designer PROPERTIES +- TYPE RECOMMENDED +- DESCRIPTION "Needed to build the Qt Designer plugin" +- URL "https://www.qt.io/download") +- # https://bugreports.qt.io/browse/QTBUG-114706 +- if(Qt${QT_MAJOR_VERSION}Xml_FOUND) +- add_library(Qt::Xml ALIAS Qt${QT_MAJOR_VERSION}::Xml) ++ if(PHONON_BUILD_DESIGNER_PLUGIN) ++ # Designer Plugin ++ find_package(Qt${QT_MAJOR_VERSION}Designer ${REQUIRED_QT_VERSION}) ++ set_package_properties(Qt${QT_MAJOR_VERSION}Designer PROPERTIES ++ TYPE RECOMMENDED ++ DESCRIPTION "Needed to build the Qt Designer plugin" ++ URL "https://www.qt.io/download") ++ # https://bugreports.qt.io/browse/QTBUG-114706 ++ if(Qt${QT_MAJOR_VERSION}Xml_FOUND) ++ add_library(Qt::Xml ALIAS Qt${QT_MAJOR_VERSION}::Xml) ++ endif() ++ if(QT_MAJOR_VERSION STREQUAL "6") ++ # Qt6Designer links to OpenGLWidgets but doesnt find it ++ find_package(Qt6OpenGLWidgets ${REQUIRED_QT_VERSION}) ++ # https://bugreports.qt.io/browse/QTBUG-114706 ++ add_library(Qt::OpenGLWidgets ALIAS Qt6::OpenGLWidgets) ++ endif() + endif() + + if(QT_MAJOR_VERSION STREQUAL "6") + find_package(Qt6Core5Compat REQUIRED) +- # Qt6Designer links to OpenGLWidgets but doesnt find it +- find_package(Qt6OpenGLWidgets ${REQUIRED_QT_VERSION}) +- # https://bugreports.qt.io/browse/QTBUG-114706 +- add_library(Qt::OpenGLWidgets ALIAS Qt6::OpenGLWidgets) + endif() + + set(BUILDSYSTEM_INSTALL_DIR ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${PHONON_LIB_SONAME}/buildsystem/) +-- +2.46.0 + diff --git a/media-libs/phonon/phonon-4.12.0-r3.ebuild b/media-libs/phonon/phonon-4.12.0-r3.ebuild index b821463b8b9a..545735c83895 100644 --- a/media-libs/phonon/phonon-4.12.0-r3.ebuild +++ b/media-libs/phonon/phonon-4.12.0-r3.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://community.kde.org/Phonon" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz" - KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86" + KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86" fi LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" @@ -49,9 +49,9 @@ BDEPEND=" qt5? ( dev-qt/linguist-tools:5 ) qt6? ( dev-qt/qttools:6[linguist] ) " -PDEPEND=" - !minimal? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] ) -" +PDEPEND="!minimal? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] )" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug 938315 pkg_setup() { MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) diff --git a/media-libs/pulseaudio-qt/Manifest b/media-libs/pulseaudio-qt/Manifest index 444d3108c06a..08a86f8d6232 100644 --- a/media-libs/pulseaudio-qt/Manifest +++ b/media-libs/pulseaudio-qt/Manifest @@ -2,5 +2,5 @@ AUX pulseaudio-qt-1.3-no-crash-if-no-server-response.patch 1523 BLAKE2B c13e9cae DIST pulseaudio-qt-1.3.tar.xz 34148 BLAKE2B f283c369fcbeaf57537fe28d6f8aa02c34d7567ab8260ec8ba05edf8320b65e29e6ac88489ff0b49ae57b0bc8b8a49da83886f50ed9641850c84939a979e930c SHA512 2326277fd37327db29a5984056949fcf935c36e7b39184d1307a5d0a891efed4f0e4f32e783f3f7da2c7e6b7409eb908b2521064c6d24a28561ed38db9f8d4e8 DIST pulseaudio-qt-1.5.0.tar.xz 36004 BLAKE2B ef61c70b1fdfc850c2cd0bde7621da9ff088347f1134b970eb2c5383b3f1dc2aa0d07a37d27b617c5647def3cda92fc745a847e9234826acc825d64d7e542426 SHA512 c0ce24c10b607b2866eb08bae14bac340de028bbf6ebfdd57ae8f9bd3bbb182cc681a124f20a4f309fd56c97598a33db07c6289d2c9801cc8f395cd424e588b8 EBUILD pulseaudio-qt-1.3-r4.ebuild 797 BLAKE2B f347863f987751483c98ce28492dcb54c5fd88f9f757c8b6019cf7367dc14e26a64cd8d898d72218c2efdff407f0476edc17cb31b84f34f9896f49e125a5af7f SHA512 b8c980c899c77b728d6ccaec83669cd934a02611d6ea75dc1efe803cb72dbe5ceecec3baff89a00ba277707c00bd2ee740b4bf1f57aaad5d8087841c2b68aee8 -EBUILD pulseaudio-qt-1.5.0.ebuild 650 BLAKE2B d12fcf892f5c4c0e53b98c221ff7954e64de1852ead6be9273278da569b01e7ae27852139e740a4f64f2bef7ad034be7f74be3ef0246ac58bd9b46221c29816f SHA512 5620f7d9d8013732e1d89bc368b769e39ed5c4f59669c2cfa2f5c2a109a769c1474213b75510e65629a16425d6ab1bbf49ff6ea15fa246a1d35590db3b354b66 +EBUILD pulseaudio-qt-1.5.0.ebuild 662 BLAKE2B 586acc7d3074d137903dd525db3e93aaf3af89229561cf725f34265739d3da8a51c0e142abc808a667d72687b10de0b543b451a7e364aa6c4024ea6a6a0871f0 SHA512 0de5e1910efb7bf0ce9405533a6d071ed59ffc340fb453885ae373acddbabeb6a53b62be2a1220505276ef236aa774cbca4e9f2de39bc548a1fec86a1c26ad29 MISC metadata.xml 385 BLAKE2B 66910b8057aee5141d69520b1a4485d15182552cc027156ea4929987c66128fac2e06d2b5ae450692ffd8fac97fcdfdd27e30fc4ebc9915cad50e480af1425a6 SHA512 1b549f3f3e21a2a2dee45285ac8c7a61f4f06d8e6b4d7fdc42d8aa3c537a921c613faef3d57e36efa86a74117e7f71f54fcb4d7fca8c747980d63f314f4ba1db diff --git a/media-libs/pulseaudio-qt/pulseaudio-qt-1.5.0.ebuild b/media-libs/pulseaudio-qt/pulseaudio-qt-1.5.0.ebuild index 297893b1877d..f4df3184779f 100644 --- a/media-libs/pulseaudio-qt/pulseaudio-qt-1.5.0.ebuild +++ b/media-libs/pulseaudio-qt/pulseaudio-qt-1.5.0.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://invent.kde.org/libraries/pulseaudio-qt" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~riscv" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" fi LICENSE="LGPL-2.1" diff --git a/media-libs/quirc/Manifest b/media-libs/quirc/Manifest index f7a67f701f0e..a6483063ec12 100644 --- a/media-libs/quirc/Manifest +++ b/media-libs/quirc/Manifest @@ -1,4 +1,4 @@ DIST quirc-1.2.tar.gz 42916 BLAKE2B f12e015a703807e1e8aa6dbfcbedc4065a7249df2e3b902f6fb069c12e3d8905329414fa826f912adad8bd1ccd49b659d96ebcdcf6bc0b229eb112a46bf86b09 SHA512 0f694d16bc24012ef29a9aab8e48419bc7c346153ead3feed8e83845927f9683bb62b2e61c6872643f66b0c864c2e3c7e1a4ea4c657399b38cabfa687bedee82 -EBUILD quirc-1.2-r2.ebuild 1916 BLAKE2B 197e806a8aaad68f20703566e09d06918f47c9a0bbac48a796bb91f9e4b6dda73e5eff8429c23dc37971edcbfb12b8236585b2789e6935897b4f2f4d193c14fb SHA512 a9d53788d01414326ee2e3d7cef8e43dd6c3708296b27d8291479308a207544f504bd11cc6693c21c7fac28ce3fcfdf2d72a013a6909a9489f2ee21a14aa8608 +EBUILD quirc-1.2-r2.ebuild 1952 BLAKE2B e46ee0633b0b8aa2cca6969842188b150c35a346b197b452dcae924a4d1aa4a96618566b88f273ae5559efa54965b1918051a37607a66cbb6ff6c74f4891d5da SHA512 e2678d39a7d989c4638f807249d729de76fb99767ab6b4d46960c3effbe4af7abeb40a62ba535ee84552b2d4acadda391d1599e867a544e9c5e066f85a6c3d19 EBUILD quirc-9999.ebuild 1916 BLAKE2B 197e806a8aaad68f20703566e09d06918f47c9a0bbac48a796bb91f9e4b6dda73e5eff8429c23dc37971edcbfb12b8236585b2789e6935897b4f2f4d193c14fb SHA512 a9d53788d01414326ee2e3d7cef8e43dd6c3708296b27d8291479308a207544f504bd11cc6693c21c7fac28ce3fcfdf2d72a013a6909a9489f2ee21a14aa8608 MISC metadata.xml 846 BLAKE2B a20c7b5f02ebfcae0dabd26ad6651c1f1605f1e26b506048d1f4b61e0de5bd23eaaa047187949067c94fc549b1e60b5c96d40c6e20eefbfc158e5ee36325eb13 SHA512 73bad8eb5f00a76bb9456a108550789a81f2c29cfbc477073bd0313ce73d76a8703caf6344eea511018b268956882960bc6a302f0b8241947195778e0b058b21 diff --git a/media-libs/quirc/quirc-1.2-r2.ebuild b/media-libs/quirc/quirc-1.2-r2.ebuild index 677271f2e53e..7f8f2bcdc801 100644 --- a/media-libs/quirc/quirc-1.2-r2.ebuild +++ b/media-libs/quirc/quirc-1.2-r2.ebuild @@ -15,7 +15,7 @@ else SRC_URI=" https://github.com/dlbeer/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz " - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86" fi DEPEND=" diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest index 3ba6b79c01d6..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 1670 BLAKE2B 41c08bad54d14d8a5dc13fe4512301afca6ab4a8ee3c7315d47192896f90680a775570adcf0fb0e2c3123ca3e7ca8763dde171d539ffc5c19887cc42bf760f70 SHA512 02be13a37a4b3cf4e47a1b2f8bab8717773c2f193c1fab12c071d17c58419aa7ba5ec83129453d4dab4f0f7adf49a105f8f933d00c1181b1e60f70d6bfdbd989 +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/raptor/raptor-2.0.16.ebuild b/media-libs/raptor/raptor-2.0.16.ebuild index 49417e1008e1..75edad8c19e7 100644 --- a/media-libs/raptor/raptor-2.0.16.ebuild +++ b/media-libs/raptor/raptor-2.0.16.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}" 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" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug json static-libs" DEPEND=" diff --git a/media-libs/roc-toolkit/Manifest b/media-libs/roc-toolkit/Manifest index b1dd923fb68a..de14f8cc6f59 100644 --- a/media-libs/roc-toolkit/Manifest +++ b/media-libs/roc-toolkit/Manifest @@ -3,5 +3,5 @@ AUX roc-toolkit-0.4.0-dont-force-O3.patch 630 BLAKE2B a4895648b0826e7b1de3cf083a DIST roc-toolkit-0.3.0.tar.gz 1679439 BLAKE2B 31775d330bdfb3c42278d1ecbbbb5e14f695ca82f22929e435b6c9bf10c2e25c3367d11cf2913a81e6469876c255193be11eb78b775fad3b17f57c5be9c4bb39 SHA512 447532862dc1714054ebd03ce7fd101525c213a87bc7198a55c8e6068c28db318d59389bafd83681a4e6b34a61e68ac305c66b84e417a3f791b02340a821e6ec DIST roc-toolkit-0.4.0.tar.gz 1895030 BLAKE2B 2ffcf6b1ca50fcae09c7aaa27939e23428feb21f330d578d731e494c62aa088c7e00de3b1a1b488d1bb13ffcc979fede1fc2726e2293a383a87174a4480e8aec SHA512 51763287ee825b6617273ededd9e77560f4223b8ba4a577855c3225908e848895a4f925163862cf6d19a8215245ec26f33d07d6cb80c51768d37eaa06ac02063 EBUILD roc-toolkit-0.3.0.ebuild 1978 BLAKE2B fe5b0ecbb54ce0eaafe4abe9d63ac0dff29e7ac220a3227706c3a667ea566681f81decf51e1d0a3fbe415fadf7d38af881f9efcf70e7d458c1d2549c87dee87e SHA512 5d956260db827c0455f84ea714a24db7a8da0aa30b54f08fed25e6315b2d4b66c887b19624730eb27bff8c26ba31c6bcc2d398ebdce8570efac29a104ff0557c -EBUILD roc-toolkit-0.4.0.ebuild 2156 BLAKE2B 5eb1e81ba46775d9afe73a62cc54e2167b1337835b4f4a4a1e71c1f374073fa517270849f5d761d1cd87709aedc55f5865b2e4f63f5d0d2596b728fc6c7746c4 SHA512 4aff9dcc4994f0a0e1fa032ea95e3fff9388a84651689f306db786de0f3a188d194fbd4d40a7aa658b5b1be35de8095c33b14b732003d9ed6ceccf487694ac73 +EBUILD roc-toolkit-0.4.0.ebuild 2156 BLAKE2B a8c2979e7f20d53705a73d42442845b48eb240f0d370e392cac8d95da3abb6ab756c1a7026efed765a6449535623897ae553079549c1d26b99da659efb038130 SHA512 25f9ee9905f305a4c6cfb6893a0dc600b476bae480d150eb1513f0e1b1771dd1fd397dedb076ed0c083be74a93b71d66ae368953bade699d22a983f7c5de8aa2 MISC metadata.xml 424 BLAKE2B 809444d92a63d99a23c18612cc9559138cdecad99b2af61370141f18e2d0acc0518f1bcee47cd435e26f096b49269b92a3c864e871ef7ae3e15de15f0bc09d6d SHA512 7dfdbb7a4be3022622e15bb263f493f0fdb17ea00c9f6b3711be4877993aaaabe05334dac14e290e602a663fd40dc3ac2f6697e979f0f4b8f9866befb7ac5ae3 diff --git a/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild b/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild index 9fcb5e25b045..306f1b004f3d 100644 --- a/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild +++ b/media-libs/roc-toolkit/roc-toolkit-0.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit python-any-r1 scons-utils toolchain-funcs DESCRIPTION="Real-time audio streaming over the network" diff --git a/media-libs/shaderc/Manifest b/media-libs/shaderc/Manifest index 828464087322..dfb608839d91 100644 --- a/media-libs/shaderc/Manifest +++ b/media-libs/shaderc/Manifest @@ -1,6 +1,5 @@ AUX shaderc-2020.4-fix-build.patch 424 BLAKE2B 6d8760ef64bf9f4d6e291d7b3b37735573b1cf43f510870a43f8169a6ea1909d72c1b3d7c0fb295733c07f6e626d4b148ca2deb384d7aae4554c8da01482b930 SHA512 95cbd65997146c3ba018c81d49f90a7713f99f5bc86b6c30d6c83ca9bb139309df763d325b75c9b1d02ca60ed3bddd003eb08e64e3856867bc15d58c620341ed -DIST shaderc-2024.0.tar.gz 227125 BLAKE2B f11f2acad796f41015d4738b964526f119e944b1cfa2103ab3452adcf5790a04adbd10f9d55423b3ce567e87f64eb241067c786c4a7b76bb884aa70c100d0eb8 SHA512 ca80b22a80bf1a222e6deecbe63f99c6eed980c6c31b4f7981b6c8dc5637b7271c861543566e01aaf945df40da095b63a69f2e22f061a41faad2ecca5dc187ae DIST shaderc-2024.1.tar.gz 227211 BLAKE2B a4c9790cb117e4cf2d528ed294ef0599dc3c17ac367a4f658254ff9e161f82b3338a2d70a033fabcdb7a2925c2f4668ee89cfff0d4b88cd2b22fcfb3f2786ea9 SHA512 017d8625c66da7eb5b431f595b27a4ddf146aaa12ef56777cb8c3f7f0f15eb01c3286e5905c5268de55d07cc19d5ffae4d4c08987d105b0a6be74616a467b736 -EBUILD shaderc-2024.0.ebuild 1899 BLAKE2B 8bcd86131d201a2a4f67236fffddf896b13dffc4043af087f1615f50797026109e67cf8d035d0af1cf4cb04d374264579f81874bcea4fb9eb941f0c9c6283651 SHA512 c2743b91ee7c6cbff07c9a085a548513e654698a42c14c0c533e9cbc40c03e41b1ec784bdf298bd6be430d49c8f815be0e65d8e0566ddbfd35e35bda3b0bcf82 +EBUILD shaderc-2024.1-r1.ebuild 1905 BLAKE2B d6c2490ebbbda4c1bd9dc5187a637274d45ac709b9378269138dad244338717e69aef1931a32fd49bd90309ffff11f24dd534b43a331d2384cd17522cadf0ac3 SHA512 0dd2abf832d68557fe38958ee28c1815e4206c74776b033cbca438632cc32c0770c96e1f4a6a164101460cc93c18721d3e15a7d39534d9346f40eaa6307920bc EBUILD shaderc-2024.1.ebuild 1899 BLAKE2B 4018bd1a8d7ee87666cac490ac6d8ba0003cc2e13e3715e23c6ed5e2dfe7263abdc74af9cd75479f5a41493bb4e2614c21d8d42d022ea938f16f4a1ad8feb548 SHA512 2591db651e5b1f6a58b057113463f354aaed4c4487fc5d0c8add16a1f84895b17c214194b672b28d779379b5ba39c9b6ae54582fe01cd8d0e2858ad403bc2c90 MISC metadata.xml 336 BLAKE2B 5dbc5d2e5dc2e389582376ea40375fed6b20e766cd59415f8f23fd81af9abac9c07379f341dff21901fc5934920c6534c525452c67aa606783350b84f071c88e SHA512 b72710b6ca796b364037d6c8646b0760688ee06a3854ae74dfff15d902dd7a2d94ba9872c42110e9e8e005ef8cc443b89108553fc11b79c1b5872daeff7b0f70 diff --git a/media-libs/shaderc/shaderc-2024.0.ebuild b/media-libs/shaderc/shaderc-2024.1-r1.ebuild index 0f5669938bd3..7ffb74097d53 100644 --- a/media-libs/shaderc/shaderc-2024.0.ebuild +++ b/media-libs/shaderc/shaderc-2024.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake-multilib python-any-r1 DESCRIPTION="Collection of tools, libraries and tests for shader compilation" @@ -14,16 +14,16 @@ S="${WORKDIR}/${PN}-${EGIT_COMMIT}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~loong ppc64 ~riscv x86" +KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86" IUSE="doc" RDEPEND=" - ~dev-util/glslang-1.3.280.0:=[${MULTILIB_USEDEP}] - ~dev-util/spirv-tools-1.3.280.0[${MULTILIB_USEDEP}] + >=dev-util/glslang-1.3.283.0:=[${MULTILIB_USEDEP}] + >=dev-util/spirv-tools-1.3.283.0[${MULTILIB_USEDEP}] " DEPEND="${RDEPEND} ${PYTHON_DEPS} - ~dev-util/spirv-headers-1.3.280.0" + >=dev-util/spirv-headers-1.3.283.0" BDEPEND="doc? ( dev-ruby/asciidoctor )" 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 ) diff --git a/media-libs/tiff/Manifest b/media-libs/tiff/Manifest index f32c1cd04359..1f29c802b01f 100644 --- a/media-libs/tiff/Manifest +++ b/media-libs/tiff/Manifest @@ -10,6 +10,6 @@ DIST tiff-4.6.0.tar.xz 2124388 BLAKE2B 3b508b02b0a536c5bc8e67fe4c1b09ae9c8302527 DIST tiff-4.6.0.tar.xz.sig 310 BLAKE2B 9f159a5839dd41bda34eceeed6e451455fbcfec5d51ebb097038e3977a391a751e91a9f683375593f45af0f9c8f0dbe55a0cc437fe4512537b30d513adfdb2c0 SHA512 da87b4294e17d49cf60e81ec5285f503291532423330552e41dddfb672c0636e95b8a80d603c3095abbee469cb7dce63c2df0c22b751a3bf8541550f97f78b49 EBUILD tiff-4.5.0-r2.ebuild 2864 BLAKE2B 86c265644953029f369ef4ea8a75ac463f2e7792c129b05d71eb7711e58ec14323bbde65500b123119cde3241eccb30a226d39c7ce188af0f005ea6fecda4ace SHA512 f841c9e5df12cac12a3b6c594317cee5eac92631c1df434f7ddfe33bbf7666b05a1cc20b725c87e52677f1729ceabe9078b9abf7cf8b4ee0a63b4aa6b5f7edad EBUILD tiff-4.5.1.ebuild 2481 BLAKE2B 1de6d42ea0adb8b49571c2c77cebd651fbd733cdf11e06d63dac12ca2c3f325249bb74bbb238192ed5e6453c3e96dd02cd326e1a7e12eecaa090d531c9a1411c SHA512 8040959ab28166f077d3f5e45cd42c749cc957e249891e139dcbee1e6b0e08e319df27f84ada066f717c7cff53e077b993c37eb52f7e6941d6ee5747ea26701e -EBUILD tiff-4.6.0-r1.ebuild 2472 BLAKE2B 7b6261cd5f2bcbc58624d93c92a6d349e7931bbb6f831819e849b1d144dd084e8a51f45a2fc0ad4a1bfc750dca28d11914b17261e7559a75a8d27679515b79f3 SHA512 4dfdf84236273fba1887994c27c5839dd40bf85db43f9c7872c66691eff4a677466d2a9cbab70c103ab1c31f5639bf142e40034fbbb54d3df61430b849b2b25a +EBUILD tiff-4.6.0-r1.ebuild 2465 BLAKE2B 1a937aa529bf372598d7134c818bede43797fe3b943da085b3c35c00ca546e648f08c3d6970ee27941efc9b68966c16bb629c11fbbf109f29a45be7079a4c261 SHA512 cb1729de17153214c6abd40d044585664d9d08ad6c7b0d311f6049d7e9b2837834ce7dcaabb9753f8b31744b27bc8dab176f4e435c7f0caf9491282ce6bd7cb2 EBUILD tiff-4.6.0.ebuild 2428 BLAKE2B 10a13725ebfbc229d00d16caa09a9823cce3fe72c166ad9526b5e4544e6bba20555d401884d41d49f8aa817e41092650482750c832176497665e3ac4e8e623e6 SHA512 b3311c692e9cca01195722190ede7b2b95b256ca193e48ea7f6e24f7d6c38bfadcf1933cfc7e90d20862378afb00d9ab1901beaff6718e27fe47b324ab87b2c6 MISC metadata.xml 615 BLAKE2B b76f8c2714111fe539c2d15b56361bc3b2bc7469b3cd74cf933a9dad4ac8577b7bb1a2bc010ceb3623640778d1dbc912433988e938db7df8f8fca67c51003c2c SHA512 81b22e0e2763fbcd573d2c1fee362785c15c7c33cc00d0f7ce89eb9f95f55e64aee78eefc51de6d7270aa966102b744f070620828becbbb03012cc22e3e99469 diff --git a/media-libs/tiff/tiff-4.6.0-r1.ebuild b/media-libs/tiff/tiff-4.6.0-r1.ebuild index d42050f0cb22..257fe8bff5ed 100644 --- a/media-libs/tiff/tiff-4.6.0-r1.ebuild +++ b/media-libs/tiff/tiff-4.6.0-r1.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}/${PN}-$(ver_cut 1-3)" LICENSE="libtiff" SLOT="0/6" if [[ ${PV} != *_rc* ]] ; then - 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" + 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 IUSE="+cxx jbig jpeg lzma static-libs test webp zlib zstd" RESTRICT="!test? ( test )" diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index d1049c4f54a0..877885a44252 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1,6 +1,6 @@ -DIST vulkan-layers-1.3.280.0.tar.gz 5465068 BLAKE2B c0b568b59cb8a17bea7dd1c1522c0a72279ad6a07f2f11383bc069f141fbb179529dd4ccd34b2a7a9a9a4af0e173ebbc49541a42c2b32ea8b54d90302f7ee449 SHA512 b397d4aa5406e25eb241a72f006fb05554d8ec96eec4c31ed08ef34d0b362f8e544a2e8bcf044112bdbb2733f2a9f50bf8b63aff64e143e450fa01298dc7838a DIST vulkan-layers-1.3.283.0.tar.gz 5230566 BLAKE2B c16a4af62900a4b053f7dd60da5279bc088cd297f22bc247be2718cc3187136b60e90530298c068fdd384c9135e83f91f3ffd7b3db9f12555d6dd88b6e9b66ef SHA512 fc2ca2c79be8e01fc39a7802644d5e10b5196317eaac246a17b73093409739e771ac267c1ed8aad08ba68afdebc583702980f195a5f93421a0c041da3f4b6e49 -EBUILD vulkan-layers-1.3.280.0.ebuild 1640 BLAKE2B 49009411de0d6c2be662406cdd1bc527ac1706f0650439ce12f6b8e52172d5bf409a1f0a90338f9a469200b4b0a69e37d59662a746984aa4af383e72b67f5f10 SHA512 cf6779d49fb87776dfc772b0ac8e74c4e0c753c3a9544beb808622fafc39e851c083d2936aaedea0e821c2a0fed9315eecea9f8b951b3308a59fd699d0891167 +DIST vulkan-layers-1.3.290.0.tar.gz 5270142 BLAKE2B cdd22f6dd3b4da9433cba1c0d0ace16961bad2d61279efca3a0d7e5ad885766f25377036f3418ba3ed4e93beeff717b8b45fc772e9e2ad8750a8aac0aec731d2 SHA512 9f1d512b4bafbcef586789e933f903c383bbb9644d0a978a390da16e03ee2395c39c9c7b622e437e1c74880409df0a3cfc3a44b066cc0efeaee8d1edb9349d26 EBUILD vulkan-layers-1.3.283.0.ebuild 1638 BLAKE2B db7c8e50e9c433eb82d35b68cc0babdf1bed7ed2da5afa825e1fb4c893bd5b2d5056b3102fd600a07f5bf88fba108ec4ff0aa337439d0317adfa5b20ba1c05e5 SHA512 3267e6d4723ef07403e9013ebeb23ee449959f3be0e6654fa8444d58e75b945f4bec29165fa936537b97154140fab8f5cd8e9d91b61a566f9efb7e9ae1c4b4b7 -EBUILD vulkan-layers-9999.ebuild 1644 BLAKE2B a3052e0b2c2822c79c9a8459e947840e3ae5d203c2a9ff903e737b1ce446610a078475ab5a67b6c21fea8b5c4e861ae6f80139f6ed2bce2d6e7d57e858b36b74 SHA512 943561dfc9ece07319fa56ca3b44745aa9e1102487a68207dbadb6a0a9b13ec485298fd9f16bbae454e6660da97ed3769772d9cd321e3ab0ec1ca468e37d23b0 +EBUILD vulkan-layers-1.3.290.0.ebuild 1647 BLAKE2B b309abf84fc8299fce6289a6d1285d6b8beb06cc77ac4b07eb48a9cb6aada2d7dd30ba9d574b1eb325d23aa23d5b255bc679745675c7af01a0075701738f8cfb SHA512 b1bca6852c02f377db0c27991c46d307c9256ee414d22f4b607e05f1bb8fdca264cbf99802b5bdd1b3468257141d215c1ec7f7f82e305baff539e76176822e09 +EBUILD vulkan-layers-9999.ebuild 1647 BLAKE2B b309abf84fc8299fce6289a6d1285d6b8beb06cc77ac4b07eb48a9cb6aada2d7dd30ba9d574b1eb325d23aa23d5b255bc679745675c7af01a0075701738f8cfb SHA512 b1bca6852c02f377db0c27991c46d307c9256ee414d22f4b607e05f1bb8fdca264cbf99802b5bdd1b3468257141d215c1ec7f7f82e305baff539e76176822e09 MISC metadata.xml 441 BLAKE2B d2183b70060e05054bd1fa93696ab04b5487fb8cc6b6af72520a47d0490b066c8ecdf10c9717cfaec7463668d7f639cfe8d05e5aa3ad860dbce3f4316122cd02 SHA512 c6c9c42f4cdd6c08cff6259c24ae05fe0755792f77078741e60594cd083a198b5575def4544a85162a7120578416c95b76d4b5847b9b781e16e9b826dcb5d095 diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.280.0.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.290.0.ebuild index ca10d7658eb2..de009aa28375 100644 --- a/media-libs/vulkan-layers/vulkan-layers-1.3.280.0.ebuild +++ b/media-libs/vulkan-layers/vulkan-layers-1.3.290.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 MY_PN=Vulkan-ValidationLayers -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake-multilib python-any-r1 if [[ ${PV} == *9999* ]]; then @@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} fi @@ -24,10 +24,10 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="wayland X" -RDEPEND="~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]" +RDEPEND="~dev-util/spirv-tools-${PV}[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND} ${PYTHON_DEPS} - >=dev-cpp/robin-hood-hashing-3.11.5 + >=dev-cpp/robin-hood-hashing-3.11.5-r2 ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] ~dev-util/spirv-headers-${PV} ~dev-util/vulkan-headers-${PV} diff --git a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild index 81a4ba180a76..de009aa28375 100644 --- a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild +++ b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild @@ -27,7 +27,7 @@ IUSE="wayland X" RDEPEND="~dev-util/spirv-tools-${PV}[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND} ${PYTHON_DEPS} - >=dev-cpp/robin-hood-hashing-3.11.5 + >=dev-cpp/robin-hood-hashing-3.11.5-r2 ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] ~dev-util/spirv-headers-${PV} ~dev-util/vulkan-headers-${PV} diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest index c3e3d81dcaec..2ece79bb6ae8 100644 --- a/media-libs/vulkan-loader/Manifest +++ b/media-libs/vulkan-loader/Manifest @@ -1,6 +1,6 @@ -DIST vulkan-loader-1.3.280.0.tar.gz 1702731 BLAKE2B 65b4af33af1f8bbf50fdf95bee1018195961c8d553494981459d9cc4b158ec9d78316ce0d91b8eba1c0679d73ce685adaabebcd2ece1aaf47440e40f8848b083 SHA512 8ec98e0da867f829e048e100a97d7b94a3c40f56f858e3eb81f11f6f58e20e59da6ca8785a9642958ff3b698c618b9968407028cc66dfa0ad296576bf9db45ca DIST vulkan-loader-1.3.283.0.tar.gz 1713233 BLAKE2B 13b01518f08a206ad9a66ba74bbfa5d5199deb556e1beb2d5bcd63780f399d526d9f5ff83d0bc809e47702fd1413e799e34a3e81f00b1f27f93a08aff16aab3e SHA512 0e62cc29a28e9d0898aa0a29b05158f75116f5a86468e879499503a20e95e49791150a0a458317223a04c65dfbc1fdcd22e71596a8cf939a5d38f9bf186851d6 -EBUILD vulkan-loader-1.3.280.0.ebuild 1546 BLAKE2B 7d3b40829acc8939a7d592fe6db0d9cda8419aa342879c4ee99de6c8c65518e1b95bc58776f259dec45403c418c7d2662b58865832a9b683bfe686d8b427f911 SHA512 5a49910f2e06cc373dc101fbfbff0415a8c65d20ec46f21e4fdd19735b08138cedc7aba7594e88cca591b512d1ecab23a64acea2b4e37c6efc94da98944bbc69 +DIST vulkan-loader-1.3.290.0.tar.gz 1711013 BLAKE2B 72c55f07537df0e0ad0fedb4a3b913cde9b6d5038370c0e92bf15ad9ee881f5910842a1b5ee00d370b93341aefbd141414b77e7ac8823d101a861829cd9f338b SHA512 42ecf05e498f6422cea9d6ef70df5a936536524c1ff4d8cb391b5c55dd409082a6b2fc2eee5b395306c782ca32a7344faceef3e5385b382fb5a7e6564cfce4b5 EBUILD vulkan-loader-1.3.283.0.ebuild 1546 BLAKE2B 7d3b40829acc8939a7d592fe6db0d9cda8419aa342879c4ee99de6c8c65518e1b95bc58776f259dec45403c418c7d2662b58865832a9b683bfe686d8b427f911 SHA512 5a49910f2e06cc373dc101fbfbff0415a8c65d20ec46f21e4fdd19735b08138cedc7aba7594e88cca591b512d1ecab23a64acea2b4e37c6efc94da98944bbc69 +EBUILD vulkan-loader-1.3.290.0.ebuild 1552 BLAKE2B 2f42ef99792fb97542b7695ae89d396c5c2f0e2a16bd05e29ed019fce1795953b5795b54e7f42a4caf3e60bffa74a2cdf4a2df11fddfeb49a81cfd9f1aab0300 SHA512 a6fe7d5f1697dd1abfef7ffe42d53f208f9d4a956942fb3f96ce4ad54ca6ed9c950fdfdd205a16043bff91d77c29e2926cd70e61865d54baa8e150c98712fb7f EBUILD vulkan-loader-9999.ebuild 1552 BLAKE2B 2f42ef99792fb97542b7695ae89d396c5c2f0e2a16bd05e29ed019fce1795953b5795b54e7f42a4caf3e60bffa74a2cdf4a2df11fddfeb49a81cfd9f1aab0300 SHA512 a6fe7d5f1697dd1abfef7ffe42d53f208f9d4a956942fb3f96ce4ad54ca6ed9c950fdfdd205a16043bff91d77c29e2926cd70e61865d54baa8e150c98712fb7f MISC metadata.xml 520 BLAKE2B 5f5add8ab6dcec0fec9ffd20f5dbfababeff0a441855c641e1791727c4dd1c9eb17cebee79b9c4c325c355b1efc91b25f0c6246d11b010dde2109e38d9df6178 SHA512 4274ba14bdeddfe766c7394cbbb44c52aa4726f096ef2567e427fff6a710fe3de23466cb742f40162f4c2890f3a3a62e326364e45680ac1b8a0bca47db0e6e34 diff --git a/media-libs/vulkan-loader/vulkan-loader-1.3.280.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.3.290.0.ebuild index 0f0644b9342d..ca20e66ef4a1 100644 --- a/media-libs/vulkan-loader/vulkan-loader-1.3.280.0.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-1.3.290.0.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} fi diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest index 3846b05bc721..5db76a93c30a 100644 --- a/media-libs/waffle/Manifest +++ b/media-libs/waffle/Manifest @@ -1,4 +1,6 @@ DIST waffle-v1.8.0.tar.bz2 310657 BLAKE2B cfc5f6fb32ae379457d9e1a9806504f8e2d22a2e320afab81db04a8e459cc2e127ea546e27a01a36cbb76a3095ca1d87bf96d40286f78f8ef7e1c270a6170521 SHA512 432786f1e255638a866af5c95d4ec0421ce9ffa661696482f9b40f9dbad9198f93caca484a0739a34d37d7a7070efb007771fcc6ea7acb70152c34892466e1e4 +DIST waffle-v1.8.1.tar.bz2 309259 BLAKE2B bfc4cd9043df854e34ab0ee0edd7d231fbc2253e41de8eb3bb702428a2b22569a407dc595a4c13a1a5e7cac2686dfe8b4ec26397e3dbed1a433de31fd3616b4f SHA512 c0e47047776de9cc20791974dec0944c769d766e5fe4f4e66a25a0d5900f3a756d95b4df434ff2e595079659d79d95398f6f411e4b8cc969cace7b2c3532b79f EBUILD waffle-1.8.0.ebuild 2229 BLAKE2B df6682b229e294b1f80575c2c3031583a55581cc5bb7e24d6b04aa48d5c2aec939caaf78be54b888872ac6dad26535c3b01cd3abeaaa684cacfff924a7950a86 SHA512 2e3ae36dbdb946abebf2198eacfe2b9b0bbc09438cddf96d580f3430ce1c0e37d3b0c5b429ef21af19bbec3075cb6446f79620f2c3ffb16dbd6075623bee577d +EBUILD waffle-1.8.1.ebuild 2232 BLAKE2B 101041e962157173e3005d068e561a213533cca635c24d348a6f08ab0cea90c0b59e9358e790470a280dc236a075eabfa0745ec3bfb153591876b879dc322987 SHA512 c69c3c4ede3134217c7aa38e744b50240b9b3610924a325bd89f5986e84f3b1b3c74513a7ced6396e025771ab0c5d069300603d9a5ce5a440aeee40b324e6775 EBUILD waffle-9999.ebuild 2232 BLAKE2B ff02fd006b2aa45fa80bc122f8b3ff7c36a209d84d96aa878e9902ffe080b7cf7efbd82e1fabf59bda989d069962e549b76297fe4ee8fa6012b5bb9dd267b40b SHA512 eb360c4bea12fe6f9296c29bf7249d61e1423e5864666681470a5b60b2486938708a3a558258d2dbeb2b743256fa36273aeae43957bf7da2ee859a9768072700 MISC metadata.xml 405 BLAKE2B 1099c7b162b3c7331e9a232c17763fbf52bf9318a4a6848eafe556cb5b197daf2e545469e225c6a4c8af903f396815061ccb59018d49d5118ae6d6477cae981a SHA512 c2d3a9d27808203de3c76ae4afd2a08e5c54a96a9200ebf5ec1acab3f772ec464d0f6ad69e4da9e5b4861c7546a0a9d54c8ec21f1db636f997c62885b547de73 diff --git a/media-libs/waffle/waffle-1.8.1.ebuild b/media-libs/waffle/waffle-1.8.1.ebuild new file mode 100644 index 000000000000..c90b20ae53d1 --- /dev/null +++ b/media-libs/waffle/waffle-1.8.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/${PN}" + GIT_ECLASS="git-r3" +else + SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + S="${WORKDIR}"/${PN}-v${PV} +fi +inherit meson-multilib multilib virtualx ${GIT_ECLASS} + +DESCRIPTION="Library that allows selection of GL API and of window system at runtime" +HOMEPAGE="https://gitlab.freedesktop.org/mesa/waffle" + +LICENSE="BSD-2" +SLOT="0" +IUSE="doc test wayland X" +RESTRICT="!test? ( test ) test" # gl_basic tests don't work when run under sandbox + +RDEPEND=" + >=media-libs/mesa-23[${MULTILIB_USEDEP}] + >=virtual/libudev-208:=[${MULTILIB_USEDEP}] + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}] + ) + wayland? ( >=dev-libs/wayland-1.10[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + X? ( >=x11-base/xcb-proto-1.8-r3 ) +" +BDEPEND=" + app-text/docbook-xml-dtd:4.2 + dev-libs/libxslt + dev-util/wayland-scanner +" +# test? ( +# wayland? ( dev-libs/weston[headless] ) +# ) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/wflinfo$(get_exeext) +) + +multilib_src_configure() { + local emesonargs=( + $(meson_feature X glx) + $(meson_feature wayland) + $(meson_feature X x11_egl) + -Dgbm=enabled + -Dsurfaceless_egl=enabled + + $(meson_use test build-tests) + $(meson_native_true build-manpages) + -Dbuild-htmldocs=false + -Dbuild-examples=false + ) + meson_src_configure +} + +multilib_src_test() { + if use wayland; then + export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)" + + weston --backend=headless-backend.so --socket=wayland-6 --idle-time=0 & + compositor=$! + export WAYLAND_DISPLAY=wayland-6 + fi + + export MESA_SHADER_CACHE_DISABLE=true + virtx meson_src_test + + if use wayland; then + kill ${compositor} + fi +} + +multilib_src_install() { + meson_src_install +} + +multilib_src_install_all() { + einstalldocs + + rm -r \ + "${ED}"/usr/share/doc/${P} \ + "${ED}"/usr/share/doc/waffle1/release-notes || die + mv "${ED}"/usr/share/doc/{waffle1,${P}} || die + if ! use doc; then + rm -rf \ + "${ED}"/usr/share/man/man{3,7} || die + fi +} diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 7587451648d5..83bd8735ef7e 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -3,6 +3,7 @@ AUX webrtc-audio-processing-0.3-big-endian-support.patch 3773 BLAKE2B 24170b2788 AUX webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch 2251 BLAKE2B f534e6f58d86693d257fa653d92ca07db2c1d34b88fda3b112237cff99eed81252f4111d64070f96a4265dc2655896843dbbfa01785ed18c6ea10b0eec74aeb9 SHA512 592345960101a9538c6e1197bc8cb296ca0fb0f8c6b9b64f1f4fd906ae4a9c7e9e92de740bf6e1e38cc4efca7cab8265b59542ffcad5d04bb6f1abb399851f0f AUX webrtc-audio-processing-1.3-Add-generic-byte-order-and-pointer-size-detection.patch 1105 BLAKE2B cc177fb92c5eba5276b8eb056dbbbb271f676b07f52ff78ff8b5d333c471b67f10d72c4d8a0a39463d6a7135da43f3056d29e9f0f9d324d1f6849f18e464498c SHA512 12670922dfaea74d168150fff1aef8ef7a2590751ba8f053a2c8ece9ef1d61bd6664fece1e37ccad07fe51fc40d3278fdca0b94bde952f28eb34ca7dfb428d4a AUX webrtc-audio-processing-1.3-big-endian-support.patch 13688 BLAKE2B e2f6ee383f1b93e120c378590c7b72655d2320c79ffe8a876d072f4f4647ccc7f7da90a3a8247387108ab655c99aaf48becde8524b143b7cb8a412589d640f27 SHA512 fab640e876acfa2b015d160f6727cc6d4fe0eeeca8f6efa63af7c031f179231986f2abd6b12ae67bb1300736eef8ca222019dfe7228a91b4b71d91bf237f905c +AUX webrtc-audio-processing-1.3-gcc15-cstdint.patch 1963 BLAKE2B 5062b705f9e3a6e1b2d1cd6d2c779198a430f539b2ebe2a9ae11cf9460fee861f283234d6d260f19ef3b397ecb8413264d066b63526823b641e9cc461f51e237 SHA512 1531960836307258730c61c08ef5c10aab54806615cadf8ab2f77ec33bd5e935f97cd668c232f500b6b6d9aa0174f7e0060fd5ed8e8d6076fbe22cd6fbf3e2c0 AUX webrtc-audio-processing-1.3-musl.patch 1131 BLAKE2B 4d1a2bc0c02ead5e07dbe2eb271d9ff58180fed6bd64fb02eea736ee0d67243abf686959b10e7c0a45c83b1cd145fd28950cf9a0e68b8f17d13f3ccec6385879 SHA512 17437faf021d58198f52c995a4087e48e76ab3b16fd3d0be49f0821fb9028f5524b196b5263308bff3deeb2a63a1a0299283c8ea88bbc80ff6fa54db551279e7 AUX webrtc-audio-processing-1.3-x86-no-sse.patch 440 BLAKE2B a5d49a5df420e066fc112bb5dab3fed29b21207c0a9c76d5082389698e9c845f7840a7ba5386449e08439664d1054e1b2a6cc369386f53caa22af9ab2198cab1 SHA512 d5d96e0acf0854ebacbb06df719963ea69cc0500a99097f05dc14f488404ce97c23341aea062a78b075dcd83941f9353064c1b9aff79fb6f666e87d65daefe32 DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b @@ -11,5 +12,5 @@ EBUILD webrtc-audio-processing-0.3.1-r1.ebuild 920 BLAKE2B b3e67c3488d2f9f90d3be EBUILD webrtc-audio-processing-0.3.1.ebuild 780 BLAKE2B 9f39495c7189d7d35d7d246cd7a635d355b0fc65438c8a187b2529a2f54e1775fdad3fff0d2a61ceab3abdb4550342b007dc5e48758d20feaa8c7877cbb69f35 SHA512 b209145b656265c5b016b8ef2c22cbe3bf031230e6a3a84cdeb785c963c62e7cb4e144440c88c5c7b18d91b1ead8133752da5d40e86e3a015e4147e56f4aa0de EBUILD webrtc-audio-processing-1.3-r1.ebuild 709 BLAKE2B 51f7019c8cdf2bc02ddc81e62ee0e8eae4ed07e8d03df7876660a0d8ed6c8d547ca91ba4eab55c2a303ea47c0b25a9cf677d9dd7fcc91404ca995c898fa2b339 SHA512 6f6f13d3a8d965f3bcdf89985b6a0d8d99c806f5f846d9010028e007fb68a2373057ddc5f5b823d831d680ce43c54ee0b02d071de4f6dae0774a3868ff366772 EBUILD webrtc-audio-processing-1.3-r2.ebuild 846 BLAKE2B 5a5d67744e5a09fcfec660414a8884b132508398316132ae44937742a7e8f0820b7fa1049c572e758aee945cdb4f43cdb55a99d30c17fa0aa0480adcfe8d1724 SHA512 1d3a2a7e921244718abba533f5f523198b7313cce0fb2cee286f828ddb4fa73ea7626386b9f8043467505fe9a146d90c2ce42b20790dd824ed5c1acd8a5ac981 -EBUILD webrtc-audio-processing-1.3-r3.ebuild 1030 BLAKE2B a1e8b7f04bcb052e78b202a4e18211c86918a904eb89b87e3386d0b71fee0e64e4b1c366e5f1c60f21502b1fa093012ab47ba283fc0f03cd93e8ab78b1f19eea SHA512 4f824d5929c89ceeb751181c8735a9d2035f81ad46e40a0b4400ff016afc2710c84bf37fa8b5dc280637b7a78ac3e34631d24f23530a4d1234e37477a02b18a5 +EBUILD webrtc-audio-processing-1.3-r3.ebuild 1075 BLAKE2B 1a1e825ca8058cfbc9982cd5474753a270d9ad60207c8519a2cfb4be92db55fd9d4e0672203c68f29a7d433cbf0a69baaf94964622ea9adff46c31e7f2a10948 SHA512 b53d11cbf684ee8140a3e29891bde9e54e8c314a7968d3c7639532afdce787c43ea0433ba6d9c1c8721deef7181bba32a2e31e0d0ab5fe3a3310624520a5f31a MISC metadata.xml 356 BLAKE2B 8852456f2e40daf7f1c67ba75e3df0f26512439b0bf1c56f85c648deeb62537b24600d49705c05f5f2afa9856d6f6d1accb5615e1a04a1a1a12bc035def7ac6b SHA512 1dbcf128eb2c1a714a822a953e05f4061fa3dc257a0bae2d8e8e9720085c5e9535f4f3373f025725f1c5ae088ab508ac97fb09e996c9fbeb5188196d15f82d3a diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch new file mode 100644 index 000000000000..1888fd964972 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/937417 +https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/41 + +From 1d58a17f18bf81bde00ac7d206976fa3c11e66dc Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyich@gmail.com> +Date: Sat, 3 Aug 2024 06:48:30 +0100 +Subject: [PATCH] webrtc/api/task_queue/task_queue_base.h: add missing + <stdint.h> include + +Without the change the build fails on upcoming `gcc-15` as: + + FAILED: webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o + g++ -Iwebrtc/rtc_base/liblibbase.a.p -Iwebrtc/rtc_base -I../webrtc/rtc_base -Iwebrtc -I../webrtc -I/nix/store/w2k6x9126cffd3db93bs4435krsbsz90-abseil-cpp-20240116.2/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -fPIC -DNOMINMAX -pthread -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_SYMBOL_EXPORT -DNDEBUG -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_THREAD_RR -DWEBRTC_ENABLE_AVX2 -MD -MQ webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -MF webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o.d -o webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -c ../webrtc/rtc_base/platform_thread.cc + In file included from ../webrtc/rtc_base/synchronization/sequence_checker.h:15, + from ../webrtc/rtc_base/thread_checker.h:17, + from ../webrtc/rtc_base/platform_thread.h:22, + from ../webrtc/rtc_base/platform_thread.cc:11: + ../webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared + 53 | uint32_t milliseconds) = 0; + | ^~~~~~~~ +--- a/webrtc/api/task_queue/task_queue_base.h ++++ b/webrtc/api/task_queue/task_queue_base.h +@@ -11,6 +11,7 @@ + #define API_TASK_QUEUE_TASK_QUEUE_BASE_H_ + + #include <memory> ++#include <stdint.h> + + #include "api/task_queue/queued_task.h" + #include "rtc_base/system/rtc_export.h" +-- +GitLab diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index 3c89d5d4bc21..fecb72dc5eec 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -23,6 +23,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.3-big-endian-support.patch" "${FILESDIR}/${PN}-1.3-x86-no-sse.patch" "${FILESDIR}/${PN}-1.3-musl.patch" + "${FILESDIR}/${PN}-1.3-gcc15-cstdint.patch" ) DOCS=( AUTHORS NEWS README.md ) diff --git a/media-libs/woff2/Manifest b/media-libs/woff2/Manifest index 2a2c7db1c824..85bcc1dc7678 100644 --- a/media-libs/woff2/Manifest +++ b/media-libs/woff2/Manifest @@ -1,5 +1,6 @@ AUX woff2-1.0.2-aliasing.patch 2961 BLAKE2B 75fc42d2c5e7b1eb5aaffb4b08a183e46aac8548f0d6c133ae9940158b6fce022bab53847585a321f22dccac1050d009d4c20ef7e1bba494f8b41f5acb711476 SHA512 e4d401713c5f409ad488762f26e5ce2837326905c4eb9b74eb04a7a93638e8c33bcb88377934fdc3a50b8a25b653af95dbe0524272d5328bacea23b062bf0b0b +AUX woff2-1.0.2-gcc15.patch 1125 BLAKE2B 34e466c3b1e04c128c47d0b2197c657ee9d2f9ead6964e6195f8312ea78023b90c2d14b55749eae576d39380684ad296bfcca56bb13281b1ec91dd1344d6f15d SHA512 fc04809999fbb7312f351dbf76b2143f2f35c2501e985856e6286e02be9152735a4995573ebcef304905325f414879973e32c8786bb302764e82c9e823f52c3e DIST woff2-1.0.2.tar.gz 38934 BLAKE2B b4a762cb2377b896147d9ebdae97f17e80bdb94fa8ec1b04e28e9df48c2f3456f83fc548b10a49bbc271bead349348f7582a85c5011f60a9feb4dda84920b6f3 SHA512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d EBUILD woff2-1.0.2-r5.ebuild 876 BLAKE2B a6803cb284df25b63d11e117534137639fd099c1c67eb2f98373838b795fb1026545d2558a4c0b3fbb5c8a0a6af7d40fdc9b01455ccd5b53a6f19f5cdfae329c SHA512 f52b1f5a8174a329013973e803df0756125048ddf55c50b1cba3425cc9023a219003ab150d8aa0f46fb6c7944f0a723ced988218b172af413a9cff6a4dccd60e -EBUILD woff2-1.0.2-r6.ebuild 932 BLAKE2B d8a1dde8f68a21eff61eace0e909c8f8292a6a2cd736c13e61a60e6170e7ab14bace35748ddacbd06e2dfd91adaa88d47d9542d8becdd11d646119c9d4eeb396 SHA512 460f38183942f459efaad1153a3e4d397c386f0919f0e14c94b2c19952098071717c1646c296f4509ad0f0206f8849bf52c64cad6024f483bfc8ea5ccd32642e +EBUILD woff2-1.0.2-r6.ebuild 971 BLAKE2B d4740cf0a79c6f287ad0112fef005c762ce5335ec37879c9549bfd41bf5840ea58558b8d380e599bc5773b0da8183ab55f49930ba3b217d2abcd469881321bfb SHA512 8f6eaf3117f2285c4964092ad74ac91919c3399993ea4644df486f7c538076d85153f6504da1460c47028aee4c331866b8ce63abd88a99aa2638b72b90a31841 MISC metadata.xml 455 BLAKE2B bad7293e8ad355104222c80ab6e6ec1d1c816629b6f16ff78036da29a2e2f9fb3ccbd92d0da40646ee5fc405f3137ea8ef70cd5028b0107bf3b62e9c2b20de17 SHA512 1b18c1af59f53418fb6847d92bb2ba1a016995b550c63f08d8168fc93802d0326599c254428aa995b81db3b65833e378d6295bb6a49ec4a6329d11aef1b38163 diff --git a/media-libs/woff2/files/woff2-1.0.2-gcc15.patch b/media-libs/woff2/files/woff2-1.0.2-gcc15.patch new file mode 100644 index 000000000000..a8030e471aa2 --- /dev/null +++ b/media-libs/woff2/files/woff2-1.0.2-gcc15.patch @@ -0,0 +1,33 @@ +https://github.com/google/woff2/pull/176 + +From 3905a7d9bc349786b458a71587a6176b241e682f Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich <slyich@gmail.com> +Date: Fri, 2 Aug 2024 22:12:03 +0100 +Subject: [PATCH] include/woff2/output.h: add missing <stdint.h> include + +Without the change `woff2` build fails on upcoming `gcc-15` as: + + In file included from src/woff2_out.cc:9: + include/woff2/output.h:73:25: error: expected ')' before '*' token + 73 | WOFF2MemoryOut(uint8_t* buf, size_t buf_size); + | ~ ^ + | ) + include/woff2/output.h:79:3: error: 'uint8_t' does not name a type + 79 | uint8_t* buf_; + | ^~~~~~~ + include/woff2/output.h:16:1: note: 'uint8_t' is defined in header '<cstdint>'; + this is probably fixable by adding '#include <cstdint>' + 15 | #include <string> + +++ |+#include <cstdint> + 16 | +--- a/include/woff2/output.h ++++ b/include/woff2/output.h +@@ -12,6 +12,7 @@ + #include <algorithm> + #include <cstring> + #include <memory> ++#include <stdint.h> + #include <string> + + namespace woff2 { + diff --git a/media-libs/woff2/woff2-1.0.2-r6.ebuild b/media-libs/woff2/woff2-1.0.2-r6.ebuild index f104cb69f87d..b0f52cd42fca 100644 --- a/media-libs/woff2/woff2-1.0.2-r6.ebuild +++ b/media-libs/woff2/woff2-1.0.2-r6.ebuild @@ -20,6 +20,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-aliasing.patch + "${FILESDIR}"/${PN}-1.0.2-gcc15.patch ) src_configure() { diff --git a/media-libs/wxsvg/Manifest b/media-libs/wxsvg/Manifest index ac0dc5ee2915..3aa19be2f49b 100644 --- a/media-libs/wxsvg/Manifest +++ b/media-libs/wxsvg/Manifest @@ -5,5 +5,5 @@ DIST wxsvg-1.5.23.tar.bz2 500351 BLAKE2B 369bd7cee8581df72712183ecb997f0cebae6e7 DIST wxsvg-1.5.24.tar.bz2 500480 BLAKE2B 2ecf863f8cb8980a14bcddfe014e595564033af17f710ebdb4352de8a2a3cea93ed471b1870dd111ab24100bbc307fb841bed579edbd00c0e0454c4ac5c77934 SHA512 cceba943102eece67d40f480b5b6fa3d6294e6d6733732f35112406453e2d86f516c07817983a074136dc929b911620ca87018cbe79ce4ba3a9e3562fb53cf58 EBUILD wxsvg-1.5.11-r1.ebuild 930 BLAKE2B 6f5f68ee2a1a31c6c2cc05441f90ca3f8f7f6740098eff4b990b11804bc68fd8ea2c2ea89b75bb6cff28ab3ab644a5aa922a8e1d584750f6564f7c829966ce01 SHA512 a1342ed6b4776e90332bdb3e11e33b62539f7a5d0ac50ba754d75c44378d0c23190015c0a34c2c16ec276023bcb183afb71c64db00698b6c9f1e7fb886a816bf EBUILD wxsvg-1.5.23.ebuild 977 BLAKE2B 483c8d1f505154a51539a82aae19767e495dd5e64bc3b7502f6ab46295ff53b9b1989b24a68d7d4183ee1382c503b3f8e95f726f482f470fc32e9c0d5806d91a SHA512 538c36fef88cdc3e42ad77e955cd381ea6d6b6970ae90dd8c1e82e92ae94ead526081d16029dbe6fcf4995c8c7ee0b18c44f91bee5eecac2e6d566cc0ce7e6d9 -EBUILD wxsvg-1.5.24.ebuild 978 BLAKE2B ab820ba4655205059da7cd01eeb35a5df9479327cce60a0a217f6a7a9bb0b5976d5db98caa689494d582b69484eb66937991fd5df3e7cdc605ca68816b667205 SHA512 77754b434b2113ba8ae4d9e108b821447a304b332f63dc8b4ea0dec6b00d1e7b1e2f6927796971ab0fd9e96e46d50fd1517332b2975b2a7c26540473458582ef +EBUILD wxsvg-1.5.24.ebuild 977 BLAKE2B 4fd88b65141fb932b85a16a38b67b4334b25b65b86e6cd87e3c9e57be5b9f0cf5ab83979f9398c330a32a417547da7df2b18b03d8f476f0d0fd8f950a05b6e22 SHA512 34339b93e30132b4d6da574da7925bd3ad8dfc3345f8b84fe052885f956bee04ed005ede7b55eab86d10c8ac954c6eb390727157140b4d0ace5e480fef0db3d2 MISC metadata.xml 337 BLAKE2B ff3fc593430adabb8ed657f5ce0ce689614750bf503c37c8b1a81aefccb2e5abb3b64e43febd8e0678db8d9b1c79ffbbd75d9912ac39ecd06d15434861ee6487 SHA512 a6a3cb4e46411e4dce39033cdb6fbe52d731c00919553ac8e40eb6260a228c80d6122b5a542b3863f7b743ce89d4248575aedefbe6b49654207476940ee2e71b diff --git a/media-libs/wxsvg/wxsvg-1.5.24.ebuild b/media-libs/wxsvg/wxsvg-1.5.24.ebuild index f872a4968c0c..b709ec413884 100644 --- a/media-libs/wxsvg/wxsvg-1.5.24.ebuild +++ b/media-libs/wxsvg/wxsvg-1.5.24.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2" LICENSE="wxWinLL-3" SLOT="0/3" # based on SONAME of libwxsvg.so -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-libs/expat-2:= diff --git a/media-libs/xvid/Manifest b/media-libs/xvid/Manifest index 0d485cde6aa0..bd20bfc1d0a2 100644 --- a/media-libs/xvid/Manifest +++ b/media-libs/xvid/Manifest @@ -1,4 +1,5 @@ DIST xvidcore-1.3.7.tar.bz2 698615 BLAKE2B 19bea63226c2223e74e5202d3b671c5b292c03ce5de240df7d8ce34101de4036b28fad516b2a56712a099819b905e68922fa83a01fbe4f200dc880ca56c10a96 SHA512 e2b22e7a7e103af7adcc999d95484f991a0a33df02b912fe042b2e23d2af07381c737d23158dbf0fad770ee680572f86fbe04ab2ef33c81e2e0180ead2acc8ed -EBUILD xvid-1.3.7-r1.ebuild 1603 BLAKE2B 3c160fb540afdc9a9778dcce7e7a270ffea26eabc688be7a5f343e8bf5ff2f7d1b88566a8afca48ca4d3b95f8d2ee04be7b972f655c9169097f192dd99127bae SHA512 e8552e6c5f5e018f91704095938d10c35890a3f8e070150223176d17f86e9c93648a6714beed731b81de1a4bc32844f31dda41651760b61449004bcaf6ab1da8 -EBUILD xvid-1.3.7.ebuild 1614 BLAKE2B bb640faf1d426b9bc92031e577871891ab9c5117d19a1ef90312a072663333f4e9b487304ae63559049fddc53bc0b65e0e2472ce4b9fc6aff472ec9734d6256d SHA512 90c45f17e624997e44786fa27a3ff220e9fccf6ee2d3149d8cab0aa06d393db28d760ea6730b694a41d97443e5d5c1fc1922fa65474c977032b4622649bf8fbe +EBUILD xvid-1.3.7-r1.ebuild 1633 BLAKE2B 58143c2f59f96bb121a84360643cf0703888e228e1a342152315b7e7bdaa27d1d1d8a6e120b6421dcb3e2ea46c436e8b055df221aed5d65ebca780356b809a64 SHA512 9ff24d6ad00e643e987a4025802839047b9adae980d5e758e81879ecddc58adcb139dd38d350f85a3b9425e575c2c4324e57431be6cfe382e05984c2111cc053 +EBUILD xvid-1.3.7-r2.ebuild 1634 BLAKE2B 33bcd2e3c1cf5371f0ceac8d5d093412136e316f706f3ed772d4e4746f7ac2fce990ad646a1e4469d86f2555786d17e3f3f12b7ffe200122c04a099f896c0990 SHA512 0287cadfe461420180ceb82c8025ca4c1e822dbc175560c68e123523072de3fe711e8001faa82417528387b84137378a4f37e6c521debea988164ab2a16bcb9e +EBUILD xvid-1.3.7.ebuild 1644 BLAKE2B 1509869d644725b083124f96eaa958b801a89fe648f763dcdb2842b8ab09267f50315b2865ac87cf2ab885f923d7456f9c8d21dc4083b0f90a050fb3de9e848c SHA512 d4ea5274d0b33212377958140eec8ba8e946e2e8275e216c1a3dacada464923a29ab7496869c9d02eae92a4e042a2433c3920bd0d526671486376eefdf1493f7 MISC metadata.xml 322 BLAKE2B 841709000ce38ec97e44a9223e6458abf57618d1f858f31d2a31ac190495fa558f4b7d9220b11566dfd927643480001bd14dda9497fe3fc1f8aeba38ce4f3822 SHA512 a9ce57b28bae87e53a402ac2ff8ac3dc6c8011fd72d528c371b4b9107613a81829986646940140862e0ff7ce475773b35da771a5fa043e0ced9a34111204891e diff --git a/media-libs/xvid/xvid-1.3.7-r1.ebuild b/media-libs/xvid/xvid-1.3.7-r1.ebuild index 27a7dba1457a..df98962a51e2 100644 --- a/media-libs/xvid/xvid-1.3.7-r1.ebuild +++ b/media-libs/xvid/xvid-1.3.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}" inherit flag-o-matic multilib-minimal DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution" -HOMEPAGE="https://www.xvid.org/" +HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/" SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2" LICENSE="GPL-2" diff --git a/media-libs/xvid/xvid-1.3.7-r2.ebuild b/media-libs/xvid/xvid-1.3.7-r2.ebuild new file mode 100644 index 000000000000..4aed0ef04f1d --- /dev/null +++ b/media-libs/xvid/xvid-1.3.7-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN}core" +MY_P="${MY_PN}-${PV}" +inherit flag-o-matic multilib-minimal + +DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution" +HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/" +SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_PN}/build/generic" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="examples" + +NASM=">=dev-lang/nasm-2" +YASM=">=dev-lang/yasm-1" + +BDEPEND="sys-apps/grep" +DEPEND=" + amd64? ( || ( ${YASM} ${NASM} ) ) + x86? ( || ( ${YASM} ${NASM} ) ) + x64-macos? ( ${NASM} ) +" + +src_prepare() { + default + + # make build verbose + sed \ + -e 's/@$(CC)/$(CC)/' \ + -e 's/@$(AS)/$(AS)/' \ + -e 's/@$(RM)/$(RM)/' \ + -e 's/@$(INSTALL)/$(INSTALL)/' \ + -e 's/@cd/cd/' \ + -e '/\$(libdir)\/\$(STATIC_LIB)/d' \ + -e 's/\$(BUILD_DIR)\/\$(STATIC_LIB)//g' \ + -e 's/info \$(STATIC_LIB)/info/g' \ + -i Makefile || die + # Since only the build system is in $S, this will only copy it but not the + # entire sources. + multilib_copy_sources +} + +multilib_src_configure() { + use sparc && append-cflags -mno-vis #357149 + + local myconf=( + --enable-pthread + # On x86, only available for mmx+sse2 and non-PIC. + # Not worth it. + --disable-assembly + ) + + econf "${myconf[@]}" +} + +multilib_src_install_all() { + dodoc "${S}"/../../{AUTHORS,ChangeLog*,CodingStyle,README,TODO} + + if use examples; then + insinto /usr/share/${PN} + doins -r "${S}"/../../examples + fi +} diff --git a/media-libs/xvid/xvid-1.3.7.ebuild b/media-libs/xvid/xvid-1.3.7.ebuild index db2a26ff37be..bef9c36bae6e 100644 --- a/media-libs/xvid/xvid-1.3.7.ebuild +++ b/media-libs/xvid/xvid-1.3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}" inherit flag-o-matic multilib-minimal DESCRIPTION="High performance/quality MPEG-4 video de-/encoding solution" -HOMEPAGE="https://www.xvid.org/" +HOMEPAGE="https://labs.xvid.com/source/ https://www.xvid.org/" SRC_URI="https://downloads.xvid.com/downloads/${MY_P}.tar.bz2" LICENSE="GPL-2" diff --git a/media-libs/zxing-cpp/Manifest b/media-libs/zxing-cpp/Manifest index 8a75a41c9d78..ab71bf518c23 100644 --- a/media-libs/zxing-cpp/Manifest +++ b/media-libs/zxing-cpp/Manifest @@ -1,5 +1,3 @@ -DIST zxing-cpp-2.1.0.tar.gz 866787 BLAKE2B 2589862e790bac85cee92818381b4ec3f9eeb5ac1dc2a78babf372ad7672bfe1a43ac7cfe4cc228eabed8a6c013f835c7e3e1948137d61edf1056906a149df80 SHA512 a00778c1fb7bb664176f7035aa96db4bab3e7ca28b5be2862182cb591d18edd4c3dfcbd34b4af08e0797bb4af893299d523f98aa84d266b68e4c766410e2e26d DIST zxing-cpp-2.2.1.tar.gz 891055 BLAKE2B c6a3343cd0389d930e83dd9db4d6aeca6d4dda715c22c0b10dd76460e9d55bdd8e994c2ac24ba5d5a4f5e2069fcb035b2e4651a380b6b39bcce4b90d0c754df8 SHA512 f1de8df783061a152a18cd9102ac0c579c40c76ab4a5ba9f30bcb8ddb532f3fac08736840a631adbf7c30a7fa00ce8d65625c8cd695288620601708e8f256a53 -EBUILD zxing-cpp-2.1.0.ebuild 676 BLAKE2B ccb737a5d37d63a7e22f4c1b0f5b802c40c869bbe177a885ab309de10b7a9cfb4de3023a603263d2328fbde221ffb31d1270348dcc970b0dd03eab882ac267f0 SHA512 6534891dc23c79e264119861452791ebe1af39e7e7722fd86e95bb4c3847f3a7260871123fb0bc50de35f9e5c5cc79af169a09f9565fdfb75357fa4e24f00fdb EBUILD zxing-cpp-2.2.1.ebuild 675 BLAKE2B 59963c6847396675c94deddd29e84366bca5bd44ad95d62512d7fdcbabd51c1b294ea9f1e1aae37082c864896729d74e072d564b091754bb06898dfcac63ec68 SHA512 9c7ce6820eaee9c4573449b97c37b83cb620c0965d3f8d17bce5139231c256eb9e357b53b3298ac7a354f615102591186d87bb59df22c04fcf2792b05bf4977d MISC metadata.xml 334 BLAKE2B a835ff2824bdf38aa06708b2f5e61bb22998a63855b7095e95474320717ed3e8f0ec753a324fefc5df0c83564a8f52c9660ac07bd1d37e33e95572a3fb2cac66 SHA512 bf2898872ed6586bb33a62f9f76be56f58c5e71b1b1a1414d5fc4e3629f1b0428b20bd864bc8c436b95b4b9e190d8103aa6ea74bc082a2d1cb65051f69bf812d diff --git a/media-libs/zxing-cpp/zxing-cpp-2.1.0.ebuild b/media-libs/zxing-cpp/zxing-cpp-2.1.0.ebuild deleted file mode 100644 index 838aec5f74e3..000000000000 --- a/media-libs/zxing-cpp/zxing-cpp-2.1.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="C++ Multi-format 1D/2D barcode image processing library" -HOMEPAGE="https://github.com/nu-book/zxing-cpp" -SRC_URI="https://github.com/nu-book/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/3" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" -IUSE="" - -src_configure() { - local mycmakeargs=( - -DBUILD_EXAMPLES=OFF # nothing is installed - -DBUILD_BLACKBOX_TESTS=OFF # FIXME: FetchContent.cmake module usage - -DBUILD_UNIT_TESTS=OFF # for both tests options. no thanks. bug #793173 - ) - cmake_src_configure -} |