blob: 405553ac566c2ec20b8411f20a9fb7e3f442fd57 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
XORG_BASE_INDIVIDUAL_URI=""
#EGIT_REPO_URI="http://git.arm.linux.org.uk/cgit/xf86-video-armada.git"
EGIT_REPO_URI="https://github.com/VCTLabs/xf86-video-armada"
XORG_DRI="always"
inherit xorg-2 git-r3
if [[ ${PV} = 9999 ]]; then
EGIT_BRANCH="devel"
KEYWORDS="2e9cb9c97a7049aed185f0fa182f0b1665e965dc"
else
EGIT_COMMIT="87e9fa065c8aa82715a2941ebb8d3af73b145263"
KEYWORDS="~arm"
DEPEND_COMMON="x11-libs/libetnaviv"
fi
DESCRIPTION="Xorg graphics driver for KMS based systems with pluggable GPU backend"
IUSE="-etnaviv"
RDEPEND=">=x11-base/xorg-server-1.18"
DEPEND="${RDEPEND}
x11-libs/libdrm-armada
${DEPEND_COMMON}
"
pkg_setup() {
xorg-2_pkg_setup
# note: vivante requires libGAL
XORG_CONFIGURE_OPTIONS=(
--disable-vivante
$(use_enable etnaviv)
--with-etnaviv-source="${S}"/etna_viv
)
}
|