summaryrefslogtreecommitdiff
path: root/x11-apps/radeon-profile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-02 14:09:07 +0100
commitb17a3ef12038de50228bade1f05502c74e135321 (patch)
tree9026dffec53f92cba48ca9a500a4f778e6304380 /x11-apps/radeon-profile
parent3cf7c3ef441822c889356fd1812ebf2944a59851 (diff)
gentoo resync : 02.09.2020
Diffstat (limited to 'x11-apps/radeon-profile')
-rw-r--r--x11-apps/radeon-profile/Manifest2
-rw-r--r--x11-apps/radeon-profile/radeon-profile-20200824.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/x11-apps/radeon-profile/Manifest b/x11-apps/radeon-profile/Manifest
index 2e85e72566fd..ecd6676d29f9 100644
--- a/x11-apps/radeon-profile/Manifest
+++ b/x11-apps/radeon-profile/Manifest
@@ -1,5 +1,7 @@
AUX radeon-profile-20200504-run_subdir.patch 1094 BLAKE2B 46b28649ae72b6e158df117dbff356213c14eaccba4547f1740b9b3c3c3469b816868d3b85acc3e32bde081b586e459e8b96f9df02e0f66717f7d88ccf047a66 SHA512 f8040a93e065292cc696ec94fa1076e438bdca5fd5f032062f4f3e8abcbeec9d4f814fb535474608fcbb352f554f5ce82244995977b7f4322b24a125df8a4847
DIST radeon-profile-20200504.tar.gz 395674 BLAKE2B 6435dfcf9d2ce25789f429f12071cdb1c3f85050654b7fdec45c51a59d562d60369b28cfcd2854dfd5841e4af8f9166afed266e0a48d9010619972b653e0d4a8 SHA512 73f7eb59369af57aba5f067202fb1f772e48260c42ad194876926c29d278022daa86235f8d591bc763b8c6d80682553fe9a55f848137a8ec1de1bf9531c162c6
+DIST radeon-profile-20200824.tar.gz 395416 BLAKE2B 0f1b9ac59c1e5da97cc0446d32f1fab6435d9049a5dc362d5896849e580382ede745e1759aef3ba659dec0f8f2ae12bb68f0f65313d24f9e3f4cdfa6f7d4887e SHA512 e3e9cf9aa46f81772406f7dc18a3768777b9f2ccdcda18094862183b31857099bf22e2a8b548ade5dedd04a38c8eab7a31127db3b7726adc901c7123a47f81de
EBUILD radeon-profile-20200504-r1.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0
+EBUILD radeon-profile-20200824.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0
EBUILD radeon-profile-99999999.ebuild 1248 BLAKE2B ec70477c0942ac99cb44c40d0e081d60fe7e7d47af5113e2a7062cab86fdfc3edac66e4792b6abeaf17aef745d065bbe10cf8ffa398d7f75e5634c34a7952a2e SHA512 b2ca93c74ed62e3ff271040d725fd2801a3215c5e8898f6855dd3ae41d07fa69212afdc4a77bb5a236d0089d49a09d86635e16c9ab49dc347fd24f2f4832cfa0
MISC metadata.xml 351 BLAKE2B 9bd8e162fadd4298b4cad8421104f7a75fcbfd41afba232789443b55e7a0c5befa8da030dc2fdccddedcab6296f51963158bf822e272182d98bf47dde9e63936 SHA512 0dd848bf98523b34bfb961b5711314bfda5294b2e7292a2b9a38c45c3bbb8f3d71ee22640a00068aadf97ee6aec3bf393a288f9d0b0533b7d5c9fa83aeacc2b1
diff --git a/x11-apps/radeon-profile/radeon-profile-20200824.ebuild b/x11-apps/radeon-profile/radeon-profile-20200824.ebuild
new file mode 100644
index 000000000000..d836b3ad1f83
--- /dev/null
+++ b/x11-apps/radeon-profile/radeon-profile-20200824.ebuild
@@ -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."
+}