mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-apps/radeon-profile: bump to v20200824
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST radeon-profile-20200504.tar.gz 395674 BLAKE2B 6435dfcf9d2ce25789f429f12071cdb1c3f85050654b7fdec45c51a59d562d60369b28cfcd2854dfd5841e4af8f9166afed266e0a48d9010619972b653e0d4a8 SHA512 73f7eb59369af57aba5f067202fb1f772e48260c42ad194876926c29d278022daa86235f8d591bc763b8c6d80682553fe9a55f848137a8ec1de1bf9531c162c6
|
||||
DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de
|
||||
|
||||
64
x11-apps/radeon-profile/radeon-profile-20200824.ebuild
Normal file
64
x11-apps/radeon-profile/radeon-profile-20200824.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Read current clocks of ATi/AMD Radeon cards"
|
||||
HOMEPAGE="https://github.com/marazmista/radeon-profile"
|
||||
if [[ "${PV}" == 99999999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/marazmista/radeon-profile.git"
|
||||
else
|
||||
SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
RDEPEND="
|
||||
!<x11-apps/radeon-profile-daemon-20190603-r1
|
||||
dev-qt/qtcharts:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/qtconcurrent:5
|
||||
media-libs/mesa[X(+)]
|
||||
x11-libs/libdrm
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20200504-run_subdir.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply -p2 "${PATCHES[@]}"
|
||||
eapply_user
|
||||
sed 's@TrayIcon;@@' -i extra/${PN}.desktop || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to run ${PN} as non-root user, the"
|
||||
elog " x11-apps/radeon-profile-daemon"
|
||||
elog "package needs to be installed and the daemon must run."
|
||||
}
|
||||
Reference in New Issue
Block a user