From c6eb8ab4e927560d037e9cc0f0b7f7fe724f4bae Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Wed, 18 Feb 2015 19:25:40 +0200 Subject: Preliminary xf86-video-fbturbo for RPi usages Lacks deps and handling for mali libump and co stuff --- x11-drivers/xf86-video-fbturbo/Manifest | 1 + .../xf86-video-fbturbo-0.4.0.ebuild | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 x11-drivers/xf86-video-fbturbo/Manifest create mode 100644 x11-drivers/xf86-video-fbturbo/xf86-video-fbturbo-0.4.0.ebuild 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 +} -- cgit v1.2.3-65-gdbad