Skip to content

Commit

Permalink
Add the video driver mali-drivers-bin and the virtual opengles package,
Browse files Browse the repository at this point in the history
ported from Veyron board. Also mask mesa as it conflicts with
mali-drivers-bin package.
  • Loading branch information
Kai Liu committed Mar 30, 2018
1 parent a2c457b commit ca2d9ca
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/mali-drivers-bin/Manifest
@@ -0,0 +1 @@
DIST mali-drivers-veyron-1.20-r77.run 1858246 SHA256 53853e91852b23ec1c06e2bf90ed7321cf18c868617f0552a40def4c29fafea0 SHA512 4763b751e5259525510d77b93c3d2add2beaa5a6a4768fe06bed1cc68cf92f67a9ca11c87e73e33e116a52e614331543698c4d9f93454d2755e6b2684c37e77f WHIRLPOOL 939c6bb0a4586c2dc7534300ea9222e40b8225f428fddc8ffb932c1a6140982b03df63466159ec16966a4b876db22b174c3f6450b7e283e5127579fdcd74e237
30 changes: 30 additions & 0 deletions media-libs/mali-drivers-bin/mali-drivers-bin-1.20-r77.ebuild
@@ -0,0 +1,30 @@
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2

EAPI=4

inherit unpacker

DESCRIPTION="Mali drivers, binary only install"
HOMEPAGE=""
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/mali-drivers-veyron-${PVR}.run"

LICENSE="Google-TOS"
SLOT="0"
KEYWORDS="-* arm"

DEPEND="
x11-drivers/opengles-headers
"

RDEPEND="
!media-libs/mali-drivers
!x11-drivers/opengles
x11-libs/libdrm
"

S=${WORKDIR}

src_install() {
cp -pPR "${S}"/* "${D}/" || die "Install failed!"
}
8 changes: 8 additions & 0 deletions profiles/base/make.defaults
Expand Up @@ -3,3 +3,11 @@ USE="${USE} kernel-4_4 device_tree"
USE="${USE} -opengl opengles"
USE="${USE} bluetooth"
USE="${USE} allow_consumer_kiosk"

ACCEPT_LICENSE="Google-TOS"

# Turn on the video cards this board uses.
VIDEO_CARDS="rockchip"

# Allow login on serial console
TTY_CONSOLE="ttyS2"
2 changes: 2 additions & 0 deletions profiles/base/package.mask
@@ -0,0 +1,2 @@
# Mesa conflicts with mali-drivers and minigbm.
media-libs/mesa
16 changes: 16 additions & 0 deletions virtual/opengles/opengles-2.ebuild
@@ -0,0 +1,16 @@
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2

EAPI=4

DESCRIPTION="Virtual for OpenGLES implementations"

SLOT="0"
KEYWORDS="-* arm"
IUSE=""

DEPEND="
media-libs/mali-drivers-bin
x11-drivers/opengles-headers
"
RDEPEND="${DEPEND}"

0 comments on commit ca2d9ca

Please sign in to comment.