1 |
commit: be6786733130233cc99087a90e45f0b264931a6a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 27 13:18:28 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 13:18:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be678673 |
7 |
|
8 |
net-wireless/blueman: Bump to 2.1.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
net-wireless/blueman/Manifest | 1 + |
13 |
net-wireless/blueman/blueman-2.1.4.ebuild | 132 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 133 insertions(+) |
15 |
|
16 |
diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest |
17 |
index f338f72712d..2235f5f8c7c 100644 |
18 |
--- a/net-wireless/blueman/Manifest |
19 |
+++ b/net-wireless/blueman/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST blueman-2.1.3.tar.xz 950772 BLAKE2B bec7c8da59b94e8f30ff5f41e057ae5662928a4469b46d0ad2b33521a9b3a5de94056f6f35440d90e05116b1dd83dcd2437f1c00fb6b9532c14ab0698716c57a SHA512 376007c6e857f0e10a4d5e4bc2a50f6d170d393389d3aa5d02728646bf27e2fe5c08fb835bb5432a980d2b6c70c348a0274015552be6229c15a89c34c0d105f2 |
22 |
+DIST blueman-2.1.4.tar.xz 983816 BLAKE2B de8d475b0aec5b037df43fdb76ebbf4fdb05367f166c14cda818badf49376f2a91de246f991167a57ecaa82a84ac84b4e91f600237c35d86e27431a760192996 SHA512 b8b54942092c1984cfac0cf73e2ac23f7693cb3ee0aa4cfaab1fa0282de4afd539f6860d5541523b542956b2efa31da3ec012dcc39d92fd699d0b8479df641ff |
23 |
|
24 |
diff --git a/net-wireless/blueman/blueman-2.1.4.ebuild b/net-wireless/blueman/blueman-2.1.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..90544f6ccff |
27 |
--- /dev/null |
28 |
+++ b/net-wireless/blueman/blueman-2.1.4.ebuild |
29 |
@@ -0,0 +1,132 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="7" |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6..8} ) |
36 |
+inherit autotools gnome2-utils linux-info python-single-r1 systemd xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager" |
39 |
+HOMEPAGE="https://github.com/blueman-project/blueman" |
40 |
+ |
41 |
+if [[ ${PV} == "9999" ]] ; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/blueman-project/blueman.git" |
44 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
45 |
+else |
46 |
+ SRC_URI="https://github.com/blueman-project/${PN}/releases/download/${PV/_/.}/${P/_/.}.tar.xz" |
47 |
+ S=${WORKDIR}/${P/_/.} |
48 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
49 |
+fi |
50 |
+ |
51 |
+# icons are GPL-2 |
52 |
+# source files are mixed GPL-3+ and GPL-2+ |
53 |
+LICENSE="GPL-3+ GPL-2" |
54 |
+SLOT="0" |
55 |
+IUSE="appindicator network nls policykit pulseaudio" |
56 |
+ |
57 |
+DEPEND=" |
58 |
+ $(python_gen_cond_dep ' |
59 |
+ dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
60 |
+ ') |
61 |
+ >=net-wireless/bluez-5:= |
62 |
+ ${PYTHON_DEPS}" |
63 |
+BDEPEND=" |
64 |
+ $(python_gen_cond_dep ' |
65 |
+ dev-python/cython[${PYTHON_MULTI_USEDEP}] |
66 |
+ ') |
67 |
+ virtual/pkgconfig |
68 |
+ nls? ( dev-util/intltool sys-devel/gettext )" |
69 |
+RDEPEND="${DEPEND} |
70 |
+ $(python_gen_cond_dep ' |
71 |
+ dev-python/pycairo[${PYTHON_MULTI_USEDEP}] |
72 |
+ ') |
73 |
+ sys-apps/dbus |
74 |
+ x11-libs/gtk+:3[introspection] |
75 |
+ x11-libs/libnotify[introspection] |
76 |
+ || ( |
77 |
+ x11-themes/adwaita-icon-theme |
78 |
+ x11-themes/faenza-icon-theme |
79 |
+ x11-themes/mate-icon-theme |
80 |
+ ) |
81 |
+ appindicator? ( dev-libs/libappindicator:3[introspection] ) |
82 |
+ network? ( |
83 |
+ net-firewall/iptables |
84 |
+ || ( |
85 |
+ sys-apps/net-tools |
86 |
+ sys-apps/iproute2 |
87 |
+ ) |
88 |
+ || ( |
89 |
+ net-dns/dnsmasq |
90 |
+ net-misc/dhcp |
91 |
+ >=net-misc/networkmanager-0.8 |
92 |
+ ) |
93 |
+ ) |
94 |
+ policykit? ( sys-auth/polkit ) |
95 |
+ pulseaudio? ( |
96 |
+ || ( |
97 |
+ media-sound/pulseaudio[bluetooth] |
98 |
+ media-sound/pulseaudio-modules-bt |
99 |
+ ) |
100 |
+ ) |
101 |
+" |
102 |
+ |
103 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
104 |
+ |
105 |
+pkg_pretend() { |
106 |
+ if use network; then |
107 |
+ local CONFIG_CHECK="~BRIDGE ~IP_NF_IPTABLES |
108 |
+ ~IP_NF_NAT ~IP_NF_TARGET_MASQUERADE" |
109 |
+ check_extra_config |
110 |
+ fi |
111 |
+} |
112 |
+ |
113 |
+pkg_setup() { |
114 |
+ python-single-r1_pkg_setup |
115 |
+} |
116 |
+ |
117 |
+src_prepare() { |
118 |
+ default |
119 |
+ # replace py-compile to fix py3 |
120 |
+ [[ ${PV} == 9999 ]] && eautoreconf || eautomake |
121 |
+} |
122 |
+ |
123 |
+src_configure() { |
124 |
+ local myconf=( |
125 |
+ --disable-runtime-deps-check |
126 |
+ --disable-static |
127 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
128 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
129 |
+ --with-dhcp-config="/etc/dhcp/dhcpd.conf" |
130 |
+ $(use_enable appindicator) |
131 |
+ $(use_enable policykit polkit) |
132 |
+ $(use_enable nls) |
133 |
+ $(use_enable pulseaudio) |
134 |
+ # thunar integration is a single data file with no extra deps |
135 |
+ # so install it unconditionally |
136 |
+ --enable-thunar-sendto |
137 |
+ ) |
138 |
+ econf "${myconf[@]}" |
139 |
+} |
140 |
+ |
141 |
+src_install() { |
142 |
+ default |
143 |
+ |
144 |
+ if use policykit; then |
145 |
+ # Allow users in plugdev group to modify connections |
146 |
+ insinto /usr/share/polkit-1/rules.d |
147 |
+ doins "${FILESDIR}/01-org.blueman.rules" |
148 |
+ fi |
149 |
+ |
150 |
+ rm "${D}"/$(python_get_sitedir)/*.la || die |
151 |
+} |
152 |
+ |
153 |
+pkg_postinst() { |
154 |
+ xdg_icon_cache_update |
155 |
+ gnome2_schemas_update |
156 |
+} |
157 |
+ |
158 |
+pkg_postrm() { |
159 |
+ xdg_icon_cache_update |
160 |
+ gnome2_schemas_update |
161 |
+} |