| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/gnome-bluetooth-3.4.0.ebuild,v 1.2 2012/06/04 06:51:36 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="yes"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit eutils gnome2 multilib
|
| 10 |
|
| 11 |
DESCRIPTION="Fork of bluez-gnome focused on integration with GNOME"
|
| 12 |
HOMEPAGE="http://live.gnome.org/GnomeBluetooth"
|
| 13 |
|
| 14 |
LICENSE="GPL-2 LGPL-2.1"
|
| 15 |
SLOT="2"
|
| 16 |
IUSE="doc +introspection sendto"
|
| 17 |
KEYWORDS="~amd64 ~x86"
|
| 18 |
|
| 19 |
COMMON_DEPEND=">=dev-libs/glib-2.29.90:2
|
| 20 |
>=x11-libs/gtk+-2.91.3:3[introspection?]
|
| 21 |
>=x11-libs/libnotify-0.7.0
|
| 22 |
|
| 23 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
| 24 |
sendto? ( >=gnome-extra/nautilus-sendto-2.91 )
|
| 25 |
"
|
| 26 |
RDEPEND="${COMMON_DEPEND}
|
| 27 |
>=net-wireless/bluez-4.34
|
| 28 |
app-mobilephone/obexd
|
| 29 |
sys-fs/udev
|
| 30 |
x11-themes/gnome-icon-theme-symbolic"
|
| 31 |
DEPEND="${COMMON_DEPEND}
|
| 32 |
!net-wireless/bluez-gnome
|
| 33 |
app-text/docbook-xml-dtd:4.1.2
|
| 34 |
app-text/gnome-doc-utils
|
| 35 |
app-text/scrollkeeper
|
| 36 |
dev-libs/libxml2
|
| 37 |
>=dev-util/intltool-0.40.0
|
| 38 |
dev-util/gdbus-codegen
|
| 39 |
>=sys-devel/gettext-0.17
|
| 40 |
virtual/pkgconfig
|
| 41 |
x11-libs/libX11
|
| 42 |
x11-libs/libXi
|
| 43 |
x11-proto/xproto
|
| 44 |
doc? ( >=dev-util/gtk-doc-1.9 )"
|
| 45 |
# eautoreconf needs:
|
| 46 |
# gnome-base/gnome-common
|
| 47 |
# dev-util/gtk-doc-am
|
| 48 |
|
| 49 |
pkg_setup() {
|
| 50 |
# FIXME: Add geoclue support
|
| 51 |
G2CONF="${G2CONF}
|
| 52 |
$(use_enable introspection)
|
| 53 |
$(use_enable sendto nautilus-sendto)
|
| 54 |
--enable-documentation
|
| 55 |
--disable-maintainer-mode
|
| 56 |
--disable-desktop-update
|
| 57 |
--disable-icon-update
|
| 58 |
--disable-schemas-compile
|
| 59 |
--disable-static"
|
| 60 |
DOCS="AUTHORS README NEWS ChangeLog"
|
| 61 |
|
| 62 |
enewgroup plugdev
|
| 63 |
}
|
| 64 |
|
| 65 |
src_install() {
|
| 66 |
gnome2_src_install
|
| 67 |
|
| 68 |
insinto /$(get_libdir)/udev/rules.d
|
| 69 |
doins "${FILESDIR}"/80-rfkill.rules
|
| 70 |
}
|
| 71 |
|
| 72 |
pkg_postinst() {
|
| 73 |
gnome2_pkg_postinst
|
| 74 |
# Notify about old libraries that might still be around
|
| 75 |
preserve_old_lib_notify /usr/$(get_libdir)/libgnome-bluetooth.so.7
|
| 76 |
|
| 77 |
elog "Don't forget to add yourself to the plugdev group "
|
| 78 |
elog "if you want to be able to control bluetooth transmitter."
|
| 79 |
}
|