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/gnome-extra/gnome-contacts/gnome-contacts-3.6.2.ebuild

61 lines
1.5 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-contacts/gnome-contacts-3.6.2.ebuild,v 1.8 2013/02/02 22:37:19 ago Exp $
EAPI="5"
GCONF_DEBUG="no"
VALA_MIN_API_VERSION="0.18"
inherit gnome2 vala
DESCRIPTION="GNOME contact management application"
HOMEPAGE="https://live.gnome.org/Design/Apps/Contacts"
LICENSE="GPL-2+"
SLOT="0"
IUSE="v4l"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
VALA_DEPEND="$(vala_depend)
dev-libs/folks[vala]
gnome-base/gnome-desktop[introspection]
gnome-extra/evolution-data-server[vala]
net-libs/telepathy-glib[vala]
x11-libs/libnotify[introspection]"
# Configure is wrong; it needs cheese-3.5.91, not 3.3.91
RDEPEND="
>=dev-libs/folks-0.7.3:=[eds,telepathy]
>=dev-libs/glib-2.31.10:2
dev-libs/libgee:0
>=gnome-extra/evolution-data-server-3.5.3:=[gnome-online-accounts]
>=gnome-base/gnome-desktop-3.0:3=
net-libs/gnome-online-accounts
>=net-libs/telepathy-glib-0.17.5
x11-libs/cairo:=
x11-libs/gdk-pixbuf:2
x11-libs/libnotify:=
>=x11-libs/gtk+-3.4:3
x11-libs/pango
v4l? ( >=media-video/cheese-3.5.91:= )
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=sys-devel/gettext-0.17
virtual/pkgconfig
!v4l? ( ${VALA_DEPEND} )"
# When !v4l, we regenerate the .c sources
src_prepare() {
G2CONF="${G2CONF}
$(use_with v4l cheese)"
# FIXME: Fails to compile with USE=-v4l
# Regenerate the pre-generated C sources
if ! use v4l; then
touch src/*.vala
vala_src_prepare
fi
gnome2_src_prepare
}