1 |
commit: 3d1a3a9433b2cbf0465f1dd458b3108e6d10ae59 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 13:08:13 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 13:08:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d1a3a94 |
7 |
|
8 |
x11-apps/radeon-profile: Initial commit |
9 |
|
10 |
Closes: https://bugs.gentoo.org/503128 |
11 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
x11-apps/radeon-profile/Manifest | 1 + |
15 |
x11-apps/radeon-profile/metadata.xml | 11 ++++ |
16 |
.../radeon-profile/radeon-profile-20190311.ebuild | 58 ++++++++++++++++++++++ |
17 |
.../radeon-profile/radeon-profile-99999999.ebuild | 58 ++++++++++++++++++++++ |
18 |
4 files changed, 128 insertions(+) |
19 |
|
20 |
diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..9306bc955e4 |
23 |
--- /dev/null |
24 |
+++ b/x11-apps/radeon-profile/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST radeon-profile-20190311.tar.gz 381505 BLAKE2B e15fbf60f9b790ef81f6b86f74cdada20fe232d2d1965c35248c33bead5f47503780804f0710c8627e4a487e6f95f6688d0dc52b325c278700f9539773547729 SHA512 285ff4fd9f4376135a38009e0e531ec9d9c727840284d9cb4135e0044134a778786559b4280e329be8b78d635928feacd1c0ccc15bce15297d15e4f065460463 |
27 |
|
28 |
diff --git a/x11-apps/radeon-profile/metadata.xml b/x11-apps/radeon-profile/metadata.xml |
29 |
new file mode 100644 |
30 |
index 00000000000..127798b95dd |
31 |
--- /dev/null |
32 |
+++ b/x11-apps/radeon-profile/metadata.xml |
33 |
@@ -0,0 +1,11 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>polynomial-c@g.o</email> |
39 |
+ <name>Lars Wendler</name> |
40 |
+ </maintainer> |
41 |
+ <upstream> |
42 |
+ <remote-id type="github">marazmista/radeon-profile</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/x11-apps/radeon-profile/radeon-profile-20190311.ebuild b/x11-apps/radeon-profile/radeon-profile-20190311.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..9221aca4ad8 |
49 |
--- /dev/null |
50 |
+++ b/x11-apps/radeon-profile/radeon-profile-20190311.ebuild |
51 |
@@ -0,0 +1,58 @@ |
52 |
+# Copyright 1999-2019 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+# $Id: 77337142ec368ef43c179461f5ca0beb09d5cd21 $ |
55 |
+ |
56 |
+EAPI=7 |
57 |
+ |
58 |
+inherit qmake-utils |
59 |
+ |
60 |
+DESCRIPTION="Read current clocks of ATi/AMD Radeon cards" |
61 |
+HOMEPAGE="https://github.com/marazmista/radeon-profile" |
62 |
+if [[ "${PV}" == 99999999 ]] ; then |
63 |
+ inherit git-r3 |
64 |
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git" |
65 |
+else |
66 |
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
67 |
+ KEYWORDS="~amd64 ~x86" |
68 |
+fi |
69 |
+LICENSE="GPL-2" |
70 |
+SLOT="0" |
71 |
+ |
72 |
+IUSE="" |
73 |
+ |
74 |
+S="${WORKDIR}/${P}/${PN}" |
75 |
+ |
76 |
+RDEPEND=" |
77 |
+ dev-qt/qtcharts:5 |
78 |
+ dev-qt/qtcore:5 |
79 |
+ dev-qt/qtgui:5 |
80 |
+ dev-qt/qtnetwork:5 |
81 |
+ dev-qt/qtwidgets:5 |
82 |
+ x11-libs/libX11 |
83 |
+ x11-libs/libXrandr |
84 |
+" |
85 |
+ |
86 |
+DEPEND=" |
87 |
+ ${RDEPEND} |
88 |
+ media-libs/mesa |
89 |
+ x11-libs/libdrm |
90 |
+" |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ default |
94 |
+ sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ eqmake5 |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ emake INSTALL_ROOT="${D}" install |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ elog "In order to run ${PN} as non-root user, the" |
107 |
+ elog " x11-apps/radeon-profile-daemon" |
108 |
+ elog "package needs to be installed and the daemon must run." |
109 |
+} |
110 |
|
111 |
diff --git a/x11-apps/radeon-profile/radeon-profile-99999999.ebuild b/x11-apps/radeon-profile/radeon-profile-99999999.ebuild |
112 |
new file mode 100644 |
113 |
index 00000000000..9221aca4ad8 |
114 |
--- /dev/null |
115 |
+++ b/x11-apps/radeon-profile/radeon-profile-99999999.ebuild |
116 |
@@ -0,0 +1,58 @@ |
117 |
+# Copyright 1999-2019 Gentoo Authors |
118 |
+# Distributed under the terms of the GNU General Public License v2 |
119 |
+# $Id: 77337142ec368ef43c179461f5ca0beb09d5cd21 $ |
120 |
+ |
121 |
+EAPI=7 |
122 |
+ |
123 |
+inherit qmake-utils |
124 |
+ |
125 |
+DESCRIPTION="Read current clocks of ATi/AMD Radeon cards" |
126 |
+HOMEPAGE="https://github.com/marazmista/radeon-profile" |
127 |
+if [[ "${PV}" == 99999999 ]] ; then |
128 |
+ inherit git-r3 |
129 |
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git" |
130 |
+else |
131 |
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
132 |
+ KEYWORDS="~amd64 ~x86" |
133 |
+fi |
134 |
+LICENSE="GPL-2" |
135 |
+SLOT="0" |
136 |
+ |
137 |
+IUSE="" |
138 |
+ |
139 |
+S="${WORKDIR}/${P}/${PN}" |
140 |
+ |
141 |
+RDEPEND=" |
142 |
+ dev-qt/qtcharts:5 |
143 |
+ dev-qt/qtcore:5 |
144 |
+ dev-qt/qtgui:5 |
145 |
+ dev-qt/qtnetwork:5 |
146 |
+ dev-qt/qtwidgets:5 |
147 |
+ x11-libs/libX11 |
148 |
+ x11-libs/libXrandr |
149 |
+" |
150 |
+ |
151 |
+DEPEND=" |
152 |
+ ${RDEPEND} |
153 |
+ media-libs/mesa |
154 |
+ x11-libs/libdrm |
155 |
+" |
156 |
+ |
157 |
+src_prepare() { |
158 |
+ default |
159 |
+ sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die |
160 |
+} |
161 |
+ |
162 |
+src_configure() { |
163 |
+ eqmake5 |
164 |
+} |
165 |
+ |
166 |
+src_install() { |
167 |
+ emake INSTALL_ROOT="${D}" install |
168 |
+} |
169 |
+ |
170 |
+pkg_postinst() { |
171 |
+ elog "In order to run ${PN} as non-root user, the" |
172 |
+ elog " x11-apps/radeon-profile-daemon" |
173 |
+ elog "package needs to be installed and the daemon must run." |
174 |
+} |