public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/polychromatic/
Date: Sat, 15 Mar 2025 19:55:40 +0000 (UTC)	[thread overview]
Message-ID: <1742068530.1c14bcd2d470192bb0683fb1586d692d1a85d38f.xgqt@gentoo> (raw)

commit:     1c14bcd2d470192bb0683fb1586d692d1a85d38f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 15:54:59 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 19:55:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c14bcd2

sys-apps/polychromatic: bump to 0.9.4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sys-apps/polychromatic/Manifest                   |  1 +
 sys-apps/polychromatic/polychromatic-0.9.4.ebuild | 76 +++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest
index 44c32f687152..47210b475e98 100644
--- a/sys-apps/polychromatic/Manifest
+++ b/sys-apps/polychromatic/Manifest
@@ -1 +1,2 @@
 DIST polychromatic-0.9.3.tar.gz 1809140 BLAKE2B 8b3397a234e45a4e72635207bf2ce8d8fc3454e62494cd84128908fffe1d3155255d74ea41d17584cb1dbfd2e68e8b6cb629e8dedab43e22eba3ff8204f271b0 SHA512 a1805bce9986915164fdf61b5fd194ebd16cd7f1528febe0dcf7c09ecde5edf6ed7b404c97a3ea27427727d0134d9e26b71d8a810b5649e659febc403146bc4a
+DIST polychromatic-0.9.4.tar.gz 1805903 BLAKE2B cf751113a10582eb98588937278ec42fcfd6fe911f01eb5875ecba557da66e7fafdbe48042faf455a3009ff9190cbd11bed0b087f38833d7054d0eccde44ab61 SHA512 776a6d44c31bbbf6d88f09bb9d75b2d6982029538ce00512c6a6d36f7f196a62ba6a95a87841009759cb2d0d15265d1b01891f2ab463466d0b59f1a66f739f1e

diff --git a/sys-apps/polychromatic/polychromatic-0.9.4.ebuild b/sys-apps/polychromatic/polychromatic-0.9.4.ebuild
new file mode 100644
index 000000000000..eb7dc2925c36
--- /dev/null
+++ b/sys-apps/polychromatic/polychromatic-0.9.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit meson python-single-r1 readme.gentoo-r1 xdg
+
+DESCRIPTION="RGB lighting management software for GNU/Linux powered by OpenRazer"
+HOMEPAGE="https://polychromatic.app/
+	https://github.com/polychromatic/polychromatic/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	>=x11-libs/gtk+-3.20:3[introspection]
+	$(python_gen_cond_dep '
+		dev-python/pyqt6-webengine[${PYTHON_USEDEP}]
+		dev-python/pyqt6[svg,${PYTHON_USEDEP}]
+		dev-python/colorama[${PYTHON_USEDEP}]
+		dev-python/colour[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/setproctitle[${PYTHON_USEDEP}]
+		sys-apps/openrazer[client,${PYTHON_USEDEP}]
+	')
+"
+BDEPEND="
+	${RDEPEND}
+	dev-util/intltool
+"
+
+DOC_CONTENTS="To automatically start up Polychromatic on session login copy
+/usr/share/polychromatic/polychromatic-autostart.desktop file into Your user's
+~/.config/autostart/ directory."
+
+src_test() {
+	rm -rf "locale" || die
+	ln -svf "${BUILD_DIR}/locale" "locale" || die
+	PYTHONPATH="tests:${PYTHONPATH}" "${EPYTHON}" "tests/runner.py" || die
+}
+
+src_install() {
+	meson_src_install
+	python_optimize
+	readme.gentoo_create_doc
+
+	python_doscript "${S}"/polychromatic-{cli,controller,helper,tray-applet}
+
+	# Do not force polychromatic to autostart on session login.
+	# Move it into /usr/share/polychromatic and treat it as an example file
+	# that could be installed into user's ~/.config/autostart/ directory.
+	mv "${ED}/etc/xdg/autostart/${PN}-autostart.desktop" \
+	   "${ED}/usr/share/${PN}/${PN}-autostart.desktop" || die
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	readme.gentoo_print_elog
+}


             reply	other threads:[~2025-03-15 19:55 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-15 19:55 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-31  5:32 [gentoo-commits] repo/gentoo:master commit in: sys-apps/polychromatic/ Arthur Zamarin
2025-04-19 13:50 Maciej Barć
2025-04-19 13:50 Maciej Barć
2025-04-14 17:07 Arthur Zamarin
2025-03-15 19:55 Maciej Barć
2024-12-07 18:10 Maciej Barć
2024-12-07 18:10 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-07-31  0:03 Maciej Barć
2024-06-22 19:05 Maciej Barć
2024-06-22 19:05 Maciej Barć
2024-06-14  7:27 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-04-24 17:10 Maciej Barć
2024-04-24 17:10 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-11-20 20:27 Maciej Barć
2023-11-20 19:17 Maciej Barć
2023-10-09  7:35 Maciej Barć
2023-09-02 14:30 Maciej Barć
2023-05-01 18:46 Maciej Barć
2023-05-01 18:46 Maciej Barć
2023-05-01 18:46 Maciej Barć
2022-12-04 18:28 Maciej Barć
2022-10-01 13:50 Maciej Barć
2022-09-24 21: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=1742068530.1c14bcd2d470192bb0683fb1586d692d1a85d38f.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --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