mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
Closes: https://bugs.gentoo.org/848096 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
35 lines
881 B
Bash
35 lines
881 B
Bash
# Copyright 2019-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
|
DISTUTILS_SINGLE_IMPL=1
|
|
|
|
inherit distutils-r1 desktop
|
|
|
|
COMMIT="ea7434ae53681c591daa2ced0d107f4b4bb6f997"
|
|
DESCRIPTION="Qt Brightness Controller in Python"
|
|
HOMEPAGE="https://github.com/lordamit/Brightness"
|
|
SRC_URI="https://github.com/lordamit/Brightness/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/Brightness-${COMMIT}/src"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
LICENSE="GPL-1"
|
|
SLOT="0"
|
|
|
|
BDEPEND="$(python_gen_cond_dep \
|
|
'dev-python/cx_Freeze[${PYTHON_USEDEP}]'
|
|
)"
|
|
|
|
RDEPEND="$(python_gen_cond_dep \
|
|
'dev-python/QtPy[${PYTHON_USEDEP}]'
|
|
)"
|
|
|
|
python_install_all () {
|
|
distutils-r1_python_install_all
|
|
|
|
doicon -s scalable icons/brightness-controller.svg
|
|
make_desktop_entry brightness "Brightness Controller" brightness-controller Settings
|
|
}
|