summaryrefslogtreecommitdiff
blob: 7dca7c341d34dd4ee48561e6a15e7fba3f81683f (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
45
46
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit autotools eutils gnome2 versionator

MY_PV=$(get_version_component_range 1-2)
DESCRIPTION="A fully-featured alarm clock for your GNOME panel"
HOMEPAGE="http://alarm-clock.pseudoberries.com/"
SRC_URI="http://launchpad.net/alarm-clock/trunk/${MY_PV}/+download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libnotify"

RDEPEND="
	dev-libs/glib:2
	x11-libs/gtk+:2
	gnome-base/gnome-panel
	gnome-base/gnome-vfs
	gnome-base/gconf
	gnome-base/libgnome
	gnome-base/libgnomeui
	x11-themes/gnome-icon-theme
	gnome-base/libglade
	media-libs/gstreamer
	libnotify? ( x11-libs/libnotify )
"

DEPEND="${RDEPEND}
	dev-util/pkgconfig
	app-text/gnome-doc-utils
	dev-util/intltool
"

src_prepare() {
	epatch "${FILESDIR}/${PV}-configure.ac.patch"
	eautoreconf
}

pkg_setup() {
	G2CONF="$(use_enable libnotify)"
}