From 8a71dc5ba2884b0b61a5df0cfdaa37eb2d3cc74a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Mar 2018 21:51:57 +0000 Subject: sys-power/radeon-profile : new package --- dev-qt/qtcharts/Manifest | 1 + dev-qt/qtcharts/qtcharts-5.9.3-r1000.ebuild | 29 ++++++++++++++ sys-power/radeon-profile/Manifest | 1 + .../radeon-profile/radeon-profile-20170714.ebuild | 45 ++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 dev-qt/qtcharts/Manifest create mode 100644 dev-qt/qtcharts/qtcharts-5.9.3-r1000.ebuild create mode 100644 sys-power/radeon-profile/Manifest create mode 100644 sys-power/radeon-profile/radeon-profile-20170714.ebuild diff --git a/dev-qt/qtcharts/Manifest b/dev-qt/qtcharts/Manifest new file mode 100644 index 00000000..66e8bc45 --- /dev/null +++ b/dev-qt/qtcharts/Manifest @@ -0,0 +1 @@ +DIST qtcharts-opensource-src-5.9.3.tar.xz 4157772 BLAKE2B 9f1c783e89848bde42978a8f4a307cd8ba8e4d5bffd012f3e1953b8825a598f12f4fd6274bcdf9e719c0130a1e0e33dcc706789ef7017cc2645426e0725a03d5 SHA512 394806f9e2abfe5c36772efdbad576f7b8372f8cdd3e171bca320b8e35159f11a8022752f789038f98a63c448473200fcdc8b636781af8a417dce30184402355 diff --git a/dev-qt/qtcharts/qtcharts-5.9.3-r1000.ebuild b/dev-qt/qtcharts/qtcharts-5.9.3-r1000.ebuild new file mode 100644 index 00000000..90eac620 --- /dev/null +++ b/dev-qt/qtcharts/qtcharts-5.9.3-r1000.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit qt5-build-r10000 + +DESCRIPTION="Chart component library for the Qt5 framework" +LICENSE="GPL-3" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="amd64" +fi + +IUSE="qml" + +DEPEND=" + ~dev-qt/qtcore-${PV} + ~dev-qt/qtgui-${PV} + ~dev-qt/qtwidgets-${PV} + qml? ( ~dev-qt/qtdeclarative-${PV} ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + qt_use_disable_mod qml quick \ + src/src.pro + + qt5-build-r10000_src_prepare +} diff --git a/sys-power/radeon-profile/Manifest b/sys-power/radeon-profile/Manifest new file mode 100644 index 00000000..e20f5f7e --- /dev/null +++ b/sys-power/radeon-profile/Manifest @@ -0,0 +1 @@ +DIST radeon-profile-20170714.tar.gz 351240 BLAKE2B 4cce07bb72744a196a89db5b0280c39997b5d44686a6a72e155d3d15046ddbddcabff5b7ad1810fb9d0c6e0a03ca987c74ab17e05f9fc60307f8225af3686382 SHA512 dc7931f90143c5d565dad41ae623a687c20b3d118de1d1870d69b913d98e552601d1b3ac4da719ca5b17e1996cee743e9806c66c08e20c507208ebf398f62d27 diff --git a/sys-power/radeon-profile/radeon-profile-20170714.ebuild b/sys-power/radeon-profile/radeon-profile-20170714.ebuild new file mode 100644 index 00000000..bc9a877d --- /dev/null +++ b/sys-power/radeon-profile/radeon-profile-20170714.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils qmake-utils + +DESCRIPTION="Monitor Radeon GPU parameters and switch power profiles" +HOMEPAGE="https://github.com/marazmista/radeon-profile" +SRC_URI="https://github.com/marazmista/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtcharts:5 + x11-libs/libdrm + x11-libs/libXrandr + x11-libs/libxkbcommon +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/${PN} + +src_prepare() { + default + sed -i "s/Categories\=System\;Monitor\;HardwareSettings\;TrayIcon\;/Categories\=System\;/g" extra/${PN}.desktop +} + +src_configure() { + eqmake5 ${PN}.pro +} + +src_install() { + dodir usr/bin + exeinto usr/bin + doexe ${PN} + dodir usr/share/applications + insinto usr/share/applications + doins extra/${PN}.desktop + doicon extra/${PN}.png +} -- cgit v1.2.3