mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2024-10-21 06:21:15 +02:00
31 lines
884 B
Bash
31 lines
884 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
EAPI=6
|
|
DESCRIPTION="Psensor is a graphical hardware monitoring application for Linux."
|
|
SRC_URI="https://wpitchoune.net/psensor/files/${P}.tar.gz"
|
|
SLOT=0
|
|
IUSE="man doc appindicator libnotify atasmart server X"
|
|
KEYWORD=""
|
|
RDEPEND="sys-apps/lm_sensors
|
|
x11-libs/gtk+:3
|
|
libnotify? ( x11-libs/libnotify )
|
|
appindicator? ( dev-libs/libappindicator )
|
|
dev-libs/json-c
|
|
gnome-base/libgtop:2
|
|
atasmart? ( dev-libs/libatasmart )
|
|
server? ( net-libs/libmicrohttpd )
|
|
"
|
|
DEPEND=$RDEPEND"man? ( sys-apps/help2man )
|
|
doc? ( dev-ruby/asciidoctor )"
|
|
src_configure() {
|
|
econf \
|
|
$(use_with X x)
|
|
}
|
|
src_install() {
|
|
if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
|
|
emake DESTDIR="${D}" install
|
|
fi
|
|
einstalldocs
|
|
glib-compile-schemas ${D}/usr/share/glib-2.0/schemas/
|
|
}
|