diff options
author | 2019-09-17 20:55:53 +0200 | |
---|---|---|
committer | 2019-09-18 06:33:35 +0300 | |
commit | 729f378babf59b1b8d6612a24aaff6e194ee0f6e (patch) | |
tree | 66aec678c6055a43dfd8766904602e6623b95743 /x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild | |
parent | app-pda/usbmuxd: version bump to 1.1.0 (diff) | |
download | gentoo-729f378babf59b1b8d6612a24aaff6e194ee0f6e.tar.gz gentoo-729f378babf59b1b8d6612a24aaff6e194ee0f6e.tar.bz2 gentoo-729f378babf59b1b8d6612a24aaff6e194ee0f6e.zip |
x11-misc/xflux-gui: disable gschemas compilation
Since Gentoo uses its own method for compiling gschemas, disabling this
for that package, as otherwise it causes a file collision.
Reported to upstream (patch got merged already):
https://www.github.com/xflux-gui/fluxgui/issues/124
Closes: https://bugs.gentoo.org/691950
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild')
-rw-r--r-- | x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild b/x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild new file mode 100644 index 000000000000..1eaaa8fe5745 --- /dev/null +++ b/x11-misc/xflux-gui/xflux-gui-1.2.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 gnome2-utils xdg-utils + +DESCRIPTION="A GUI for f.lux" +HOMEPAGE="https://justgetflux.com/" +SRC_URI="https://github.com/${PN}/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +PATCHES=( "${FILESDIR}/${P}-disable-gschemas-compiled.patch" ) + +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 +" + +S="${WORKDIR}/fluxgui-${PV}" + +python_install() { + # Don't let the package compiling the schemas, as this could cause a file collision + export DISABLE_GSCHEMAS_COMPILED="true" + + distutils-r1_python_install +} + +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 +} |