summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2015-02-18 19:25:40 +0200
committerMart Raudsepp <leio@gentoo.org>2015-02-18 19:25:40 +0200
commitc6eb8ab4e927560d037e9cc0f0b7f7fe724f4bae (patch)
treee45e7fa4504562cbf6fffade650402f682568bff
parentweston: USE=egl needs wayland-egl.pc package, so rpi-userland[wayland] on rpi (diff)
downloadleio-c6eb8ab4e927560d037e9cc0f0b7f7fe724f4bae.tar.gz
leio-c6eb8ab4e927560d037e9cc0f0b7f7fe724f4bae.tar.bz2
leio-c6eb8ab4e927560d037e9cc0f0b7f7fe724f4bae.zip
Preliminary xf86-video-fbturbo for RPi usages
Lacks deps and handling for mali libump and co stuff
-rw-r--r--x11-drivers/xf86-video-fbturbo/Manifest1
-rw-r--r--x11-drivers/xf86-video-fbturbo/xf86-video-fbturbo-0.4.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-fbturbo/Manifest b/x11-drivers/xf86-video-fbturbo/Manifest
new file mode 100644
index 0000000..c8ca83a
--- /dev/null
+++ b/x11-drivers/xf86-video-fbturbo/Manifest
@@ -0,0 +1 @@
+DIST xf86-video-fbturbo-0.4.0.tar.gz 460519 SHA256 10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f SHA512 9675f7df7811cc4607baefeb6cfef93df618a2995675f5e1b316b4f703da758b04f909d887a6c9d0d7f274a215036864ea712fcf76d50f5084321ea3dbd3e23c WHIRLPOOL 7a3ede8125643f79255bdf5ae6074c30cac5754e58560350979f89eb4dbb5e96a78e523330e05c698f1e9fdaabf2b0cd3a4a7a4266f2c5803dbe67100bc817d6
diff --git a/x11-drivers/xf86-video-fbturbo/xf86-video-fbturbo-0.4.0.ebuild b/x11-drivers/xf86-video-fbturbo/xf86-video-fbturbo-0.4.0.ebuild
new file mode 100644
index 0000000..c640f83
--- /dev/null
+++ b/x11-drivers/xf86-video-fbturbo/xf86-video-fbturbo-0.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit xorg-2
+
+DESCRIPTION="Drop-in replacement for xf86-video-fbdev and xf86-video-mali providing a better performance on ARM"
+SRC_URI="https://github.com/ssvb/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="arm"
+IUSE=""
+
+RDEPEND="x11-base/xorg-server"
+DEPEND="${RDEPEND}
+ x11-proto/fontsproto
+ x11-proto/randrproto
+ x11-proto/renderproto
+ x11-proto/videoproto
+ x11-proto/xproto
+ x11-proto/xf86driproto
+"
+# FIXME: driproto shouldn't really be necessary on rpi
+
+src_prepare()
+{
+ xorg-2_src_prepare
+ # Was added upstream for fixing compilations somewhere, but doesn't seemed needed
+ # Not present with xorg-server[minimal]
+ sed -i -e 's:#include "dri2.h"::g' "${S}"/src/sunxi_x_g2d.c || die
+}