summaryrefslogtreecommitdiff
path: root/net-wireless/gnome-bluetooth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/gnome-bluetooth
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/gnome-bluetooth')
-rw-r--r--net-wireless/gnome-bluetooth/Manifest6
-rw-r--r--net-wireless/gnome-bluetooth/files/61-gnome-bluetooth.rules11
-rw-r--r--net-wireless/gnome-bluetooth/gnome-bluetooth-3.20.1.ebuild73
-rw-r--r--net-wireless/gnome-bluetooth/metadata.xml8
4 files changed, 98 insertions, 0 deletions
diff --git a/net-wireless/gnome-bluetooth/Manifest b/net-wireless/gnome-bluetooth/Manifest
new file mode 100644
index 000000000000..770dcd9c7fe5
--- /dev/null
+++ b/net-wireless/gnome-bluetooth/Manifest
@@ -0,0 +1,6 @@
+AUX 61-gnome-bluetooth.rules 399 SHA256 3590ead9f0f5344b8dd7b73d11ce2750711072f26d12ad76c48f38ec75641b72 SHA512 74fd95e2afb3d3f13df72bb593ae6644a3a4975e43f5f50c622f14f756861596ef92aa331200d9fce6ff3976e8a1ed57e4053186b7a9716039ace971a6dfed0d WHIRLPOOL 5562bbf15568c101aabdbba0d0f9b17ae9ca289da8100b3ae82077fd53fdf46b00736f729a444f4ebec13e7f6bdcd5a1b27e548fc7881722d5984efde0eed5fd
+DIST gnome-bluetooth-3.20.1.tar.xz 615880 SHA256 ea9050b5f3b94ef279febae4cb789c2500a25344c784f650fe7f932fcd6798fe SHA512 945dde99c6531e369702dea22e60f5b05759d751b16b091fc67c256e949cee8153f60ac7ad616c086366a0141b263b068fad28bab4b50b84356d59b4e464d88a WHIRLPOOL d62ad1b76abc2b8a6c637befeaf1a9dbfa3f04639d5b3aa4e6f9d49309dce745ec0dd76a3bae145bbcc4cbf7d80bd44d68a63e66332a28a615a155f08fe40292
+EBUILD gnome-bluetooth-3.20.1.ebuild 1811 SHA256 e0fe973221fcfec4d708bac89909998552e92e10734fd3c304034b61d2bff8b8 SHA512 e3d1fa2efe514505ee63aa25edda3b84d9089da1bf5fd04765282f6980cf62e69c7fd02741cc7d5b46826ffc0bf4f89a8770e0d5f58651cfdaf69058be1c1497 WHIRLPOOL a2673628792afce315982838d5d795e729ee9fff4c513d5fa97f0766e7e97524ab7de053202e1605fc5c04a6eb289c169e62a6ed646105ed09e2e81f8f22a8fc
+MISC ChangeLog 5283 SHA256 b2152a76730e08a8d42beb1e19956192ba249a8d9e6e713b1a96d29194fa694a SHA512 80db423d957b8b44d6dbe519e28e81d9eda104c90d73838054ea33cff01b1a70ad3b467df95ecab9199a0b0d4e34c4597bf47c0ceef03e7b6d40d63e17f7888d WHIRLPOOL ad6551fc264988523ecfbcc5cfcb3329046254190274367684ac78b4090aa228fc29c566e9f4795a368086a2a5d51525502a9c9da7549fdf16c35b25494c28a6
+MISC ChangeLog-2015 25974 SHA256 65fbb2cb9a119cbef5487e5de6289086b08d02970aebce939db4d35bec493c4c SHA512 fdf99eef858880bedd1ec03be5f4595e090f4d6fe36e130391c013c86e4560ae66928a7ee60c756df7745b162632706f2d9f0e7bdb84dc984e88eb11cfc4fa54 WHIRLPOOL 9063daa94ef0b85dd2bf6989b9afbcadd349a8942ecc4b821bdfb48df69c009edb2059d96d210a674277d102f26394c2cc5ded2bc670072e6cf149702115d4cf
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/net-wireless/gnome-bluetooth/files/61-gnome-bluetooth.rules b/net-wireless/gnome-bluetooth/files/61-gnome-bluetooth.rules
new file mode 100644
index 000000000000..506574082122
--- /dev/null
+++ b/net-wireless/gnome-bluetooth/files/61-gnome-bluetooth.rules
@@ -0,0 +1,11 @@
+# Get access to /dev/rfkill for users
+# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
+#
+# Updated for udev >= 154
+# http://bugs.debian.org/582188
+# https://bugzilla.redhat.com/show_bug.cgi?id=588660
+
+ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end"
+ACTION!="add|change", GOTO="gnome_bluetooth_end"
+KERNEL=="rfkill", GROUP="plugdev", MODE="0664", TAG+="udev-acl"
+LABEL="gnome_bluetooth_end"
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
+}
diff --git a/net-wireless/gnome-bluetooth/metadata.xml b/net-wireless/gnome-bluetooth/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/net-wireless/gnome-bluetooth/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>