public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Burch" <redawl@burchbytes.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/gammy/
Date: Sun, 16 Jun 2024 16:00:03 +0000 (UTC)	[thread overview]
Message-ID: <1718553534.de526c83713ff0c01c1efa9c2681a61d5c8e9415.redawl@gentoo> (raw)

commit:     de526c83713ff0c01c1efa9c2681a61d5c8e9415
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Sun Jun 16 15:58:19 2024 +0000
Commit:     Eli Burch <redawl <AT> burchbytes <DOT> com>
CommitDate: Sun Jun 16 15:58:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de526c83

Revert "x11-misc/gammy: treeclean"

This reverts commit c96dab943d5da4f071e03ad06d910a4030021826.

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 x11-misc/gammy/Manifest            |  2 ++
 x11-misc/gammy/gammy-0.9.60.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
 x11-misc/gammy/gammy-0.9.64.ebuild | 40 +++++++++++++++++++++++++++++++
 x11-misc/gammy/metadata.xml        | 13 ++++++++++
 4 files changed, 104 insertions(+)

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>


             reply	other threads:[~2024-06-16 16:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-16 16:00 Eli Burch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-16 15:12 [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/gammy/ Eli Burch
2022-05-25 20:21 Alessandro Barbieri
2021-12-15 11:23 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 11:23 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-06-11 15:23 Alessandro Barbieri
2021-05-21 18:18 Maciej Barć
2021-04-21  7:17 Maciej Barć
2021-04-18 17:45 Maciej Barć
2021-04-18 17:45 Maciej Barć
2021-04-18 16:01 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-18 15:53 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-18  2:55 Theo Anderson
2021-04-09  9:16 Maciej Barć
2021-04-05  2:11 Rui Huang
2021-01-01 21:35 Maciej Barć
2020-11-08 17:21 Maciej Barć
2020-10-14 17:22 Maciej Barć
2020-10-05 23:11 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718553534.de526c83713ff0c01c1efa9c2681a61d5c8e9415.redawl@gentoo \
    --to=redawl@burchbytes.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox