1 |
commit: e9a1d05316fdf5d3a0f6d787a8e69c83ee775b6f |
2 |
Author: Nikoli <nikoli <AT> gmx <DOT> us> |
3 |
AuthorDate: Sat Dec 7 18:31:11 2013 +0000 |
4 |
Commit: Nikoli <nikoli <AT> lavabit <DOT> com> |
5 |
CommitDate: Sat Dec 7 18:31:11 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=e9a1d053 |
7 |
|
8 |
radeontop: version bump, fix deps, add USE nls, respect CC, do not strip by default |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
x11-apps/radeontop/metadata.xml | 8 +++++++ |
14 |
x11-apps/radeontop/radeontop-0.7.ebuild | 36 ++++++++++++++++++++++++++++++++ |
15 |
x11-apps/radeontop/radeontop-9999.ebuild | 35 +++++++++++++++++++++++-------- |
16 |
3 files changed, 70 insertions(+), 9 deletions(-) |
17 |
|
18 |
diff --git a/x11-apps/radeontop/metadata.xml b/x11-apps/radeontop/metadata.xml |
19 |
new file mode 100644 |
20 |
index 0000000..c753f86 |
21 |
--- /dev/null |
22 |
+++ b/x11-apps/radeontop/metadata.xml |
23 |
@@ -0,0 +1,8 @@ |
24 |
+<?xml version="1.0" encoding="UTF-8"?> |
25 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
+<pkgmetadata> |
27 |
+ <maintainer> |
28 |
+ <email>nikoli@×××.us</email> |
29 |
+ <name>Nikoli</name> |
30 |
+ </maintainer> |
31 |
+</pkgmetadata> |
32 |
|
33 |
diff --git a/x11-apps/radeontop/radeontop-0.7.ebuild b/x11-apps/radeontop/radeontop-0.7.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..adf5cc7 |
36 |
--- /dev/null |
37 |
+++ b/x11-apps/radeontop/radeontop-0.7.ebuild |
38 |
@@ -0,0 +1,36 @@ |
39 |
+# Copyright 1999-2013 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Header: $ |
42 |
+ |
43 |
+EAPI=5 |
44 |
+inherit eutils toolchain-funcs |
45 |
+ |
46 |
+DESCRIPTION="Utility to view Radeon GPU utilization" |
47 |
+HOMEPAGE="https://github.com/clbr/radeontop" |
48 |
+LICENSE="GPL-3" |
49 |
+SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="nls" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ sys-libs/ncurses |
57 |
+ x11-libs/libpciaccess |
58 |
+ nls? ( sys-libs/ncurses[unicode] virtual/libintl ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ virtual/pkgconfig |
62 |
+ nls? ( sys-devel/gettext ) |
63 |
+" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ epatch_user |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ tc-export CC |
71 |
+ export nls=$(usex nls 1 0) |
72 |
+ # Do not add -g or -s to CFLAGS |
73 |
+ export plain=1 |
74 |
+} |
75 |
|
76 |
diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild |
77 |
index 8c148b7..27663dd 100644 |
78 |
--- a/x11-apps/radeontop/radeontop-9999.ebuild |
79 |
+++ b/x11-apps/radeontop/radeontop-9999.ebuild |
80 |
@@ -3,17 +3,34 @@ |
81 |
# $Header: $ |
82 |
|
83 |
EAPI=5 |
84 |
-inherit git-2 |
85 |
+inherit eutils toolchain-funcs git-2 |
86 |
|
87 |
-DESCRIPTION="Utility to view your Radeon GPU utilization" |
88 |
-HOMEPAGE="https://github.com/clbr/radeontop/" |
89 |
+DESCRIPTION="Utility to view Radeon GPU utilization" |
90 |
+HOMEPAGE="https://github.com/clbr/radeontop" |
91 |
LICENSE="GPL-3" |
92 |
-EGIT_REPO_URI="https://github.com/clbr/${PN}.git" |
93 |
+EGIT_REPO_URI="https://github.com/clbr/radeontop.git" |
94 |
|
95 |
SLOT="0" |
96 |
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
97 |
-IUSE="" |
98 |
+KEYWORDS="" |
99 |
+IUSE="nls" |
100 |
|
101 |
-RDEPEND="sys-libs/ncurses |
102 |
- x11-libs/libpciaccess" |
103 |
-DEPEND="${RDEPEND}" |
104 |
+RDEPEND=" |
105 |
+ sys-libs/ncurses |
106 |
+ x11-libs/libpciaccess |
107 |
+ nls? ( sys-libs/ncurses[unicode] virtual/libintl ) |
108 |
+" |
109 |
+DEPEND="${RDEPEND} |
110 |
+ virtual/pkgconfig |
111 |
+ nls? ( sys-devel/gettext ) |
112 |
+" |
113 |
+ |
114 |
+src_prepare() { |
115 |
+ epatch_user |
116 |
+} |
117 |
+ |
118 |
+src_configure() { |
119 |
+ tc-export CC |
120 |
+ export nls=$(usex nls 1 0) |
121 |
+ # Do not add -g or -s to CFLAGS |
122 |
+ export plain=1 |
123 |
+} |