diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-06 08:06:16 +0100 |
commit | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch) | |
tree | b6f535e053876097ced1b6bda14a4da890c730d4 /media-libs | |
parent | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff) |
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'media-libs')
26 files changed, 335 insertions, 324 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex b3a231163526..27d3a0e7af83 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/aubio/Manifest b/media-libs/aubio/Manifest index e47d708a8f30..9573b1f3ad75 100644 --- a/media-libs/aubio/Manifest +++ b/media-libs/aubio/Manifest @@ -5,6 +5,5 @@ AUX aubio-0.4.9-remove-universal-newlines.patch 1198 BLAKE2B 9cd5a5b388007570693 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 -EBUILD aubio-0.4.9-r2.ebuild 3188 BLAKE2B ead6dd22007fe53e2f9a4ce33d1fe0ee1e9ff4b898eb2ff5c9cb4609360c20f187c9feca1530f42dfc04bb6a2f86d9fec1406c9065aa2f92b779cb2c218bf09c SHA512 542e18d674c33b54718cdcf11700c5476356071534db7b0986e32c10a706a2fa35295d7af5a2a5c147a3e22182817c9900aea7c0c830d51cd62526eb8c759200 EBUILD aubio-0.4.9-r4.ebuild 4070 BLAKE2B 7bb5634b723df1d527c7679a8fa9a9c7290f206ec39492ccbc034ea22c3e59fc5906083c9ba00fad013995c9cf6eaac4dd634b1b89664295eb4c6b98a480594a SHA512 60c59b90f3a0e043787f036cba746452f6bdd57ca3c4823c95ff35a2766ab3467016178f6763f2367d880959339812996d60dbb58a9cb46a23ab07dc02e4e840 MISC metadata.xml 424 BLAKE2B 427627520c0e31649dc3bfa4011cb80b48cac5bc2ba6bea55812b033b1a92e2a07477729f83057ae0c213c82ed20899e05978e6968db3d3ff166e153c4b1c1ea SHA512 a9cb14aef216e074f21616493f1a9276c43f05709b14492de8cbd90d4f19878bc9f905545327985639f05ee75234d11689eba519f88c6bafaa8b848bd887178d diff --git a/media-libs/aubio/aubio-0.4.9-r2.ebuild b/media-libs/aubio/aubio-0.4.9-r2.ebuild deleted file mode 100644 index ddedae01e700..000000000000 --- a/media-libs/aubio/aubio-0.4.9-r2.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE='threads(+)' -inherit distutils-r1 waf-utils - -DESCRIPTION="Library for audio labelling" -HOMEPAGE="https://aubio.org/" -SRC_URI="https://aubio.org/pub/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0/5" -KEYWORDS="amd64 ~loong ~ppc ppc64 sparc x86" -IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile python test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - ?? ( double-precision libsamplerate ) - doc? ( python ) -" - -RESTRICT="!test? ( test )" - -RDEPEND=" - ffmpeg? ( >=media-video/ffmpeg-2.6:0= ) - fftw? ( sci-libs/fftw:3.0= ) - jack? ( virtual/jack ) - libsamplerate? ( media-libs/libsamplerate ) - python? ( - ${PYTHON_DEPS} - dev-python/numpy[${PYTHON_USEDEP}] - ) - sndfile? ( media-libs/libsndfile ) -" - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - app-text/txt2man - virtual/pkgconfig - doc? ( - app-text/doxygen - dev-python/sphinx - ) -" - -DOCS=( AUTHORS ChangeLog README.md ) -PYTHON_SRC_DIR="${S}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.4.9-docdir.patch - "${FILESDIR}"/ffmpeg5.patch - "${FILESDIR}"/${PN}-0.4.9-remove-universal-newlines.patch -) - -src_prepare() { - default - - sed -e "s:doxygen:doxygen_disabled:" -i wscript || die - - sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die - - # ERROR: "Skipped: no test sounds, add some in 'python/tests/sounds/'!" - rm python/tests/test_source.py || die - - if ! use test; then - sed -e "/bld.*tests/d" -i wscript || die - fi -} - -src_configure() { - python_setup - - local mywafconfargs=( - --enable-complex - --docdir="${EPREFIX}"/usr/share/doc/${PF} - $(use_enable doc docs) - $(use_enable double-precision double) - $(use_enable fftw fftw3) - $(use_enable ffmpeg avcodec) - $(use_enable jack) - $(use_enable libsamplerate samplerate) - $(use_enable sndfile) - ) - - use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) ) - - waf-utils_src_configure "${mywafconfargs[@]}" - - if use python ; then - cd "${PYTHON_SRC_DIR}" || die - distutils-r1_src_configure - fi -} - -src_compile() { - waf-utils_src_compile --notests - - if use python ; then - cd "${PYTHON_SRC_DIR}" || die - distutils-r1_src_compile - - if use doc ; then - # No API function like distutils_install_for_testing available for this use case - pushd "${S}"/doc &>/dev/null || die - python_setup - LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" \ - PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \ - emake dirhtml - fi - - cd "${S}" || die - fi -} - -src_test() { - waf-utils_src_compile --alltests - - if use python ; then - cd "${PYTHON_SRC_DIR}" || die - distutils-r1_src_test - fi -} - -python_test() { - LD_LIBRARY_PATH="${S}/build/src:${LD_LIBRARY_PATH}" eunittest python/tests -} - -src_install() { - waf-utils_src_install - - if use examples; then - # install dist_noinst_SCRIPTS from Makefile.am - dodoc -r examples - fi - - if use python ; then - cd "${PYTHON_SRC_DIR}" || die - DOCS="" distutils-r1_src_install - newdoc python/README.md README.python - fi - - if use doc; then - dodoc doc/*.txt - docinto html - dodoc -r doc/_build/dirhtml/. - fi - - find "${ED}" -name "*.a" -delete || die -} diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index ad7315e65f39..075a19bb63e7 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 1877 BLAKE2B 62626c0487eb2ee80c30b1a56523db577333f6970994096ad2377c1f0c0c8f361a8356225d2fa4f2577116206cad823394cfc7b678cc2e321c708da82195d075 SHA512 df9df4a455e913f4b0c0ab520d0b1f30f027763746dfb1d743fee30289e2b94578005bf25b60c7e0b9a7826608177c1d38b469ca5f1f2eab7ea7a7530e60a7b6 +EBUILD flac-1.4.3.ebuild 2075 BLAKE2B f3687263032b909aabf4cff247a83d1d728f5d3b41bf4694d294edd04009f2d70bb32bfb0c2a1d51ef2713aed91b3f478c3c282b9caab5c0a74d5dc72fd48a47 SHA512 a226e7abb5f4687ebee41656d1c7eeabc8660a93632d4f47a6d6b92f355e84bef205efe9fb186cc250a70aa242c0e32ba7d4f1e9b1be44147c218efe03a41b99 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 c6ba4c45cf3b..88c731fe0cbc 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 multilib-minimal +inherit flag-o-matic multilib-minimal DESCRIPTION="Free lossless audio encoder and decoder" HOMEPAGE="https://xiph.org/flac/" @@ -28,6 +28,10 @@ BDEPEND=" " multilib_src_configure() { + # -fipa-pta exposes a test failure in replaygain_analysis (https://gcc.gnu.org/PR115533) + # TOOD: Replace with some -ffp-contract= option? + append-flags $(test-flags-CC -fno-ipa-pta) + local myeconfargs=( --disable-doxygen-docs --disable-examples diff --git a/media-libs/ksanecore/Manifest b/media-libs/ksanecore/Manifest index 59433ae2e1f9..557991bd242e 100644 --- a/media-libs/ksanecore/Manifest +++ b/media-libs/ksanecore/Manifest @@ -1,5 +1,5 @@ DIST ksanecore-23.08.5.tar.xz 50052 BLAKE2B 500c574d40a8c927cd8568d3d0094789731b58cbe64de8ff04ee993adb8503cbb4d999d14c3222d142bb2485f1131dfe45c0a6a305347180e1021d1aa661d020 SHA512 93bbb6160c063e54be4cb115cf164354fb545ff458aa2066d98a38e81d48dfed4260a4b2afcb252ba43cf25ed102345018e0ad99b7ca66b9cb0b2fb64235b440 -DIST ksanecore-24.05.1.tar.xz 51072 BLAKE2B 795f4971091f18ca0a2d0ac205903bb1bf9bd3ff432c01d4df7c70ba1439faed2306e640c80cd9dc5822aeea13213b5953fdee7c915ba55ede21e2e00839b9a0 SHA512 197a0d8af8eddaaebfeb3eff0877bf3ac49c45b87683f76594352fa748efc048b39adc7c4a1ba9795b0ed9769e9beb58dc2a678a8adb8070e19fc81aa5ef0531 +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.1.ebuild 572 BLAKE2B 46959f8fd06e68f09e3971b51c23b806ccabee09e8bf2b3a78d6a58b7ca75b78cd23507f2102be6d31d46294afb20de911530b1920141f07c04f06fd07668e6c SHA512 6f3dc753d2937c201470715f3fac1eddbf82cf9a41b27131fb087047a8e392e80701ed0ab0b39b868d0587c9f27fcf073fb8c6e391bbc26a30b9349d6f87c240 +EBUILD ksanecore-24.05.2.ebuild 572 BLAKE2B 46959f8fd06e68f09e3971b51c23b806ccabee09e8bf2b3a78d6a58b7ca75b78cd23507f2102be6d31d46294afb20de911530b1920141f07c04f06fd07668e6c SHA512 6f3dc753d2937c201470715f3fac1eddbf82cf9a41b27131fb087047a8e392e80701ed0ab0b39b868d0587c9f27fcf073fb8c6e391bbc26a30b9349d6f87c240 MISC metadata.xml 457 BLAKE2B 7a88ca79e1f6f6ff7aedd1c763f1e2a3d82d2d9cee9aa2c3fc61c0136c2a8f0bda2721f550fcc01118d52ddca3d71ac32830625f613e7e7c62527b64fcd9426d SHA512 a160a7bf99407cd4d0f597a72fff7e7ef99cf7be3772f310dd31782c8dae99218969c6bac3808109e4b4ba509493aa7e82d0b37b5fec4ec5924b39be67ee0ad9 diff --git a/media-libs/ksanecore/ksanecore-24.05.1.ebuild b/media-libs/ksanecore/ksanecore-24.05.2.ebuild index bb16be412462..bb16be412462 100644 --- a/media-libs/ksanecore/ksanecore-24.05.1.ebuild +++ b/media-libs/ksanecore/ksanecore-24.05.2.ebuild diff --git a/media-libs/libcddb/Manifest b/media-libs/libcddb/Manifest index 2cd10d3c1b2c..426228e05552 100644 --- a/media-libs/libcddb/Manifest +++ b/media-libs/libcddb/Manifest @@ -1,5 +1,4 @@ AUX libcddb-1.3.2-c99.patch 591 BLAKE2B 504043c76ef660727a1972e368852fa9b1ef4c7c70127e024e84b31a6a878b9bdca94d35c0027bf527dfa97aa7bb71bd67b6df1132a33fc8d4cdafd555ef8752 SHA512 7c82bd6d61b03faea4c0e9bfd59ac91bb3f0f03d0be6058c2c4081f1a017bc0ba8ba59a71d283cb212759f37f513e684db52778f8e13f0fad027d361936a2f80 DIST libcddb-1.3.2.tar.bz2 352909 BLAKE2B 8386ea051f23004396d53ad228a595d13c8c194361223026e901ff859f8e3d2dadb93d5e779902ec4698c164a3e06073fc82f331b22b4cf42f5ab8b1fae562e6 SHA512 0e07e7d37f2013164d75b530a5528f54847271fd20f3b7bedb192a05d1f61dcf006d10dc2927efe155a01eddcc57b940bc31d8ac88d5dfc4f1a09771caa84e0a -EBUILD libcddb-1.3.2-r1.ebuild 1221 BLAKE2B 0fc20982808a80080d9cb4014b7f2839bc81233b712ab70af250b47340f9820986be7f2eb534ef57970deb8f288d100d17add1c4072f5a9f9ee1723790030da9 SHA512 0edcafde2a1e423c9ca59e74bcea904a7a611b578e8a4448a91be73bce31425c4583254735289f3b960df67b387c08dabb47c115db68c66abf85f4e8dd5be9ec EBUILD libcddb-1.3.2-r2.ebuild 1271 BLAKE2B 50bfb5d9fb40ec153042c6aa8acf4f0d079344cb310e4a59279308a7208531253691c12d84ace315d15590303f6049762213429a8caf4c0d0c19977f5517ee66 SHA512 c775a0a0e6d9f5435c3dcc36e48c98bfbe6f259f82b2418cd663de15d08805d562b944929ae4399c5f59386cabb48cd451516adc7b6e147481dd2ae0a1ac66cf MISC metadata.xml 331 BLAKE2B 08fdd45ed8c06d710353283e93f825766554b6b2dfcca76ee250173172236375a94e968ca380512b8406be2d86031bb1084989262e180c4c1ad8901df72309e9 SHA512 421db591a3d825b41f15d08a13b2d9c98c18b0c220a5716c608d61e0e6c78a7e82749cbdf6ad8feffdf05667eef1d8f8e4dd8c29f7f0764556b2f1f9aec32738 diff --git a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild b/media-libs/libcddb/libcddb-1.3.2-r1.ebuild deleted file mode 100644 index fe01596de756..000000000000 --- a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -DESCRIPTION="Library for accessing a CDDB server" -HOMEPAGE="https://libcddb.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc static-libs" - -RDEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="doc? ( app-text/doxygen )" - -RESTRICT="test" - -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) - -MULTILIB_WRAPPED_HEADERS=( /usr/include/cddb/version.h ) - -src_prepare() { - default - # Required for CONFIG_SHELL != bash (bug #528012) - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - --without-cdio - $(use_enable static-libs static) - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - default - - if use doc ; then - cd "${S}"/doc || die - doxygen doxygen.conf || die - fi -} - -multilib_src_install_all() { - default - - find "${ED}" -type f -name "*.la" -delete || die - - if use doc ; then - docinto html - dodoc "${S}"/doc/html/* - fi -} diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest index 9e2362e99866..34fcf2a7a4ff 100644 --- a/media-libs/libffado/Manifest +++ b/media-libs/libffado/Manifest @@ -1,4 +1,5 @@ -AUX libffado-2.4.7-fix-config-load-crash.patch 728 BLAKE2B 066910a52b054d423abfc2656e5b9499be7b03499a74bd8df97b99b83d7c14c68e5728a4608b5082a53bd0f6d174ef645c461139018d0110cdfc2f8ad6111214 SHA512 7fedd5157bd3fae9cb70de02b5883a69caea0c0a2b80a3d86fe66d57743e127c281922afdfdfcb8cc14e492dafcf814a230d70dad8601168c615d9daf719cdd0 +AUX libffado-2.4.7-fix-config-load-crash.patch 555 BLAKE2B bac518fa7d80dece2c5fa728e05910096d0da458afda9618b0b174521899e686ba060c9a9edec138506d279f1e799ad0c5bdd9925cb91129ca35d55cd632a15c SHA512 28c95fb7a5701c387066db7356aad52b3b33e9e5cad948b9ea578f3826e999d1552b0c1baa0c3f63748828e927137f4143c1dbd0d28db480aadb92446a0288db +AUX libffado-2.4.8-python3.12.patch 2722 BLAKE2B b9d65ea9dd9026d968e732454e4c90ed5bce577b3d262c501e24e38a8957eec7fb6541afb7edcbda1e381096b0686a0f1592e29478d8134c0f74ede775e8f5b4 SHA512 a1ac171048531573de77388dbf3a4cea4babeca71e30e77bba5ebdfeb6e45852af5376bc91bbbc5dfc69fe06f50cf0a25233e21ea6a7fb54a96e5473503f6bab DIST libffado-2.4.8.tgz 1237955 BLAKE2B 14b83d55fc9a7b33c888b893c808f8419292fefaa2c2239b4b51c2b84070a584ea72821c8469bb8d965a9a5e6473b6fcfb5e85f4eecd2d424e3167322f8abb81 SHA512 fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc -EBUILD libffado-2.4.8.ebuild 2936 BLAKE2B aabd28bba092188f7bc98d5e979dc587b8c76c434b7f6961d536ca95dc76bb0feb25713f6337e159311ac3c7b29185cda77c87f1ae4cd5ea03368052556e152e SHA512 6318efe5372488eb2fcb19adf7a00fb6865029ef17e3ede59ca7c0f6c736a3066f005fcc6ec0d9f75ab25f383ec30d8461df7578d80aea8abe1db6eedbf73934 +EBUILD libffado-2.4.8.ebuild 2983 BLAKE2B a5cab924afdc3d6f9471fe44aab4df478f94c0addb615546e9ad2017ef380a9ce0274be4c56d6ad0ed651a0e1ff6ff96d907d49c9c491873ec1ee50a0045e5cd SHA512 9c98f9a814109026ae2ea72364d9ddb1c59c80666319779c37172125aec762027dddd2de4a402626642f499e0fa9dbb48e0e7af45f83b0bc3b650cbf75f6e632 MISC metadata.xml 344 BLAKE2B a7d2c27caa7e9fa72716534c406145b94bd8a13eadf57d06ea8e3148339857311bd7e8f0434edbf8a70a5e7bfec1726425e1d16734841b056caeee7754471666 SHA512 30d31f76c73ff218fa34e5f9d442e2366082bf4697038c804c093cac0e22720341691b732bf653466f8e5fc7e734c11b08a02cef7dd2a4bd93635968e2c29447 diff --git a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch index 05ede6ebf653..e16629c7a47e 100644 --- a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch +++ b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch @@ -1,5 +1,3 @@ -diff --git a/libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py b/libffado-2.4.1-patched/support/mixer-qt4/ffado/mixer/globalmixer.py -index 7078b0e..d184d73 100644 --- libffado-2.4.1-old/support/mixer-qt4/ffado/mixer/globalmixer.py +++ libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py @@ -96,7 +96,6 @@ class GlobalMixer(QWidget): diff --git a/media-libs/libffado/files/libffado-2.4.8-python3.12.patch b/media-libs/libffado/files/libffado-2.4.8-python3.12.patch new file mode 100644 index 000000000000..da5bdecc245d --- /dev/null +++ b/media-libs/libffado/files/libffado-2.4.8-python3.12.patch @@ -0,0 +1,82 @@ +--- libffado-2.4.8/SConstruct ++++ libffado-2.4.8-patched/SConstruct +@@ -977,7 +977,7 @@ else: + # Create a tags-file for easier emacs/vim-source-browsing + # I don't know if the dependency is right... + # +-findcommand = "find . \( -path \"*.h\" -o -path \"*.cpp\" -o -path \"*.c\" \) \! -path \"*.svn*\" \! -path \"./doc*\" \! -path \"./cache*\"" ++findcommand = "find . \\( -path \"*.h\" -o -path \"*.cpp\" -o -path \"*.c\" \\) \\! -path \"*.svn*\" \\! -path \"./doc*\" \\! -path \"./cache*\"" + env.Command( "tags", "", findcommand + " |xargs ctags" ) + env.Command( "TAGS", "", findcommand + " |xargs etags" ) + env.AlwaysBuild( "tags", "TAGS" ) +--- libffado-2.4.8/admin/pyuic.py ++++ libffado-2.4.8-patched/admin/pyuic.py +@@ -21,7 +22,7 @@ + # along with this program. If not, see <http://www.gnu.org/licenses/>. + # + +-import imp ++import importlib + + def pyuic_action( target, source, env ): + env.Execute( "pyuic " + str( source[0] ) + " > " + str( target[0] ) ) +@@ -32,11 +33,7 @@ def pyuic_string( target, source, env ): + + def PyQtCheck( context ): + context.Message( "Checking for pyuic (by checking for the python module pyqtconfig) " ) +- ret = True +- try: +- imp.find_module( "pyqtconfig" ) +- except ImportError: +- ret = False ++ ret = importlib.util.find_spec( "pyqtconfig" ) is not None + context.Result( ret ) + return ret + +--- libffado-2.4.8/admin/pyuic4.py ++++ libffado-2.4.8-patched/admin/pyuic4.py +@@ -21,7 +22,7 @@ + # along with this program. If not, see <http://www.gnu.org/licenses/>. + # + +-import imp ++import importlib + + def pyuic4_action( target, source, env ): + env.Execute( "pyuic4 " + str( source[0] ) + " > " + str( target[0] ) ) +@@ -32,11 +33,7 @@ def pyuic4_string( target, source, env ): + + def PyQt4Check( context ): + context.Message( "Checking for pyuic4 (by checking for the python module pyqtconfig) " ) +- ret = True +- try: +- imp.find_module( "pyqtconfig" ) +- except ImportError: +- ret = False ++ ret = importlib.util.find_spec( "pyqtconfig" ) is not None + context.Result( ret ) + return ret + +--- libffado-2.4.8/admin/pyuic5.py ++++ libffado-2.4.8-patched/admin/pyuic5.py +@@ -22,7 +23,7 @@ + # along with this program. If not, see <http://www.gnu.org/licenses/>. + # + +-import imp ++import importlib + + def pyuic5_action( target, source, env ): + env.Execute( "pyuic5 " + str( source[0] ) + " > " + str( target[0] ) ) +@@ -33,11 +34,7 @@ def pyuic5_string( target, source, env ): + + def PyQt5Check( context ): + context.Message( "Checking for pyuic5 (by checking for the python module pyqtconfig) " ) +- ret = True +- try: +- imp.find_module( "pyqtconfig" ) +- except ImportError: +- ret = False ++ ret = importlib.util.find_spec( "pyqtconfig" ) is not None + context.Result( ret ) + return ret diff --git a/media-libs/libffado/libffado-2.4.8.ebuild b/media-libs/libffado/libffado-2.4.8.ebuild index 485806fc9807..2bf41f8f6808 100644 --- a/media-libs/libffado/libffado-2.4.8.ebuild +++ b/media-libs/libffado/libffado-2.4.8.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit desktop python-single-r1 scons-utils toolchain-funcs udev multilib-minimal @@ -48,6 +48,7 @@ RDEPEND="${CDEPEND}" PATCHES=( "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch" + "${FILESDIR}/libffado-2.4.8-python3.12.patch" ) myescons() { diff --git a/media-libs/libvpl-tools/Manifest b/media-libs/libvpl-tools/Manifest index e7d58e8d7486..50aef8798b9b 100644 --- a/media-libs/libvpl-tools/Manifest +++ b/media-libs/libvpl-tools/Manifest @@ -1,3 +1,3 @@ -DIST libvpl-tools-1.0.0.tar.gz 1280283 BLAKE2B 67e2d0339893751a572c133ef34bbde05a254de1d460da3226088608e85aa253c585fe00d3edca05d629d65d0ddb8617c85e0cb87ff25b2cb56d85717834e959 SHA512 d4225eadbed4993a80461119db1175f196b271086d79be5312e74ac7c8d1395c9ba13149145d979441cd6958ef80c7a1755c37374091fa7b7ce7581df570ffb1 -EBUILD libvpl-tools-1.0.0-r2.ebuild 1431 BLAKE2B 34b4acb192ddc82e233ddf715730aa05da58df3443d0844c2634c9093dd039e64fc822dd0ca187f20a9cdd524297ec92bce4a2339c6b26240d99b3eaaa922349 SHA512 c32618d8e4fd93168a51babe2f886f0b13182397b61ce89dd6a1c532d8271e35dd8dcd0b55dc96e253d94f498e83a920306f8a6fd52655ac29d8447799082a76 +DIST libvpl-tools-1.1.0.tar.gz 1282378 BLAKE2B 4565c5f4c3c7128a925882877f432ac4618ea8d3df05ec308cb6d6b0201fd94953597ce42f1e90dec73ad02612c74afa9deea1a68116436f78204f92ecfeb1e8 SHA512 2aa1e8bca981018bfd09a1500062f468364e7dac51c8643c08103ad3adf791e67b718bec01388143f95e2b1d47eac0cab8a31100574124fae825e8272d4fc87e +EBUILD libvpl-tools-1.1.0.ebuild 1452 BLAKE2B a0c97021b9c754fc4eb87751a6ad864f860cb4a5cba03bd4cccba32276d2ff3565de5d96e79164f902124e1b5eb84361c00374120debfaf08f9408d2ede3f842 SHA512 825af6d9303878c98c884ee82ae4f36f50a923796ede7f451e22b2600c1a5dfe3716af6572163c961ea546493a846ec7ab36fd976baef68984ddac80601022a8 MISC metadata.xml 405 BLAKE2B c982a523bf698ab07b871f4c15d1b5b690721dadeddf845c3dacfdaf8c9335b66df03b12b0d90ad684843e0ca1af0d92ef73c40ae6d93380c5bb580d718bc7ec SHA512 809830c4eed32d149a73ce87f9a1de441335cd5adb7ec9649873954af1eceb7635402eda79cbc9ec39162c8875455309d29d9da16caaf6e683f13de21534a69f diff --git a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild b/media-libs/libvpl-tools/libvpl-tools-1.1.0.ebuild index ba84438f5c04..60f9e36be1fe 100644 --- a/media-libs/libvpl-tools/libvpl-tools-1.0.0-r2.ebuild +++ b/media-libs/libvpl-tools/libvpl-tools-1.1.0.ebuild @@ -25,7 +25,7 @@ REQUIRED_USE=" " RDEPEND=" - drm? ( x11-libs/libdrm ) + drm? ( x11-libs/libdrm[video_cards_intel] ) opencl? ( virtual/opencl ) vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] ) wayland? ( @@ -36,7 +36,7 @@ RDEPEND=" x11-libs/libxcb ) x11-libs/libpciaccess - >=media-libs/libvpl-2.11.0 + >=media-libs/libvpl-2.11.0:= " DEPEND="${RDEPEND} diff --git a/media-libs/libvpl/Manifest b/media-libs/libvpl/Manifest index 213e07e97ba4..6133f2f9db48 100644 --- a/media-libs/libvpl/Manifest +++ b/media-libs/libvpl/Manifest @@ -1,5 +1,5 @@ -DIST libvpl-2.10.2.tar.gz 11872075 BLAKE2B 6d9b6ba66b1e1c191a309ff26ec54a5bb62fa542ca9eab042a437eca9a82cf9d7e3056247a8110b49e28388bdbd8e4c0793dda8dd84d229937524faa96b10f37 SHA512 e4f6e1656371a8edb54a3a67726439d97dd5e8225fa37fdfc309602dd83c51e4a2b4e72bdb18b81dc6691f666a8857b460c45392cf030a8309abd368037be49d DIST libvpl-2.11.0.tar.gz 11372299 BLAKE2B b9e95505468d8771ba9fa29c3024db2f3d2ad78d2be62c7b405c8cfd29cd5601ee10445de4ffb42c27c412760192c7505b6fb94391dddadf5118d5c785b8df74 SHA512 9b6be42fbf6c8ac48b6f04607b6c6acea7ba0ef8434b323cb1d307ac4e917144351ae9f64d2f8c5f9a5668b8623557e231b0aaf0d579cc9718c6113c37f81804 -EBUILD libvpl-2.10.2.ebuild 2380 BLAKE2B 6ec4c2f8810eff0bd37b9fd69bfd50e02fe7fda04dc91588e28c884e74306a280ddccfa29b4dc8e702ef634906a669a83eadc9a0f27ac6b024ca249317eb3d96 SHA512 d401d0529bd8eda7062f59b3222d82d88903ad3cdba06dba6926f4faa2c8d01c05f6f987640aa4320ad4050d8953e8b9bea56cdda69d44e03b5b663707075d25 +DIST libvpl-2.12.0.tar.gz 11398775 BLAKE2B e1f0a59f7261dae399eae39318b0c9c9fc671a013c4b7442af34025dce981112f6d254e39f1de432e4f4f155d00148ec9c89652e05734e1ba9cfd6e14f54d4c0 SHA512 4a9f0272684c896ca8a11c316fe05f7ea60c0cd402b0b474a90523f5aca1a16cffac84d89758c27d837ca6e7ac68b82d6aec028ee7aa237626a2194709f48782 EBUILD libvpl-2.11.0.ebuild 1261 BLAKE2B ba5b407e308945f7d6eb0919641d153181bc358571e353b17c3e14925624687ab432a610f044d941731d2ae1d3b21358f189f3697cdd8260820293f8123a4cbc SHA512 8e346e1b0757b1fe16b9897a659e90e2148e2981b3c1b53aff51712af8b16666c4860aefeadf9666e73f4faa6bad2f35a056cff7e34762a7a60733e114e4fd0a -MISC metadata.xml 628 BLAKE2B 6e1cb517bc3732e69840258317fc6c02db8ecf5c7ef9961cdd501a16cd93eece14372976f207d15bf4b89d3afc076ff5f0e073b8710bbf18b45fa108001b4520 SHA512 89108483f9020309cc4ba350c5671fe01abd13fd64d0f6accbe5f049b3b60fc312489b62dd8e9c2eac6b2310907ae61929307beadc8508e0a534003bf18d7a4a +EBUILD libvpl-2.12.0.ebuild 1261 BLAKE2B ba5b407e308945f7d6eb0919641d153181bc358571e353b17c3e14925624687ab432a610f044d941731d2ae1d3b21358f189f3697cdd8260820293f8123a4cbc SHA512 8e346e1b0757b1fe16b9897a659e90e2148e2981b3c1b53aff51712af8b16666c4860aefeadf9666e73f4faa6bad2f35a056cff7e34762a7a60733e114e4fd0a +MISC metadata.xml 419 BLAKE2B f0a67c2ef81927f664289847a3432021bc314b91e5544b046865388bd6c73defce5142e7308bc14b06b4c1fd081a12cb8991cd92e3a81849da3dad497ff73a93 SHA512 73b088bdb91a03118fee1e04ef2c403be4e50cd5460d67fdfef370e7f57dd5aab91364f0d002208fd1e2c48f9dee2bb8fe439f26410b750e231d1c01f0139589 diff --git a/media-libs/libvpl/libvpl-2.10.2.ebuild b/media-libs/libvpl/libvpl-2.10.2.ebuild deleted file mode 100644 index 43d03b86a016..000000000000 --- a/media-libs/libvpl/libvpl-2.10.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib optfeature - -DESCRIPTION="Intel Video Processing Library, dispatcher, tools, and examples" -HOMEPAGE="https://github.com/intel/libvpl/" -SRC_URI="https://github.com/intel/libvpl//archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/libvpl-${PV}" - -LICENSE="MIT" -SLOT="0/2" -KEYWORDS="~amd64" - -IUSE="dri drm examples experimental tools test vaapi wayland X" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - dri? ( X drm ) - X? ( vaapi ) - wayland? ( drm ) - tools? ( vaapi ) -" - -RDEPEND=" - x11-libs/libpciaccess[${MULTILIB_USEDEP}] - vaapi? ( media-libs/libva[X?,wayland?,drm(+)?,${MULTILIB_USEDEP}] ) - drm? ( x11-libs/libdrm[${MULTILIB_USEDEP}] ) - wayland? ( - dev-libs/wayland[${MULTILIB_USEDEP}] - ) - X? ( - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libxcb[${MULTILIB_USEDEP}] - ) -" -DEPEND="${RDEPEND} - wayland? ( - dev-libs/wayland-protocols - ) -" -BDEPEND="virtual/pkgconfig" - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DBUILD_DISPATCHER=ON - # Headers, cmake and pkgconfig files - -DBUILD_DEV=ON - -DBUILD_EXAMPLES="$(usex examples)" - -DINSTALL_EXAMPLE_CODE="$(usex examples)" - -DBUILD_PREVIEW="$(usex experimental)" - -DBUILD_DISPATCHER_ONEVPL_EXPERIMENTAL="$(usex experimental)" - # Fails to build with experimental tools off if tools on - -DBUILD_TOOLS_ONEVPL_EXPERIMENTAL="$(multilib_native_usex tools)" - -DBUILD_TESTS="$(usex test)" - # Tools fails to compile for 32 bit - -DBUILD_TOOLS="$(multilib_native_usex tools)" - -DTOOLS_ENABLE_X11="$(multilib_native_usex tools $(usex X))" - -DENABLE_WAYLAND="$(usex wayland)" - -DENABLE_X11="$(usex X)" - -DENABLE_DRI3="$(usex dri)" - -DENABLE_VA="$(usex vaapi)" - -DENABLE_DRM="$(usex drm)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" - ) - cmake_src_configure -} - -multilib_src_install() { - cmake_src_install - # Remove these license files - rm -r "${ED}/usr/share/vpl/licensing" || die -} - -pkg_postinst() { - optfeature_header "This package provides only the dispatcher, to use it install one or more implementations" - optfeature "CPUs" media-libs/oneVPL-cpu - optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu - optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk -} diff --git a/media-libs/libvpl/libvpl-2.12.0.ebuild b/media-libs/libvpl/libvpl-2.12.0.ebuild new file mode 100644 index 000000000000..915dea848836 --- /dev/null +++ b/media-libs/libvpl/libvpl-2.12.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib optfeature flag-o-matic + +DESCRIPTION="Intel Video Processing Library dispatcher" +HOMEPAGE="https://github.com/intel/libvpl/" +SRC_URI="https://github.com/intel/libvpl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + x11-libs/libpciaccess[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + filter-lto + cmake_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_TESTS="$(usex test)" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" + ) + cmake_src_configure +} + +multilib_src_install() { + cmake_src_install + # Remove these license files + rm -r "${ED}/usr/share/vpl/licensing" || die +} + +pkg_postinst() { + optfeature_header "This package provides only the dispatcher, to use it install one or more implementations" + optfeature "CPUs" media-libs/oneVPL-cpu + optfeature "Intel GPUs newer then, and including, Intel Xe" media-libs/oneVPL-intel-gpu + optfeature "Intel GPUs older then Intel Xe" media-libs/intel-mediasdk +} diff --git a/media-libs/libvpl/metadata.xml b/media-libs/libvpl/metadata.xml index 77f4c9b27db9..3414bc8c7e63 100644 --- a/media-libs/libvpl/metadata.xml +++ b/media-libs/libvpl/metadata.xml @@ -11,9 +11,4 @@ <upstream> <remote-id type="github">intel/libvpl</remote-id> </upstream> - <use> - <flag name="drm">Build with DRM support</flag> - <flag name="experimental">Build dispatcher with experimental APIs</flag> - <flag name="tools">Build decode/encode/analyse/inspect tools</flag> - </use> </pkgmetadata> diff --git a/media-libs/oneVPL-cpu/Manifest b/media-libs/oneVPL-cpu/Manifest index c7f0c33f7b05..a9c7d84bf105 100644 --- a/media-libs/oneVPL-cpu/Manifest +++ b/media-libs/oneVPL-cpu/Manifest @@ -1,5 +1,5 @@ AUX oneVPL-cpu-2022.2.5-respect-user-flags.patch 416 BLAKE2B c0ba2a7d75ab2d4ce93a472df09529536a141ff30563f0c6cc618a02d2766a1a88b5c3ab21fc6d02a4da6007e1b0c45df8b3c7bd206d2494200b8a835654315f SHA512 e5e7d762db4b45e84832cbee5f8e3e37e986bb0f73c07e792373c254e172fed0eb320ec58c3873aec071a51617682b0f4e2c299f701112094fec56ee74356986 AUX oneVPL-cpu-2022.2.5-use-system-libs.patch 1884 BLAKE2B c13fecb58e2692ae53c531fe3ca4199a381f170712777d2df9f5ddd334481238f48666636dced8d39213187d9e162915b62c641d9015afe1a8326fcdcb724c88 SHA512 bffcfcc4b17145d1b1f0b608b1451d8438a77254c389ed4542c0b457b6064ad85b646605ac9cd2c176d9480aa1136412a728b172e8d2c642f8aae77ff9d18703 DIST oneVPL-cpu-2023.2.0.tar.gz 10140311 BLAKE2B eacd9bdc30939c7701453b6cff051de0fddf810792cd6f2db027342f7756fa289ddb2571fab920c87fa51b09241cbf65fd13cbcd3840080ba15917a90dd0e992 SHA512 1b2755e384c3cfb88e2046d02f4414a51485cbc6fa4ce9c9aa9b48c0eb21a96e49d21640bc259dc8b9dafa76afa4d1619c6660e0d1757fcd2625a27e46553328 -EBUILD oneVPL-cpu-2023.2.0.ebuild 1358 BLAKE2B 8ac82e77096193fde5bc62aea42dc84ca3d63e3ee6ce1ec219d058b2e4c7e05d627b18ae7eb804554ddd015cb9711507b224b47029e18978be9b5f5893758193 SHA512 066d309f850c34c142164114da305331d8f1036f5ec42a7b2161799207b83497603a9136488e067a2b90b893692d3665788c476d96291b400d339c1a1851f428 -MISC metadata.xml 606 BLAKE2B 470321a75d274c50d7480359081d67f9a4614549af06d0172f8211815d1d70edf73fd17ab576802294c375b7ddfff1849b63647894c7dca971e3b429236501cb SHA512 3e43d49860ee353cd16b6070ff358d3bef7ab404c55bd57f22e49e6aebf3b245930554884ecc490690512c92914fe04d40b35dbb6b339f46b5314d9e3545a92f +EBUILD oneVPL-cpu-2023.2.0-r1.ebuild 1279 BLAKE2B 03f0fe2675ee09233ac9ceee5531fe863d135ef3d7fb94c7672e0d74a4fdffccb6212d6395627e9ab825d725249d7c1f97201ee9e7cc67680f283199972f75d4 SHA512 ac1d66b13b87865e3b22ed01f0cdf831b6eaae341fdabd505cd4b31ff8709dd8e696a20e3bc87a435ae63c1227621f35470ee945f355541c1a11064b312cc6ff +MISC metadata.xml 547 BLAKE2B 73fd4829c16a550eb94be6b2e6489982d27edaff3928d14b0334813162cb2c4a2dff6fed2157dea953f9c1e281be7a3e93ecf5be88396062ba9da412aa0a962a SHA512 095088cc5b289c89d9f6ccbb98464f62f892812d5b381c85173e6361b12104d26d008b902107be45aca7ccffeea9b4b5c1777c0c2b7ef819112d941a66c0f99f diff --git a/media-libs/oneVPL-cpu/metadata.xml b/media-libs/oneVPL-cpu/metadata.xml index d738daf38bf1..567e19798957 100644 --- a/media-libs/oneVPL-cpu/metadata.xml +++ b/media-libs/oneVPL-cpu/metadata.xml @@ -12,7 +12,6 @@ <remote-id type="github">oneapi-src/oneVPL-cpu</remote-id> </upstream> <use> - <flag name="experimental">Enable experimental API</flag> <flag name="openh264">Use <pkg>media-libs/openh264</pkg> instead of <pkg>media-libs/x264</pkg></flag> </use> </pkgmetadata> diff --git a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0-r1.ebuild index 4af580c27324..49321fe3ecae 100644 --- a/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0.ebuild +++ b/media-libs/oneVPL-cpu/oneVPL-cpu-2023.2.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="MIT x264? ( GPL-2 )" SLOT="0" KEYWORDS="~amd64" -IUSE="experimental openh264 test +x264" +IUSE="openh264 test +x264" REQUIRED_USE="^^ ( openh264 x264 )" # RESTRICT="!test? ( test )" # Tests fail @@ -22,7 +22,7 @@ RESTRICT="test" BDEPEND="virtual/pkgconfig" DEPEND=" media-libs/dav1d - media-libs/libvpl[experimental(-)?] + media-libs/libvpl media-libs/svt-av1 media-libs/svt-hevc media-video/ffmpeg @@ -40,7 +40,6 @@ src_configure() { # Use system libraries export VPL_BUILD_DEPENDENCIES="${ESYSROOT}/usr" local mycmakeargs=( - -DUSE_EXPERIMENTAL_API="$(usex experimental)" -DBUILD_OPENH264="$(usex openh264)" -DBUILD_TESTS="$(usex test)" -DBUILD_GPL_X264="$(usex x264)" diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest index 310ac21686db..3ba6b79c01d6 100644 --- a/media-libs/raptor/Manifest +++ b/media-libs/raptor/Manifest @@ -7,6 +7,10 @@ AUX raptor-2.0.15-libxml2-2.11.patch 1114 BLAKE2B 0e3462817a77917eb82066f7d9efb1 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 MISC metadata.xml 406 BLAKE2B 00da42e759d35fc777ebbce9df89b600758104eb240cbecff33df51779ac9f565a3f7ee35a89a7fb91fd234c1a19b89ff96416189a5015e5563cbd4f420f616a SHA512 1855a61f21b684e5abbf35c3276dc8185eb805574c65e84593eed08d1598d213ca99c17bfe86be3db3172dc103b1dd2b8524e22aeeaf912afa097d022ad0c5d2 diff --git a/media-libs/raptor/files/raptor-2.0.16-dont_use_curl-config.patch b/media-libs/raptor/files/raptor-2.0.16-dont_use_curl-config.patch new file mode 100644 index 000000000000..a53edc81a5c1 --- /dev/null +++ b/media-libs/raptor/files/raptor-2.0.16-dont_use_curl-config.patch @@ -0,0 +1,70 @@ +https://bugs.gentoo.org/552474 + +diff --git a/configure.ac b/configure.ac +index da048901..6028f4a2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -596,49 +596,12 @@ else + PKG_CHECK_MODULES([XSLT], [libxslt > $libxslt_min_version], [have_libxslt=1], [have_libxslt=0]) + 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) +@@ -1033,7 +996,7 @@ need_libcurl=0 + need_libxml_www=0 + need_libfetch=0 + +-if test "X$CURL_CONFIG" != X; then ++if test "$libcurl_source" != "no"; then + CPPFLAGS="$CPPFLAGS $LIBCURL_CFLAGS" + LIBS="$LIBS $LIBCURL_LIBS" + AC_CHECK_HEADER(curl/curl.h) diff --git a/media-libs/raptor/files/raptor-2.0.16-libxml2-2.11-compatibility.patch b/media-libs/raptor/files/raptor-2.0.16-libxml2-2.11-compatibility.patch new file mode 100644 index 000000000000..17babfe521d2 --- /dev/null +++ b/media-libs/raptor/files/raptor-2.0.16-libxml2-2.11-compatibility.patch @@ -0,0 +1,27 @@ +https://github.com/dajobe/raptor/commit/4dbc4c1da2a033c497d84a1291c46f416a9cac51 + +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/raptor-2.0.16.ebuild b/media-libs/raptor/raptor-2.0.16.ebuild new file mode 100644 index 000000000000..49417e1008e1 --- /dev/null +++ b/media-libs/raptor/raptor-2.0.16.ebuild @@ -0,0 +1,77 @@ +# 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" +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" +IUSE="debug json static-libs" + +DEPEND=" + dev-libs/libxml2[${MULTILIB_USEDEP}] + dev-libs/libxslt[${MULTILIB_USEDEP}] + dev-libs/icu:=[${MULTILIB_USEDEP}] + net-misc/curl[${MULTILIB_USEDEP}] + sys-libs/zlib[${MULTILIB_USEDEP}] + json? ( dev-libs/yajl[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND} + !media-libs/raptor:0 +" +BDEPEND=" + >=sys-devel/bison-3 + app-alternatives/lex + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog NEWS NOTICE README ) +HTML_DOCS=( {NEWS,README,RELEASE,UPGRADING}.html ) + +PATCHES=( + "${FILESDIR}/raptor-2.0.16-dont_use_curl-config.patch" #552474 + "${FILESDIR}/raptor-2.0.16-libxml2-2.11-compatibility.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 + --with-www=curl + $(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 +} |