diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-08-23 11:16:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-23 21:53:19 +0200 |
commit | 2ce36631bdbf8daa1c6d74559d534aa9d33aa615 (patch) | |
tree | c3a472a53ee62c7893885e9f6c522c0dc3e8495a /app-misc | |
parent | app-misc/radeontop: add myself as maintainer (diff) | |
download | gentoo-2ce36631bdbf8daa1c6d74559d534aa9d33aa615.tar.gz gentoo-2ce36631bdbf8daa1c6d74559d534aa9d33aa615.tar.bz2 gentoo-2ce36631bdbf8daa1c6d74559d534aa9d33aa615.zip |
app-misc/radeontop: version and EAPI bump
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/radeontop/Manifest | 1 | ||||
-rw-r--r-- | app-misc/radeontop/radeontop-1.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-misc/radeontop/Manifest b/app-misc/radeontop/Manifest index dbbad14e4eaf..4b0f29007286 100644 --- a/app-misc/radeontop/Manifest +++ b/app-misc/radeontop/Manifest @@ -1 +1,2 @@ DIST radeontop-1.0.tar.gz 32677 BLAKE2B e3445c400dff0f8afaa743d349477b67ccc4da187cbf979fe42c63b9e60f246f54e5fa2076ef6af789fea093c175d0ec66fa9f0f30bfb926a28f1aa12f2b10cf SHA512 bd7e8ecff962d8ac3072f3f1fa7a5d9981e2da28b38a1f234f6fe550511c3fbda2c1c6e9a6d1120bf99ef3ae621a91ff67c451eaf98dfa1264e9e6a59ae55e08 +DIST radeontop-1.1.tar.gz 33527 BLAKE2B 920376e5fb8acffb181b7a9e1362f46bad2de66fcf3665dc212f931d9b6fb9bf3f6765e2f8de78f8b2ba7d13cc5baae3e4d3b0612a1097f917420a43b3215f8d SHA512 abf4e51582cc668e1abbcd87bfa6ec5f16a301c3327a276a6f27fe928f780acf1442a696bb00bdbd3e8cad21a1416ffcf500a865dd4bac9517fac1a43d851c5a diff --git a/app-misc/radeontop/radeontop-1.1.ebuild b/app-misc/radeontop/radeontop-1.1.ebuild new file mode 100644 index 000000000000..aea4af8f9436 --- /dev/null +++ b/app-misc/radeontop/radeontop-1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +} |