Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gnome-bluetooth/
Date: Tue, 28 Jun 2016 20:30:52
Message-Id: 1467145794.420592d9109d80a68a4694a48076dcf8b8a7327c.pacho@gentoo
1 commit: 420592d9109d80a68a4694a48076dcf8b8a7327c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 20:20:58 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 20:29:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420592d9
7
8 net-wireless/gnome-bluetooth: Version bump
9
10 Package-Manager: portage-2.3.0_rc1
11
12 net-wireless/gnome-bluetooth/Manifest | 1 +
13 .../gnome-bluetooth/gnome-bluetooth-3.20.0.ebuild | 74 ++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest
17 index 5e1e877..2b05b6a 100644
18 --- a/net-wireless/gnome-bluetooth/Manifest
19 +++ b/net-wireless/gnome-bluetooth/Manifest
20 @@ -1 +1,2 @@
21 DIST gnome-bluetooth-3.18.3.tar.xz 793460 SHA256 e481b70423e52adc3c3aa919eeb033b47f9cd1598d6c0c7f384c0bd10f4e8ce3 SHA512 8d0c6d6d1344d297723607de2770ec31544e910e91a9e927ac5ee5eb41862d3b961b225a0fb37b929c5167863d352e54cbbb48a762a94146528fee8a8ebd16f2 WHIRLPOOL 4b071104f825d9fd50b5f8941e7555929682b730ed11b1626a62879c42b4e9b4e7309feb88d33d9f4ee9c4727f338308e63248367888bc033926ec66e52cd918
22 +DIST gnome-bluetooth-3.20.0.tar.xz 794480 SHA256 93b3ca16b348a168d044b3f777049b7dba2a9292c4adb2751a771e3bc5e4eb53 SHA512 6100a612bd395c95ac47a55e80272e745ff8e640cc769060bd312b707e4d921bb5549deb2ef91845f1e5340f6e454ce0898624c0c67f4f534c6c482bc898834f WHIRLPOOL 423381791b14851ec8611e58653635c7aa777e3de53edf44f63c2112ba65816f708d36098782298f7e4e77a23e0ed1bfe768ebd6777988cbfc7b850b86d0f57e
23
24 diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.0.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.0.ebuild
25 new file mode 100644
26 index 0000000..2be15fd
27 --- /dev/null
28 +++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.0.ebuild
29 @@ -0,0 +1,74 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +inherit gnome2 udev user
36 +
37 +DESCRIPTION="Bluetooth graphical utilities integrated with GNOME"
38 +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
39 +
40 +LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
41 +SLOT="2/13" # subslot = libgnome-bluetooth soname version
42 +IUSE="debug +introspection"
43 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
44 +
45 +COMMON_DEPEND="
46 + >=dev-libs/glib-2.38:2
47 + media-libs/libcanberra[gtk3]
48 + >=x11-libs/gtk+-3.12:3[introspection?]
49 + x11-libs/libnotify
50 + virtual/udev
51 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
52 +"
53 +RDEPEND="${COMMON_DEPEND}
54 + >=net-wireless/bluez-5
55 +"
56 +DEPEND="${COMMON_DEPEND}
57 + !net-wireless/bluez-gnome
58 + app-text/docbook-xml-dtd:4.1.2
59 + dev-libs/libxml2:2
60 + dev-util/gdbus-codegen
61 + >=dev-util/gtk-doc-am-1.9
62 + >=dev-util/intltool-0.40.0
63 + dev-util/itstool
64 + virtual/libudev
65 + virtual/pkgconfig
66 + x11-proto/xproto
67 +"
68 +# eautoreconf needs:
69 +# gnome-base/gnome-common
70 +
71 +pkg_setup() {
72 + enewgroup plugdev
73 +}
74 +
75 +src_prepare() {
76 + # Regenerate gdbus-codegen files to allow using any glib version; bug #436236
77 + # https://bugzilla.gnome.org/show_bug.cgi?id=758096
78 + rm -v lib/bluetooth-client-glue.{c,h} || die
79 + gnome2_src_prepare
80 +}
81 +
82 +src_configure() {
83 + gnome2_src_configure \
84 + $(usex debug --enable-debug=yes ' ') \
85 + $(use_enable introspection) \
86 + --enable-documentation \
87 + --disable-desktop-update \
88 + --disable-icon-update \
89 + --disable-static
90 +}
91 +
92 +src_install() {
93 + gnome2_src_install
94 + udev_dorules "${FILESDIR}"/61-${PN}.rules
95 +}
96 +
97 +pkg_postinst() {
98 + gnome2_pkg_postinst
99 + if ! has_version sys-auth/consolekit[acl] && ! has_version sys-apps/systemd[acl] ; then
100 + elog "Don't forget to add yourself to the plugdev group "
101 + elog "if you want to be able to control bluetooth transmitter."
102 + fi
103 +}