From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0678F1581E7 for ; Wed, 24 Apr 2024 17:10:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED6DCE29A4; Wed, 24 Apr 2024 17:10:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE3B3E29A4 for ; Wed, 24 Apr 2024 17:10:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1047734312C for ; Wed, 24 Apr 2024 17:10:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7448D175B for ; Wed, 24 Apr 2024 17:10:54 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1713978649.e318a11f448673f45ad8376078c5fa260f7fc001.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/polychromatic/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/polychromatic/Manifest sys-apps/polychromatic/polychromatic-0.9.0.ebuild X-VCS-Directories: sys-apps/polychromatic/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: e318a11f448673f45ad8376078c5fa260f7fc001 X-VCS-Branch: master Date: Wed, 24 Apr 2024 17:10:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 437dcacb-a88d-4277-b360-bd12648c286b X-Archives-Hash: d2df2fe3bd377dcf2b807b1d8868c6a7 commit: e318a11f448673f45ad8376078c5fa260f7fc001 Author: Maciej Barć gentoo org> AuthorDate: Wed Apr 24 15:26:02 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Wed Apr 24 17:10:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e318a11f sys-apps/polychromatic: bump to 0.9.0 Bug: https://github.com/polychromatic/polychromatic/issues/508 Closes: https://bugs.gentoo.org/926683 Signed-off-by: Maciej Barć gentoo.org> sys-apps/polychromatic/Manifest | 1 + sys-apps/polychromatic/polychromatic-0.9.0.ebuild | 71 +++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest index 28a27286055b..cb828b49b973 100644 --- a/sys-apps/polychromatic/Manifest +++ b/sys-apps/polychromatic/Manifest @@ -1 +1,2 @@ DIST polychromatic-0.8.3.tar.gz 1762021 BLAKE2B eb4925fdd5be892c4f490424f357e8d1a2db79ac4bd9b4ae2a6f05662022837ba624d23c373b073de8045207511c50a6f2c4ba6cc4a6f276c2553edcbae25eaf SHA512 e2b26bfda985a2a80373dfa2c10e85a96724eec16c513e825841b7363b692c3edf51fc7ddc0735e28bb1c5074ebd22e9390606d314df35fc61cb185a0fd0acfc +DIST polychromatic-0.9.0.tar.gz 1776527 BLAKE2B 20129aad108f362d6efff4ad8e4e3b6eeff36eaba9a4fc12c0093dbf9f4ab91b34cc80760f5c19348f16760b2e569cda645a16d0005b1f5f00dcf478c10b16af SHA512 10ea80f09e032c29036702de70d1b1b977cf07d2ae834cdcfd6a16599fa389209b0db695e8b1cd5c40f2ebe4c48ae99aafc5d649c1cf3bffe5382bd471b9c23d diff --git a/sys-apps/polychromatic/polychromatic-0.9.0.ebuild b/sys-apps/polychromatic/polychromatic-0.9.0.ebuild new file mode 100644 index 000000000000..19e9c50db521 --- /dev/null +++ b/sys-apps/polychromatic/polychromatic-0.9.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +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 + dev-lang/sassc +" + +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_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 +}