1 |
commit: 2889250af852e491b4718ccc552a435205ca54f5 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 13:06:36 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 13:08:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2889250a |
7 |
|
8 |
x11-apps/radeon-profile-daemon: Initial commit |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
x11-apps/radeon-profile-daemon/Manifest | 1 + |
14 |
.../files/radeon-profile-daemon.initd | 9 +++++ |
15 |
x11-apps/radeon-profile-daemon/metadata.xml | 11 ++++++ |
16 |
.../radeon-profile-daemon-20190309.ebuild | 40 ++++++++++++++++++++++ |
17 |
.../radeon-profile-daemon-99999999.ebuild | 40 ++++++++++++++++++++++ |
18 |
5 files changed, 101 insertions(+) |
19 |
|
20 |
diff --git a/x11-apps/radeon-profile-daemon/Manifest b/x11-apps/radeon-profile-daemon/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..636a758f2f6 |
23 |
--- /dev/null |
24 |
+++ b/x11-apps/radeon-profile-daemon/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST radeon-profile-daemon-20190309.tar.gz 12178 BLAKE2B 931ce4bb123456e349a68c8fe0b18150ff988a83a5e58cf451f68025240a8b4c802e03a567ef41684e91442bf21c02cc00d31ef6c82a67ca7eb7587754c6f32e SHA512 f2bb6f7dc0bf322e5c43c5ca1f99501a4fd3f4532cc9c1686b5cfbc58bdd423e81c25d3ae03fcae9dc15dc92d8ad089b2357b27b0ff399de7ac27213e00b2f37 |
27 |
|
28 |
diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd |
29 |
new file mode 100644 |
30 |
index 00000000000..e4e7afb04c5 |
31 |
--- /dev/null |
32 |
+++ b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd |
33 |
@@ -0,0 +1,9 @@ |
34 |
+#!/sbin/openrc-run |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+description="Daemon for radeon-profile GUI" |
39 |
+ |
40 |
+command="/usr/sbin/radeon-profile-daemon" |
41 |
+command_background="true" |
42 |
+pidfile="/run/${SVCNAME}.pid" |
43 |
|
44 |
diff --git a/x11-apps/radeon-profile-daemon/metadata.xml b/x11-apps/radeon-profile-daemon/metadata.xml |
45 |
new file mode 100644 |
46 |
index 00000000000..1b9303f07e9 |
47 |
--- /dev/null |
48 |
+++ b/x11-apps/radeon-profile-daemon/metadata.xml |
49 |
@@ -0,0 +1,11 @@ |
50 |
+<?xml version="1.0" encoding="UTF-8"?> |
51 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
52 |
+<pkgmetadata> |
53 |
+ <maintainer type="person"> |
54 |
+ <email>polynomial-c@g.o</email> |
55 |
+ <name>Lars Wendler</name> |
56 |
+ </maintainer> |
57 |
+ <upstream> |
58 |
+ <remote-id type="github">marazmista/radeon-profile-daemon</remote-id> |
59 |
+ </upstream> |
60 |
+</pkgmetadata> |
61 |
|
62 |
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild |
63 |
new file mode 100644 |
64 |
index 00000000000..052a3ef3b33 |
65 |
--- /dev/null |
66 |
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild |
67 |
@@ -0,0 +1,40 @@ |
68 |
+# Copyright 1999-2019 Gentoo Authors |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=7 |
72 |
+ |
73 |
+inherit qmake-utils systemd |
74 |
+ |
75 |
+DESCRIPTION="Daemon for radeon-profile GUI" |
76 |
+HOMEPAGE="https://github.com/marazmista/radeon-profile-daemon" |
77 |
+if [[ "${PV}" == 99999999 ]] ; then |
78 |
+ inherit git-r3 |
79 |
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile-daemon.git" |
80 |
+else |
81 |
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
82 |
+ KEYWORDS="~amd64 ~x86" |
83 |
+fi |
84 |
+LICENSE="GPL-2" |
85 |
+SLOT="0" |
86 |
+ |
87 |
+IUSE="" |
88 |
+ |
89 |
+S="${WORKDIR}/${P}/${PN}" |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ default |
93 |
+ sed \ |
94 |
+ -e '/^bin\.path/s@/bin@/sbin@' \ |
95 |
+ -e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \ |
96 |
+ -i radeon-profile-daemon.pro || die |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ eqmake5 |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ emake INSTALL_ROOT="${D}" install |
105 |
+ |
106 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
107 |
+} |
108 |
|
109 |
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild |
110 |
new file mode 100644 |
111 |
index 00000000000..052a3ef3b33 |
112 |
--- /dev/null |
113 |
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild |
114 |
@@ -0,0 +1,40 @@ |
115 |
+# Copyright 1999-2019 Gentoo Authors |
116 |
+# Distributed under the terms of the GNU General Public License v2 |
117 |
+ |
118 |
+EAPI=7 |
119 |
+ |
120 |
+inherit qmake-utils systemd |
121 |
+ |
122 |
+DESCRIPTION="Daemon for radeon-profile GUI" |
123 |
+HOMEPAGE="https://github.com/marazmista/radeon-profile-daemon" |
124 |
+if [[ "${PV}" == 99999999 ]] ; then |
125 |
+ inherit git-r3 |
126 |
+ EGIT_REPO_URI="https://github.com/marazmista/radeon-profile-daemon.git" |
127 |
+else |
128 |
+ SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
129 |
+ KEYWORDS="~amd64 ~x86" |
130 |
+fi |
131 |
+LICENSE="GPL-2" |
132 |
+SLOT="0" |
133 |
+ |
134 |
+IUSE="" |
135 |
+ |
136 |
+S="${WORKDIR}/${P}/${PN}" |
137 |
+ |
138 |
+src_prepare() { |
139 |
+ default |
140 |
+ sed \ |
141 |
+ -e '/^bin\.path/s@/bin@/sbin@' \ |
142 |
+ -e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \ |
143 |
+ -i radeon-profile-daemon.pro || die |
144 |
+} |
145 |
+ |
146 |
+src_configure() { |
147 |
+ eqmake5 |
148 |
+} |
149 |
+ |
150 |
+src_install() { |
151 |
+ emake INSTALL_ROOT="${D}" install |
152 |
+ |
153 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
154 |
+} |