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 C40AB158020 for ; Sun, 4 Dec 2022 18:28:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E00FE07C7; Sun, 4 Dec 2022 18:28:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E5893E07C7 for ; Sun, 4 Dec 2022 18:28:54 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15B9634136A for ; Sun, 4 Dec 2022 18:28:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79C0C75 for ; Sun, 4 Dec 2022 18:28:52 +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: <1670178530.bf4ac1cc609e9b0f0149a2b32a83a9042da7a6bc.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.8.0.ebuild X-VCS-Directories: sys-apps/polychromatic/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: bf4ac1cc609e9b0f0149a2b32a83a9042da7a6bc X-VCS-Branch: master Date: Sun, 4 Dec 2022 18:28:52 +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: 1e59b2ae-7e77-4d12-aa3f-67856f425f13 X-Archives-Hash: c9e74fd29b4a38e31704ba3a4b92b355 commit: bf4ac1cc609e9b0f0149a2b32a83a9042da7a6bc Author: Maciej Barć gentoo org> AuthorDate: Sun Dec 4 18:23:32 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Dec 4 18:28:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4ac1cc sys-apps/polychromatic: bump to 0.8.0 Signed-off-by: Maciej Barć gentoo.org> sys-apps/polychromatic/Manifest | 1 + sys-apps/polychromatic/polychromatic-0.8.0.ebuild | 69 +++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest index cbef51a41ea3..a8b765da39b2 100644 --- a/sys-apps/polychromatic/Manifest +++ b/sys-apps/polychromatic/Manifest @@ -1 +1,2 @@ DIST polychromatic-0.7.3.tar.gz 1513522 BLAKE2B 85dab08c90843f050175de8b53c34dfab4c87dde6d7daaffb36bfad09e165aa8220a943b47ae7b09fb3c45589165051ae27b9c5e17f4c94479e6a8575b593ef4 SHA512 bdd816fcbae8ce2e12367afd455941afb754f7ddb9f6337c6b675a3059c1dc6d64b1a7809efce9b909b8aee2025b496dc0b870d2e56a09da7fde7f8b5d733c5f +DIST polychromatic-0.8.0.tar.gz 1568480 BLAKE2B 26400829ef19c0155759f3fc146158631dc24379e0bde9d692f6fa0eaed8c18bc4d15e078fb8548f208d9b968a414b35fd4ad18e40f6297ce49e9cd9fc910e3b SHA512 a58e85e52a92ccb7fee837692bbf294fe376198582be0c0e982af37c3853667a80f8e67d074f0128a134ede05c4a064614036c847f8be22503e448b1385a1c5a diff --git a/sys-apps/polychromatic/polychromatic-0.8.0.ebuild b/sys-apps/polychromatic/polychromatic-0.8.0.ebuild new file mode 100644 index 000000000000..498b9988577d --- /dev/null +++ b/sys-apps/polychromatic/polychromatic-0.8.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +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/PyQt5[svg,${PYTHON_USEDEP}] + dev-python/PyQtWebEngine[${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 +}