1 |
commit: e4d117192dda3135b1260f7d48257b00a724b414 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 26 13:48:13 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 26 15:21:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d11719 |
7 |
|
8 |
x11-apps/radeon-profile: bump to v20200824 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
x11-apps/radeon-profile/Manifest | 1 + |
14 |
.../radeon-profile/radeon-profile-20200824.ebuild | 64 ++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest |
18 |
index a328f14c44c..99d2ded170c 100644 |
19 |
--- a/x11-apps/radeon-profile/Manifest |
20 |
+++ b/x11-apps/radeon-profile/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST radeon-profile-20200504.tar.gz 395674 BLAKE2B 6435dfcf9d2ce25789f429f12071cdb1c3f85050654b7fdec45c51a59d562d60369b28cfcd2854dfd5841e4af8f9166afed266e0a48d9010619972b653e0d4a8 SHA512 73f7eb59369af57aba5f067202fb1f772e48260c42ad194876926c29d278022daa86235f8d591bc763b8c6d80682553fe9a55f848137a8ec1de1bf9531c162c6 |
23 |
+DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de |
24 |
|
25 |
diff --git a/x11-apps/radeon-profile/radeon-profile-20200824.ebuild b/x11-apps/radeon-profile/radeon-profile-20200824.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d836b3ad1f8 |
28 |
--- /dev/null |
29 |
+++ b/x11-apps/radeon-profile/radeon-profile-20200824.ebuild |
30 |
@@ -0,0 +1,64 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit qmake-utils |
37 |
+ |
38 |
+DESCRIPTION="Read current clocks of ATi/AMD Radeon cards" |
39 |
+HOMEPAGE="https://github.com/marazmista/radeon-profile" |
40 |
+if [[ "${PV}" == 99999999 ]] ; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+IUSE="" |
51 |
+ |
52 |
+S="${WORKDIR}/${P}/${PN}" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ !<x11-apps/radeon-profile-daemon-20190603-r1 |
56 |
+ dev-qt/qtcharts:5 |
57 |
+ dev-qt/qtcore:5 |
58 |
+ dev-qt/qtgui:5 |
59 |
+ dev-qt/qtnetwork:5 |
60 |
+ dev-qt/qtwidgets:5 |
61 |
+ x11-libs/libX11 |
62 |
+ x11-libs/libXrandr |
63 |
+" |
64 |
+ |
65 |
+DEPEND=" |
66 |
+ ${RDEPEND} |
67 |
+ dev-qt/qtconcurrent:5 |
68 |
+ media-libs/mesa[X(+)] |
69 |
+ x11-libs/libdrm |
70 |
+" |
71 |
+ |
72 |
+PATCHES=( |
73 |
+ "${FILESDIR}/${PN}-20200504-run_subdir.patch" |
74 |
+) |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ eapply -p2 "${PATCHES[@]}" |
78 |
+ eapply_user |
79 |
+ sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ eqmake5 |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ emake INSTALL_ROOT="${D}" install |
88 |
+} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ elog "In order to run ${PN} as non-root user, the" |
92 |
+ elog " x11-apps/radeon-profile-daemon" |
93 |
+ elog "package needs to be installed and the daemon must run." |
94 |
+} |