x11-drivers/xf86-video-amdgpu: initial commit
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Wed, 2 Sep 2015 01:25:56 +0000 (03:25 +0200)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Wed, 2 Sep 2015 01:25:56 +0000 (03:25 +0200)
Package-Manager: portage-2.2.20.1

x11-drivers/xf86-video-amdgpu/Manifest [new file with mode: 0644]
x11-drivers/xf86-video-amdgpu/metadata.xml [new file with mode: 0644]
x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-0.0.01_pre20150814.ebuild [new file with mode: 0644]
x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild [new file with mode: 0644]

diff --git a/x11-drivers/xf86-video-amdgpu/Manifest b/x11-drivers/xf86-video-amdgpu/Manifest
new file mode 100644 (file)
index 0000000..0c8af44
--- /dev/null
@@ -0,0 +1 @@
+DIST xf86-video-amdgpu-0.0.01_pre20150814.tar.xz 58024 SHA256 5654e22fcb051e04f5862576c84e8e7ab765f1097586874d3be75fefd49e159c SHA512 4885f92febd6ab1663c3b27b7db8af98eaa0d7f4c91c65e7ce8d9a8756ea0a051c65183d2d5fec3ed29b90d18de4bb81956bf585128f417a7e4471a12e2e9222 WHIRLPOOL 9b98505f0f9823661c084eaaad2e91bb2fb0956c07cf0cf22f6e4849ad9464134417f7caef9ab92c34e7881a24fabe8e6caa55300eebb3d887b04b150d42495d
diff --git a/x11-drivers/xf86-video-amdgpu/metadata.xml b/x11-drivers/xf86-video-amdgpu/metadata.xml
new file mode 100644 (file)
index 0000000..b19c4dc
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+<use>
+       <flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
+</use>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-0.0.01_pre20150814.ebuild b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-0.0.01_pre20150814.ebuild
new file mode 100644 (file)
index 0000000..7266714
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+XORG_DRI="always"
+XORG_EAUTORECONF=yes
+inherit xorg-2
+
+if [[ ${PV} == 9999* ]]; then
+       SRC_URI=""
+       KEYWORDS=""
+else
+       SRC_URI="mirror://gentoo/${P}.tar.xz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
+
+IUSE="glamor"
+
+RDEPEND="x11-libs/libdrm[video_cards_amdgpu]
+       x11-base/xorg-server[glamor(-)?]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
+       xorg-2_src_configure
+}
diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
new file mode 100644 (file)
index 0000000..7266714
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+XORG_DRI="always"
+XORG_EAUTORECONF=yes
+inherit xorg-2
+
+if [[ ${PV} == 9999* ]]; then
+       SRC_URI=""
+       KEYWORDS=""
+else
+       SRC_URI="mirror://gentoo/${P}.tar.xz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
+
+IUSE="glamor"
+
+RDEPEND="x11-libs/libdrm[video_cards_amdgpu]
+       x11-base/xorg-server[glamor(-)?]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
+       xorg-2_src_configure
+}