blob: f2ca84b73dcdc9f57d56f45f057203e58d620302 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools
MY_PN="${PN/_/}"
P="${MY_PN}-${PV}"
if [ "${PV}" = "99999999" ]; then
EGIT_REPO_URI="git://github.com/etnaviv/etna_viv"
inherit git-r3
EGIT_COMMIT="f64d77abbb54433bd5de955c20afddc6eb4f4cb1"
KEYWORDS=""
else
SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~arm"
fi
DESCRIPTION="FOSS driver headers for the Vivante GCxxx series of embedded GPUs"
HOMEPAGE="https://github.com/etnaviv/etna_viv"
LICENSE="MIT"
SLOT="0"
DEPEND=">=x11-libs/libdrm-2.4.74:=[video_cards_vivante]
virtual/pkgconfig"
MERGE_TYPE="binary"
src_install() {
insinto /usr/include/etnaviv
doins src/etnaviv/*.h attic/etnaviv/*.h
}
|