diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-24 23:59:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-24 23:59:27 +0100 |
commit | b987a550f067c3da93b0664cf1fdc8a624c0aa38 (patch) | |
tree | 9ad1767fad656d26471a81af6bac8400a1c75218 /sys-apps/polychromatic | |
parent | e3f21c8aff8a76afe3423721c437a088e9232840 (diff) |
gentoo auto-resync : 24:04:2024 - 23:59:27
Diffstat (limited to 'sys-apps/polychromatic')
-rw-r--r-- | sys-apps/polychromatic/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/polychromatic/polychromatic-0.9.0.ebuild | 71 | ||||
-rw-r--r-- | sys-apps/polychromatic/polychromatic-9999.ebuild | 16 |
3 files changed, 83 insertions, 8 deletions
diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest index f4d24f87eff8..f4db72040334 100644 --- a/sys-apps/polychromatic/Manifest +++ b/sys-apps/polychromatic/Manifest @@ -1,4 +1,6 @@ DIST polychromatic-0.8.3.tar.gz 1762021 BLAKE2B eb4925fdd5be892c4f490424f357e8d1a2db79ac4bd9b4ae2a6f05662022837ba624d23c373b073de8045207511c50a6f2c4ba6cc4a6f276c2553edcbae25eaf SHA512 e2b26bfda985a2a80373dfa2c10e85a96724eec16c513e825841b7363b692c3edf51fc7ddc0735e28bb1c5074ebd22e9390606d314df35fc61cb185a0fd0acfc +DIST polychromatic-0.9.0.tar.gz 1776527 BLAKE2B 20129aad108f362d6efff4ad8e4e3b6eeff36eaba9a4fc12c0093dbf9f4ab91b34cc80760f5c19348f16760b2e569cda645a16d0005b1f5f00dcf478c10b16af SHA512 10ea80f09e032c29036702de70d1b1b977cf07d2ae834cdcfd6a16599fa389209b0db695e8b1cd5c40f2ebe4c48ae99aafc5d649c1cf3bffe5382bd471b9c23d EBUILD polychromatic-0.8.3-r1.ebuild 1905 BLAKE2B 149506c4c5bcb6df832d39c2dc482328fe1ecadcd38b52119b19ba25149653449beac38e5acee7afab8f9e0f49137184c461d3891e8cd85b6360525b5830985b SHA512 196b59767cae6c8fb8068422eb4929af1f8b2114c04b72b5788494224d3436b48c180f32f964e81a0975e52f18f6a09b0e15540d80bd89097749927afdcf9665 -EBUILD polychromatic-9999.ebuild 1906 BLAKE2B b503e4438618e0bb4bc8f51ed36223b506e4e388f4d3174d3bee44958a2378ea65d1e491581bad9482cdd9acc7afb87a2eab77697027fdc0f28ba0a439cf7c38 SHA512 a004b450d591c9c48c1c6b6fb7b9502909608a978b5bc21034a7bfc5d7537e10cfcb2ca60d175ee9c8446a6673821a24a8f3b9cc40287fa06af3688d8d261b40 +EBUILD polychromatic-0.9.0.ebuild 1912 BLAKE2B f4f767a988f30d9e192b4660913434e1ba1c4e6021af2605f128c931df14512575dba9e7ab1d42f4485fa4f8418932d23a1143558b37c5ca719fda54b2ff2b00 SHA512 4f4001098bff43f5cc9c63672c51c339272ef4e524099f227f8b7438a50cb7c1166b580c1bb96664910406ceb593b3b7c80894fe418624cd76cae41c3f8f4a4a +EBUILD polychromatic-9999.ebuild 1912 BLAKE2B f4f767a988f30d9e192b4660913434e1ba1c4e6021af2605f128c931df14512575dba9e7ab1d42f4485fa4f8418932d23a1143558b37c5ca719fda54b2ff2b00 SHA512 4f4001098bff43f5cc9c63672c51c339272ef4e524099f227f8b7438a50cb7c1166b580c1bb96664910406ceb593b3b7c80894fe418624cd76cae41c3f8f4a4a MISC metadata.xml 993 BLAKE2B 193ed9d7f922efa078e7856084b828ff4f97d8606a1979206b3ff4a36ddcc6ff88a1adc3d0d899261fef5ae5751a1204fb27a03b0a8ff7510578f431a89a0cd2 SHA512 245f395c90cfbe36dae2bc1da5f1c6d2513ebde78a44e7a785a4bb9c01cf24ea0be81405c82eb8f4fbc34d34a4990a36359e98658d1340e47172257a867aa8db 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 +} diff --git a/sys-apps/polychromatic/polychromatic-9999.ebuild b/sys-apps/polychromatic/polychromatic-9999.ebuild index 7baaa20d6a71..19e9c50db521 100644 --- a/sys-apps/polychromatic/polychromatic-9999.ebuild +++ b/sys-apps/polychromatic/polychromatic-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit meson python-single-r1 readme.gentoo-r1 xdg @@ -11,12 +11,14 @@ DESCRIPTION="RGB lighting management software for GNU/Linux powered by OpenRazer HOMEPAGE="https://polychromatic.app/ https://github.com/polychromatic/polychromatic/" -if [[ ${PV} == *9999* ]] ; then +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 @@ -28,8 +30,8 @@ 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/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}] @@ -59,8 +61,8 @@ src_install() { # 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 + mv "${ED}/etc/xdg/autostart/${PN}-autostart.desktop" \ + "${ED}/usr/share/${PN}/${PN}-autostart.desktop" || die } pkg_postinst() { |