1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="ATI video driver"
9 HOMEPAGE="https://www.x.org/wiki/ati/"
11 if [[ ${PV} == 9999* ]]; then
12 EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/driver/${PN}"
13 inherit autotools git-r3
14 LIVE_DEPEND=">=x11-misc/util-macros-1.18"
16 SRC_URI="mirror://xorg/driver/${P}.tar.bz2"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
28 >=x11-libs/libdrm-2.4.78[video_cards_radeon]
29 >=x11-libs/libpciaccess-0.8.0
30 glamor? ( x11-base/xorg-server[glamor] )
31 udev? ( virtual/libudev:= )
40 if use kernel_linux ; then
41 if kernel_is -ge 3 9; then
42 CONFIG_CHECK="~!DRM_RADEON_UMS ~!FB_RADEON"
44 CONFIG_CHECK="~DRM_RADEON_KMS ~!FB_RADEON"
52 [[ ${PV} == 9999 ]] eautoreconf
60 econf "${econfargs[@]}"
65 find "${D}" -name '*.la' -delete || die