diff options
Diffstat (limited to 'media-libs')
21 files changed, 0 insertions, 1652 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex b35fb29335d1..1d9a13bea169 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/gmmlib/Manifest b/media-libs/gmmlib/Manifest index a5ef049fb8f5..917e8f46fd3d 100644 --- a/media-libs/gmmlib/Manifest +++ b/media-libs/gmmlib/Manifest @@ -1,13 +1,9 @@ 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 DIST intel-gmmlib-22.4.1.tar.gz 867162 BLAKE2B cc3dea9441f1b21b95595d5674046afec5ae673c6244b94572ba11d3451ddb9dae8adce9fe4310a5a0de3c723a3b7aef1031b9ca53f54b63fbefe43fadb7c2d1 SHA512 b44bd2f18ed97446c2e4f5ca7119cfde63f249fe8b5f23f0a531a2ec724aa51fe70014320d8f6dee85246df8ce220d5938654483d276eda60027162e304a3b64 -EBUILD gmmlib-22.3.18.ebuild 954 BLAKE2B e65b06b054ff521cc3ee3d2b95a6777a706fe03fa30cd7a369539d5ebc0b5aead789a8997d640f7a273f2ff9235b216cf1950c3d6f93f9349ac76348ed3de189 SHA512 c7bcd9d9ddd19d174d277a620a38b206d8e1796ad1dcde3ba61b34eaa92eb4d0ece070077e5cd744a38ed80317ea6715ce5d4a5a7cc8057672980d69060585cb 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-9999.ebuild 955 BLAKE2B eba2f14d093a7b8b63a1cee0dff0fab805b9681bca014bd11cb2ff7682aec1b3adeaf41cac8b33a1d8a48c4c4420bfcc296a91429c3d55ab3e51581ee126adaa SHA512 f6f89934cf6bb49c453de13a599224d6415f494522f0ebc876cdecda9a061b9d41788ce3ae55d1c168c1f73d6d362403cb15b81067866e1554a4f57ff73c9494 MISC metadata.xml 478 BLAKE2B 22fa7744f1f6ae793034225645314ed7f0a5499cc33b570a00aa2c076cb3fdc9c2663654df4998a30fc76f7d833ed4f2022fd8b2869539e25c47f64e6b0f438a SHA512 0c46a6af2f254ee9c314f08654739003f58283e3ec00a8a3e628225e14065d359d0816a05aba1754379dea826d1bf2d501fb35ba58c5020f036917771ea035d9 diff --git a/media-libs/gmmlib/gmmlib-22.3.18.ebuild b/media-libs/gmmlib/gmmlib-22.3.18.ebuild deleted file mode 100644 index 0a7ae2c25cdb..000000000000 --- a/media-libs/gmmlib/gmmlib-22.3.18.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -if [[ ${PV} == *9999 ]] ; then - : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"} - if [[ ${PV%9999} != "" ]] ; then - : ${EGIT_BRANCH:="release/${PV%.9999}"} - fi - inherit git-r3 -else - KEYWORDS="amd64" - SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz" - S="${WORKDIR}/${PN}-intel-${P}" -fi - -DESCRIPTION="Intel Graphics Memory Management Library" -HOMEPAGE="https://github.com/intel/gmmlib" - -LICENSE="MIT" -SLOT="0/12.3" -IUSE="+custom-cflags test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch - "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch - "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch -) - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_TESTING="$(usex test)" - -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)" - ) - - cmake_src_configure -} diff --git a/media-libs/gmmlib/gmmlib-22.3.20.ebuild b/media-libs/gmmlib/gmmlib-22.3.20.ebuild deleted file mode 100644 index 2a09f24b8f3d..000000000000 --- a/media-libs/gmmlib/gmmlib-22.3.20.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -if [[ ${PV} == *9999 ]] ; then - : ${EGIT_REPO_URI:="https://github.com/intel/gmmlib"} - if [[ ${PV%9999} != "" ]] ; then - : ${EGIT_BRANCH:="release/${PV%.9999}"} - fi - inherit git-r3 -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/intel/gmmlib/archive/intel-${P}.tar.gz" - S="${WORKDIR}/${PN}-intel-${P}" -fi - -DESCRIPTION="Intel Graphics Memory Management Library" -HOMEPAGE="https://github.com/intel/gmmlib" - -LICENSE="MIT" -SLOT="0/12.3" -IUSE="+custom-cflags test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${PN}-20.2.2_conditional_testing.patch - "${FILESDIR}"/${PN}-20.3.2_cmake_project.patch - "${FILESDIR}"/${PN}-22.1.1_custom_cflags.patch -) - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_TESTING="$(usex test)" - -DOVERRIDE_COMPILER_FLAGS="$(usex !custom-cflags)" - ) - - cmake_src_configure -} diff --git a/media-libs/libva-intel-media-driver/Manifest b/media-libs/libva-intel-media-driver/Manifest index 3a2da938c9a8..5d08066b617d 100644 --- a/media-libs/libva-intel-media-driver/Manifest +++ b/media-libs/libva-intel-media-driver/Manifest @@ -1,16 +1,8 @@ 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 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-24.2.5.ebuild 1513 BLAKE2B 31e234c8cd9375efa68f37e6d99eaed8106f2721f9d491920d3880037be2c6d265fe9eec5cb0605c0cd3d777f86c2b09275c1ff5fbbec40816730176149eb2bf SHA512 4241c9294924e22913eb4368d6b7385ed416136fafb3d598b1e78ab4d27fe06d693412ad0a5a0f0e9478be62047546724cb23ab21def6b34fcd36fa9a1d68d34 EBUILD libva-intel-media-driver-9999.ebuild 1513 BLAKE2B 497d026ff6824bd2dbe00e6fec56220b892daaace1c593fabac83220457e1f75b799d19d1388263fcb6c5b30701e9e7aea54b714e0201f6c240f763925dcfa80 SHA512 1b51d2a2e120dd71beb547a8ca2ecae4877be7ce0401157ec1acad222641e4f095a3f961e30fdfcd44d6c68cee4e1de5a42218740914cc0ff3dd0f2312402afe 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.2.ebuild deleted file mode 100644 index 91b4623797d9..000000000000 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.2.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.3.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.ebuild deleted file mode 100644 index 91b4623797d9..000000000000 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.3.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.4.ebuild b/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.4.ebuild deleted file mode 100644 index 91b4623797d9..000000000000 --- a/media-libs/libva-intel-media-driver/libva-intel-media-driver-24.2.4.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/Manifest b/media-libs/libva/Manifest index 31a1a396d9d4..a4fb518df735 100644 --- a/media-libs/libva/Manifest +++ b/media-libs/libva/Manifest @@ -1,8 +1,5 @@ -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 EBUILD libva-2.21.0.ebuild 1645 BLAKE2B 51e1e15f5aa4e42650b6967d404f04cabfd9a56bb55aee81ef998e23be2a42580c4bb1a7546b0f0ceb1b923ad2b0656a31390a1c8df8cb595263235d4cec394b SHA512 65810a2e5cdf56d0ba0556e87ecf586016eab7692d58e996a1a9cec59abc8a8e8e710acf8027d05a770c74bbdbeca305c43aab5b9d25df9825ec0e4c38a2068f EBUILD libva-9999.ebuild 1544 BLAKE2B 3b5b3112bafca3f8e6efdf15f214135cb7e8d4ebc0a64040bcd6ab39a4f40fbd4df03af84101f25280780768512706a25568361187c9c3684332211b36b54a8f SHA512 cbb0614ff00b592a4ca71561acab24d5c1053bab5ed7a8c75353a0b1e3182c589035019536254dd44bc2377b841bd77fb2fcd45d2e9dbe4e7951e8cc5c4740f7 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.20.0.ebuild deleted file mode 100644 index 6b90d7162477..000000000000 --- a/media-libs/libva/libva-2.20.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson-multilib optfeature - -DESCRIPTION="Video Acceleration (VA) API for Linux" -HOMEPAGE="https://01.org/linuxmedia/vaapi" - -if [[ ${PV} = *9999 ]] ; then - inherit git-r3 - EGIT_BRANCH=master - 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" -fi - -LICENSE="MIT" -SLOT="0/$(ver_cut 1)" -IUSE="wayland X" - -RDEPEND=" - >=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}] - wayland? ( - >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] - ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] - x11-libs/libxcb:=[${MULTILIB_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - X? ( x11-base/xorg-proto ) -" -BDEPEND=" - wayland? ( dev-util/wayland-scanner ) - virtual/pkgconfig -" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/va/va_x11.h - /usr/include/va/va_dri2.h - /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" - -Ddisable_drm=false - -Dwith_x11=$(usex X) - -Dwith_glx=no - -Dwith_wayland=$(usex wayland) - -Denable_docs=false - ) - meson_src_configure -} - -pkg_postinst() { - optfeature_header - optfeature "Older Intel GPU support up to Gen8" media-libs/libva-intel-driver - optfeature "Newer Intel GPU support from Gen9+" media-libs/libva-intel-media-driver -} diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index 2a7b63782d1d..ce6839dccd24 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -1,7 +1,5 @@ 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 mesa-24.1.3.tar.xz 29086488 BLAKE2B 2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb SHA512 db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a 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 @@ -9,8 +7,6 @@ DIST quote-1.0.33.tar.gz 32169 BLAKE2B 2438915aebe30b79929ddc6ed8bad5282537b081c 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 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-24.1.3.ebuild 14310 BLAKE2B 21c697eb3bcd4dddeec9877fcee16f819ca89f9eacbfbe6c7ca4868da32925a103f3051a87219d8e93440c669a435be388ed4206aead86e46119117fcd2e155f SHA512 1f12d36112aa3ddbf8e26e00899f662f40301c7bf60e86cec53f74e1f0c199c6d33f1f095691d0d20ef9de52411a84dcd90f7f8e45056950eea5f8730306f0c2 EBUILD mesa-9999.ebuild 14310 BLAKE2B 21c697eb3bcd4dddeec9877fcee16f819ca89f9eacbfbe6c7ca4868da32925a103f3051a87219d8e93440c669a435be388ed4206aead86e46119117fcd2e155f SHA512 1f12d36112aa3ddbf8e26e00899f662f40301c7bf60e86cec53f74e1f0c199c6d33f1f095691d0d20ef9de52411a84dcd90f7f8e45056950eea5f8730306f0c2 MISC metadata.xml 1435 BLAKE2B 53690878512b86ce0b8dce38b083684c85ad5c1a655d5a69cb3265e156869845263eb16f271691b66c9f0cd76e97b56908acf7a1792d6abac0ec99447826cbb5 SHA512 842106e5d6eb60ff33c8cae7f0d52983c4f7e104152718b50fc790cbcb2506551a6fc7841fe8e3c7963850c238f77505b0e49b10a3a936baf459e1acaf73e07f diff --git a/media-libs/mesa/mesa-24.1.1.ebuild b/media-libs/mesa/mesa-24.1.1.ebuild deleted file mode 100644 index c184d9ab1e76..000000000000 --- a/media-libs/mesa/mesa-24.1.1.ebuild +++ /dev/null @@ -1,493 +0,0 @@ -# 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 -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 -" - -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 -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() { - [[ ${PV} == 9999 ]] && git-r3_src_unpack - unpack ${A} -} - -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 - - 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() { - 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.2.ebuild b/media-libs/mesa/mesa-24.1.2.ebuild deleted file mode 100644 index c184d9ab1e76..000000000000 --- a/media-libs/mesa/mesa-24.1.2.ebuild +++ /dev/null @@ -1,493 +0,0 @@ -# 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 -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 -" - -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 -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() { - [[ ${PV} == 9999 ]] && git-r3_src_unpack - unpack ${A} -} - -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 - - 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() { - 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/shaderc/Manifest b/media-libs/shaderc/Manifest index 828464087322..ac10055f8783 100644 --- a/media-libs/shaderc/Manifest +++ b/media-libs/shaderc/Manifest @@ -1,6 +1,4 @@ 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.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.0.ebuild deleted file mode 100644 index 0f5669938bd3..000000000000 --- a/media-libs/shaderc/shaderc-2024.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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 python-any-r1 - -DESCRIPTION="Collection of tools, libraries and tests for shader compilation" -HOMEPAGE="https://github.com/google/shaderc" -EGIT_COMMIT="${PV}" -SRC_URI="https://github.com/google/${PN}/archive/v${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -LICENSE="Apache-2.0" -SLOT="0" -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}] -" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - ~dev-util/spirv-headers-1.3.280.0" - -BDEPEND="doc? ( dev-ruby/asciidoctor )" - -PATCHES=( - "${FILESDIR}"/${PN}-2020.4-fix-build.patch -) - -# https://github.com/google/shaderc/issues/470 -RESTRICT=test - -src_prepare() { - cmake_comment_add_subdirectory examples - - # Unbundle glslang, spirv-headers, spirv-tools - cmake_comment_add_subdirectory third_party - sed -i \ - -e "s|\$<TARGET_FILE:spirv-dis>|${EPREFIX}/usr/bin/spirv-dis|" \ - glslc/test/CMakeLists.txt || die - - # Disable git versioning - sed -i -e '/build-version/d' glslc/CMakeLists.txt || die - - # Manually create build-version.inc as we disabled git versioning - cat <<- EOF > glslc/src/build-version.inc || die - "${P}\n" - "$(best_version dev-util/spirv-tools)\n" - "$(best_version dev-util/glslang)\n" - EOF - - cmake_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DSHADERC_SKIP_TESTS="true" - -DSHADERC_ENABLE_WERROR_COMPILE="false" - ) - cmake_src_configure -} - -multilib_src_compile() { - if multilib_is_native_abi && use doc; then - cmake_src_compile glslc_doc_README - fi - cmake_src_compile -} - -multilib_src_install() { - if multilib_is_native_abi; then - use doc && local HTML_DOCS=( "${BUILD_DIR}/glslc/README.html" ) - fi - cmake_src_install -} diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index d1049c4f54a0..9cfdce8b71d4 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1,6 +1,4 @@ -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 EBUILD vulkan-layers-1.3.283.0.ebuild 1638 BLAKE2B db7c8e50e9c433eb82d35b68cc0babdf1bed7ed2da5afa825e1fb4c893bd5b2d5056b3102fd600a07f5bf88fba108ec4ff0aa337439d0317adfa5b20ba1c05e5 SHA512 3267e6d4723ef07403e9013ebeb23ee449959f3be0e6654fa8444d58e75b945f4bec29165fa936537b97154140fab8f5cd8e9d91b61a566f9efb7e9ae1c4b4b7 EBUILD vulkan-layers-9999.ebuild 1644 BLAKE2B a3052e0b2c2822c79c9a8459e947840e3ae5d203c2a9ff903e737b1ce446610a078475ab5a67b6c21fea8b5c4e861ae6f80139f6ed2bce2d6e7d57e858b36b74 SHA512 943561dfc9ece07319fa56ca3b44745aa9e1102487a68207dbadb6a0a9b13ec485298fd9f16bbae454e6660da97ed3769772d9cd321e3ab0ec1ca468e37d23b0 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.280.0.ebuild deleted file mode 100644 index ca10d7658eb2..000000000000 --- a/media-libs/vulkan-layers/vulkan-layers-1.3.280.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=Vulkan-ValidationLayers -PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake-multilib python-any-r1 - -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" - EGIT_SUBMODULES=() - 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" - S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} -fi - -DESCRIPTION="Vulkan Validation Layers" -HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="wayland X" - -RDEPEND="~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - >=dev-cpp/robin-hood-hashing-3.11.5 - ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] - ~dev-util/spirv-headers-${PV} - ~dev-util/vulkan-headers-${PV} - ~dev-util/vulkan-utility-libraries-${PV}:=[${MULTILIB_USEDEP}] - wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) - X? ( - x11-libs/libX11:=[${MULTILIB_USEDEP}] - x11-libs/libXrandr:=[${MULTILIB_USEDEP}] - ) -" - -QA_SONAME="/usr/lib[^/]*/libVkLayer_khronos_validation.so" - -multilib_src_configure() { - local mycmakeargs=( - -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" - -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" - -DCMAKE_SKIP_RPATH=ON - -DBUILD_WERROR=OFF - -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) - -DBUILD_WSI_XCB_SUPPORT=$(usex X) - -DBUILD_WSI_XLIB_SUPPORT=$(usex X) - -DBUILD_TESTS=OFF - ) - cmake_src_configure -} - -multilib_src_install_all() { - find "${ED}" -type f -name \*.a -delete || die -} diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest index c3e3d81dcaec..d46a61c76ec5 100644 --- a/media-libs/vulkan-loader/Manifest +++ b/media-libs/vulkan-loader/Manifest @@ -1,6 +1,4 @@ -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 EBUILD vulkan-loader-1.3.283.0.ebuild 1546 BLAKE2B 7d3b40829acc8939a7d592fe6db0d9cda8419aa342879c4ee99de6c8c65518e1b95bc58776f259dec45403c418c7d2662b58865832a9b683bfe686d8b427f911 SHA512 5a49910f2e06cc373dc101fbfbff0415a8c65d20ec46f21e4fdd19735b08138cedc7aba7594e88cca591b512d1ecab23a64acea2b4e37c6efc94da98944bbc69 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.280.0.ebuild deleted file mode 100644 index 0f0644b9342d..000000000000 --- a/media-libs/vulkan-loader/vulkan-loader-1.3.280.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN=Vulkan-Loader -inherit flag-o-matic cmake-multilib toolchain-funcs - -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" - EGIT_SUBMODULES=() - 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" - S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} -fi - -DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" -HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="layers wayland X" - -DEPEND=" - ~dev-util/vulkan-headers-${PV} - wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) - X? ( - x11-libs/libX11:=[${MULTILIB_USEDEP}] - x11-libs/libXrandr:=[${MULTILIB_USEDEP}] - ) -" -PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" - -multilib_src_configure() { - # Integrated clang assembler doesn't work with x86 - Bug #698164 - if tc-is-clang && [[ ${ABI} == x86 ]]; then - append-cflags -fno-integrated-as - fi - - local mycmakeargs=( - -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" - -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" - -DCMAKE_SKIP_RPATH=ON - -DBUILD_TESTS=OFF - -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) - -DBUILD_WSI_XCB_SUPPORT=$(usex X) - -DBUILD_WSI_XLIB_SUPPORT=$(usex X) - -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr" - ) - cmake_src_configure -} - -multilib_src_install() { - keepdir /etc/vulkan/icd.d - - cmake_src_install -} |