diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
commit | c4d92ab721dfc646b4a58429d965e9446294ce26 (patch) | |
tree | 8c0c331362f99c256c191229ac424b1cc8698005 /sys-apps/polychromatic | |
parent | 5565fb7867ee9faddf046e42a0a3a1a207803938 (diff) |
gentoo auto-resync : 04:12:2022 - 21:03:51
Diffstat (limited to 'sys-apps/polychromatic')
-rw-r--r-- | sys-apps/polychromatic/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/polychromatic/polychromatic-0.8.0.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest index 6f067dd35242..7625bf69e3d3 100644 --- a/sys-apps/polychromatic/Manifest +++ b/sys-apps/polychromatic/Manifest @@ -1,4 +1,6 @@ DIST polychromatic-0.7.3.tar.gz 1513522 BLAKE2B 85dab08c90843f050175de8b53c34dfab4c87dde6d7daaffb36bfad09e165aa8220a943b47ae7b09fb3c45589165051ae27b9c5e17f4c94479e6a8575b593ef4 SHA512 bdd816fcbae8ce2e12367afd455941afb754f7ddb9f6337c6b675a3059c1dc6d64b1a7809efce9b909b8aee2025b496dc0b870d2e56a09da7fde7f8b5d733c5f +DIST polychromatic-0.8.0.tar.gz 1568480 BLAKE2B 26400829ef19c0155759f3fc146158631dc24379e0bde9d692f6fa0eaed8c18bc4d15e078fb8548f208d9b968a414b35fd4ad18e40f6297ce49e9cd9fc910e3b SHA512 a58e85e52a92ccb7fee837692bbf294fe376198582be0c0e982af37c3853667a80f8e67d074f0128a134ede05c4a064614036c847f8be22503e448b1385a1c5a EBUILD polychromatic-0.7.3-r1.ebuild 1905 BLAKE2B 6ccee45b813bdc6442d63d1a6c180589e877033c572a716e9758d32bfd9276bf1cf9e6955133d30a24155893453a0f2f60285f7a5ac259b48a2e50e4fcea3f0d SHA512 15414725ccbdd5df034ebb6c18b778a04793e4a87960163da54353b88be6b19b7e22f4a8e2e995862e5af56b9f10c9bf1a72b1c4ace8444d989a2eae3aad5638 +EBUILD polychromatic-0.8.0.ebuild 1905 BLAKE2B 6ccee45b813bdc6442d63d1a6c180589e877033c572a716e9758d32bfd9276bf1cf9e6955133d30a24155893453a0f2f60285f7a5ac259b48a2e50e4fcea3f0d SHA512 15414725ccbdd5df034ebb6c18b778a04793e4a87960163da54353b88be6b19b7e22f4a8e2e995862e5af56b9f10c9bf1a72b1c4ace8444d989a2eae3aad5638 EBUILD polychromatic-9999.ebuild 1905 BLAKE2B 6ccee45b813bdc6442d63d1a6c180589e877033c572a716e9758d32bfd9276bf1cf9e6955133d30a24155893453a0f2f60285f7a5ac259b48a2e50e4fcea3f0d SHA512 15414725ccbdd5df034ebb6c18b778a04793e4a87960163da54353b88be6b19b7e22f4a8e2e995862e5af56b9f10c9bf1a72b1c4ace8444d989a2eae3aad5638 MISC metadata.xml 889 BLAKE2B 8ce971727662be8955ae194838e8985876bdd6ee07c12b1587506bda595b57aaa7313dc5ba6c337c621dcfcbbe1b8519169469f99f0cf5878902330e9c8c5dbf SHA512 660d890d895e8edaef63dfa77ee02baab65388e5533ff82d15618d8d6bcdee0966e1087667b4b4cbe2ac2547549e6c0fba8c75587bf8fb83f31a1b047813c4b4 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 +} |