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"
15 RDEPEND
=">=x11-libs/qt-4.3.2"
18 sys-kernel/linux-headers"
20 S
=${WORKDIR}/${EGIT_PROJECT}
23 if ! qmake
--version |
grep -i qt4
; then
24 eerror
"qmake does not point to qmake-qt4"
25 die
"Install qmake-qt4 and set symlinks correctly"
32 if [ "$PV" != 9999 ]; then
43 config_release
="debug"
45 config_release
="release"
46 config_defines
="$config_defines QT_NO_DEBUG_OUTPUT"
49 qmake
-recursive -Wall "CONFIG+=$config_release" "DEFINES+=$config_defines"
54 make INSTALL_ROOT
="${D}" install || die
58 elog
"You need a at least kernel version 2.6.24 to use this software"