commit:     a34f17b400e900bbc5867c785f7bf6c3774fbb67
Author:     Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Fri Jul 18 21:13:23 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 16:21:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34f17b4

x11-drivers/xf86-video-amdgpu: Update live ebuild

The amdgpu project switched to meson [1][2]. Update the live
ebuild.

1: 
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commit/c98eb1336c34399f271dbeb6e66cedec49193d45
2: 
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/commit/b696afac63a62afa43b54cb395f897d4a583fa18
Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43056
Closes: https://github.com/gentoo/gentoo/pull/43056
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild 
b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
index 9c396f864bfc..3581a34dc6f8 100644
--- a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
+++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-XORG_DRI="always"
-inherit xorg-3
+inherit xorg-meson
 
 if [[ ${PV} != 9999* ]]; then
        KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
@@ -19,9 +18,9 @@ RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_amdgpu]
 DEPEND="${RDEPEND}"
 
 src_configure() {
-       local XORG_CONFIGURE_OPTIONS=(
-               --enable-glamor
-               $(use_enable udev)
+       local emesonargs=(
+               -Dglamor=enabled
+               $(meson_feature udev)
        )
-       xorg-3_src_configure
+       meson_src_configure
 }

Reply via email to