public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/radeontop/
Date: Wed,  3 Feb 2021 10:33:16 +0000 (UTC)	[thread overview]
Message-ID: <1612348385.7e44924e497c51d7309c797f3379aa421099723a.juippis@gentoo> (raw)

commit:     7e44924e497c51d7309c797f3379aa421099723a
Author:     mercuriete <mercuriete <AT> gmail <DOT> com>
AuthorDate: Mon Jan 18 19:36:49 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb  3 10:33:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e44924e

app-misc/radeontop: bump to 1.3

Closes: https://bugs.gentoo.org/765529
Signed-off-by: Abel Garcia Dorta <mercuriete <AT> yahoo.es>
Closes: https://github.com/gentoo/gentoo/pull/19108
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-misc/radeontop/Manifest             |  1 +
 app-misc/radeontop/radeontop-1.3.ebuild | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-misc/radeontop/Manifest b/app-misc/radeontop/Manifest
index 151d26a0f7d..f2c3f518943 100644
--- a/app-misc/radeontop/Manifest
+++ b/app-misc/radeontop/Manifest
@@ -1 +1,2 @@
 DIST radeontop-1.2.tar.gz 35319 BLAKE2B 52a92b86379c9340b8f59b3039a4ad725827e1b3ee2bb7d2f544d6ec8730e03ab1baab266edbc263195e68ca56a4e7b3f251337401775fff588fbfb8bae0751d SHA512 f36c2e418fe8add77080642e575b99c092afeda24811f33ee161a8c9341decb611f631e5511a5255089d63e172eda6836295e5795c3ebd3f5cad172f7599d862
+DIST radeontop-1.3.tar.gz 38138 BLAKE2B 41bc36c571a99a136f2d1c1d5ff1a06b1e99bccb6e01f7432b9867e2700afa9d2b5cab7f743d3560b2120642c98253313e0356af977805ada173cd3c2168acbc SHA512 cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1

diff --git a/app-misc/radeontop/radeontop-1.3.ebuild b/app-misc/radeontop/radeontop-1.3.ebuild
new file mode 100644
index 00000000000..78d907d4151
--- /dev/null
+++ b/app-misc/radeontop/radeontop-1.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Utility to view Radeon GPU utilization"
+HOMEPAGE="https://github.com/clbr/radeontop"
+SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	sys-libs/ncurses:0=
+	x11-libs/libdrm
+	x11-libs/libpciaccess
+	x11-libs/libxcb
+	nls? (
+		sys-libs/ncurses:0=[unicode]
+		virtual/libintl
+	)
+"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	cat > include/version.h <<-EOF || die
+		#ifndef VER_H
+		#define VER_H
+
+		#define VERSION "${PV}"
+
+		#endif
+	EOF
+	>getver.sh || die
+	touch .git || die
+}
+
+src_configure() {
+	tc-export CC
+	export LIBDIR=$(get_libdir)
+	export nls=$(usex nls 1 0)
+	export amdgpu=1
+	export xcb=1
+	# Do not add -g or -s to CFLAGS
+	export plain=1
+}


             reply	other threads:[~2021-02-03 10:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 10:33 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 15:52 [gentoo-commits] repo/gentoo:master commit in: app-misc/radeontop/ Arthur Zamarin
2025-03-15 15:52 Arthur Zamarin
2025-01-05 19:28 Sam James
2023-03-05 11:19 Sam James
2022-11-18  8:08 WANG Xuerui
2022-11-11 11:13 Georgy Yakovlev
2021-12-12 19:37 Conrad Kostecki
2021-08-26 13:04 Benda XU
2021-02-17 19:33 Conrad Kostecki
2021-02-17 19:33 Conrad Kostecki
2021-02-13 11:59 Conrad Kostecki
2021-02-13 11:59 Conrad Kostecki
2021-02-13 11:59 Conrad Kostecki
2020-08-16 18:55 Jonas Stein
2019-08-14  7:18 Joonas Niilola
2019-08-06 18:26 Michał Górny
2019-08-02 19:04 Joonas Niilola
2018-08-23 19:57 Michał Górny
2018-08-23 19:57 Michał Górny
2018-08-23 19:57 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612348385.7e44924e497c51d7309c797f3379aa421099723a.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox