You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
748 B
40 lines
748 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=7
|
||
8 years ago
|
inherit toolchain-funcs git-r3
|
||
11 years ago
|
|
||
|
DESCRIPTION="Utility to view Radeon GPU utilization"
|
||
|
HOMEPAGE="https://github.com/clbr/radeontop"
|
||
|
EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
|
||
|
|
||
7 years ago
|
LICENSE="GPL-3"
|
||
11 years ago
|
SLOT="0"
|
||
|
KEYWORDS=""
|
||
8 years ago
|
IUSE="nls"
|
||
11 years ago
|
|
||
|
RDEPEND="
|
||
8 years ago
|
sys-libs/ncurses:0=
|
||
10 years ago
|
x11-libs/libdrm
|
||
8 years ago
|
x11-libs/libpciaccess
|
||
|
x11-libs/libxcb
|
||
|
nls? (
|
||
|
sys-libs/ncurses:0=[unicode]
|
||
|
virtual/libintl
|
||
|
)
|
||
11 years ago
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
nls? ( sys-devel/gettext )
|
||
|
"
|
||
6 years ago
|
BDEPEND="virtual/pkgconfig"
|
||
11 years ago
|
|
||
|
src_configure() {
|
||
|
tc-export CC
|
||
7 years ago
|
export LIBDIR=$(get_libdir)
|
||
11 years ago
|
export nls=$(usex nls 1 0)
|
||
8 years ago
|
export amdgpu=1
|
||
8 years ago
|
export xcb=1
|
||
11 years ago
|
# Do not add -g or -s to CFLAGS
|
||
|
export plain=1
|
||
|
}
|