Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/blueberry/
Date: Thu, 10 Jun 2021 08:13:26
Message-Id: 1623312794.28eb9e592f7d8b96a7926e5db7a2a2cd751bf3ae.juippis@gentoo
1 commit: 28eb9e592f7d8b96a7926e5db7a2a2cd751bf3ae
2 Author: Olivier Laurantin <olivier.laurantin <AT> laposte <DOT> net>
3 AuthorDate: Sat May 22 07:26:29 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 08:13:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28eb9e59
7
8 net-wireless/blueberry: version bump to 1.4.2
9
10 Update to latest upstream version
11 Add python 3.9 compatibility
12
13 Package-Manager: Portage-3.0.18, Repoman-3.0.2
14 Signed-off-by: Olivier Laurantin <olivier.laurantin <AT> laposte.net>
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 net-wireless/blueberry/Manifest | 1 +
18 net-wireless/blueberry/blueberry-1.4.2.ebuild | 61 +++++++++++++++++++++++++++
19 2 files changed, 62 insertions(+)
20
21 diff --git a/net-wireless/blueberry/Manifest b/net-wireless/blueberry/Manifest
22 index 7fc8166e5e6..84150d05c50 100644
23 --- a/net-wireless/blueberry/Manifest
24 +++ b/net-wireless/blueberry/Manifest
25 @@ -1 +1,2 @@
26 DIST blueberry-1.3.9.tar.gz 1411969 BLAKE2B 2a11b12428166dce5dbeb00cc3813e9dea96b61891456622833400f7a9bb69a61317e9d6bdc862edce2c39f64fd04950dc793724338cb266ae365b1d10abee49 SHA512 7ee5e33daf0ce3b41bc3827042aa14ed4de1b58f862e76a50934d6beae79bf7e68b657461370da2e309d15c7ff858c8fb18aa7e891e7bc70e70c171884c5bb57
27 +DIST blueberry-1.4.2.tar.gz 1414169 BLAKE2B cd55e2bb572efb2badeab1667324df67c35f5833c53755c76c0793c07e8427c7d4714135014dad90aeaddc806c798f2b89960a051a15f668d214bb95cc0943e3 SHA512 5c2fb94e842cd1229682305f0054061724b958406ea15a64495ca418aa7da73c38b45ddc43c27a193aef995ab860cad985e3369e3dac53d2098463e6e4250493
28
29 diff --git a/net-wireless/blueberry/blueberry-1.4.2.ebuild b/net-wireless/blueberry/blueberry-1.4.2.ebuild
30 new file mode 100644
31 index 00000000000..b028a730585
32 --- /dev/null
33 +++ b/net-wireless/blueberry/blueberry-1.4.2.ebuild
34 @@ -0,0 +1,61 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +PYTHON_COMPAT=( python3_{7,8,9} )
41 +
42 +inherit gnome2-utils python-single-r1 xdg-utils
43 +
44 +DESCRIPTION="A Bluetooth configuration tool"
45 +HOMEPAGE="https://github.com/linuxmint/blueberry"
46 +SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="GPL-3"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE=""
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +RDEPEND="${PYTHON_DEPS}
55 + $(python_gen_cond_dep '
56 + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
57 + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
58 + dev-python/setproctitle[${PYTHON_MULTI_USEDEP}]
59 + dev-python/xapp[${PYTHON_MULTI_USEDEP}]
60 + ')
61 + >=net-wireless/gnome-bluetooth-3.14[introspection]
62 + net-wireless/bluez[obex]
63 + net-wireless/bluez-tools
64 + || (
65 + >=sys-apps/util-linux-2.31_rc1
66 + net-wireless/rfkill
67 + )
68 + x11-libs/libnotify[introspection]
69 + x11-misc/wmctrl"
70 +DEPEND="${RDEPEND}"
71 +
72 +src_prepare() {
73 + default
74 + python_fix_shebang usr/lib
75 +}
76 +
77 +src_install() {
78 + doins -r etc
79 + exeinto /usr/bin
80 + doexe usr/bin/*
81 + exeinto /usr/lib/blueberry
82 + doexe usr/lib/blueberry/*
83 + insinto /usr
84 + doins -r usr/share
85 +}
86 +
87 +pkg_postinst() {
88 + gnome2_schemas_update
89 + xdg_icon_cache_update
90 +}
91 +
92 +pkg_postrm() {
93 + gnome2_schemas_update
94 + xdg_icon_cache_update
95 +}