blob: 5b1340713cc3a6c9279cc4d5e22b2e6fd9b7f1cb (
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
41
42
43
44
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/uevt/uevt-2.3-r1.ebuild,v 1.4 2013/04/27 14:43:06 jer Exp $
EAPI=4
VALA_MIN_API_VERSION="0.16"
inherit eutils vala
DESCRIPTION="UPower/UDisks Event, a lightweight desktop-independent power and disk manager"
HOMEPAGE="http://elentir.sleipnir.fr/ http://git.sleipnir.fr/uevt/"
SRC_URI="http://ftp.sleipnir.fr/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEPEND=">=dev-libs/glib-2.28
x11-libs/gtk+:2
>=x11-libs/libnotify-0.7"
RDEPEND="${COMMON_DEPEND}
>=sys-fs/udisks-1.0.4-r2:0
>=sys-power/upower-0.9.16"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
DOCS="AUTHORS ChangeLog README"
pkg_setup() {
export VALAC="$(type -P valac-${UEVT_VALA_VERSION})"
}
src_prepare() {
# http://git.sleipnir.fr/uevt/commit/?id=69d2f45e234190fbfb37745ea05ab88547a3de96
epatch "${FILESDIR}"/${P}-support_for_more_than_one_CPU.patch
# See http://bugs.gentoo.org/ wrt #428438
echo src/configurator.c >> po/POTFILES.skip
echo src/power-infos.c >> po/POTFILES.skip
vala_src_prepare
}
|