mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
sys-apps/polychromatic: drop old 0.9.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST polychromatic-0.9.0.tar.gz 1776527 BLAKE2B 20129aad108f362d6efff4ad8e4e3b6eeff36eaba9a4fc12c0093dbf9f4ab91b34cc80760f5c19348f16760b2e569cda645a16d0005b1f5f00dcf478c10b16af SHA512 10ea80f09e032c29036702de70d1b1b977cf07d2ae834cdcfd6a16599fa389209b0db695e8b1cd5c40f2ebe4c48ae99aafc5d649c1cf3bffe5382bd471b9c23d
|
||||
DIST polychromatic-0.9.1.tar.gz 1786276 BLAKE2B 46865d85aefa99ebc06ea145fe3afd3e4388d94529b8835ff4c4990d241031ee069801c7183ef89c811bde170a2211583dae7bb5bde8b3d65ebdf04421cef349 SHA512 def2d488fb52091ecddea5f11bf066efec5caf43b2c53f3b1a63d6de59c4ca9b62eb5da84faa08581050dbcc8ebcb98681b6d5c4376d04699a736d7122b79cb3
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user