summaryrefslogtreecommitdiff
path: root/x11-apps/radeontop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-apps/radeontop
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-apps/radeontop')
-rw-r--r--x11-apps/radeontop/Manifest6
-rw-r--r--x11-apps/radeontop/metadata.xml8
-rw-r--r--x11-apps/radeontop/radeontop-1.0-r1.ebuild54
-rw-r--r--x11-apps/radeontop/radeontop-9999.ebuild39
4 files changed, 107 insertions, 0 deletions
diff --git a/x11-apps/radeontop/Manifest b/x11-apps/radeontop/Manifest
new file mode 100644
index 000000000000..c5358a5fa092
--- /dev/null
+++ b/x11-apps/radeontop/Manifest
@@ -0,0 +1,6 @@
+DIST radeontop-1.0.tar.gz 32677 SHA256 a997ea92f38a53d59db4d8e846aec4cc04cee8b79939e89d5eb9e31c57b468fc SHA512 bd7e8ecff962d8ac3072f3f1fa7a5d9981e2da28b38a1f234f6fe550511c3fbda2c1c6e9a6d1120bf99ef3ae621a91ff67c451eaf98dfa1264e9e6a59ae55e08 WHIRLPOOL 0813d44cf0801e7ace48704cf6f68d7a0d26cbb2dd6a4d47b2854c4ccbdce409dec45f4acc40678f7d1aca452989a90e7a886bc05cf8e62be5285ad97ae7b9ad
+EBUILD radeontop-1.0-r1.ebuild 946 SHA256 f2af3eb3014a2681650567213ad45c38d32ad3325eeb2b10ebe8e6f8ac4f661b SHA512 2d129777b521aee7510afb4dd4768e289e85358cf459113b0fbdee379f0075fdb1b5000ded11ed50330564e91863d1fa60ee4e856bb0796135f31e1464cac611 WHIRLPOOL 0a583611954d2e62652f88891edc7cc268277c22cfd4182277e5ecaf9f4be27f1c013dcd824955b8406f74ddc265c0367b480d8837c6a0d487f8091921dfa11d
+EBUILD radeontop-9999.ebuild 739 SHA256 ca6e216d104081fa4d814b43a461d3dd28b497503ac24824cef55ccbd4d74cb9 SHA512 2d9ad6242ac7e7e4cb53db8a041b4494009163e7b6b9d299bbebd20aaccbcda4978b31227f44842904a4e65ac499d2ab2ff8fc58325b185d7ab156d8d6875202 WHIRLPOOL 9f63d122c031b103dc008157d3de8825172ff66e6071dd7b476408c7b996ce6831e6ed832c9a2d2f5e67f34cb9f8827d763768c0fe9a6304bba9339fc76296f5
+MISC ChangeLog 2940 SHA256 732fb8cf54a6d68d76aa949f414260330e140fa6558bd3b63f177160525d755c SHA512 20e44b74b3e1adb4f22e227d3e7e91327e000ac76616676823c795574ad0d24d8ab4fa87c8de9d4c45313c878130e6c339c5ffecbf400c35b89e639e5fd7e007 WHIRLPOOL 10114a1d92d5e1a2194e4c20cf2a6cfa2910b0dbd30e294958270b5a0d6ae6ec8bc467c6d0deaae36198a5464ca7ae3bc90d8a9c20c29dd78383b22fd0c37a80
+MISC ChangeLog-2015 907 SHA256 91d66ff0a99d263bd51a2cfaf5722058dbae2074031520963dbf99ce93b8cf12 SHA512 86e97bbb406e7e3ed8558f8ef1a47eb2af2dc3a20a4a2180232d1d1c6f02e6715fbe75b3b1ada2f53dd5768cd7325c7dcf1dcfbd973b2431c53ffbaeb2bb38fc WHIRLPOOL d9b6b30fa39227639e9e3d9812bb1d69f0a5318b25160527eb5a56af83bc2401f5788555592f1fd47682b289e9e9e7b7af115d887c14b4c6409606a4723919f4
+MISC metadata.xml 245 SHA256 5a9e9476a5c6ff9c85519b4862a65a7da5fe88c27e0b953426f3a959e7dc8004 SHA512 49b8c90c9dde8331133ea5d9c026880dd1915a514d04f516d79c73b4c270e0b90f4fc36e654e0f9b508dcee5fc58c49c3dd060989f4ca0e3187b5f6800d2504a WHIRLPOOL 7637920994f5414c83c14cfd2d1ca3062b8509e3389f28df971b716e8bfe4f2248000458a97cef183ada814ca7452ffde3656f2bea5dc13d64e5c1eee624aefe
diff --git a/x11-apps/radeontop/metadata.xml b/x11-apps/radeontop/metadata.xml
new file mode 100644
index 000000000000..0fad074d0738
--- /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-needed -->
+ <upstream>
+ <remote-id type="github">clbr/radeontop</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-apps/radeontop/radeontop-1.0-r1.ebuild b/x11-apps/radeontop/radeontop-1.0-r1.ebuild
new file mode 100644
index 000000000000..dbe582980fc9
--- /dev/null
+++ b/x11-apps/radeontop/radeontop-1.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+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
+}
diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild
new file mode 100644
index 000000000000..4c1bafa1eb80
--- /dev/null
+++ b/x11-apps/radeontop/radeontop-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs git-r3
+
+DESCRIPTION="Utility to view Radeon GPU utilization"
+HOMEPAGE="https://github.com/clbr/radeontop"
+EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+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}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+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
+}