diff options
Diffstat (limited to 'razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild')
-rw-r--r-- | razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild b/razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild new file mode 100644 index 000000000000..213ddc1735ad --- /dev/null +++ b/razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/razorqt-base/razorqt-autosuspend/razorqt-autosuspend-0.5.1.ebuild,v 1.1 2012/10/24 11:33:26 yngwin Exp $ + +EAPI=4 +inherit cmake-utils + +DESCRIPTION="Razor-qt module for automatic suspend" +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="https://github.com/downloads/Razor-qt/razor-qt/razorqt-${PV}.tar.bz2" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/razorqt-${PV}" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="" + +DEPEND="razorqt-base/razorqt-libs" +RDEPEND="${DEPEND} + razorqt-base/razorqt-data + razorqt-base/razorqt-power + sys-power/upower" + +src_configure() { + local mycmakeargs=( + -DSPLIT_BUILD=On + -DMODULE_AUTOSUSPEND=On + ) + cmake-utils_src_configure +} |