diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /media-libs/mesa | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'media-libs/mesa')
-rw-r--r-- | media-libs/mesa/Manifest | 18 | ||||
-rw-r--r-- | media-libs/mesa/mesa-20.3.5.ebuild | 4 | ||||
-rw-r--r-- | media-libs/mesa/mesa-21.0.1.ebuild | 2 | ||||
-rw-r--r-- | media-libs/mesa/mesa-21.0.2.ebuild (renamed from media-libs/mesa/mesa-21.0.0.ebuild) | 2 | ||||
-rw-r--r-- | media-libs/mesa/mesa-21.0.3.ebuild (renamed from media-libs/mesa/mesa-20.3.4.ebuild) | 22 | ||||
-rw-r--r-- | media-libs/mesa/mesa-21.1.0_rc2.ebuild (renamed from media-libs/mesa/mesa-20.2.6.ebuild) | 42 | ||||
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 7 |
7 files changed, 52 insertions, 45 deletions
diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index e3ebcaa277c6..bd875a69dfd7 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -1,12 +1,12 @@ -DIST mesa-20.2.6.tar.xz 13886924 BLAKE2B 2bc5d680979b58a77105a8058da5dfea81afe05166a44d08cf243e5760b8c66e418fd78046a2c88243f56aa85a610d052f3aaf259938668cd0f4a184e9edca46 SHA512 347b275d88c0d14cacef570ed736cac07f2e607bc4c89a16b915ec01ac57dbbe698ddf9a0ad70f034e00318403351e3c728e74c72c653acf1fc99720887fa888 -DIST mesa-20.3.4.tar.xz 14253372 BLAKE2B 210908f5b802b9fd0170a6f06310f39bab4aa0ca1c84914d702863f9df4d47f1720f0d3779ae804d2eef322a09f4b6cc40855efd7dc365cd84dd8f222b217998 SHA512 81c4d032213b4aef842f1594e0e89bc0045f7ca7ce5f267b62a0f8236eb12ab09c1f780d8b3776b3072f37cd0bd8829f8a1330a749ccf462471b262ef8097477 DIST mesa-20.3.5.tar.xz 14367412 BLAKE2B 7bad876ce702158e727a752eda6722e7165b497fd3a485dae4e989f22b13288a93f51bcd5e6a69b979f0bbe41599fa237c08f3bbb81cb9c6dc4c06827f8ad5f4 SHA512 481e710ed80d8f215a8d541cfe51b960862c2403c2b9e7e6932c8236b8decb5d478871d6c73559d6d795ada143803764f3a93b2329588c80f62e2e5ec98c78a9 -DIST mesa-21.0.0.tar.xz 14617108 BLAKE2B bc49b9084c2d16354235fa8ff30bc274a40dda350dc8ca5fa8d471665cd3f2a280efdf05a6ea84310beebcdb71926a64f2fd0c63391bf846c49180e13a25c151 SHA512 32f4a74fbc1456dac478fdc3a85e37cedb9ac1e1b7c5434706dc24930a70bc9e857ba6b5bf1e7e05798e259f8ff0b05bad5252c07253cb5d6a9707c7c2e147ad DIST mesa-21.0.1.tar.xz 14648932 BLAKE2B 70e1277336320d7b4351c72f42a72cbcb91dcbc46cc1bf30996b8895bbc30552265404508130c828b67a7d045c9f6eece5ac3d07c2443cea581774c585ba0b69 SHA512 b31b78778b6092dfaf0712f90de3074217574389c4236f8379c127739874f6bd1b47883140a26445d25e58df87e6207278efd048453096ee710d334b1dcfe419 -EBUILD mesa-20.2.6.ebuild 14762 BLAKE2B 10df82dc80592a5735ed4137a3db8e57acd8cb53a32649fd8b7854a845fd90cb6804e3e43bd52a1d7ce60a7446577a4e45c4ad4fbf16d08518007a2bb51e3ed7 SHA512 ab2f3fb312e255a93928795b94bf641060cad1bae388c8526cdd38eab0699f7be8f6779901d04aec1e14ac7482126b4bddd88337d6b618d056e39bb667072f38 -EBUILD mesa-20.3.4.ebuild 15043 BLAKE2B 97371390b8d1c5c0df8b6d875cfa603baf673caadca70e71d56547d48a465cea307a04b5191d80a0367f4ee29877358ded96a3b205ef868bfb91c574971b6eba SHA512 da014599e3b5f1987347d3f43b7100d61842650715e1f05477e128cd5c877451202249786f532ef32050c469ef748e2d0189b236999b16bb23bfc0c619fc460d -EBUILD mesa-20.3.5.ebuild 15050 BLAKE2B b79e2917c6201348aa7252ac7c06376a5af06191c92f6f2a832a24cefd674a13d232b5439657476926334a889903820341cac5d939c541772d326dcd988da4fe SHA512 79e6c14c9e38d03122375560f8ee88b6769bd7863264061b933342289afeb0f7e331fd4c9f501a161aeb25044b7f057845b3496f56c9db20276f0abb310d34dd -EBUILD mesa-21.0.0.ebuild 14961 BLAKE2B 41fbbed6df2796ac7e0bf64e185432fea72b3673001be8071dfa2139ad7a7f48db61473f4a54b358b2ce25b7648641c14ea7b2efb4914eb60bf89912854275ff SHA512 43acf75931e45a66f1b0938c72d723c96c1c8ea66eb4a6bdb8e474fd164389519f67dfb26a333b0910f075ce13f1c0b820961ec1d33572fd0ed099647d01b3e6 -EBUILD mesa-21.0.1.ebuild 14961 BLAKE2B 41fbbed6df2796ac7e0bf64e185432fea72b3673001be8071dfa2139ad7a7f48db61473f4a54b358b2ce25b7648641c14ea7b2efb4914eb60bf89912854275ff SHA512 43acf75931e45a66f1b0938c72d723c96c1c8ea66eb4a6bdb8e474fd164389519f67dfb26a333b0910f075ce13f1c0b820961ec1d33572fd0ed099647d01b3e6 -EBUILD mesa-9999.ebuild 14922 BLAKE2B d0d49536e4e4e021fce6029717f496e0358c151f5406105337a651385bd7b337116d14b14442510b7d28ca621fa0c39177273f5df214d06a9627a993aaa3aefa SHA512 be9d773f963ebbd7aedab8fee3d368f8efd046d06698130c74b68cad3ce3e25f69e39659cd81e6490c3bbc8955859bca046d62f824f6c3d8f1b8d8fdfa6f96d0 +DIST mesa-21.0.2.tar.xz 14671512 BLAKE2B 5733e65e7e8ffe3e6bed17f499c4d40d2dfbd3dafef967f6b1dbbd14089734640aed02d39568a32d362cc27b4125f425874c25625fd58731500910427dc6c594 SHA512 c3d7969b56e1c31ee642e3b7143d565c4233173dab7cc5576b686c873c27134dc8292a9f2caa0a0dd3c54d0c89d27d6030f36a2c84f85dcedee7ae80b19e5c3b +DIST mesa-21.0.3.tar.xz 14710004 BLAKE2B f2165da4487824931d8ff90e4f13624546a297b0d3577d69b7cfd6078a965282b4a732cb720cbb08ea83a3a987603cfe67876fb18022fa444b011fcc9b7df352 SHA512 4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f +DIST mesa-21.1.0-rc2.tar.xz 15053612 BLAKE2B 25d83aebf4498e1e0ad096999a97b8b8e336b066c19507ee104191d64c495208711e2bb91a62d8dfc4d7b1654dc623a94ad54c9d1951b37182dd8291fff82cd9 SHA512 1f8cbbbc597519a025e9adf34e65b176781ebdab3d3b7ed20312bef79d727da4c778ac7daf94cef8d652c0e05f77fe534cf347d4bebeb00c682d0d807a148f5d +EBUILD mesa-20.3.5.ebuild 15063 BLAKE2B cbf593097a3b3a98f9e658f4e5e1d2bb29e7d7f977dffbb130dfd84afbfea76e10b997ec119a65450e687c101da1de199fff987f6aacfb995f4cf7551868050a SHA512 5399d4cffa57c5b1c6b089a6a0187c1aea2ee6334e8b560a8e1a7724c636538351d8d649f84fdd0d929b6c4f47c5b58cb5ebbb413a72577ca1d46db141242e47 +EBUILD mesa-21.0.1.ebuild 14981 BLAKE2B 1bcef01ce9f3df45e43f86c012249f9974e7d01b06bc5c9ba329b27efa576f699656d5b4a05025a99f991156291e5203ebfd6aa4afde4c28b2800d731589313d SHA512 7fa89a752fa2ef3b65dfed8965b76ac3a3cfe9edc9862fac408439fbeb464415084c0f253aeae524b1c92b9447e86d53fe28eaff50201090ae452329e7a39020 +EBUILD mesa-21.0.2.ebuild 14981 BLAKE2B 1bcef01ce9f3df45e43f86c012249f9974e7d01b06bc5c9ba329b27efa576f699656d5b4a05025a99f991156291e5203ebfd6aa4afde4c28b2800d731589313d SHA512 7fa89a752fa2ef3b65dfed8965b76ac3a3cfe9edc9862fac408439fbeb464415084c0f253aeae524b1c92b9447e86d53fe28eaff50201090ae452329e7a39020 +EBUILD mesa-21.0.3.ebuild 14981 BLAKE2B 1bcef01ce9f3df45e43f86c012249f9974e7d01b06bc5c9ba329b27efa576f699656d5b4a05025a99f991156291e5203ebfd6aa4afde4c28b2800d731589313d SHA512 7fa89a752fa2ef3b65dfed8965b76ac3a3cfe9edc9862fac408439fbeb464415084c0f253aeae524b1c92b9447e86d53fe28eaff50201090ae452329e7a39020 +EBUILD mesa-21.1.0_rc2.ebuild 14981 BLAKE2B fc836a8e9dde7326f5e2a5793c1602ad30b02373df690efca5e37a1d1b21c79786e4699c14cfef5df21bdea6c56c05f2f62b043428e3a33e43b79b332f3b90c0 SHA512 320e890922b63d9b41acf2f248448a77eeed0e3f977065089d9b9e4f11ad5a2bf16a47c51fc254bf8f5fa4fee9be1bb3325888d94b4f497d80e182b11fbd87a9 +EBUILD mesa-9999.ebuild 14981 BLAKE2B df68d9a7fa62672d81582f8a43c3ff125abdd134b83683bc5bd24c2b9c457b3fc1b925102c33777d7ba121e2be6d507febec0d7ac1a32f17b738bd1785623540 SHA512 d0385e88dd4c47e499a353beeb891fb3dad9c8008642ca325402af53bb5da42243e771fcfb8088dead4c08d6ba590cef67fa6d4b86a80e383c4fbd9a25877c40 MISC metadata.xml 1895 BLAKE2B abf62dda9b9eba657e310c68fdd86aaa49c550dc34ef624e8feb038e0412f0da786e1120dc16631399cb2c83961b88e78571347c3e6d464c2cf3a343bc0f1483 SHA512 7758641386100e07c1112afe04a8613de8ae1e35a8e940f0eefcfc7daa829789c42b903320339b04b44c2400f0857c180740407abd171e9773a9f51e3dd9468a diff --git a/media-libs/mesa/mesa-20.3.5.ebuild b/media-libs/mesa/mesa-20.3.5.ebuild index 83d95adc4aa3..b77317562fe9 100644 --- a/media-libs/mesa/mesa-20.3.5.ebuild +++ b/media-libs/mesa/mesa-20.3.5.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" fi LICENSE="MIT" @@ -147,7 +147,6 @@ LLVM_DEPSTR=" || ( sys-devel/llvm:11[${MULTILIB_USEDEP}] sys-devel/llvm:10[${MULTILIB_USEDEP}] - sys-devel/llvm:9[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -226,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" diff --git a/media-libs/mesa/mesa-21.0.1.ebuild b/media-libs/mesa/mesa-21.0.1.ebuild index 9aa7c68c80fe..ebeac9698ee4 100644 --- a/media-libs/mesa/mesa-21.0.1.ebuild +++ b/media-libs/mesa/mesa-21.0.1.ebuild @@ -147,7 +147,6 @@ LLVM_DEPSTR=" || ( sys-devel/llvm:11[${MULTILIB_USEDEP}] sys-devel/llvm:10[${MULTILIB_USEDEP}] - sys-devel/llvm:9[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -226,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" diff --git a/media-libs/mesa/mesa-21.0.0.ebuild b/media-libs/mesa/mesa-21.0.2.ebuild index 9aa7c68c80fe..ebeac9698ee4 100644 --- a/media-libs/mesa/mesa-21.0.0.ebuild +++ b/media-libs/mesa/mesa-21.0.2.ebuild @@ -147,7 +147,6 @@ LLVM_DEPSTR=" || ( sys-devel/llvm:11[${MULTILIB_USEDEP}] sys-devel/llvm:10[${MULTILIB_USEDEP}] - sys-devel/llvm:9[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -226,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" diff --git a/media-libs/mesa/mesa-20.3.4.ebuild b/media-libs/mesa/mesa-21.0.3.ebuild index d8acea6fdc44..ebeac9698ee4 100644 --- a/media-libs/mesa/mesa-20.3.4.ebuild +++ b/media-libs/mesa/mesa-21.0.3.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" fi LICENSE="MIT" @@ -43,6 +43,7 @@ REQUIRED_USE=" d3d9? ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) gles1? ( egl ) gles2? ( egl ) + osmesa? ( gallium ) vulkan? ( dri3 video_cards_radeonsi? ( llvm ) ) vulkan-overlay? ( vulkan ) @@ -104,7 +105,7 @@ RDEPEND=" ) selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) wayland? ( - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-1.18.0:=[${MULTILIB_USEDEP}] >=dev-libs/wayland-protocols-1.8 ) ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] @@ -116,7 +117,6 @@ RDEPEND=" X? ( >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] - >=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] @@ -147,7 +147,6 @@ LLVM_DEPSTR=" || ( sys-devel/llvm:11[${MULTILIB_USEDEP}] sys-devel/llvm:10[${MULTILIB_USEDEP}] - sys-devel/llvm:9[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -226,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" @@ -317,6 +317,10 @@ pkg_pretend() { 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() { @@ -446,6 +450,7 @@ multilib_src_configure() { gallium_enable -- kmsro fi + gallium_enable -- swrast gallium_enable video_cards_lima lima gallium_enable video_cards_panfrost panfrost gallium_enable video_cards_v3d v3d @@ -490,14 +495,6 @@ multilib_src_configure() { vulkan_enable video_cards_v3d broadcom fi - if use gallium; then - gallium_enable -- swrast - emesonargs+=( -Dosmesa=$(usex osmesa gallium none) ) - else - dri_driver_enable -- swrast - emesonargs+=( -Dosmesa=$(usex osmesa classic none) ) - fi - driver_list() { local drivers="$(sort -u <<< "${1// /$'\n'}")" echo "${drivers//$'\n'/,}" @@ -512,6 +509,7 @@ multilib_src_configure() { $(meson_feature gbm) $(meson_feature gles1) $(meson_feature gles2) + $(meson_use osmesa) $(meson_use selinux) $(meson_feature zstd) -Dvalgrind=$(usex valgrind auto false) diff --git a/media-libs/mesa/mesa-20.2.6.ebuild b/media-libs/mesa/mesa-21.1.0_rc2.ebuild index 16ba0eb17bea..1c0e0aaca5d4 100644 --- a/media-libs/mesa/mesa-20.2.6.ebuild +++ b/media-libs/mesa/mesa-21.1.0_rc2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" fi LICENSE="MIT" @@ -43,6 +43,7 @@ REQUIRED_USE=" d3d9? ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) gles1? ( egl ) gles2? ( egl ) + osmesa? ( gallium ) vulkan? ( dri3 video_cards_radeonsi? ( llvm ) ) vulkan-overlay? ( vulkan ) @@ -72,7 +73,7 @@ REQUIRED_USE=" zink? ( gallium vulkan ) " -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100" +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.105" RDEPEND=" >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] @@ -104,7 +105,7 @@ RDEPEND=" ) selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] ) wayland? ( - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-1.18.0:=[${MULTILIB_USEDEP}] >=dev-libs/wayland-protocols-1.8 ) ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] @@ -116,7 +117,6 @@ RDEPEND=" X? ( >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] - >=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] @@ -147,7 +147,6 @@ LLVM_DEPSTR=" || ( sys-devel/llvm:11[${MULTILIB_USEDEP}] sys-devel/llvm:10[${MULTILIB_USEDEP}] - sys-devel/llvm:9[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -226,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" @@ -258,8 +258,9 @@ pkg_pretend() { if use vulkan; then if ! use video_cards_i965 && ! use video_cards_iris && - ! use video_cards_radeonsi; then - ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, or radeonsi" + ! use video_cards_radeonsi && + ! use video_cards_v3d; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, radeonsi, or v3d" fi fi @@ -316,6 +317,10 @@ pkg_pretend() { 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() { @@ -332,7 +337,15 @@ pkg_setup() { if use video_cards_i965 || use video_cards_iris || use video_cards_radeonsi; then - CONFIG_CHECK="~CHECKPOINT_RESTORE" + 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 @@ -437,6 +450,7 @@ multilib_src_configure() { gallium_enable -- kmsro fi + gallium_enable -- swrast gallium_enable video_cards_lima lima gallium_enable video_cards_panfrost panfrost gallium_enable video_cards_v3d v3d @@ -478,14 +492,7 @@ multilib_src_configure() { vulkan_enable video_cards_i965 intel vulkan_enable video_cards_iris intel vulkan_enable video_cards_radeonsi amd - fi - - if use gallium; then - gallium_enable -- swrast - emesonargs+=( -Dosmesa=$(usex osmesa gallium none) ) - else - dri_driver_enable -- swrast - emesonargs+=( -Dosmesa=$(usex osmesa classic none) ) + vulkan_enable video_cards_v3d broadcom fi driver_list() { @@ -502,6 +509,7 @@ multilib_src_configure() { $(meson_feature gbm) $(meson_feature gles1) $(meson_feature gles2) + $(meson_use osmesa) $(meson_use selinux) $(meson_feature zstd) -Dvalgrind=$(usex valgrind auto false) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index aac65f99e5f1..b57fb6ce0dfe 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -73,7 +73,7 @@ REQUIRED_USE=" zink? ( gallium vulkan ) " -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100" +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.105" RDEPEND=" >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}] @@ -142,11 +142,11 @@ RDEPEND="${RDEPEND} # 1. List all the working slots (with min versions) in ||, newest first. # 2. Update the := to specify *max* version, e.g. < 10. # 3. Specify LLVM_MAX_SLOT, e.g. 9. -LLVM_MAX_SLOT="11" +LLVM_MAX_SLOT="12" LLVM_DEPSTR=" || ( + sys-devel/llvm:12[${MULTILIB_USEDEP}] sys-devel/llvm:11[${MULTILIB_USEDEP}] - sys-devel/llvm:10[${MULTILIB_USEDEP}] ) <sys-devel/llvm-$((LLVM_MAX_SLOT + 1)):=[${MULTILIB_USEDEP}] " @@ -225,6 +225,7 @@ BDEPEND=" sys-devel/flex virtual/pkgconfig $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]") + wayland? ( dev-util/wayland-scanner[${MULTILIB_USEDEP}] ) " S="${WORKDIR}/${MY_P}" |