Diff mesa-progs-8.5.0 with a mesa-progs-9999

/usr/portage/x11-apps/mesa-progs/mesa-progs-9999.ebuild 2023-10-09 14:52:35.904368512 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
16 16
else
17 17
	SRC_URI="https://mesa.freedesktop.org/archive/demos/${MY_P}.tar.bz2
18 18
		https://mesa.freedesktop.org/archive/demos/${PV}/${MY_P}.tar.bz2"
19
	KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
19
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
20 20
	S="${WORKDIR}/${MY_P}"
21 21
fi
22 22
LICENSE="LGPL-2"
23 23
SLOT="0"
24
IUSE="gles2 wayland X"
24
IUSE="gles2 vulkan wayland X"
25 25

  
26 26
RDEPEND="
27
	media-libs/mesa[${MULTILIB_USEDEP},egl(+),gles2?,wayland?,X?]
27
	media-libs/mesa[${MULTILIB_USEDEP},egl(+),gles2?,vulkan?,wayland?,X?]
28 28
	wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
29 29
	X? (
30 30
		x11-libs/libX11[${MULTILIB_USEDEP}]
......
32 32
	)
33 33
"
34 34
DEPEND="${RDEPEND}
35
	vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
35 36
	wayland? ( >=dev-libs/wayland-protocols-1.12 )
36 37
	X? ( x11-base/xorg-proto )
37 38
"
38 39
BDEPEND="
39 40
	virtual/pkgconfig
41
	vulkan? ( dev-util/glslang )
40 42
	wayland? ( dev-util/wayland-scanner )
41 43
"
42 44

  
43 45
PATCHES=(
44
	"${FILESDIR}"/8.5.0-Disable-things-we-don-t-want.patch
46
	"${FILESDIR}"/9999-Disable-things-we-don-t-want.patch
45 47
)
46 48

  
47 49
pkg_setup() {
......
56 58

  
57 59
	use gles2 && use X && MULTILIB_CHOST_TOOLS+=(
58 60
		/usr/bin/es2_info
59
		/usr/bin/es2gears_x11
61
		/usr/bin/es2gears
60 62
	)
61 63

  
62
	use gles2 && use wayland && MULTILIB_CHOST_TOOLS+=(
63
		/usr/bin/es2gears_wayland
64
	use vulkan && MULTILIB_CHOST_TOOLS+=(
65
		/usr/bin/vkgears
64 66
	)
65 67
}
66 68

  
......
71 73
		-Dgles1=disabled
72 74
		$(meson_feature gles2)
73 75
		-Dosmesa=disabled
76
		$(meson_feature vulkan)
74 77
		$(meson_feature wayland)
75 78
		$(meson_feature X x11)
76 79
	)
Thank you!