diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-27 22:51:10 +0000 |
commit | ee0c4d5e506a6c64994a15c3af5cf1ca22045567 (patch) | |
tree | bdf578939023d42f04092ddb4bcd190eb391770f /media-libs | |
parent | 161eaa4b12ca6314376288834bba20b7824d0d77 (diff) |
gentoo auto-resync : 27:11:2023 - 22:51:09
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69448 -> 69448 bytes | |||
-rw-r--r-- | media-libs/libaom/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libaom/libaom-3.7.1.ebuild | 134 | ||||
-rw-r--r-- | media-libs/libaom/libaom-9999.ebuild | 5 | ||||
-rw-r--r-- | media-libs/libkate/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libkate/libkate-0.4.1-r4.ebuild | 4 | ||||
-rw-r--r-- | media-libs/mesa/Manifest | 6 | ||||
-rw-r--r-- | media-libs/mesa/mesa-23.2.1.ebuild | 468 | ||||
-rw-r--r-- | media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild (renamed from media-libs/mesa/mesa-23.3.0_rc5.ebuild) | 4 | ||||
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 4 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/Manifest | 4 | ||||
-rw-r--r-- | media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild (renamed from media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild) | 0 | ||||
-rw-r--r-- | media-libs/opencv/Manifest | 2 | ||||
-rw-r--r-- | media-libs/opencv/opencv-4.8.0-r1.ebuild | 2 | ||||
-rw-r--r-- | media-libs/opusfile/Manifest | 2 | ||||
-rw-r--r-- | media-libs/opusfile/opusfile-0.12-r1.ebuild | 4 | ||||
-rw-r--r-- | media-libs/roc-toolkit/Manifest | 2 | ||||
-rw-r--r-- | media-libs/roc-toolkit/roc-toolkit-0.3.0.ebuild | 82 |
18 files changed, 711 insertions, 19 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex a794881e17bb..f14a7a3b749b 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/libaom/Manifest b/media-libs/libaom/Manifest index bfff9e6c5238..085d8504cc99 100644 --- a/media-libs/libaom/Manifest +++ b/media-libs/libaom/Manifest @@ -10,6 +10,8 @@ DIST libaom-3.6.1-testdata.tar.xz 374912432 BLAKE2B 81fb51eed6576a4ef5d5aaa93e9a DIST libaom-3.6.1.tar.gz 5260460 BLAKE2B c47b748e3dc43e39ecb55c4d61ea3d2d4a889bb8c6c399e29e14269757d271cd759a553f5da765bcdf7cd19546b408fce060d5ed3fb13e3aba4f8d22d612bf29 SHA512 25afbc7911570973fa33410e9298eb31501b6f979fd4c60326081c9451c2cac8d692592d6fff19aac485da37da9c14e12ab4f95992e129ba7814b278b515d9bb 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 +DIST libaom-3.7.1-testdata.tar.xz 373814716 BLAKE2B 2aecab88d36998d72ccbd170400425912404cffad0594749bd862c56ee732fa2a21898872db3898f5706459d45e13a026b6bb79ffb5ee9a6b284765ebf3cd8f6 SHA512 89a598e549602daeeb1a488303503644c4cf3f05b28706df3075c52592d3fdad13d29e56f36e571621db3d32f354af4b6978c02e9af8665f87c82f8c9918de9a +DIST libaom-3.7.1.tar.gz 5349727 BLAKE2B a5bc8aaa538353fa405520fc096459d0009348c590dc585377e53971df252bac0b5bea40b6483c8be54caa7a0e8fccd761c5b3ec0db4144becec3cc12a91a5e9 SHA512 2ac90997065fcbdfa028e09945c10cbdad405569b98e03592a46971aebb189014ebd59553589804ba0a03c386af41bfbc37dd0a12320eb0fc6c9fd03e2149ee3 EBUILD libaom-3.4.0.ebuild 3246 BLAKE2B d42b5eb01f7383b4f4abc0000614251af08d02e1560babcc41f74d13711d6f3d17205b4fbe82011e1be39ce89a7a5694ea000f26df94676a7d7179bb0737034c SHA512 a965cec35285846c6df630d59ce520f37f423946e6a9130d8af72aaa48e9f80bc8df80e020b73bf4e5be8584e23f44fd054bbb6a0d7fb9c1002de4442b4301c4 EBUILD libaom-3.5.0.ebuild 3314 BLAKE2B 60443b958e7edf5345af61c71bfff8c8614ae51edf1cd6f34bea2aa42cd42941c7d259a2a947ca063e3add31c532c0ea4a894de212de625241cd1c3d5e928a87 SHA512 d88224575368b6aa4dbc83edf5970e7a1c5bfef9c1500a9b28e3bb91e2d1586c8b86c03a3756743d8e7c5ec63028b269a276572f9a1c9dc9fff5e02fd6b3f5ed EBUILD libaom-3.6.0.ebuild 4001 BLAKE2B 0f6af46ea95f891dc9ae55fb2fd276c304977dd9d0ce51ed72a3ba11ccec51e6f815e0f3466a10289e102b161a41440c71c0f3b78e4253ede4f7f17b3aa07147 SHA512 80c392f5721c6f913d7fc403f83354eb067f3d8d753b76d1905f82aee6fa430a87a0875070ffae7c6edda3e2529413c6577c8c0144ff38e98cc1973d1df44886 @@ -17,5 +19,6 @@ EBUILD libaom-3.6.1.ebuild 4018 BLAKE2B d58bb60d356880b9f0f6d9d9262a05de51a4fe0a EBUILD libaom-3.7.0-r1.ebuild 4077 BLAKE2B 90d69ac4b74320819a390734af21bd1118455028aa300b92e42a524714f7be00f1561e694dfb62070c819974ae166387d111ba0eb4756cb6f70ac5e1c045759d SHA512 354d28904c1a4fe1ee70bfd8a48266556ac654dbe14c0fff1d72c81281246f94bf27957bf9c2481e9fcede85447626dd87e44f1be6bb4972a03162fe44e2132f EBUILD libaom-3.7.0-r2.ebuild 4410 BLAKE2B 0fcd1e6f02ea4d8c7f724e0507a272acb017d7dbb5a1941cd0a4c47cac605aa0376c594f221625cf55c945c99cee1ea6c6ac099149884d06899edc395cf4529a SHA512 5c7a794b380751001aa7f501057762730240b0e5aec04d5c4bd4eada84731d4003c5fdabf428de6526ced5d8cea91ca9ac02ee970c728b4957ff85116e79f8dd EBUILD libaom-3.7.0.ebuild 4023 BLAKE2B aea1f5e374ba3075baa8e72e135fecf063743909f5aa972a1a9b1503be1868e0dad9ae10809a7905f87151f6cd3634104b4493fddf86ddc174b0581d5c971218 SHA512 9d8f6e81729c4c875b4d7d7b986547c68f1024ad01e21d2b16e95572b146c159b4f32196c9e5c8008f64079d03d8216e393c70ffefd9f2a121e918e1c39dd996 -EBUILD libaom-9999.ebuild 4328 BLAKE2B 2adc91033da9c8d66f719d1bd304d89e52d2989e49e96bd252cf428058ff925bc8e3836f51f907628c1ee397e1067d86d5b60e0eae2b3aa60ea63d0b4164980e SHA512 b51e9a9c82e343148223411d78d831db01236bce7376d10c74465f691ae87cad683fc64d551f1e5e01ed60a9a5ae72e4d9c0d0c30a9021a55c369d35a8b8d433 +EBUILD libaom-3.7.1.ebuild 4423 BLAKE2B 05afb91037b2c90df89a7034db363a049cd349b7fee3dde73de9a12afae8a28184b9f0a7b277f6b5980b76dddc64ca4616f2cf1fdbd4aba81fd38f11cf803f9b SHA512 9e41b03f29a7464e298dd247f65fc0a7a74802f54d61d5a17a645dc0a4aaa481674f5d0d52e79426eb11ffcd15cc522c18a0bab2a3a7a4f0f5761601b18161d3 +EBUILD libaom-9999.ebuild 4329 BLAKE2B 946765ae1ece82e006ecd0ffe60e28617b1715309ad6cd5a7b935ba50bd464f520cb1ed3505c6c13b02eed54076e68c1e65c55de374eb054658fee1a190fb131 SHA512 22ce0e5ec7125d6815831b4994dc0be8d001d250779779ad385308cdb2299a9d27a2379d8d476ecee75dd19071289cb30fe415240d483658e483539f3ba73fdb MISC metadata.xml 224 BLAKE2B a8fa831654345ddf74b54f53fdc27d128ff6896378c8aa2dcb27139a4382f63efd0cac17f94ee420932e2855042c94e32fe534c99a977698953aaab4c51c31d0 SHA512 0b59f17151d352f25e3b073a3ee388d0189e1caddf0d97142851a19df433d082e3eead9f5aae07f4beb247861d90f02ae217514d02445703b95ee6ff62d967b8 diff --git a/media-libs/libaom/libaom-3.7.1.ebuild b/media-libs/libaom/libaom-3.7.1.ebuild new file mode 100644 index 000000000000..dac665628190 --- /dev/null +++ b/media-libs/libaom/libaom-3.7.1.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://aomedia.googlesource.com/aom" +else + # To update test data tarball, follow these steps: + # 1. Clone the upstream repo and check out the relevant tag, + # or download the release tarball + # 2. Regular cmake configure (options don't matter here): + # cd build && cmake .. + # 3. Set LIBAOM_TEST_DATA_PATH to the directory you want and + # run the "make testdata" target: + # LIBAOM_TEST_DATA_PATH=../libaom-3.7.1-testdata make testdata + # This will download the test data from the internet. + # 4. Create a tarball out of that directory. + # cd .. && tar cvaf libaom-3.7.1-testdata.tar.xz libaom-3.7.1-testdata + SRC_URI=" + https://storage.googleapis.com/aom-releases/${P}.tar.gz + test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-testdata.tar.xz ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~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 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_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-doc/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.7.0-big-endian.patch + "${FILESDIR}"/${PN}-3.7.0-big-endian-tests.patch +) + +multilib_src_configure() { + 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 + + # neon support is assumed to be always enabled on arm64 + -DENABLE_NEON=$(usex cpu_flags_arm_neon ON $(usex arm64 ON OFF)) + # ENABLE_DSPR2 / ENABLE_MSA for mips + -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) + + -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 + + cmake_src_configure +} + +multilib_src_test() { + LIBAOM_TEST_DATA_PATH="${WORKDIR}/${P}-testdata" "${BUILD_DIR}"/test_libaom || die +} + +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/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild index 46033a771095..342fbbcdf1db 100644 --- a/media-libs/libaom/libaom-9999.ebuild +++ b/media-libs/libaom/libaom-9999.ebuild @@ -17,10 +17,10 @@ else # cd build && cmake .. # 3. Set LIBAOM_TEST_DATA_PATH to the directory you want and # run the "make testdata" target: - # LIBAOM_TEST_DATA_PATH=../libaom-3.7.0-testdata make testdata + # LIBAOM_TEST_DATA_PATH=../libaom-3.7.1-testdata make testdata # This will download the test data from the internet. # 4. Create a tarball out of that directory. - # cd .. && tar cvaf libaom-3.7.0-testdata.tar.xz libaom-3.7.0-testdata + # cd .. && tar cvaf libaom-3.7.1-testdata.tar.xz libaom-3.7.1-testdata SRC_URI=" https://storage.googleapis.com/aom-releases/${P}.tar.gz test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-testdata.tar.xz ) @@ -88,6 +88,7 @@ multilib_src_configure() { -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) + -DENABLE_VSX=$(usex cpu_flags_ppc_vsx ON OFF) ) diff --git a/media-libs/libkate/Manifest b/media-libs/libkate/Manifest index 3a96f55e95b9..508533fe2e02 100644 --- a/media-libs/libkate/Manifest +++ b/media-libs/libkate/Manifest @@ -1,3 +1,3 @@ DIST libkate-0.4.1.tar.gz 906896 BLAKE2B 99e755a365fcd9983fcce59f38a313b4c0c23c3a274e3b98c8756aafae29d19dc3ed3d200cf2207dd2d4985d8e99ec0d47dcdadc273a78ff84c4be11330b1e0a SHA512 2635237753abc0f6c43fc07bd0ecc57c2f3c893efa6c62ad08de9191045612477302ed45acd61cdfea7447efd654ebbe0ed2d6a2cbf867eb834581d7ee43377b -EBUILD libkate-0.4.1-r4.ebuild 893 BLAKE2B 74bb3399d0f8c490aa6bb33a98d9bfa19f49b826a883ad7221368b2f2499bf83a655824db2f710b075d488f7372ed004af436b2c0a1e11d93377ac40d465a0f7 SHA512 6b8b33f6b44bcca451337d6510b6fb3a8c4b1ab9885e7543ee0defef82370681a9bdd2fa9ec561e9711715c93f0e2d802d9ebb8d24f5fa51f93895396c4b6ac1 +EBUILD libkate-0.4.1-r4.ebuild 899 BLAKE2B 1aa0b49f6400212770a2ec588803daadf765a2e9be9142c7edc819b3cf80a5293a424224005de511add3ef4413e7419c8e9ddfef9e5d0e75314c0b07f42fe0a5 SHA512 8550669ad3169a184c93564cf378eca3458b028f3aa27749c0ef9034af13b266f2e06791112d02661815b86c958bbe28a6c614d0571d03c1adf59fcefa85e1f5 MISC metadata.xml 1067 BLAKE2B 1268a68921ac97de78780dad30c1ce6e2a18284fb18451aa700b30402d1befbd36924dc1e1a316b5c3b14cc7e350975d1246968d3cf951b5add34acdd669b186 SHA512 ccb020c679387ac2af29cae1e98ddae86b4735f2fdb1314054b4584cae0d804c2f9ea287794352ad2d92fa96b71dcb060b8db76294e8c24c126f35cbdc28312a diff --git a/media-libs/libkate/libkate-0.4.1-r4.ebuild b/media-libs/libkate/libkate-0.4.1-r4.ebuild index 388800af3874..f4a7bc2f0b87 100644 --- a/media-libs/libkate/libkate-0.4.1-r4.ebuild +++ b/media-libs/libkate/libkate-0.4.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://libkate.googlecode.com/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="debug doc" diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index a5ed3aa245c3..56528d41c82d 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -2,9 +2,11 @@ AUX clang_config_tool.patch 368 BLAKE2B 968d3b441134d196b436ceabcdff8865ef584e97 AUX clang_resource_dir.patch 1129 BLAKE2B 40cf2bc3381d5318c95d3fdadef1bdb6bb57f3b04270e07c0a66613b6432ad617be73d34122be3280d861dde0663fc5c96bb37a9312c2e333e39e69287a9e33a SHA512 493585cf0a93fda04d4577095ae04e1c3dc37aa446ea0873e81857cd2f2c6519bbdf34f0d6e6dd47dd1e927cc776f46901ebab14c7040a92688c3868204b3856 DIST mesa-23.1.8.tar.xz 18566724 BLAKE2B 43825c936f0dca4bc7e954cf7f8afc9566fb26d23969a9f60279a279504464b4eee966f5db34602489fb659942d11629675a1ef44493020925047bbd8cd7f0d7 SHA512 02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B a4386398841476f6e69031043091cbbf0afff1ef9523e7d6216b1acc49fa8afbe5270802c78d951fee42dd6c8268bc515ed1236de4ce47a5d90e6bdd1ff16b92 SHA512 83f57c530ccc14e9debbc292f71214343f506bdf35bad235cdd3c380d769eb30658bdf93a70b79d7ce08e75615b892023e4245aed1237cd285d2f045cdbf9241 +DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b SHA512 927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3 SHA512 f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187 EBUILD mesa-23.1.8.ebuild 12747 BLAKE2B 0b638e0f433aa97a74559cab95e2e0f89eed6d7ad8ea21a31b97b3cadae27027e613b84a8d8001a9599a4847ab3c72524e7f931adc38b425f296a6d47a9ba560 SHA512 fa676410871db39c716052b45dc28df0f17ca515ae17b179b2a72442ee6822c8be1a2d62391871da4e788b6b3b07500a429f9508301a3fe5b97d600868863da3 EBUILD mesa-23.1.9.ebuild 12819 BLAKE2B 5baa39b23f79842d159e690840e9e2fa4fb4d307d06e5a0f683ad0b4ca6326097eb9553bbb3eb1e75134af748d31b6462c43b59759e8eb3b6f63b8bf2b7e739d SHA512 c56ad324644f75c45b34dba16b9c18f2fc6b14d7f31240ab87d5b90983e676b53043bfde543eae884b41d0be00169eca03d7f21e4e65d97026e46d9d24d39a1c -EBUILD mesa-23.3.0_rc5.ebuild 12195 BLAKE2B 63e7c80155b31365ed272252a2c9f6e20fe14ed205ce0b24bcf9110720db4c9ffba1672fb0c154091274da381248ab25f4482383c7d9d12b9cdda478e0508f62 SHA512 b8bb342cff7a4febaab4403936729d47ab6047e0138684aff88fd24b0c299b0fcdf85e5a2d911dcee979ebd91f1ca2371af66c710eee29f7125fce9762abc9c2 -EBUILD mesa-9999.ebuild 12195 BLAKE2B 63e7c80155b31365ed272252a2c9f6e20fe14ed205ce0b24bcf9110720db4c9ffba1672fb0c154091274da381248ab25f4482383c7d9d12b9cdda478e0508f62 SHA512 b8bb342cff7a4febaab4403936729d47ab6047e0138684aff88fd24b0c299b0fcdf85e5a2d911dcee979ebd91f1ca2371af66c710eee29f7125fce9762abc9c2 +EBUILD mesa-23.2.1.ebuild 12737 BLAKE2B bcefc24afc899b307011087efe947a7e24f450c18536607c722c639f00dc36e3d92c7e55a7eee63e8d8dab4e2a95c1dc9600b611fd82d84af69afb27f2560bd4 SHA512 66a34033497e839bdb1d122092adb5c1639ac969145cd06ce2a8120934e5633af5994c0f8eb606dfb0c6ddfa417e90cfcc71926f57003c0aa3e7d054e5d4b043 +EBUILD mesa-23.3.0_rc5-r1.ebuild 12195 BLAKE2B 9f6aaf3b275abff4040e7d0b5815cf6e6a71e45422997fdc97cae42cdddbb06215e8e79d85b9144e174ab4fac4eeeb45838ae2596dbb37b360c441d725edee0d SHA512 23ad87482773e4f3674338e8de3ea9154a3038cf161ec81c5ea6eaef7000b00cdf3b011964002de3c974beda3576b1f60ee5fd450bdfa417723ce3d83c751e7a +EBUILD mesa-9999.ebuild 12195 BLAKE2B 9f6aaf3b275abff4040e7d0b5815cf6e6a71e45422997fdc97cae42cdddbb06215e8e79d85b9144e174ab4fac4eeeb45838ae2596dbb37b360c441d725edee0d SHA512 23ad87482773e4f3674338e8de3ea9154a3038cf161ec81c5ea6eaef7000b00cdf3b011964002de3c974beda3576b1f60ee5fd450bdfa417723ce3d83c751e7a MISC metadata.xml 1488 BLAKE2B 7b776f0a6d92b34baec90c58d019d61af537044766ce34a6e139ef679a0724e57fe65d600307c7f9dc0c48618445527618322e2af737191082dece3e547d5533 SHA512 1d573d534f1099eb1f1912567cf559aeae28111eabefa806b292a66d1f1e539e86394a76ca40a1481a6bfb4b6f7a0b117344e39d7b4d2eac615ef49b8f62acb9 diff --git a/media-libs/mesa/mesa-23.2.1.ebuild b/media-libs/mesa/mesa-23.2.1.ebuild new file mode 100644 index 000000000000..e497bccae3f6 --- /dev/null +++ b/media-libs/mesa/mesa-23.2.1.ebuild @@ -0,0 +1,468 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit llvm meson-multilib python-any-r1 linux-info + +MY_P="${P/_/-}" + +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 + +LICENSE="MIT SGI-B-2.0" +SLOT="0" +RESTRICT="!test? ( test )" + +RADEON_CARDS="r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau panfrost v3d vc4 virgl vivante vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm + lm-sensors opencl osmesa +proprietary-codecs selinux + test unwind vaapi valgrind vdpau vulkan + vulkan-overlay wayland +X xa zink +zstd" + +REQUIRED_USE=" + d3d9? ( + || ( + video_cards_intel + video_cards_r300 + video_cards_r600 + video_cards_radeonsi + video_cards_nouveau + video_cards_vmware + ) + ) + vulkan? ( video_cards_radeonsi? ( llvm ) ) + vulkan-overlay? ( vulkan ) + video_cards_lavapipe? ( llvm vulkan ) + video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r300? ( x86? ( llvm ) amd64? ( llvm ) ) + video_cards_radeonsi? ( llvm ) + vdpau? ( X ) + xa? ( X ) + zink? ( vulkan ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110" +RDEPEND=" + >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + video_cards_radeonsi? ( + virtual/libelf:0=[${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.1:=[${MULTILIB_USEDEP}] ) + vulkan? ( + video_cards_intel? ( + amd64? ( + dev-libs/libclc[spirv(-)] + >=dev-util/spirv-tools-1.3.231.0 + ) + ) + ) + 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.13:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}] + ) + zink? ( media-libs/vulkan-loader:=[${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] ) +" + +# Please keep the LLVM dependency block separate. Since LLVM is slotted, +# we need to *really* make sure we're not pulling one than more slot +# simultaneously. +# +# How to use it: +# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16. +# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15. +LLVM_MAX_SLOT="16" +LLVM_MIN_SLOT="15" +LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}" +PER_SLOT_DEPSTR=" + ( + !opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] ) + opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] ) + opencl? ( dev-util/spirv-llvm-translator:@SLOT@ ) + vulkan? ( + video_cards_intel? ( + amd64? ( + dev-util/spirv-llvm-translator:@SLOT@ + sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] + ) + ) + ) + ) +" +LLVM_DEPSTR=" + || ( + $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do + echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}" + done) + ) + !opencl? ( <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${LLVM_USE_DEPS}] ) + opencl? ( <sys-devel/clang-$((LLVM_MAX_SLOT + 1)):=[${LLVM_USE_DEPS}] ) +" +RDEPEND="${RDEPEND} + llvm? ( ${LLVM_DEPSTR} ) +" +unset LLVM_MIN_SLOT {LLVM,PER_SLOT}_DEPSTR + +DEPEND="${RDEPEND} + video_cards_d3d12? ( >=dev-util/directx-headers-1.610.0[${MULTILIB_USEDEP}] ) + valgrind? ( dev-util/valgrind ) + wayland? ( >=dev-libs/wayland-protocols-1.24 ) + X? ( + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-base/xorg-proto + ) +" +BDEPEND=" + >=dev-util/meson-1.0.0 + ${PYTHON_DEPS} + opencl? ( + >=virtual/rust-1.62.0 + >=dev-util/bindgen-0.58.0 + ) + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + llvm? ( + vulkan? ( + dev-util/glslang + video_cards_intel? ( + amd64? ( + $(python_gen_any_dep "dev-python/ply[\${PYTHON_USEDEP}]") + ) + ) + ) + ) + wayland? ( dev-util/wayland-scanner ) +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +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 +)" + +PATCHES=( + # Workaround the CMake dependency lookup returning a different LLVM to llvm-config, bug #907965 + "${FILESDIR}/clang_config_tool.patch" +) + +llvm_check_deps() { + if use opencl; then + has_version "sys-devel/clang:${LLVM_SLOT}[${LLVM_USE_DEPS}]" || return 1 + fi + if use opencl || { use vulkan && use video_cards_intel && use amd64; }; then + has_version "dev-util/spirv-llvm-translator:${LLVM_SLOT}" || return 1 + fi + has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_USE_DEPS}]" +} + +pkg_pretend() { + if use vulkan; then + if ! use video_cards_d3d12 && + ! use video_cards_freedreno && + ! use video_cards_intel && + ! use video_cards_radeonsi && + ! use video_cards_v3d; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain d3d12, freedreno, intel, radeonsi, or v3d" + fi + fi + + if use vaapi; then + if ! use video_cards_d3d12 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain d3d12, r600, radeonsi, or nouveau" + fi + fi + + if use vdpau; then + if ! use video_cards_d3d12 && + ! use video_cards_r300 && + ! use video_cards_r600 && + ! use video_cards_radeonsi && + ! use video_cards_nouveau; then + ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain d3d12, r300, r600, radeonsi, or nouveau" + fi + fi + + if use xa; then + if ! use video_cards_freedreno && + ! use video_cards_nouveau && + ! use video_cards_vmware; then + ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, 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}]" || 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 + + if use llvm; then + llvm_pkg_setup + fi + 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=() + + local platforms + use X && platforms+="x11" + use wayland && platforms+=",wayland" + emesonargs+=(-Dplatforms=${platforms#,}) + + if use video_cards_intel || + use video_cards_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau || + use video_cards_vmware; then + emesonargs+=($(meson_use d3d9 gallium-nine)) + else + emesonargs+=(-Dgallium-nine=false) + fi + + if use video_cards_d3d12 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; 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_r300 || + use video_cards_r600 || + use video_cards_radeonsi || + use video_cards_nouveau; then + emesonargs+=($(meson_feature vdpau gallium-vdpau)) + else + emesonargs+=(-Dgallium-vdpau=disabled) + fi + + if use video_cards_freedreno || + 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_freedreno freedreno + gallium_enable video_cards_intel crocus i915 iris + gallium_enable video_cards_lima lima + gallium_enable video_cards_d3d12 d3d12 + 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 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 "${LLVM_MAX_SLOT}")/$(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_lavapipe swrast + vulkan_enable video_cards_freedreno freedreno + vulkan_enable video_cards_intel intel intel_hasvk + vulkan_enable video_cards_d3d12 microsoft-experimental + vulkan_enable video_cards_radeonsi amd + vulkan_enable video_cards_v3d broadcom + 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 llvm && use vulkan && use video_cards_intel; then + PKG_CONFIG_PATH="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig" + emesonargs+=(-Dintel-clc=enabled) + else + emesonargs+=(-Dintel-clc=disabled) + fi + + emesonargs+=( + $(meson_use test build-tests) + -Dglx=$(usex X dri disabled) + -Dshared-glapi=enabled + -Ddri3=enabled + -Degl=enabled + -Dexpat=enabled + -Dgbm=enabled + -Dglvnd=true + $(meson_feature gles1) + $(meson_feature gles2) + $(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) + -Dvalgrind=$(usex valgrind auto disabled) + -Dvideo-codecs=$(usex proprietary-codecs "h264dec,h264enc,h265dec,h265enc,vc1dec" "") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + --buildtype $(usex debug debug plain) + -Db_ndebug=$(usex debug false true) + ) + meson_src_configure +} + +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-23.3.0_rc5.ebuild b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild index 290ae4e096c1..2ae05a550bd6 100644 --- a/media-libs/mesa/mesa-23.3.0_rc5.ebuild +++ b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild @@ -115,9 +115,9 @@ RDEPEND="${RDEPEND} # simultaneously. # # How to use it: -# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16. +# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17. # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15. -LLVM_MAX_SLOT="16" +LLVM_MAX_SLOT="17" LLVM_MIN_SLOT="15" LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}" PER_SLOT_DEPSTR=" diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 290ae4e096c1..2ae05a550bd6 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -115,9 +115,9 @@ RDEPEND="${RDEPEND} # simultaneously. # # How to use it: -# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16. +# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17. # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15. -LLVM_MAX_SLOT="16" +LLVM_MAX_SLOT="17" LLVM_MIN_SLOT="15" LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}" PER_SLOT_DEPSTR=" diff --git a/media-libs/oneVPL-intel-gpu/Manifest b/media-libs/oneVPL-intel-gpu/Manifest index d11914a09fc9..4f664aae6e86 100644 --- a/media-libs/oneVPL-intel-gpu/Manifest +++ b/media-libs/oneVPL-intel-gpu/Manifest @@ -1,5 +1,5 @@ -DIST oneVPL-intel-gpu-23.3.2.tar.gz 9028702 BLAKE2B 8e3505a6af829c5cbd15bba4db4fd139e031eb1bea475e7f2979cdb3a452c7362f76e2b627ae256025e071d8ec39e5759ca07d464e6a1eaeb9d7da2e6218700a SHA512 87c0168f29b6b93cda9670c2e3a91bbccf751f4a3e3ced2f89b617af4029f2bfc8c931f8f754988d146359676072f792273adbc4e048076455080628db17399f DIST oneVPL-intel-gpu-23.3.4.tar.gz 9041237 BLAKE2B 15f7075195a6b5d7048f6caa0ccdfee56aeaaaa2b445c02148c9869a4f8a555e58353674fc1cf9708773d9e4bc119e2aa6a4d4c76b80a7e78c89b396935f876d SHA512 9d3fd273ae907b8026ff32009637f2dc0c9c8cf161e85b9052b351cfe74dcbf5c06619dc9268cfd12981908dd4adad68070990e3ef42c2b0f152d214e3ff5422 -EBUILD oneVPL-intel-gpu-23.3.2.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 +DIST oneVPL-intel-gpu-23.4.1.tar.gz 9048865 BLAKE2B 8a743e9a5b045a3c1ee07d08ac2bd82815cc0b41bff27b1f7700e9d6cb5ef111ea37152d5611effc277f1b32a49f156c84c4fbaaf7a92ce9e5342eec8bad24ba SHA512 ad2c154bae1ea30b94cd5916265dbf217b20f89d20410731a70c4460d1f3a8439e1773503b9fd7fe56040efa77894c3b50f08a46a57316ea56f037220997f32e EBUILD oneVPL-intel-gpu-23.3.4.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 +EBUILD oneVPL-intel-gpu-23.4.1.ebuild 1189 BLAKE2B b18f9405ece1aaf46f2bfc3ed514eb5ccbc16489412414b8a6e612c1fd34418fd85d801d4c2a786d8d6764163cc5b2a6f82b18086022a547b6666fedaf7446b1 SHA512 0279e6caa0ef6e730314b3ed8a7a64188f883375e439fd287761fab69967038b093c21e5437c5775f8b2196fc01d75fe8c2a21e4ae9c4bd46584113ba82fd8e4 MISC metadata.xml 434 BLAKE2B f5f6ea2e0ebac9ba06ebdb2a8469e99171f25ad08d8e992695e7d189f5c3f8fb3e966d710fe02cbd1f590f2137e265d9bf5014f0d9e7a492574b526360d70133 SHA512 713bf6044fd4d5606568af248dc0adf1a93c5917fb7d6d79c7a033a5b52a0164769b02086caa0a4492979c586511b5a4d7b85fe603ffe80d4884786e05dc520e diff --git a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild index 6d87d22aff64..6d87d22aff64 100644 --- a/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.3.2.ebuild +++ b/media-libs/oneVPL-intel-gpu/oneVPL-intel-gpu-23.4.1.ebuild diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest index e12cd8b94887..d2239fded9a9 100644 --- a/media-libs/opencv/Manifest +++ b/media-libs/opencv/Manifest @@ -24,7 +24,7 @@ DIST vgg_boostdesc-3.2.0.tar.gz 1867770 BLAKE2B 1fa5b58e73b6fa56ecf8d19af22298f7 EBUILD opencv-4.6.0-r4.ebuild 21277 BLAKE2B 458906fe516524a8d997e6645d16ca3621774795271cb06aa2bb414a5937139db84beffb1dfa39d96215f45aa56c93461463a62f5f771cfc16396b3d926e049b SHA512 2d2b557fe6b260cd4c3ffbd4159cac68dafb9fc22138ff2f119350723a44f3376ee39f20d8c8b2d61952d88d9a60b470d36477552f0a1eb9b12eccd690547e6e EBUILD opencv-4.7.0-r1.ebuild 21289 BLAKE2B 0e2c1ac23fcd0ec261329eeeb73f035bb92bdd0d114b6123a9934d85937034e65e22a5264553cf294c66023a23e7bab7bb77560bb422a0d36ed726bc010afdd8 SHA512 332206b352f57fd16375b104f84e3019a8358ed174159f0827f51ac522ccdb62c360fcea1a94c2333adae5468acb95e78ad6897c3e8f9daa33292161794b737e EBUILD opencv-4.7.0.ebuild 21242 BLAKE2B 930ce7cdb362134193217aced8fb53e6695cde0d2abf1582db923c5bad84c01189eea5d76dc6bfd81e1bbcd0e286f94c2d17b59bb3ace0dd2cdbf26e21be6d17 SHA512 43f45361d176e7f34dc0c1d98dc459b351215b9a2db8d76390b384e774a95db8792386fecd35007ffee90d2a275f3daea010da1cea5e9728221f71d6c6a44164 -EBUILD opencv-4.8.0-r1.ebuild 21547 BLAKE2B b99ae2674efe89748d80fbdc59b54f48f71e4e992552cfc63dadcbf195d2418f01701873158c43417f03d7d055c187611b0b7a9d4a4ab800acfa4153c02f5911 SHA512 187cdc3fa84b29f5e59a136ade5bb6fb28c183140eb27ceff352ca928d29f7b2e6407445a58bc36b7770d36cda3595e66d86095e23cd53126786594111c5b48e +EBUILD opencv-4.8.0-r1.ebuild 21546 BLAKE2B 188f2883b59013f491619ef99bce3a7baedaf63876f6a1783cc7216b850dbf16196779dca3cc1928c634a1fbacd20b99efe438bd831373f05486bfcd10b52805 SHA512 67a521b21c3126826377fd9d8f1b179860d1e030022931bd0bc9f6965ee0b2de2e3fc6aeaf33d670e9b5dd8e718396624be9b8a22538279aea27e21f0f79a358 EBUILD opencv-4.8.0.ebuild 21315 BLAKE2B 47d10c626c58b570d2decb6dcc387825c73ebeb1040f0301bc5d5763a19f0c85132ce521dc3425f9191ea086f0ecb6d309fb07cf8787de5d437f6c4dc3a409a8 SHA512 8c894c1d251090c1bb9a93c138103cd9f2049e633958f9cb7964f00ef0838b3d654cd89bcfce44027baff33c0b6cea21e6a47c816b67c501bd5da21dd88c66e3 EBUILD opencv-4.8.1.ebuild 22010 BLAKE2B f45246f83b047a92b03a544571a50517e4c982fae42190afd01bc1d77e1c6aa40d157ea0d580ea570ab9871fccf3bb07755ea3730a88182a42ea66a411c66709 SHA512 78be48109a65ed6e0a648acbf87d11cc6183af1a701dcb186e806e367cff7e074ab4d90c2bcbeff60310064791c15bd2b43d9eb5b1ba9fdfc53bf6b3fe3de9e0 MISC metadata.xml 3380 BLAKE2B 7110d6b679cf07eab5c673fccdee71ac80bc0634209ab0cf711a31569163ba713679b0f708e6d3a1dafe54efaf9116bd2892417b276cc27f80b1af1ace5737b0 SHA512 81b1e28bf9a48457633547213c9df82ed3b54864681474692dc441f5006fefd6907c1d7a6a617e40a2e8d38c25ef90e0e79561e206b92ff92188005e24ac5759 diff --git a/media-libs/opencv/opencv-4.8.0-r1.ebuild b/media-libs/opencv/opencv-4.8.0-r1.ebuild index ad47071aba4d..e5f917168501 100644 --- a/media-libs/opencv/opencv-4.8.0-r1.ebuild +++ b/media-libs/opencv/opencv-4.8.0-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0/${PV}" # subslot = libopencv* soname version -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" IUSE="contrib contribcvv contribdnn contribfreetype contribhdf contribovis contribsfm contribxfeatures2d cuda debug dnnsamples download +eigen examples +features2d ffmpeg gdal gflags glog gphoto2 gstreamer gtk3 ieee1394 jpeg jpeg2k lapack lto opencl openexr opengl openmp opencvapps png +python qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine" # The following lines are shamelessly stolen from ffmpeg-9999.ebuild with modifications diff --git a/media-libs/opusfile/Manifest b/media-libs/opusfile/Manifest index 02aecdef3f3b..4defcc79f685 100644 --- a/media-libs/opusfile/Manifest +++ b/media-libs/opusfile/Manifest @@ -1,4 +1,4 @@ AUX opusfile-0.12-configure-clang16.patch 2946 BLAKE2B 7eab443d03a08136e55329c87e5f084724c205f6789db5747f40318153fbcc4d413024fac6abb5441dbfcca3ece893b82714e0d5ec6d2cced9f94fbbd944c7e4 SHA512 2e7a2c9594f0eda9ed9486e621c932660cd2b86694e4fb5c166da05fd90949a7e74d627ee49ffb516525bf0d5fcfeb2407834d9163da0b46f0c9625362c2f550 DIST opusfile-0.12.tar.gz 471354 BLAKE2B d54d9b8ed011c018dc6de77afab524d2e47ba6cca69b911efacf361b41f3b59a31424cb15a778db14166815ba5e2352f33f8aa7987c30e5e14339c652558d18d SHA512 e25e6968a3183ac0628ce1000840fd6f9f636e92ba984d6a72b76fb2a98ec632d2de4c66a8e4c05ef30655c2a4a13ab35f89606fa7d79a54cfa8506543ca57af -EBUILD opusfile-0.12-r1.ebuild 1056 BLAKE2B 2d4a35979ae24d22e1da89c75ee98da5bae1c0001338260df48c73a16e17aeeb266b23cd7ea0dd6438643e01122301aed2a12e0df705a5c8cfb427d80c78cacf SHA512 83a04a2eb58be732d1d841f52b92452faff257e5e2850b5838bd1f0c09553a31a55289c362b2df9fea9777a953578de04f739f6665ce52a02f8b0072e315b159 +EBUILD opusfile-0.12-r1.ebuild 1062 BLAKE2B b235fa51d8cadd6e2c944e2120245d80c6f25928454042811089c28329bfc8dbfc0b9e9e96273186df7d90f60bbbd15eb0a114a45ee7192e87547836cd8f733d SHA512 d44b740c6faacbb70be3af2992bb18a1e62db160a65087d12bd1518c59859d58aa6887dd1107c81747879cc0f412da42e66e9275aab2127aee20ae9485edd28a MISC metadata.xml 653 BLAKE2B 67076fdf6a18be5b1ebce27ebc0679580105aff3654d11f4369e9d23d13b2ea25feac8e763ffac7a149dd882839c18bcf57dec4f7a4fa47813dc1a1caa85207a SHA512 1d983d7ac52639f15c220cbe6b02e49f829425301dab86e8c68e5f85a674b823bb194c67195ccb45c48022a1a56f0772d206819ddf5dc0b21e235c4df1336660 diff --git a/media-libs/opusfile/opusfile-0.12-r1.ebuild b/media-libs/opusfile/opusfile-0.12-r1.ebuild index be985adffefd..6f8ea747dc8d 100644 --- a/media-libs/opusfile/opusfile-0.12-r1.ebuild +++ b/media-libs/opusfile/opusfile-0.12-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86" IUSE="doc fixed-point +float +http static-libs" RDEPEND=" diff --git a/media-libs/roc-toolkit/Manifest b/media-libs/roc-toolkit/Manifest index 2ecc5eccfac2..9cce927cbd42 100644 --- a/media-libs/roc-toolkit/Manifest +++ b/media-libs/roc-toolkit/Manifest @@ -1,6 +1,8 @@ AUX roc-toolkit-0.2.5-dont-force-O3.patch 626 BLAKE2B d8365e9bc957b5cd6729768c66034e5cc79df1c45157a6b24a954e2f1d8fc4524e3b3165bcdf3a540a0d83404c783ee2201014607d225e2745a190f050cf0c8e SHA512 d9fe4498388150bfc79a2c9eafe14e6f9a29d915989b53d670b05afad8d0b3dac4006f19777f07faba4d78696407a4517334db53ac8f72bc2748c36b51774038 DIST roc-toolkit-0.2.5.tar.gz 1559917 BLAKE2B b75a2f101bd9bfecee28abc1dee0102c55a06f6432d66ed0b982b774e330209cdb9c22db442b9a49ec6e5623193de0c55fdb118a5285fb7de199b85eb6daea48 SHA512 45a524d7c29f2011eaa9f3e6d256ccf714e1abe2921c8ed276d97501cd2f7641bc14288f2f29c892a1c6740cf64049e3d143eb6b15dd2fb14e25a38a4ad23971 DIST roc-toolkit-0.2.6.tar.gz 1570499 BLAKE2B 6fa38819fc675323585a0bd5f754b7325be0d9870a55b65636498822249fe1d53b23422b7fa6a0b7e7740aff4f7e62fed9b2681741fbd8912ef8ec2bcc375ee4 SHA512 ac0f18e8a8a60ae9e93f3dcb58e645f31440b6799dac063b246f5320978ac98192bb9c38bbfa7e38dbd537da169c1d525d93cf66c86b36976d37932e3c12f63b +DIST roc-toolkit-0.3.0.tar.gz 1679439 BLAKE2B 31775d330bdfb3c42278d1ecbbbb5e14f695ca82f22929e435b6c9bf10c2e25c3367d11cf2913a81e6469876c255193be11eb78b775fad3b17f57c5be9c4bb39 SHA512 447532862dc1714054ebd03ce7fd101525c213a87bc7198a55c8e6068c28db318d59389bafd83681a4e6b34a61e68ac305c66b84e417a3f791b02340a821e6ec EBUILD roc-toolkit-0.2.5.ebuild 1976 BLAKE2B 0e2a035a6c2622c794b4b479ecb50384ee9a0c3af8d0f513727505be05e2692d69e3e4101402fdca30e78b0983c8684e043448316d7f7ef5700ac8b23f03edff SHA512 927c7728a17529908b91db475467eb4ddeab71f58d484aa1a8f03bff5992238bc8c83482247d9b5a54e7c65eaa653c7309b25e5a001ce7dea2663c21bce40fe7 EBUILD roc-toolkit-0.2.6.ebuild 1977 BLAKE2B fe77df46e72ccdbd158b160c13fd765a70c70630b0f8fc55e20e07c90db05ee651e2587bd7b085201944a2b56e45d2b491ada44938f2fcbdc105757b49d34e07 SHA512 563883e9152b36aa8478736e4a7de0a66ceba85ac8e124de887fae43fa1ecd8be182dec3aec1f22deac7a58ec2495cd03568760c1470d3ef9277ba81c7b90e90 +EBUILD roc-toolkit-0.3.0.ebuild 1979 BLAKE2B 75b168515ba509f551f0db4ff20ef6cec1d86cbe09c0956ef2de53069dce06ca55a9025bf4ac3bf4dfa5eed60ea28f31f6d53efed9d522ade775ac2d7279aa77 SHA512 b215abebf902d930ba4dec7ea7f9c7fe66de23f7278f125a76aa8b16410e4cab00317d241fcfc4c311c121d2496005ab5cea8d4adfc0876eab74c336c70e92a0 MISC metadata.xml 424 BLAKE2B 809444d92a63d99a23c18612cc9559138cdecad99b2af61370141f18e2d0acc0518f1bcee47cd435e26f096b49269b92a3c864e871ef7ae3e15de15f0bc09d6d SHA512 7dfdbb7a4be3022622e15bb263f493f0fdb17ea00c9f6b3711be4877993aaaabe05334dac14e290e602a663fd40dc3ac2f6697e979f0f4b8f9866befb7ac5ae3 diff --git a/media-libs/roc-toolkit/roc-toolkit-0.3.0.ebuild b/media-libs/roc-toolkit/roc-toolkit-0.3.0.ebuild new file mode 100644 index 000000000000..5e559bcb86e1 --- /dev/null +++ b/media-libs/roc-toolkit/roc-toolkit-0.3.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-any-r1 scons-utils toolchain-funcs + +DESCRIPTION="Real-time audio streaming over the network" +HOMEPAGE="https://roc-streaming.org/toolkit/docs/ https://github.com/roc-streaming/roc-toolkit/" +SRC_URI="https://github.com/roc-streaming/roc-toolkit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0/3" +KEYWORDS="~amd64" +IUSE="alsa llvm-libunwind pulseaudio sox ssl tools test unwind" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/libuv:= + media-libs/openfec + media-libs/speexdsp + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-libs/libpulse ) + sox? ( media-sound/sox ) + ssl? ( dev-libs/openssl:= ) + unwind? ( + llvm-libunwind? ( sys-libs/llvm-libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= ) + ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/ragel + virtual/pkgconfig + test? ( dev-util/cpputest ) + tools? ( dev-util/gengetopt ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.5-dont-force-O3.patch +) + +src_prepare() { + default + + # These tests need network + rm -r \ + src/tests/roc_netio \ + src/tests/public_api/test_receiver.cpp \ + || die +} + +src_compile() { + tc-export AR CXX CC LD RANLIB OBJCOPY PKG_CONFIG + + # Can revisit these on request, but: + # + # * openfec is unconditionally enabled as upstream docs recommend it, + # see https://roc-streaming.org/toolkit/docs/building/user_cookbook.html. + # + # * speexdsp is unconditionally enabled as it's tiny. + scons_opts=( + $(usev !alsa '--disable-alsa') + $(usev !sox '--disable-sox') + $(usev !pulseaudio '--disable-pulseaudio') + $(usev !tools '--disable-tools') + $(usev test '--enable-tests') + $(usev !ssl '--disable-openssl') + $(usev !unwind '--disable-libunwind') + ) + + STRIP=true escons "${scons_opts[@]}" +} + +src_test() { + STRIP=true escons "${scons_opts[@]}" test +} + +src_install() { + STRIP=true escons DESTDIR="${D}" "${scons_opts[@]}" install +} |