gentoo/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
Holger Hoffstätte 3643bb2e16
x11-drivers/xf86-video-amdgpu: fix xorg-meson eclass usage in 25.0.0/9999
The eclass was never used, which broke module loading due to missing
linker flags.

Closes: https://bugs.gentoo.org/960853
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/43261
Closes: https://github.com/gentoo/gentoo/pull/43261
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-31 15:34:44 +01:00

27 lines
555 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xorg-meson
if [[ ${PV} != 9999* ]]; then
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
IUSE="udev"
RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_amdgpu]
x11-base/xorg-server[-minimal]
udev? ( virtual/libudev:= )"
DEPEND="${RDEPEND}"
src_configure() {
local XORG_CONFIGURE_OPTIONS=(
-Dglamor=enabled
$(meson_feature udev)
)
xorg-meson_src_configure
}