summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-freedreno/xf86-video-freedreno-1.0.0.ebuild')
-rw-r--r--x11-drivers/xf86-video-freedreno/xf86-video-freedreno-1.0.0.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-freedreno/xf86-video-freedreno-1.0.0.ebuild b/x11-drivers/xf86-video-freedreno/xf86-video-freedreno-1.0.0.ebuild
new file mode 100644
index 000000000000..60860e55ab72
--- /dev/null
+++ b/x11-drivers/xf86-video-freedreno/xf86-video-freedreno-1.0.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+XORG_DRI=always
+inherit xorg-2
+
+DESCRIPTION="Driver for Adreno mobile GPUs"
+KEYWORDS="arm"
+IUSE=""
+
+RDEPEND="x11-libs/libdrm[video_cards_freedreno]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # Gentoo installs drm_mode.h to /usr/include/libdrm/
+ sed -i 's:drm/drm_mode.h:libdrm/drm_mode.h:' src/drmmode_display.c || die
+ xorg-2_src_prepare
+}