From c1e6a844f316512e345be2ff662b702d96a23cc6 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Tue, 20 Dec 2022 16:47:28 +0100 Subject: x11-misc/xflux-gui: migrate to ayatana indicators Closes: https://bugs.gentoo.org/887397 Signed-off-by: Conrad Kostecki --- x11-misc/xflux-gui/xflux-gui-2.0-r1.ebuild | 47 ++++++++++++++++++++++++++++++ x11-misc/xflux-gui/xflux-gui-2.0.ebuild | 47 ------------------------------ 2 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 x11-misc/xflux-gui/xflux-gui-2.0-r1.ebuild delete mode 100644 x11-misc/xflux-gui/xflux-gui-2.0.ebuild (limited to 'x11-misc/xflux-gui') diff --git a/x11-misc/xflux-gui/xflux-gui-2.0-r1.ebuild b/x11-misc/xflux-gui/xflux-gui-2.0-r1.ebuild new file mode 100644 index 000000000000..cd7a845f5c10 --- /dev/null +++ b/x11-misc/xflux-gui/xflux-gui-2.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 gnome2-utils xdg-utils + +DESCRIPTION="A GUI for f.lux" +HOMEPAGE="https://github.com/xflux-gui/fluxgui/" +SRC_URI="https://github.com/${PN}/fluxgui/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/fluxgui-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + dev-libs/libayatana-appindicator + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + x11-libs/libXxf86vm + x11-misc/xflux +" + +python_compile() { + # Don't let the package compiling the schemas, + # as this could cause a file collision + export DISABLE_GSCHEMAS_COMPILED="true" + + distutils-r1_python_compile +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/x11-misc/xflux-gui/xflux-gui-2.0.ebuild b/x11-misc/xflux-gui/xflux-gui-2.0.ebuild deleted file mode 100644 index 4f75d03ddfb2..000000000000 --- a/x11-misc/xflux-gui/xflux-gui-2.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 gnome2-utils xdg-utils - -DESCRIPTION="A GUI for f.lux" -HOMEPAGE="https://github.com/xflux-gui/fluxgui/" -SRC_URI="https://github.com/${PN}/fluxgui/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/fluxgui-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* amd64 x86" - -RDEPEND=" - dev-libs/libappindicator:3 - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pygobject[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - x11-libs/libXxf86vm - x11-misc/xflux -" - -python_compile() { - # Don't let the package compiling the schemas, - # as this could cause a file collision - export DISABLE_GSCHEMAS_COMPILED="true" - - distutils-r1_python_compile -} - -pkg_postinst() { - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} -- cgit v1.2.3-65-gdbad