Diff weston-11.0.1 with a weston-12.0.1-r1

/usr/portage/dev-libs/weston/weston-12.0.1-r1.ebuild 2023-10-09 14:52:29.772368357 +0300
18 18
if [[ ${PV} = *9999* ]]; then
19 19
	SRC_URI="${SRC_PATCHES}"
20 20
else
21
	SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/uploads/f5648c818fba5432edc3ea63c4db4813/${P}.tar.xz"
22
	KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv x86"
21
	SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz"
22
	KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~riscv ~x86"
23 23
fi
24 24

  
25 25
LICENSE="MIT CC-BY-SA-3.0"
26 26
SLOT="0"
27 27

  
28
IUSE="+desktop +drm editor examples fullscreen +gles2 headless ivi jpeg kiosk lcms pipewire rdp remoting +resize-optimization screen-sharing +seatd +suid systemd test wayland-compositor webp +X xwayland"
28
IUSE="+desktop +drm editor examples fullscreen +gles2 headless ivi jpeg kiosk lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test vnc wayland-compositor webp +X xwayland"
29 29
RESTRICT="!test? ( test )"
30 30

  
31 31
REQUIRED_USE="
......
35 35
	screen-sharing? ( rdp )
36 36
	test? ( desktop headless lcms xwayland )
37 37
	wayland-compositor? ( gles2 )
38
	|| ( drm headless rdp wayland-compositor X )
39
	|| ( seatd systemd )
38
	|| ( drm headless rdp vnc wayland-compositor X )
40 39
"
41 40

  
42 41
RDEPEND="
43
	>=dev-libs/libinput-0.8.0
42
	>=dev-libs/libinput-1.2.0
44 43
	>=dev-libs/wayland-1.20.0
45
	lcms? ( >=media-libs/lcms-2.9:2 )
46 44
	media-libs/libpng:0=
47
	webp? ( media-libs/libwebp:0= )
48
	jpeg? ( media-libs/libjpeg-turbo:0= )
45
	sys-auth/seatd:=
49 46
	>=x11-libs/cairo-1.11.3
50 47
	>=x11-libs/libdrm-2.4.108
51 48
	>=x11-libs/libxkbcommon-0.5.0
......
58 55
	)
59 56
	editor? ( x11-libs/pango )
60 57
	examples? ( x11-libs/pango )
61
	gles2? (
62
		media-libs/mesa[gles2,wayland]
63
	)
58
	gles2? ( media-libs/mesa[gles2,wayland] )
59
	jpeg? ( media-libs/libjpeg-turbo:0= )
60
	lcms? ( >=media-libs/lcms-2.9:2 )
64 61
	pipewire? ( >=media-video/pipewire-0.3:= )
65 62
	rdp? ( >=net-misc/freerdp-2.3.0:=[server] )
66 63
	remoting? (
67 64
		media-libs/gstreamer:1.0
68 65
		media-libs/gst-plugins-base:1.0
69 66
	)
70
	seatd? ( sys-auth/seatd:= )
71
	systemd? (
72
		sys-auth/pambase[systemd]
73
		>=sys-apps/dbus-1.6
74
		>=sys-apps/systemd-209[pam]
67
	systemd? ( sys-apps/systemd )
68
	vnc? (
69
		=dev-libs/aml-0.3*
70
		=gui-libs/neatvnc-0.6*
71
		sys-libs/pam
75 72
	)
73
	webp? ( media-libs/libwebp:0= )
76 74
	X? (
77 75
		>=x11-libs/libxcb-1.9
78 76
		x11-libs/libX11
......
82 80
		x11-libs/cairo[X,xcb(+)]
83 81
		>=x11-libs/libxcb-1.9
84 82
		x11-libs/libXcursor
83
		>=x11-libs/xcb-util-cursor-0.1.4
85 84
	)
86 85
"
87 86
DEPEND="${RDEPEND}
......
89 88
"
90 89
BDEPEND="
91 90
	${PYTHON_DEPS}
91
	dev-util/wayland-scanner
92 92
	virtual/pkgconfig
93 93
"
94 94

  
95
PATCHES=(
96
	"${FILESDIR}/weston-12.0.1-issue757.patch"
97
)
98

  
95 99
src_configure() {
96 100
	local emesonargs=(
97 101
		$(meson_use drm backend-drm)
98 102
		-Dbackend-drm-screencast-vaapi=false
99 103
		$(meson_use headless backend-headless)
104
		$(meson_use pipewire backend-pipewire)
100 105
		$(meson_use rdp backend-rdp)
101 106
		$(meson_use screen-sharing screenshare)
107
		$(meson_use vnc backend-vnc)
102 108
		$(meson_use wayland-compositor backend-wayland)
103 109
		$(meson_use X backend-x11)
104 110
		-Dbackend-default=auto
105 111
		$(meson_use gles2 renderer-gl)
106 112
		$(meson_use xwayland)
107
		$(meson_use seatd launcher-libseat)
113
		-Dlauncher-libseat=true
108 114
		$(meson_use systemd)
109 115
		$(meson_use remoting)
110 116
		$(meson_use pipewire)
......
113 119
		$(meson_use ivi shell-ivi)
114 120
		$(meson_use kiosk shell-kiosk)
115 121
		$(meson_use lcms color-management-lcms)
116
		$(meson_use systemd launcher-logind)
117 122
		$(meson_use jpeg image-jpeg)
118 123
		$(meson_use webp image-webp)
119 124
		-Dtools=debug,info,terminal
Thank you!