diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild')
-rw-r--r-- | x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild new file mode 100644 index 000000000000..37f523607eb2 --- /dev/null +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-19.1.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +XORG_DRI=always +inherit linux-info xorg-3 + +if [[ ${PV} == 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="ATI video driver" +HOMEPAGE="https://www.x.org/wiki/ati/" + +IUSE="udev" + +RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_radeon] + >=x11-libs/libpciaccess-0.8.0 + x11-base/xorg-server[-minimal] + udev? ( virtual/libudev:= )" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${P}-Fix-link-failure-with-gcc-10.patch + "${FILESDIR}"/${P}-xserver-21-build-fixes.patch +) + +pkg_pretend() { + if use kernel_linux; then + if kernel_is -ge 3 9; then + CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON" + else + CONFIG_CHECK="~DRM_RADEON_KMS ~!FB_RADEON" + fi + fi + check_extra_config +} + +pkg_setup() { + linux-info_pkg_setup + xorg-3_pkg_setup +} + +src_configure() { + local XORG_CONFIGURE_OPTIONS=( + --enable-glamor + $(use_enable udev) + ) + xorg-3_src_configure +} |