summaryrefslogtreecommitdiff
blob: 1faeb3720be6a6ce24f261c63ea182d8ed7b1776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils flag-o-matic git-r3 qmake-utils toolchain-funcs

DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="https://github.com/ajaiantilal/i7z"
SRC_URI=""
EGIT_REPO_URI="https://github.com/ajaiantilal/i7z.git"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS=""
IUSE="X"

RDEPEND="
	sys-libs/ncurses:0=
	X? ( dev-qt/qtgui:4= )"
DEPEND="${RDEPEND}"

src_prepare() {
	eapply "${FILESDIR}"/${P}-ncurses.patch
	tc-export CC
	eapply_user
}

src_compile() {
	default
#	if use X; then
#		cd GUI
#		eqmake4 ${PN}_GUI.pro && emake clean && emake
#	fi
}

src_install() {
	emake DESTDIR="${ED}" docdir=/usr/share/doc/${PF} install
#	use X && dosbin GUI/i7z_GUI
}