diff options
author | Eli Burch <eli.burch@burchbytes.com> | 2024-06-16 08:58:19 -0700 |
---|---|---|
committer | Eli Burch <eli.burch@burchbytes.com> | 2024-06-16 08:58:54 -0700 |
commit | de526c83713ff0c01c1efa9c2681a61d5c8e9415 (patch) | |
tree | 6ccf07201e30085ccadbac18f6ec4b7ff43a423c /x11-misc | |
parent | x11-misc/gammy: treeclean (diff) | |
download | guru-de526c83713ff0c01c1efa9c2681a61d5c8e9415.tar.gz guru-de526c83713ff0c01c1efa9c2681a61d5c8e9415.tar.bz2 guru-de526c83713ff0c01c1efa9c2681a61d5c8e9415.zip |
Revert "x11-misc/gammy: treeclean"
This reverts commit c96dab943d5da4f071e03ad06d910a4030021826.
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/gammy/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/gammy/gammy-0.9.60.ebuild | 49 | ||||
-rw-r--r-- | x11-misc/gammy/gammy-0.9.64.ebuild | 40 | ||||
-rw-r--r-- | x11-misc/gammy/metadata.xml | 13 |
4 files changed, 104 insertions, 0 deletions
diff --git a/x11-misc/gammy/Manifest b/x11-misc/gammy/Manifest new file mode 100644 index 000000000..56f727fea --- /dev/null +++ b/x11-misc/gammy/Manifest @@ -0,0 +1,2 @@ +DIST gammy-0.9.60.tar.gz 211249 BLAKE2B 00082c1dd7f9dce26b43fa4a3172e7399a4c8c18743c455fec222b33ca55ecb0b2a3d0483f3e83c58843ef6d47a0ceb52ff38185d0e34649fa634b475a845b88 SHA512 2167a14e579575d5d185a62fae93762f30dbb3396a66f99e4affb7ce710f076c119dfe4cd9a2432fd031dcfbe6548b4fbfe91dd854a6152768017c40596209f9 +DIST gammy-0.9.64.tar.gz 242282 BLAKE2B 3f1e1400eb00d15163843231e8d9907d68946d6347473db905413fe151611fa69239d7d5fe9763e54e5c7806e144604f596dca745973900ecddbe74bde2731d3 SHA512 80f43ca8ca0644b8b01cf299db21332f5f508196d0ba63e7e835e7e36b7e0d4f4dc3c78617523c36c52f8220a78ae42103605ffb93526f54a2bc5dccc7dab3b5 diff --git a/x11-misc/gammy/gammy-0.9.60.ebuild b/x11-misc/gammy/gammy-0.9.60.ebuild new file mode 100644 index 000000000..15cea3e94 --- /dev/null +++ b/x11-misc/gammy/gammy-0.9.60.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop qmake-utils xdg + +DESCRIPTION="Adaptive screen brightness/temperature" +HOMEPAGE="https://github.com/Fushko/gammy" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Fushko/${PN}.git" +else + SRC_URI="https://github.com/Fushko/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 + dev-qt/qtwidgets:5 + x11-libs/libXxf86vm +" +DEPEND=" + ${RDEPEND} + media-gfx/imagemagick +" + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + local sizes="128 16 32 64" + cd ./icons || die + for size in ${sizes}; do + convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die + newicon -s "${size}" "${size}x${size}ball.png" "${PN}.png" + done + + make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings" +} diff --git a/x11-misc/gammy/gammy-0.9.64.ebuild b/x11-misc/gammy/gammy-0.9.64.ebuild new file mode 100644 index 000000000..b88525295 --- /dev/null +++ b/x11-misc/gammy/gammy-0.9.64.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg + +DESCRIPTION="Adaptive screen brightness/temperature" +HOMEPAGE="https://github.com/Fushko/gammy" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Fushko/${PN}.git" +else + SRC_URI="https://github.com/Fushko/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtdbus:5 + dev-qt/qtwidgets:5 + x11-libs/libXxf86vm +" +DEPEND=" + ${RDEPEND} + media-gfx/imagemagick +" + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} diff --git a/x11-misc/gammy/metadata.xml b/x11-misc/gammy/metadata.xml new file mode 100644 index 000000000..7230db793 --- /dev/null +++ b/x11-misc/gammy/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">Fushko/gammy</remote-id> + </upstream> + <longdescription lang="en"> + Gammy is a GUI tool for adjusting pixel brightness/temperature automatically or manually. + It can dim the screen if its content is too bright, or brighten it otherwise. This can help your eyes adjust when switching between dark and light windows, especially at night or in suboptimal lighting conditions. + Screenshots available on its website. + </longdescription> +</pkgmetadata> |