summaryrefslogtreecommitdiff
blob: be974bd039dda0d65ee43d2396810014e9339a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit xorg-3

DESCRIPTION="AMD Geode GX2 and LX video driver"

KEYWORDS="x86"
IUSE="ztv"

RDEPEND=""
DEPEND="${RDEPEND}
	ztv? (
		sys-kernel/linux-headers
	)"

PATCHES=(
	"${FILESDIR}"/${P}-fix-multiple-definition-of-linker-error.patch
)

src_configure() {
	local XORG_CONFIGURE_OPTIONS=(
		$(use_enable ztv)
	)
	xorg-3_src_configure
}