Files
guru/sys-power/gwe/gwe-0.15.3.ebuild
Andrew Ammerlaan c0e179f06f sys-power/gwe: drop UnusedInherits
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2021-12-15 12:19:42 +01:00

57 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit xdg meson python-single-r1
DESCRIPTION="NVIDIA settings alternative with overclocking, fan control, and information"
HOMEPAGE="https://gitlab.com/leinardi/gwe"
SRC_URI="https://gitlab.com/leinardi/gwe/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="GPL-3"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-libs/gobject-introspection
dev-libs/libappindicator:3
dev-libs/libdazzle
$(python_gen_cond_dep '
dev-python/injector[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/peewee[${PYTHON_USEDEP}]
dev-python/py3nvml[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-xlib[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/Rx[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"
BDEPEND="
${RDEPEND}
dev-libs/appstream-glib
virtual/pkgconfig
"
src_prepare() {
# Disable post-inst script let the ebuild handle it
sed -i meson.build \
-e "s:meson.add_install_script('scripts/meson_post_install.py')::g" \
|| die
default
}
src_install() {
meson_src_install
python_optimize
}