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: Sat, 01 Jan 2022 03:49:17
Message-Id: 1641008848.afbcf24b9709fbd4777f7db9bba2ef5eaf5a3593.sam@gentoo
1 commit: afbcf24b9709fbd4777f7db9bba2ef5eaf5a3593
2 Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com>
3 AuthorDate: Fri Dec 31 08:23:12 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 03:47:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbcf24b
7
8 media-video/wireplumber: remove ebuilds that will not be stabilized
9
10 Either 0.4.5-r2 or 0.4.5-r3 will be stabilized, so there is no point
11 in keeping older ebuilds around.
12
13 Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com>
14 Closes: https://github.com/gentoo/gentoo/pull/23599
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../wireplumber/wireplumber-0.4.5-r1.ebuild | 96 ----------------------
18 media-video/wireplumber/wireplumber-0.4.5.ebuild | 89 --------------------
19 2 files changed, 185 deletions(-)
20
21 diff --git a/media-video/wireplumber/wireplumber-0.4.5-r1.ebuild b/media-video/wireplumber/wireplumber-0.4.5-r1.ebuild
22 deleted file mode 100644
23 index 977f3e5b79a7..000000000000
24 --- a/media-video/wireplumber/wireplumber-0.4.5-r1.ebuild
25 +++ /dev/null
26 @@ -1,96 +0,0 @@
27 -# Copyright 1999-2021 Gentoo Authors
28 -# Distributed under the terms of the GNU General Public License v2
29 -
30 -EAPI=7
31 -
32 -LUA_COMPAT=( lua5-{3,4} )
33 -
34 -inherit lua-single meson systemd
35 -
36 -if [[ ${PV} == 9999 ]]; then
37 - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git"
38 - EGIT_BRANCH="master"
39 - inherit git-r3
40 -else
41 - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz"
42 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
43 -fi
44 -
45 -DESCRIPTION="Replacement for pipewire-media-session"
46 -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
47 -
48 -LICENSE="MIT"
49 -SLOT="0/0.4"
50 -IUSE="elogind systemd test"
51 -
52 -REQUIRED_USE="
53 - ${LUA_REQUIRED_USE}
54 - ?? ( elogind systemd )
55 -"
56 -
57 -RESTRICT="!test? ( test )"
58 -
59 -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building
60 -BDEPEND="
61 - dev-libs/glib
62 - dev-util/gdbus-codegen
63 - dev-util/glib-utils
64 -"
65 -
66 -DEPEND="
67 - ${LUA_DEPS}
68 - >=dev-libs/glib-2.62
69 - >=media-video/pipewire-0.3.39
70 - virtual/libc
71 - elogind? ( sys-auth/elogind )
72 - systemd? ( sys-apps/systemd )
73 -"
74 -
75 -# Any dev-lua/* deps get declared like this inside RDEPEND:
76 -# $(lua_gen_cond_dep '
77 -# dev-lua/<NAME>[${LUA_USEDEP}]
78 -# ')
79 -RDEPEND="${DEPEND}"
80 -
81 -DOCS=( {NEWS,README}.rst )
82 -
83 -PATCHES=(
84 - "${FILESDIR}"/${PN}-0.4.5-m-reserve-device-replace-the-hash-table-key-on-new-i.patch
85 - "${FILESDIR}"/${PN}-0.4.5-policy-node-wait-for-nodes-when-we-become-unlinked.patch
86 - "${FILESDIR}"/${PN}-0.4.5-lib-don-t-read-hidden-files-from-the-config-director.patch
87 - "${FILESDIR}"/${PN}-0.4.5-alsa-handle-the-release-requested-signal.patch
88 -)
89 -
90 -src_configure() {
91 - local emesonargs=(
92 - -Dintrospection=disabled # Only used for Sphinx doc generation
93 - -Dsystem-lua=true # We always unbundle everything we can
94 - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
95 - $(meson_feature elogind)
96 - $(meson_feature systemd)
97 - -Dsystemd-system-service=false # Matches upstream
98 - $(meson_use systemd systemd-user-service)
99 - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
100 - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
101 - $(meson_use test tests)
102 - )
103 -
104 - meson_src_configure
105 -}
106 -
107 -pkg_postinst() {
108 - if systemd_is_booted ; then
109 - ewarn "pipewire-media-session.service is no longer installed. You must switch"
110 - ewarn "to wireplumber.service user unit before your next logout/reboot:"
111 - ewarn "systemctl --user disable pipewire-media-session.service"
112 - ewarn "systemctl --user --force enable wireplumber.service"
113 - else
114 - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher"
115 - ewarn "is started (a replacement for directly calling pipewire binary)."
116 - ewarn
117 - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist"
118 - ewarn "or, if it does exist, that any reference to"
119 - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)."
120 - fi
121 - ewarn
122 -}
123
124 diff --git a/media-video/wireplumber/wireplumber-0.4.5.ebuild b/media-video/wireplumber/wireplumber-0.4.5.ebuild
125 deleted file mode 100644
126 index 4773af0d6c42..000000000000
127 --- a/media-video/wireplumber/wireplumber-0.4.5.ebuild
128 +++ /dev/null
129 @@ -1,89 +0,0 @@
130 -# Copyright 1999-2021 Gentoo Authors
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=7
134 -
135 -LUA_COMPAT=( lua5-{3,4} )
136 -
137 -inherit lua-single meson systemd
138 -
139 -if [[ ${PV} == 9999 ]]; then
140 - EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git"
141 - EGIT_BRANCH="master"
142 - inherit git-r3
143 -else
144 - SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz"
145 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
146 -fi
147 -
148 -DESCRIPTION="Replacement for pipewire-media-session"
149 -HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber"
150 -
151 -LICENSE="MIT"
152 -SLOT="0/0.4"
153 -IUSE="elogind systemd test"
154 -
155 -REQUIRED_USE="
156 - ${LUA_REQUIRED_USE}
157 - ?? ( elogind systemd )
158 -"
159 -
160 -RESTRICT="!test? ( test )"
161 -
162 -# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building
163 -BDEPEND="
164 - dev-libs/glib
165 - dev-util/gdbus-codegen
166 - dev-util/glib-utils
167 -"
168 -
169 -DEPEND="
170 - ${LUA_DEPS}
171 - >=dev-libs/glib-2.62
172 - >=media-video/pipewire-0.3.39
173 - virtual/libc
174 - elogind? ( sys-auth/elogind )
175 - systemd? ( sys-apps/systemd )
176 -"
177 -
178 -# Any dev-lua/* deps get declared like this inside RDEPEND:
179 -# $(lua_gen_cond_dep '
180 -# dev-lua/<NAME>[${LUA_USEDEP}]
181 -# ')
182 -RDEPEND="${DEPEND}"
183 -
184 -DOCS=( {NEWS,README}.rst )
185 -
186 -src_configure() {
187 - local emesonargs=(
188 - -Dintrospection=disabled # Only used for Sphinx doc generation
189 - -Dsystem-lua=true # We always unbundle everything we can
190 - -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
191 - $(meson_feature elogind)
192 - $(meson_feature systemd)
193 - -Dsystemd-system-service=false # Matches upstream
194 - $(meson_use systemd systemd-user-service)
195 - -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
196 - -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
197 - $(meson_use test tests)
198 - )
199 -
200 - meson_src_configure
201 -}
202 -
203 -pkg_postinst() {
204 - if systemd_is_booted ; then
205 - ewarn "pipewire-media-session.service is no longer installed. You must switch"
206 - ewarn "to wireplumber.service user unit before your next logout/reboot:"
207 - ewarn "systemctl --user disable pipewire-media-session.service"
208 - ewarn "systemctl --user --force enable wireplumber.service"
209 - else
210 - ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher"
211 - ewarn "is started (a replacement for directly calling pipewire binary)."
212 - ewarn
213 - ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist"
214 - ewarn "or, if it does exist, that any reference to"
215 - ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)."
216 - fi
217 - ewarn
218 -}