summaryrefslogtreecommitdiff
blob: 3925534fe2dbd59a4e93385aee2ebbb922ef9f9d (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-contacts/gpe-contacts-0.49.ebuild,v 1.3 2013/05/06 05:07:18 patrick Exp $

GPE_TARBALL_SUFFIX="bz2"
inherit gpe autotools

DESCRIPTION="The GPE Contacts Manager"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE="${IUSE} dbus"

GPE_DOCS="ChangeLog"
GPECONF="${GPECONF} $(use_enable dbus)"

RDEPEND="${RDEPEND}
	gpe-base/libgpewidget
	gpe-base/libgpevtype
	gpe-base/libgpepimc
	gpe-base/libcontactsdb
	gpe-base/libmimedir
	dev-db/sqlite
	dbus? ( dev-libs/dbus-glib )"

DEPEND="${DEPEND}
	${RDEPEND}"

src_unpack() {
	gpe_src_unpack "$@"

	# fixes make check
	echo "main-hildon.c" >> po/POTFILES.skip || die
	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
	eautoreconf
}