diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-03-04 22:36:40 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-04 22:38:28 +0100 |
commit | d4196d51bba6840ad53bae58ee03e2c0517d34aa (patch) | |
tree | 8060db149d076bd8c2d377a9d7451c96038c8ae4 /sys-apps/radeontool | |
parent | app-laptop/radeontool: taking ownership (diff) | |
download | gentoo-d4196d51bba6840ad53bae58ee03e2c0517d34aa.tar.gz gentoo-d4196d51bba6840ad53bae58ee03e2c0517d34aa.tar.bz2 gentoo-d4196d51bba6840ad53bae58ee03e2c0517d34aa.zip |
app-laptop/radeontool: moved into sys-apps category
This isn't a package only for laptops, but a generic one for using with
radeon cards.
Closes: https://bugs.gentoo.org/463922
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/radeontool')
-rw-r--r-- | sys-apps/radeontool/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/radeontool/metadata.xml | 15 | ||||
-rw-r--r-- | sys-apps/radeontool/radeontool-1.6.3.ebuild | 24 | ||||
-rw-r--r-- | sys-apps/radeontool/radeontool-1.6.3_p20181127.ebuild | 26 |
4 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/radeontool/Manifest b/sys-apps/radeontool/Manifest new file mode 100644 index 000000000000..b03ad96d2741 --- /dev/null +++ b/sys-apps/radeontool/Manifest @@ -0,0 +1,2 @@ +DIST radeontool-1.6.3.tar.bz2 367487 BLAKE2B 0af4f7ce5f638b1ebfa191439f048bd3687ecec0085621b931890f07154fd40349c7d5eab57cb58fb75a6b0c9ebb687728332e3b72826f9b57b2272f67691eca SHA512 937ddf3e2b7dc35b9bc872d770b184303ac9e8199c0de6c17d187acfc5c398abc0cec2071c1af5ad16b0df2976418e06db8b1f90775fe59a8a80bdb3f8e2dca6 +DIST radeontool-1.6.3_p20181127.tar.gz 145939 BLAKE2B ba445095a45d0754c3d20fb45cb75754618d88c9ed23c988926323e9194ef3a8c6ea37c13880d6878750587e6de283a82789c98a6225e303edf7579a327261c2 SHA512 48779a1d7d4ceb79acaef4ba93074ee06b4ee0a02db42fbf1faa7cdc462e21e6c7450dd71c435788e54b99595e61f255154a672bfb8d76acb2d30f560ee6eca4 diff --git a/sys-apps/radeontool/metadata.xml b/sys-apps/radeontool/metadata.xml new file mode 100644 index 000000000000..af61ce3ac0f4 --- /dev/null +++ b/sys-apps/radeontool/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + Utility to control some functions of AMD/ATI Radeon chips: + - Turning on/off external DAC + - Turning on/off lcd panel backlight + - Turn on/off LCD scaling for resolution mismatch + - Dumping registers + </longdescription> +</pkgmetadata> diff --git a/sys-apps/radeontool/radeontool-1.6.3.ebuild b/sys-apps/radeontool/radeontool-1.6.3.ebuild new file mode 100644 index 000000000000..edd777f7ac49 --- /dev/null +++ b/sys-apps/radeontool/radeontool-1.6.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Manage the backlight, external video output and registers of ATI Radeon cards" + +HOMEPAGE="https://cgit.freedesktop.org/~airlied/radeontool/" +SRC_URI="https://people.freedesktop.org/~airlied/${PN}/${P}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +IUSE="" + +RDEPEND=">=x11-libs/libpciaccess-0.12.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + emake install DESTDIR="${D}" +} diff --git a/sys-apps/radeontool/radeontool-1.6.3_p20181127.ebuild b/sys-apps/radeontool/radeontool-1.6.3_p20181127.ebuild new file mode 100644 index 000000000000..945498dc3d08 --- /dev/null +++ b/sys-apps/radeontool/radeontool-1.6.3_p20181127.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="0a672473f583c6e4df3b1714d4af79653910811e" + +inherit autotools + +DESCRIPTION="Utility to get/set registers and controlling backlight on radeon based GPUs" +HOMEPAGE="https://cgit.freedesktop.org/~airlied/radeontool/" +SRC_URI="https://dev.gentoo.org/~conikost/distfiles/${P}.tar.gz" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="x11-libs/libpciaccess" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} |