Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/wireplumber/
Date: Sun, 31 Jul 2022 03:40:32
Message-Id: 1659238433.7ff65d73630712e5dbe990dcd06209aa56dab3cd.sam@gentoo
1 commit: 7ff65d73630712e5dbe990dcd06209aa56dab3cd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 03:33:53 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 03:33:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff65d73
7
8 media-video/wireplumber: drop 0.4.10-r6, 0.4.11-r1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../wireplumber/wireplumber-0.4.10-r6.ebuild | 126 --------------------
13 .../wireplumber/wireplumber-0.4.11-r1.ebuild | 129 ---------------------
14 2 files changed, 255 deletions(-)
15
16 diff --git a/media-video/wireplumber/wireplumber-0.4.10-r6.ebuild b/media-video/wireplumber/wireplumber-0.4.10-r6.ebuild
17 deleted file mode 100644
18 index 5a21755d5858..000000000000
19 --- a/media-video/wireplumber/wireplumber-0.4.10-r6.ebuild
20 +++ /dev/null
21 @@ -1,126 +0,0 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=8
26 -
27 -LUA_COMPAT=( lua5-{3,4} )
28 -
29 -inherit lua-single meson systemd
30 -
31 -if [[ ${PV} == 9999 ]]; then
32 - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git"
33 - EGIT_BRANCH="master"
34 - inherit git-r3
35 -else
36 - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz"
37 - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
38 -fi
39 -
40 -DESCRIPTION="Replacement for pipewire-media-session"
41 -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
42 -
43 -LICENSE="MIT"
44 -SLOT="0/0.4"
45 -IUSE="elogind system-service systemd test"
46 -
47 -REQUIRED_USE="
48 - ${LUA_REQUIRED_USE}
49 - ?? ( elogind systemd )
50 - system-service? ( systemd )
51 -"
52 -
53 -RESTRICT="!test? ( test )"
54 -
55 -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building
56 -BDEPEND="
57 - dev-libs/glib
58 - dev-util/gdbus-codegen
59 - dev-util/glib-utils
60 - sys-devel/gettext
61 -"
62 -
63 -DEPEND="
64 - ${LUA_DEPS}
65 - >=dev-libs/glib-2.62
66 - >=media-video/pipewire-0.3.53-r1:=
67 - virtual/libintl
68 - elogind? ( sys-auth/elogind )
69 - systemd? ( sys-apps/systemd )
70 -"
71 -
72 -# Any dev-lua/* deps get declared like this inside RDEPEND:
73 -# $(lua_gen_cond_dep '
74 -# dev-lua/<NAME>[${LUA_USEDEP}]
75 -# ')
76 -RDEPEND="${DEPEND}
77 - system-service? (
78 - acct-user/pipewire
79 - acct-group/pipewire
80 - )
81 -"
82 -
83 -DOCS=( {NEWS,README}.rst )
84 -
85 -PATCHES=(
86 - "${FILESDIR}"/${P}-config-fix-enabled-property-to-default-to-true-when.patch
87 - "${FILESDIR}"/${P}-m-lua-scripting-allow-converting-GValue-holding-NUL.patch
88 - "${FILESDIR}"/${P}-alsa.lua-fix-device-name-deduplication-when-reserva.patch
89 - "${FILESDIR}"/${P}-m-default-nodes-don-t-check-if-all-device-nodes-are.patch
90 - "${FILESDIR}"/${P}-m-lua-scripting-fix-object-refcounting.patch
91 - "${FILESDIR}"/${P}-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire
92 -)
93 -
94 -src_configure() {
95 - local emesonargs=(
96 - -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?)
97 - -Dintrospection=disabled # Only used for Sphinx doc generation
98 - -Dsystem-lua=true # We always unbundle everything we can
99 - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
100 - $(meson_feature elogind)
101 - $(meson_feature systemd)
102 - $(meson_use system-service systemd-system-service)
103 - $(meson_use systemd systemd-user-service)
104 - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
105 - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
106 - $(meson_use test tests)
107 - )
108 -
109 - meson_src_configure
110 -}
111 -
112 -src_install() {
113 - meson_src_install
114 -
115 - # We copy the default config, so that Gentoo tools can pick up on any
116 - # updates and /etc does not end up with stale overrides.
117 - # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files
118 - # will not actually get stored twice until modified.
119 - insinto /etc
120 - doins -r "${ED}"/usr/share/wireplumber
121 -}
122 -
123 -pkg_postinst() {
124 - if systemd_is_booted ; then
125 - ewarn "pipewire-media-session.service is no longer installed. You must switch"
126 - ewarn "to wireplumber.service user unit before your next logout/reboot:"
127 - ewarn "systemctl --user disable pipewire-media-session.service"
128 - ewarn "systemctl --user --force enable wireplumber.service"
129 - else
130 - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher"
131 - ewarn "is started (a replacement for directly calling pipewire binary)."
132 - ewarn
133 - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist"
134 - ewarn "or, if it does exist, that any reference to"
135 - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)."
136 - fi
137 - if use system-service; then
138 - ewarn
139 - ewarn "WARNING: you have enabled the system-service USE flag, which installs"
140 - ewarn "the system-wide systemd units that enable WirePlumber to run as a system"
141 - ewarn "service. This is more than likely NOT what you want. You are strongly"
142 - ewarn "advised not to enable this mode and instead stick with systemd user"
143 - ewarn "units. The default configuration files will likely not work out of"
144 - ewarn "box, and you are on your own with configuration."
145 - ewarn
146 - fi
147 -}
148
149 diff --git a/media-video/wireplumber/wireplumber-0.4.11-r1.ebuild b/media-video/wireplumber/wireplumber-0.4.11-r1.ebuild
150 deleted file mode 100644
151 index 9b738b1c7ac8..000000000000
152 --- a/media-video/wireplumber/wireplumber-0.4.11-r1.ebuild
153 +++ /dev/null
154 @@ -1,129 +0,0 @@
155 -# Copyright 1999-2022 Gentoo Authors
156 -# Distributed under the terms of the GNU General Public License v2
157 -
158 -EAPI=8
159 -
160 -# 1. Please regularly check (even at the point of bumping) Fedora's packaging
161 -# for needed backports at https://src.fedoraproject.org/rpms/wireplumber/tree/rawhide
162 -#
163 -# 2. Keep an eye on git master (for both PipeWire and WirePlumber) as things
164 -# continue to move quickly. It's not uncommon for fixes to be made shortly
165 -# after releases.
166 -
167 -LUA_COMPAT=( lua5-{3,4} )
168 -
169 -inherit lua-single meson systemd
170 -
171 -if [[ ${PV} == 9999 ]]; then
172 - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git"
173 - EGIT_BRANCH="master"
174 - inherit git-r3
175 -else
176 - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz"
177 - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
178 -fi
179 -
180 -DESCRIPTION="Replacement for pipewire-media-session"
181 -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
182 -
183 -LICENSE="MIT"
184 -SLOT="0/0.4"
185 -IUSE="elogind system-service systemd test"
186 -
187 -REQUIRED_USE="
188 - ${LUA_REQUIRED_USE}
189 - ?? ( elogind systemd )
190 - system-service? ( systemd )
191 -"
192 -
193 -RESTRICT="!test? ( test )"
194 -
195 -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building
196 -BDEPEND="
197 - dev-libs/glib
198 - dev-util/gdbus-codegen
199 - dev-util/glib-utils
200 - sys-devel/gettext
201 -"
202 -
203 -DEPEND="
204 - ${LUA_DEPS}
205 - >=dev-libs/glib-2.62
206 - >=media-video/pipewire-0.3.53-r1:=
207 - virtual/libintl
208 - elogind? ( sys-auth/elogind )
209 - systemd? ( sys-apps/systemd )
210 -"
211 -
212 -# Any dev-lua/* deps get declared like this inside RDEPEND:
213 -# $(lua_gen_cond_dep '
214 -# dev-lua/<NAME>[${LUA_USEDEP}]
215 -# ')
216 -RDEPEND="${DEPEND}
217 - system-service? (
218 - acct-user/pipewire
219 - acct-group/pipewire
220 - )
221 -"
222 -
223 -DOCS=( {NEWS,README}.rst )
224 -
225 -PATCHES=(
226 - "${FILESDIR}"/${PN}-0.4.10-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire
227 - "${FILESDIR}"/${P}-alsa-lua-crash.patch
228 -)
229 -
230 -src_configure() {
231 - local emesonargs=(
232 - -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?)
233 - -Dintrospection=disabled # Only used for Sphinx doc generation
234 - -Dsystem-lua=true # We always unbundle everything we can
235 - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
236 - $(meson_feature elogind)
237 - $(meson_feature systemd)
238 - $(meson_use system-service systemd-system-service)
239 - $(meson_use systemd systemd-user-service)
240 - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
241 - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
242 - $(meson_use test tests)
243 - )
244 -
245 - meson_src_configure
246 -}
247 -
248 -src_install() {
249 - meson_src_install
250 -
251 - # We copy the default config, so that Gentoo tools can pick up on any
252 - # updates and /etc does not end up with stale overrides.
253 - # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files
254 - # will not actually get stored twice until modified.
255 - insinto /etc
256 - doins -r "${ED}"/usr/share/wireplumber
257 -}
258 -
259 -pkg_postinst() {
260 - if systemd_is_booted ; then
261 - ewarn "pipewire-media-session.service is no longer installed. You must switch"
262 - ewarn "to wireplumber.service user unit before your next logout/reboot:"
263 - ewarn "systemctl --user disable pipewire-media-session.service"
264 - ewarn "systemctl --user --force enable wireplumber.service"
265 - else
266 - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher"
267 - ewarn "is started (a replacement for directly calling pipewire binary)."
268 - ewarn
269 - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist"
270 - ewarn "or, if it does exist, that any reference to"
271 - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)."
272 - fi
273 - if use system-service; then
274 - ewarn
275 - ewarn "WARNING: you have enabled the system-service USE flag, which installs"
276 - ewarn "the system-wide systemd units that enable WirePlumber to run as a system"
277 - ewarn "service. This is more than likely NOT what you want. You are strongly"
278 - ewarn "advised not to enable this mode and instead stick with systemd user"
279 - ewarn "units. The default configuration files will likely not work out of"
280 - ewarn "box, and you are on your own with configuration."
281 - ewarn
282 - fi
283 -}