summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2014-04-27 18:11:45 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2014-04-27 18:11:45 +0000
commit9febbc6628738dae13522961f09f5fca266776a9 (patch)
tree389d22a5e1e76aa03314cc349381902ce7f58791 /net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild
parentVersion bump for Gnome 3.12. (diff)
downloadhistorical-9febbc6628738dae13522961f09f5fca266776a9.tar.gz
historical-9febbc6628738dae13522961f09f5fca266776a9.tar.bz2
historical-9febbc6628738dae13522961f09f5fca266776a9.zip
Version bump for Gnome 3.12.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xC6085806
Diffstat (limited to 'net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild')
-rw-r--r--net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild73
1 files changed, 73 insertions, 0 deletions
diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild
new file mode 100644
index 000000000000..fe7fc021c136
--- /dev/null
+++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/gnome-bluetooth-3.12.0.ebuild,v 1.1 2014/04/27 18:11:41 eva Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+
+inherit eutils gnome2 udev user
+
+DESCRIPTION="Bluetooth graphical utilities integrated with GNOME"
+HOMEPAGE="https://wiki.gnome.org/GnomeBluetooth"
+
+LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
+SLOT="2/13" # subslot = libgnome-bluetooth soname version
+IUSE="+introspection"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.37.3:2
+ >=x11-libs/gtk+-3.11.2:3[introspection?]
+ virtual/udev
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=net-wireless/bluez-5
+ x11-themes/gnome-icon-theme-symbolic
+"
+DEPEND="${COMMON_DEPEND}
+ !net-wireless/bluez-gnome
+ app-text/docbook-xml-dtd:4.1.2
+ dev-libs/libxml2:2
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.9
+ >=dev-util/intltool-0.40.0
+ virtual/libudev
+ virtual/pkgconfig
+ x11-proto/xproto
+"
+# eautoreconf needs:
+# gnome-base/gnome-common
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_prepare() {
+ # Regenerate gdbus-codegen files to allow using any glib version; bug #436236
+ rm -v lib/bluetooth-client-glue.{c,h} || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable introspection) \
+ --enable-documentation \
+ --disable-desktop-update \
+ --disable-icon-update \
+ --disable-static \
+ ITSTOOL=$(type -P true)
+}
+
+src_install() {
+ gnome2_src_install
+ udev_dorules "${FILESDIR}"/61-${PN}.rules
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ if ! has_version sys-auth/consolekit[acl] && ! has_version sys-apps/systemd[acl] ; then
+ elog "Don't forget to add yourself to the plugdev group "
+ elog "if you want to be able to control bluetooth transmitter."
+ fi
+}