33 lines
751 B
Bash
33 lines
751 B
Bash
# Copyright 2020-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit desktop git-r3
|
|
|
|
DESCRIPTION="Auto Nightmode for KDE, Gnome, Budige, VSCode, Atom and more"
|
|
HOMEPAGE="https://github.com/oskarsh/Yin-Yang"
|
|
EGIT_REPO_URI="https://github.com/oskarsh/Yin-Yang.git"
|
|
EGIT_COMMIT="e15663fc1e90e7b96bd104cc889fb2c7861e192b"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="
|
|
dev-python/QtPy
|
|
dev-python/PyQt5
|
|
dev-python/suntime
|
|
"
|
|
BDEPEND=""
|
|
|
|
src_install() {
|
|
dodir /opt/
|
|
cp -R "${S}/" "${D}/opt/yin-yang/" || die "Install failed!"
|
|
dobin src/yin-yang
|
|
domenu "${FILESDIR}/Yin-Yang.desktop"
|
|
insinto "$(get_libdir)/mozilla/native-messaging-hosts/"
|
|
doins assets/yin_yang.json
|
|
}
|