You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
3 years ago
|
DISTUTILS_USE_SETUPTOOLS="no"
|
||
3 years ago
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
5 years ago
|
|
||
5 years ago
|
inherit distutils-r1 gnome2-utils xdg-utils
|
||
5 years ago
|
|
||
|
DESCRIPTION="A GUI for f.lux"
|
||
4 years ago
|
HOMEPAGE="https://github.com/xflux-gui/fluxgui/"
|
||
5 years ago
|
SRC_URI="https://github.com/${PN}/fluxgui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
3 years ago
|
S="${WORKDIR}/fluxgui-${PV}"
|
||
5 years ago
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="-* amd64 x86"
|
||
5 years ago
|
|
||
5 years ago
|
PATCHES=( "${FILESDIR}/${P}-disable-gschemas-compiled.patch" )
|
||
|
|
||
5 years ago
|
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
|
||
|
"
|
||
|
|
||
5 years ago
|
python_install() {
|
||
5 years ago
|
# Don't let the package compiling the schemas,
|
||
|
# as this could cause a file collision
|
||
5 years ago
|
export DISABLE_GSCHEMAS_COMPILED="true"
|
||
|
|
||
|
distutils-r1_python_install
|
||
|
}
|
||
|
|
||
5 years ago
|
pkg_postinst() {
|
||
5 years ago
|
gnome2_schemas_update
|
||
5 years ago
|
xdg_desktop_database_update
|
||
|
xdg_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
5 years ago
|
gnome2_schemas_update
|
||
5 years ago
|
xdg_desktop_database_update
|
||
|
xdg_icon_cache_update
|
||
|
}
|