public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/x11:master commit in: x11-apps/radeontop/
@ 2013-12-07 18:31 Nikoli
  0 siblings, 0 replies; only message in thread
From: Nikoli @ 2013-12-07 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     e9a1d05316fdf5d3a0f6d787a8e69c83ee775b6f
Author:     Nikoli <nikoli <AT> gmx <DOT> us>
AuthorDate: Sat Dec  7 18:31:11 2013 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Sat Dec  7 18:31:11 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=e9a1d053

radeontop: version bump, fix deps, add USE nls, respect CC, do not strip by default

Package-Manager: portage-2.2.7

---
 x11-apps/radeontop/metadata.xml          |  8 +++++++
 x11-apps/radeontop/radeontop-0.7.ebuild  | 36 ++++++++++++++++++++++++++++++++
 x11-apps/radeontop/radeontop-9999.ebuild | 35 +++++++++++++++++++++++--------
 3 files changed, 70 insertions(+), 9 deletions(-)

diff --git a/x11-apps/radeontop/metadata.xml b/x11-apps/radeontop/metadata.xml
new file mode 100644
index 0000000..c753f86
--- /dev/null
+++ b/x11-apps/radeontop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>nikoli@gmx.us</email>
+		<name>Nikoli</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/x11-apps/radeontop/radeontop-0.7.ebuild b/x11-apps/radeontop/radeontop-0.7.ebuild
new file mode 100644
index 0000000..adf5cc7
--- /dev/null
+++ b/x11-apps/radeontop/radeontop-0.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility to view Radeon GPU utilization"
+HOMEPAGE="https://github.com/clbr/radeontop"
+LICENSE="GPL-3"
+SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	sys-libs/ncurses
+	x11-libs/libpciaccess
+	nls? ( sys-libs/ncurses[unicode] virtual/libintl )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+	epatch_user
+}
+
+src_configure() {
+	tc-export CC
+	export nls=$(usex nls 1 0)
+	# Do not add -g or -s to CFLAGS
+	export plain=1
+}

diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild
index 8c148b7..27663dd 100644
--- a/x11-apps/radeontop/radeontop-9999.ebuild
+++ b/x11-apps/radeontop/radeontop-9999.ebuild
@@ -3,17 +3,34 @@
 # $Header: $
 
 EAPI=5
-inherit git-2
+inherit eutils toolchain-funcs git-2
 
-DESCRIPTION="Utility to view your Radeon GPU utilization"
-HOMEPAGE="https://github.com/clbr/radeontop/"
+DESCRIPTION="Utility to view Radeon GPU utilization"
+HOMEPAGE="https://github.com/clbr/radeontop"
 LICENSE="GPL-3"
-EGIT_REPO_URI="https://github.com/clbr/${PN}.git"
+EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
 
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
+KEYWORDS=""
+IUSE="nls"
 
-RDEPEND="sys-libs/ncurses
-	x11-libs/libpciaccess"
-DEPEND="${RDEPEND}"
+RDEPEND="
+	sys-libs/ncurses
+	x11-libs/libpciaccess
+	nls? ( sys-libs/ncurses[unicode] virtual/libintl )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+	epatch_user
+}
+
+src_configure() {
+	tc-export CC
+	export nls=$(usex nls 1 0)
+	# Do not add -g or -s to CFLAGS
+	export plain=1
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-07 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 18:31 [gentoo-commits] proj/x11:master commit in: x11-apps/radeontop/ Nikoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox