summaryrefslogtreecommitdiff
path: root/sys-apps/polychromatic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-09 12:05:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-09 12:05:50 +0100
commitc65def1225a421dd57ac582acefc5987c9d67e0d (patch)
treee13e2f661c997103edd9b96170e782e10da88963 /sys-apps/polychromatic
parent431cb94e4e840d61ea21c2c2bd10e07fc27b5538 (diff)
gentoo auto-resync : 09:10:2023 - 12:05:50
Diffstat (limited to 'sys-apps/polychromatic')
-rw-r--r--sys-apps/polychromatic/Manifest2
-rw-r--r--sys-apps/polychromatic/polychromatic-0.8.2.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-apps/polychromatic/Manifest b/sys-apps/polychromatic/Manifest
index 261266b164bb..135f015850fb 100644
--- a/sys-apps/polychromatic/Manifest
+++ b/sys-apps/polychromatic/Manifest
@@ -1,4 +1,6 @@
DIST polychromatic-0.8.1.tar.gz 1673716 BLAKE2B 9751985ac429d5da19e829f3b17565e1c42b7859df6ce3be031e34148e1c30bcb37bee3103b038e902a818a7ade9e3cc4400570135c34229494666f9a9a6012a SHA512 61add658825f99f729e6921c41aa97b2075e5cbd3dcdabb6602a7eeb6b505a3435d9231ed163490289374bf78737544cda77d45c39f245f20f07886824ea61fa
+DIST polychromatic-0.8.2.tar.gz 1697776 BLAKE2B 209d27258e4e6cedb6d8d0c5e50168ab82854605a90e67cf550e5aaa5a5aec539c84155a0fee44986ae63fba33b8778ad426b0e648ef51e71bb33f42a86909ad SHA512 0965881feb60cdcb2415cf177b951548b6bfefd642fc28305fd37f339e891252bd9a1c9dff296381f53ea221758dbc68ca2968a191d3b7db96c6ee2ec8936c07
EBUILD polychromatic-0.8.1.ebuild 1904 BLAKE2B 3b9311faf13e46e18a85db308a6c2dd77fdfab60c09bbf6116381cc17147c96bad47d81e8e5f8715cb8688e4127db1f66857764a2cf6297d1a15860c64ae1fe1 SHA512 3287e9e1d28f3ee49c22ddd5ce968659a9db789eff2af8597bfacea105e3a6f7ae0d11b6372c4da3e024fe656c7c5495637a80c921d327d1469af32b7d5fca4b
+EBUILD polychromatic-0.8.2.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66
EBUILD polychromatic-9999.ebuild 1905 BLAKE2B 525f69c17166ecc5a77684539cef9123166205aee84db0162f49eb536e9462e9d6b80f7312d5745f400e2f45e312b812a3549edb545df59769743a5b651b091e SHA512 0bcd0e2eaafb3dcad881142a37654296828c44efc6b14083ac3f53d2012df2f61bb9b0943e4e666fce49d970026fd455719cafcb9c70862ef9e5a1b75fe77d66
MISC metadata.xml 993 BLAKE2B 193ed9d7f922efa078e7856084b828ff4f97d8606a1979206b3ff4a36ddcc6ff88a1adc3d0d899261fef5ae5751a1204fb27a03b0a8ff7510578f431a89a0cd2 SHA512 245f395c90cfbe36dae2bc1da5f1c6d2513ebde78a44e7a785a4bb9c01cf24ea0be81405c82eb8f4fbc34d34a4990a36359e98658d1340e47172257a867aa8db
diff --git a/sys-apps/polychromatic/polychromatic-0.8.2.ebuild b/sys-apps/polychromatic/polychromatic-0.8.2.ebuild
new file mode 100644
index 000000000000..f3045e367458
--- /dev/null
+++ b/sys-apps/polychromatic/polychromatic-0.8.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+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
+}