Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/blueman/
Date: Mon, 05 Sep 2022 05:23:29
Message-Id: 1662354516.b4aedc65842f84b7422ce162dd8ace560cfd742f.mgorny@gentoo
1 commit: b4aedc65842f84b7422ce162dd8ace560cfd742f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 05:08:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 05:08:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4aedc65
7
8 net-wireless/blueman: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-wireless/blueman/Manifest | 2 -
13 net-wireless/blueman/blueman-2.2.5.ebuild | 142 ------------------------------
14 net-wireless/blueman/blueman-2.3.1.ebuild | 141 -----------------------------
15 3 files changed, 285 deletions(-)
16
17 diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest
18 index 294aa8fb7131..6f3bc97ae534 100644
19 --- a/net-wireless/blueman/Manifest
20 +++ b/net-wireless/blueman/Manifest
21 @@ -1,3 +1 @@
22 -DIST blueman-2.2.5.tar.xz 1575260 BLAKE2B 9e26b3406114b1dd3257bcfd0850bf16385ac3eb2fcd89097e3a0464099b7c64eb4cf1f5cd7630a8387fd258b4b0bf8bc52f01c5da480e543bd11346995392c2 SHA512 265a9286ac943a41f78b587a93e8759ca87b49fcda5a7b34ce520d9e0aee8e6335a1219f46d1c3d9bd3f07be15913b5c4bc101daaa5e9e5b380703733c021a35
23 -DIST blueman-2.3.1.tar.xz 1606200 BLAKE2B 6f4528e827824884c763da81aff9642e442c3b8e465f9c2dfae9e63de409956e946ba3f939a64ae68f0d05df11e49927daab2af189e8605ccc5e4897ca8fb7ab SHA512 04adbb3eff4571cf105cad2769d7ad8e4055112a7e1b3c1152b300e72534621647cc6a0f284915cc2d3c642b8c1acf825c8c9a0227dbb617fa9071a534f0562c
24 DIST blueman-2.3.2.tar.xz 1575412 BLAKE2B 25fbed432e103a46840dc10d73bce4e8e7a5e7ea623dbb3a50c420d166af7eb0eff046d0fd9986869055fbb4c3f8563920fb840f8f74f37a05b6680434f13dc5 SHA512 13760def19951bcb4582dbe142259256826a0f50e6c34e56c61c6f890f4e2e08085733f2480ad4c95ee52ec616cbb7ddd3a946634f042d80692cd37b57207cc0
25
26 diff --git a/net-wireless/blueman/blueman-2.2.5.ebuild b/net-wireless/blueman/blueman-2.2.5.ebuild
27 deleted file mode 100644
28 index 3ea5b21469db..000000000000
29 --- a/net-wireless/blueman/blueman-2.2.5.ebuild
30 +++ /dev/null
31 @@ -1,142 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..11} )
38 -
39 -inherit autotools gnome2-utils linux-info python-single-r1 systemd xdg-utils
40 -
41 -DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager"
42 -HOMEPAGE="https://github.com/blueman-project/blueman/"
43 -
44 -if [[ ${PV} == "9999" ]] ; then
45 - inherit git-r3
46 - EGIT_REPO_URI="https://github.com/blueman-project/blueman.git"
47 -else
48 - SRC_URI="
49 - https://github.com/blueman-project/blueman/releases/download/${PV/_/.}/${P/_/.}.tar.xz
50 - "
51 - S=${WORKDIR}/${P/_/.}
52 - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86"
53 -fi
54 -
55 -# icons are GPL-2
56 -# source files are mixed GPL-3+ and GPL-2+
57 -LICENSE="GPL-3+ GPL-2"
58 -SLOT="0"
59 -IUSE="appindicator network nls policykit pulseaudio"
60 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
61 -
62 -DEPEND="
63 - $(python_gen_cond_dep '
64 - dev-python/pygobject:3[${PYTHON_USEDEP}]
65 - ')
66 - >=net-wireless/bluez-5:=
67 - ${PYTHON_DEPS}"
68 -BDEPEND="
69 - $(python_gen_cond_dep '
70 - dev-python/cython[${PYTHON_USEDEP}]
71 - ')
72 - virtual/pkgconfig
73 - nls? ( sys-devel/gettext )"
74 -RDEPEND="${DEPEND}
75 - $(python_gen_cond_dep '
76 - dev-python/pycairo[${PYTHON_USEDEP}]
77 - ')
78 - sys-apps/dbus
79 - x11-libs/gtk+:3[introspection]
80 - x11-libs/libnotify[introspection]
81 - || (
82 - x11-themes/adwaita-icon-theme
83 - x11-themes/faenza-icon-theme
84 - x11-themes/mate-icon-theme
85 - )
86 - appindicator? (
87 - dev-libs/libappindicator:3[introspection]
88 - )
89 - network? (
90 - net-firewall/iptables
91 - || (
92 - sys-apps/net-tools
93 - sys-apps/iproute2
94 - )
95 - || (
96 - net-dns/dnsmasq
97 - net-misc/dhcp
98 - >=net-misc/networkmanager-0.8
99 - )
100 - )
101 - policykit? (
102 - sys-auth/polkit
103 - )
104 - pulseaudio? (
105 - || (
106 - media-sound/pulseaudio-daemon[bluetooth]
107 - media-video/pipewire[bluetooth]
108 - <media-sound/pulseaudio-15.99.1[bluetooth]
109 - media-sound/pulseaudio-modules-bt
110 - )
111 - )
112 -"
113 -
114 -pkg_pretend() {
115 - if use network; then
116 - local CONFIG_CHECK="
117 - ~BRIDGE
118 - ~IP_NF_IPTABLES
119 - ~IP_NF_NAT
120 - ~IP_NF_TARGET_MASQUERADE
121 - "
122 - check_extra_config
123 - fi
124 -}
125 -
126 -pkg_setup() {
127 - python-single-r1_pkg_setup
128 -}
129 -
130 -src_prepare() {
131 - default
132 - [[ ${PV} == 9999 ]] && eautoreconf
133 -}
134 -
135 -src_configure() {
136 - local myconf=(
137 - --disable-runtime-deps-check
138 - --disable-static
139 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
140 - --with-systemduserunitdir="$(systemd_get_userunitdir)"
141 - --with-dhcp-config="/etc/dhcp/dhcpd.conf"
142 - $(use_enable appindicator)
143 - $(use_enable policykit polkit)
144 - $(use_enable nls)
145 - $(use_enable pulseaudio)
146 - # thunar integration is a single data file with no extra deps
147 - # so install it unconditionally
148 - --enable-thunar-sendto
149 - )
150 - econf "${myconf[@]}"
151 -}
152 -
153 -src_install() {
154 - default
155 -
156 - if use policykit; then
157 - # Allow users in plugdev group to modify connections
158 - insinto /usr/share/polkit-1/rules.d
159 - doins "${FILESDIR}/01-org.blueman.rules"
160 - fi
161 -
162 - find "${D}" -name '*.la' -delete || die
163 -}
164 -
165 -pkg_postinst() {
166 - xdg_icon_cache_update
167 - gnome2_schemas_update
168 -}
169 -
170 -pkg_postrm() {
171 - xdg_icon_cache_update
172 - gnome2_schemas_update
173 -}
174
175 diff --git a/net-wireless/blueman/blueman-2.3.1.ebuild b/net-wireless/blueman/blueman-2.3.1.ebuild
176 deleted file mode 100644
177 index 997963609ec2..000000000000
178 --- a/net-wireless/blueman/blueman-2.3.1.ebuild
179 +++ /dev/null
180 @@ -1,141 +0,0 @@
181 -# Copyright 1999-2022 Gentoo Authors
182 -# Distributed under the terms of the GNU General Public License v2
183 -
184 -EAPI=8
185 -
186 -DISTUTILS_SINGLE_IMPL=1
187 -DISTUTILS_USE_PEP517=no
188 -PYTHON_COMPAT=( python3_{8..11} )
189 -
190 -inherit autotools distutils-r1 gnome2-utils linux-info systemd xdg-utils
191 -
192 -DESCRIPTION="Simple and intuitive GTK+ Bluetooth Manager"
193 -HOMEPAGE="https://github.com/blueman-project/blueman/"
194 -
195 -if [[ ${PV} == "9999" ]] ; then
196 - inherit git-r3
197 - EGIT_REPO_URI="https://github.com/blueman-project/blueman.git"
198 -else
199 - SRC_URI="
200 - https://github.com/blueman-project/blueman/releases/download/${PV/_/.}/${P/_/.}.tar.xz
201 - "
202 - S=${WORKDIR}/${P/_/.}
203 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
204 -fi
205 -
206 -# icons are GPL-2
207 -# source files are mixed GPL-3+ and GPL-2+
208 -LICENSE="GPL-3+ GPL-2"
209 -SLOT="0"
210 -IUSE="network nls policykit pulseaudio"
211 -
212 -DEPEND="
213 - $(python_gen_cond_dep '
214 - dev-python/pygobject:3[${PYTHON_USEDEP}]
215 - ')
216 - >=net-wireless/bluez-5:=
217 -"
218 -BDEPEND="
219 - $(python_gen_cond_dep '
220 - dev-python/cython[${PYTHON_USEDEP}]
221 - ')
222 - virtual/pkgconfig
223 - nls? ( sys-devel/gettext )
224 -"
225 -RDEPEND="
226 - ${DEPEND}
227 - $(python_gen_cond_dep '
228 - dev-python/pycairo[${PYTHON_USEDEP}]
229 - ')
230 - sys-apps/dbus
231 - x11-libs/gtk+:3[introspection]
232 - x11-libs/libnotify[introspection]
233 - || (
234 - x11-themes/adwaita-icon-theme
235 - x11-themes/faenza-icon-theme
236 - x11-themes/mate-icon-theme
237 - )
238 - network? (
239 - net-firewall/iptables
240 - || (
241 - sys-apps/net-tools
242 - sys-apps/iproute2
243 - )
244 - || (
245 - net-dns/dnsmasq
246 - net-misc/dhcp
247 - >=net-misc/networkmanager-0.8
248 - )
249 - )
250 - policykit? (
251 - sys-auth/polkit
252 - )
253 - pulseaudio? (
254 - || (
255 - media-sound/pulseaudio-daemon[bluetooth]
256 - media-video/pipewire[bluetooth]
257 - <media-sound/pulseaudio-15.99.1[bluetooth]
258 - media-sound/pulseaudio-modules-bt
259 - )
260 - )
261 -"
262 -
263 -pkg_pretend() {
264 - if use network; then
265 - local CONFIG_CHECK="
266 - ~BRIDGE
267 - ~IP_NF_IPTABLES
268 - ~IP_NF_NAT
269 - ~IP_NF_TARGET_MASQUERADE
270 - "
271 - check_extra_config
272 - fi
273 -}
274 -
275 -pkg_setup() {
276 - python-single-r1_pkg_setup
277 -}
278 -
279 -src_prepare() {
280 - [[ ${PV} == 9999 ]] && eautoreconf || eautomake
281 - distutils-r1_src_prepare
282 -}
283 -
284 -python_configure() {
285 - local myconf=(
286 - --disable-runtime-deps-check
287 - --disable-static
288 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
289 - --with-systemduserunitdir="$(systemd_get_userunitdir)"
290 - --with-dhcp-config="/etc/dhcp/dhcpd.conf"
291 - $(use_enable policykit polkit)
292 - $(use_enable nls)
293 - $(use_enable pulseaudio)
294 - # thunar integration is a single data file with no extra deps
295 - # so install it unconditionally
296 - --enable-thunar-sendto
297 - )
298 - econf "${myconf[@]}"
299 -}
300 -
301 -python_install() {
302 - default
303 -
304 - if use policykit; then
305 - # Allow users in plugdev group to modify connections
306 - insinto /usr/share/polkit-1/rules.d
307 - doins "${FILESDIR}/01-org.blueman.rules"
308 - fi
309 -
310 - find "${D}" -name '*.la' -delete || die
311 -}
312 -
313 -pkg_postinst() {
314 - xdg_icon_cache_update
315 - gnome2_schemas_update
316 -}
317 -
318 -pkg_postrm() {
319 - xdg_icon_cache_update
320 - gnome2_schemas_update
321 -}