From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild (limited to 'net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild') diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild new file mode 100644 index 000000000000..990e91c2b0f6 --- /dev/null +++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 udev user + +DESCRIPTION="Bluetooth graphical utilities integrated with GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth" + +LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" +SLOT="2/13" # subslot = libgnome-bluetooth soname version +IUSE="debug +introspection" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.38:2 + media-libs/libcanberra[gtk3] + >=x11-libs/gtk+-3.12:3[introspection?] + x11-libs/libnotify + virtual/udev + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) +" +RDEPEND="${COMMON_DEPEND} + >=net-wireless/bluez-5 +" +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 + dev-util/itstool + 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 + # https://bugzilla.gnome.org/show_bug.cgi?id=758096 + rm -v lib/bluetooth-client-glue.{c,h} || die + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable introspection) \ + --enable-documentation \ + --disable-desktop-update \ + --disable-icon-update \ + --disable-static +} + +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 +} -- cgit v1.2.3