2 EGIT_REPO_URI
="git://repo.or.cz/qbat.git"
4 inherit eutils flag-o-matic git
6 DESCRIPTION
="QBat is a small tool based on Qt4 to display battery stats in system tray."
7 HOMEPAGE
="http://repo.or.cz/qbat.git"
12 KEYWORDS
="~x86 ~amd64"
21 sys-kernel/linux-headers"
23 S
=${WORKDIR}/${EGIT_PROJECT}
26 if ! qmake
--version |
grep -i qt4
; then
27 eerror
"qmake does not point to qmake-qt4"
28 die
"Install qmake-qt4 and set symlinks correctly"
35 if [ "$PV" != 9999 ]; then
46 config_release
="debug"
48 config_release
="release"
49 config_defines
="$config_defines QT_NO_DEBUG_OUTPUT"
52 qmake
-recursive -Wall "CONFIG+=$config_release" "DEFINES+=$config_defines"
57 make INSTALL_ROOT
="${D}" install || die
58 doman
"${S}/res/qbat.1"
62 elog
"You need a at least kernel version 2.6.24 to use this software"