You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/razorqt-base/razorqt-power/razorqt-power-0.5.1.ebuild

38 lines
906 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/razorqt-base/razorqt-power/razorqt-power-0.5.1.ebuild,v 1.5 2013/01/20 19:33:41 ago Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="Razor-qt module for power management (logout/shutdown/reboot/suspend/hibernate)"
HOMEPAGE="http://razor-qt.org/"
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://github.com/Razor-qt/razor-qt.git"
EGIT_BRANCH="master"
KEYWORDS=""
else
SRC_URI="mirror://github/Razor-qt/razor-qt/razorqt-${PV}.tar.bz2"
KEYWORDS="amd64 ~ppc x86"
S="${WORKDIR}/razorqt-${PV}"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE=""
DEPEND="razorqt-base/razorqt-libs"
RDEPEND="${DEPEND}
razorqt-base/razorqt-data
sys-power/upower"
src_configure() {
local mycmakeargs=(
-DSPLIT_BUILD=On
-DMODULE_POWER=On
)
cmake-utils_src_configure
}