|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
GNOME2_LA_PUNT="yes"
|
|
|
|
|
|
|
|
inherit autotools gnome2
|
|
|
|
|
|
|
|
DESCRIPTION="Allows you to control aspects of your mobile phone from your GNOME desktop"
|
|
|
|
HOMEPAGE="https://wiki.gnome.org/PhoneManager"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
|
|
IUSE="debug"
|
|
|
|
# telepathy support is considered experimental
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
>=dev-libs/glib-2.31.0:2
|
|
|
|
>=x11-libs/gtk+-3:3
|
|
|
|
>=gnome-base/orbit-2
|
|
|
|
>=gnome-base/gconf-2:2
|
|
|
|
>=gnome-extra/evolution-data-server-3.6:=
|
|
|
|
media-libs/libcanberra[gtk3]
|
|
|
|
>=app-mobilephone/gnokii-0.6.28[bluetooth]
|
|
|
|
net-wireless/bluez
|
|
|
|
dev-libs/dbus-glib
|
|
|
|
dev-libs/openobex:0=
|
|
|
|
media-libs/libcanberra[gtk]
|
|
|
|
>=net-wireless/gnome-bluetooth-3.3:2=
|
|
|
|
x11-themes/adwaita-icon-theme
|
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
>=dev-util/intltool-0.35.5
|
|
|
|
virtual/pkgconfig
|
|
|
|
gnome-base/gnome-common
|
|
|
|
"
|
|
|
|
# gnome-common needed for eautoreconf
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
# Fix eds-3.6 building, upstream bug #680927
|
|
|
|
eapply "${FILESDIR}"/0001-Adapt-to-Evolution-Data-Server-API-changes.patch
|
|
|
|
eapply "${FILESDIR}"/${P}-adwaita-icon-theme.patch
|
|
|
|
mv configure.in configure.ac || die
|
|
|
|
eautoreconf
|
|
|
|
gnome2_src_prepare
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
# bluetooth-plugin is no longer buildable, bug #512204
|
|
|
|
gnome2_src_configure \
|
|
|
|
--disable-bluetooth-plugin \
|
|
|
|
--disable-telepathy \
|
|
|
|
--disable-static \
|
|
|
|
$(use_enable debug)
|
|
|
|
}
|