Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-amdgpu/
Date: Wed, 02 Sep 2015 01:26:01
Message-Id: 1441157156.b53f89fb0f2921c136fcba534591ba2007747900.chithanh@gentoo
1 commit: b53f89fb0f2921c136fcba534591ba2007747900
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 01:25:56 2015 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 01:25:56 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53f89fb
7
8 x11-drivers/xf86-video-amdgpu: initial commit
9
10 Package-Manager: portage-2.2.20.1
11
12 x11-drivers/xf86-video-amdgpu/Manifest | 1 +
13 x11-drivers/xf86-video-amdgpu/metadata.xml | 8 ++++++
14 .../xf86-video-amdgpu-0.0.01_pre20150814.ebuild | 29 ++++++++++++++++++++++
15 .../xf86-video-amdgpu-9999.ebuild | 29 ++++++++++++++++++++++
16 4 files changed, 67 insertions(+)
17
18 diff --git a/x11-drivers/xf86-video-amdgpu/Manifest b/x11-drivers/xf86-video-amdgpu/Manifest
19 new file mode 100644
20 index 0000000..0c8af44
21 --- /dev/null
22 +++ b/x11-drivers/xf86-video-amdgpu/Manifest
23 @@ -0,0 +1 @@
24 +DIST xf86-video-amdgpu-0.0.01_pre20150814.tar.xz 58024 SHA256 5654e22fcb051e04f5862576c84e8e7ab765f1097586874d3be75fefd49e159c SHA512 4885f92febd6ab1663c3b27b7db8af98eaa0d7f4c91c65e7ce8d9a8756ea0a051c65183d2d5fec3ed29b90d18de4bb81956bf585128f417a7e4471a12e2e9222 WHIRLPOOL 9b98505f0f9823661c084eaaad2e91bb2fb0956c07cf0cf22f6e4849ad9464134417f7caef9ab92c34e7881a24fabe8e6caa55300eebb3d887b04b150d42495d
25
26 diff --git a/x11-drivers/xf86-video-amdgpu/metadata.xml b/x11-drivers/xf86-video-amdgpu/metadata.xml
27 new file mode 100644
28 index 0000000..b19c4dc
29 --- /dev/null
30 +++ b/x11-drivers/xf86-video-amdgpu/metadata.xml
31 @@ -0,0 +1,8 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 +<herd>x11</herd>
36 +<use>
37 + <flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
38 +</use>
39 +</pkgmetadata>
40
41 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
42 new file mode 100644
43 index 0000000..7266714
44 --- /dev/null
45 +++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-0.0.01_pre20150814.ebuild
46 @@ -0,0 +1,29 @@
47 +# Copyright 1999-2015 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Id$
50 +
51 +EAPI=5
52 +XORG_DRI="always"
53 +XORG_EAUTORECONF=yes
54 +inherit xorg-2
55 +
56 +if [[ ${PV} == 9999* ]]; then
57 + SRC_URI=""
58 + KEYWORDS=""
59 +else
60 + SRC_URI="mirror://gentoo/${P}.tar.xz"
61 + KEYWORDS="~amd64 ~x86"
62 +fi
63 +
64 +DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
65 +
66 +IUSE="glamor"
67 +
68 +RDEPEND="x11-libs/libdrm[video_cards_amdgpu]
69 + x11-base/xorg-server[glamor(-)?]"
70 +DEPEND="${RDEPEND}"
71 +
72 +src_configure() {
73 + XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
74 + xorg-2_src_configure
75 +}
76
77 diff --git a/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
78 new file mode 100644
79 index 0000000..7266714
80 --- /dev/null
81 +++ b/x11-drivers/xf86-video-amdgpu/xf86-video-amdgpu-9999.ebuild
82 @@ -0,0 +1,29 @@
83 +# Copyright 1999-2015 Gentoo Foundation
84 +# Distributed under the terms of the GNU General Public License v2
85 +# $Id$
86 +
87 +EAPI=5
88 +XORG_DRI="always"
89 +XORG_EAUTORECONF=yes
90 +inherit xorg-2
91 +
92 +if [[ ${PV} == 9999* ]]; then
93 + SRC_URI=""
94 + KEYWORDS=""
95 +else
96 + SRC_URI="mirror://gentoo/${P}.tar.xz"
97 + KEYWORDS="~amd64 ~x86"
98 +fi
99 +
100 +DESCRIPTION="Accelerated Open Source driver for AMDGPU cards"
101 +
102 +IUSE="glamor"
103 +
104 +RDEPEND="x11-libs/libdrm[video_cards_amdgpu]
105 + x11-base/xorg-server[glamor(-)?]"
106 +DEPEND="${RDEPEND}"
107 +
108 +src_configure() {
109 + XORG_CONFIGURE_OPTIONS="$(use_enable glamor)"
110 + xorg-2_src_configure
111 +}