1 |
commit: 1d6d41556a8fdca27b2702e7561caf1ced80f22c |
2 |
Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com> |
3 |
AuthorDate: Tue Feb 22 19:06:16 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 20:55:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6d4155 |
7 |
|
8 |
media-video/wireplumber: clean up 0.4.8-r1 |
9 |
|
10 |
WirePlumber 0.4.8 (no longer present in tree) and 0.4.8-r1 may under |
11 |
some circumstances crash on non-x86/amd64 architectures e.g. arm64. |
12 |
|
13 |
The fix for the issue is present in 0.4.8-r2, so all that Gentoo needs |
14 |
to do is to clean up the known affected ebuild. |
15 |
|
16 |
Bug: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/206 |
17 |
|
18 |
Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com> |
19 |
Closes: https://github.com/gentoo/gentoo/pull/24320 |
20 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
21 |
|
22 |
.../wireplumber/wireplumber-0.4.8-r1.ebuild | 120 --------------------- |
23 |
1 file changed, 120 deletions(-) |
24 |
|
25 |
diff --git a/media-video/wireplumber/wireplumber-0.4.8-r1.ebuild b/media-video/wireplumber/wireplumber-0.4.8-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 6348d11b2485..000000000000 |
28 |
--- a/media-video/wireplumber/wireplumber-0.4.8-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,120 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-LUA_COMPAT=( lua5-{3,4} ) |
37 |
- |
38 |
-inherit lua-single meson systemd |
39 |
- |
40 |
-if [[ ${PV} == 9999 ]]; then |
41 |
- EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" |
42 |
- EGIT_BRANCH="master" |
43 |
- inherit git-r3 |
44 |
-else |
45 |
- SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz" |
46 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
47 |
-fi |
48 |
- |
49 |
-DESCRIPTION="Replacement for pipewire-media-session" |
50 |
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" |
51 |
- |
52 |
-LICENSE="MIT" |
53 |
-SLOT="0/0.4" |
54 |
-IUSE="elogind system-service systemd test" |
55 |
- |
56 |
-REQUIRED_USE=" |
57 |
- ${LUA_REQUIRED_USE} |
58 |
- ?? ( elogind systemd ) |
59 |
- system-service? ( systemd ) |
60 |
-" |
61 |
- |
62 |
-RESTRICT="!test? ( test )" |
63 |
- |
64 |
-# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building |
65 |
-BDEPEND=" |
66 |
- dev-libs/glib |
67 |
- dev-util/gdbus-codegen |
68 |
- dev-util/glib-utils |
69 |
-" |
70 |
- |
71 |
-DEPEND=" |
72 |
- ${LUA_DEPS} |
73 |
- >=dev-libs/glib-2.62 |
74 |
- >=media-video/pipewire-0.3.45:= |
75 |
- virtual/libc |
76 |
- elogind? ( sys-auth/elogind ) |
77 |
- systemd? ( sys-apps/systemd ) |
78 |
-" |
79 |
- |
80 |
-# Any dev-lua/* deps get declared like this inside RDEPEND: |
81 |
-# $(lua_gen_cond_dep ' |
82 |
-# dev-lua/<NAME>[${LUA_USEDEP}] |
83 |
-# ') |
84 |
-RDEPEND="${DEPEND} |
85 |
- system-service? ( |
86 |
- acct-user/pipewire |
87 |
- acct-group/pipewire |
88 |
- ) |
89 |
-" |
90 |
- |
91 |
-DOCS=( {NEWS,README}.rst ) |
92 |
- |
93 |
-PATCHES=( |
94 |
- "${FILESDIR}"/${P}-restore-stream-do-not-crash-if-config.properties-is-.patch |
95 |
-) |
96 |
- |
97 |
-src_configure() { |
98 |
- local emesonargs=( |
99 |
- -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?) |
100 |
- -Dintrospection=disabled # Only used for Sphinx doc generation |
101 |
- -Dsystem-lua=true # We always unbundle everything we can |
102 |
- -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version)) |
103 |
- $(meson_feature elogind) |
104 |
- $(meson_feature systemd) |
105 |
- $(meson_use system-service systemd-system-service) |
106 |
- $(meson_use systemd systemd-user-service) |
107 |
- -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) |
108 |
- -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) |
109 |
- $(meson_use test tests) |
110 |
- ) |
111 |
- |
112 |
- meson_src_configure |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- meson_src_install |
117 |
- |
118 |
- # We copy the default config, so that Gentoo tools can pick up on any |
119 |
- # updates and /etc does not end up with stale overrides. |
120 |
- # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files |
121 |
- # will not actually get stored twice until modified. |
122 |
- insinto /etc |
123 |
- doins -r ${ED}/usr/share/wireplumber |
124 |
-} |
125 |
- |
126 |
-pkg_postinst() { |
127 |
- if systemd_is_booted ; then |
128 |
- ewarn "pipewire-media-session.service is no longer installed. You must switch" |
129 |
- ewarn "to wireplumber.service user unit before your next logout/reboot:" |
130 |
- ewarn "systemctl --user disable pipewire-media-session.service" |
131 |
- ewarn "systemctl --user --force enable wireplumber.service" |
132 |
- else |
133 |
- ewarn "Switch to WirePlumber will happen the next time gentoo-pipewire-launcher" |
134 |
- ewarn "is started (a replacement for directly calling pipewire binary)." |
135 |
- ewarn |
136 |
- ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist" |
137 |
- ewarn "or, if it does exist, that any reference to" |
138 |
- ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out (begins with a #)." |
139 |
- fi |
140 |
- if use system-service; then |
141 |
- ewarn |
142 |
- ewarn "WARNING: you have enabled the system-service USE flag, which installs" |
143 |
- ewarn "the system-wide systemd units that enable WirePlumber to run as a system" |
144 |
- ewarn "service. This is more than likely NOT what you want. You are strongly" |
145 |
- ewarn "advised not to enable this mode and instead stick with systemd user" |
146 |
- ewarn "units. The default configuration files will likely not work out of" |
147 |
- ewarn "box, and you are on your own with configuration." |
148 |
- ewarn |
149 |
- fi |
150 |
-} |