diff options
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-ati/Manifest | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-ati/xf86-video-ati-22.0.0.ebuild | 52 | ||||
-rw-r--r-- | x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild | 9 |
3 files changed, 59 insertions, 3 deletions
diff --git a/x11-drivers/xf86-video-ati/Manifest b/x11-drivers/xf86-video-ati/Manifest index 2cd87d590413..fdc31070afe6 100644 --- a/x11-drivers/xf86-video-ati/Manifest +++ b/x11-drivers/xf86-video-ati/Manifest @@ -1 +1,2 @@ DIST xf86-video-ati-19.1.0.tar.bz2 904558 BLAKE2B 424e8b3c6fa14fa4f0bc00940bdf1008400f25ce7103b13ecefdbda9e629239c5ab011952d19c305251e9c0008650da3db0eb91055d5585e2b1c3dd108a74d86 SHA512 73a81f6c492daf2e89067fb52b3033dc0fe6841f109627ddca1aee54a45a738c8c134443753a2a2aaa2c131e1d560057ebc76351ff2304c16407df3ff568fcd6 +DIST xf86-video-ati-22.0.0.tar.xz 755812 BLAKE2B 97349eca2b01e714a44bcfc9489251d175eab2ca622ac5f475797d0d862e082cf9f2bc49d996bc4a8ef39d13f4474953542bd5c5cfa495877b280aff218e4fe2 SHA512 fba9ffc7b0eeb0c369eb1a6f8ef0bb3061cfeca26bc269baf6e3d16dcd943fbf4092f1e37adfb1bc71051cee0b7a0e6fb253f0b8bcd210732ccaf99e8f2356fe diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-22.0.0.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-22.0.0.ebuild new file mode 100644 index 000000000000..459a0bd7b8f5 --- /dev/null +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-22.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +XORG_DRI=always +XORG_TARBALL_SUFFIX="xz" +inherit linux-info xorg-3 + +if [[ ${PV} == 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="ATI video driver" +HOMEPAGE="https://www.x.org/wiki/ati/" + +IUSE="udev" + +RDEPEND=" + media-libs/mesa + >=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" + +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 +} diff --git a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild index 22590fa5482b..459a0bd7b8f5 100644 --- a/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild +++ b/x11-drivers/xf86-video-ati/xf86-video-ati-9999.ebuild @@ -1,15 +1,16 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 XORG_DRI=always +XORG_TARBALL_SUFFIX="xz" inherit linux-info xorg-3 if [[ ${PV} == 9999* ]]; then SRC_URI="" else - KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi DESCRIPTION="ATI video driver" @@ -17,7 +18,9 @@ HOMEPAGE="https://www.x.org/wiki/ati/" IUSE="udev" -RDEPEND=">=x11-libs/libdrm-2.4.89[video_cards_radeon] +RDEPEND=" + media-libs/mesa + >=x11-libs/libdrm-2.4.89[video_cards_radeon] >=x11-libs/libpciaccess-0.8.0 x11-base/xorg-server[-minimal] udev? ( virtual/libudev:= )" |