1 |
commit: 0da70c3e9f1a348cc66aa6ab6a58dd265f045fa4 |
2 |
Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com> |
3 |
AuthorDate: Fri Oct 8 10:22:21 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 9 06:22:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da70c3e |
7 |
|
8 |
media-video/wireplumber: version bump to 0.4.3 |
9 |
|
10 |
Same ebuild as the current live one. As far as I know, the NEWS item |
11 |
about logind integration should only be fixing a bug with GDM users |
12 |
logging into GNOME session. But as a precaution the old 0.4.2-r1 ebuild |
13 |
is kept for now in case I missed some later changes regarding BlueZ |
14 |
handling and OpenRC users end up needing to downgrade. |
15 |
|
16 |
Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/22515 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
media-video/wireplumber/Manifest | 1 + |
21 |
media-video/wireplumber/wireplumber-0.4.3.ebuild | 81 ++++++++++++++++++++++++ |
22 |
2 files changed, 82 insertions(+) |
23 |
|
24 |
diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest |
25 |
index 885d24e6eec..2570b45e577 100644 |
26 |
--- a/media-video/wireplumber/Manifest |
27 |
+++ b/media-video/wireplumber/Manifest |
28 |
@@ -1 +1,2 @@ |
29 |
DIST wireplumber-0.4.2.tar.gz 332499 BLAKE2B 4747ae405a824b019415188ff1a586d32fc2e97aba6777cd1e403aadf0e44458156d1f8b6dbc706b812a7ea8c873d0f506f2b42817d1bc5312874530edaf7234 SHA512 8ded43fba5de58068516558918d49c86be7d67330e8a14e735561fefadba5e27952d556987b7304dead52b4e2f72a7d9626da0170e768c4702dd164840b08e3c |
30 |
+DIST wireplumber-0.4.3.tar.gz 341659 BLAKE2B 8d2ad4632935473c74ed7bc8370e0ded79063d103e2fa375decd3ba168cf7c271e30e04c53012a2c6b4ba51552f0a6a9fbb7a995d3a809ba6cf409afbaa64e63 SHA512 4b0b4426556b06dc133e2ab8398700af9c916824a7bce4eec1ff1a7ca75a3ecf0947e15190a4a133cd89653228e562bf47c65c3523c5235aface2c4c3963174d |
31 |
|
32 |
diff --git a/media-video/wireplumber/wireplumber-0.4.3.ebuild b/media-video/wireplumber/wireplumber-0.4.3.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..88f08ce12c0 |
35 |
--- /dev/null |
36 |
+++ b/media-video/wireplumber/wireplumber-0.4.3.ebuild |
37 |
@@ -0,0 +1,81 @@ |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+LUA_COMPAT=( lua5-{3,4} ) |
44 |
+ |
45 |
+inherit lua-single meson systemd |
46 |
+ |
47 |
+if [[ ${PV} == 9999 ]]; then |
48 |
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git" |
49 |
+ EGIT_BRANCH="master" |
50 |
+ inherit git-r3 |
51 |
+else |
52 |
+ SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~riscv" |
54 |
+fi |
55 |
+ |
56 |
+DESCRIPTION="Replacement for pipewire-media-session" |
57 |
+HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber" |
58 |
+ |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0/0.4" |
61 |
+IUSE="systemd test" |
62 |
+ |
63 |
+REQUIRED_USE="${LUA_REQUIRED_USE}" |
64 |
+ |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+# introspection? ( dev-libs/gobject-introspection ) is valid but likely only used for doc building |
68 |
+BDEPEND=" |
69 |
+ dev-libs/glib |
70 |
+ dev-util/gdbus-codegen |
71 |
+ dev-util/glib-utils |
72 |
+" |
73 |
+ |
74 |
+DEPEND=" |
75 |
+ ${LUA_DEPS} |
76 |
+ >=dev-libs/glib-2.62 |
77 |
+ >=media-video/pipewire-0.3.32 |
78 |
+ virtual/libc |
79 |
+ systemd? ( sys-apps/systemd ) |
80 |
+" |
81 |
+ |
82 |
+# Any dev-lua/* deps get declared like this inside RDEPEND: |
83 |
+# $(lua_gen_cond_dep ' |
84 |
+# dev-lua/<NAME>[${LUA_USEDEP}] |
85 |
+# ') |
86 |
+RDEPEND="${DEPEND}" |
87 |
+ |
88 |
+DOCS=( {NEWS,README}.rst ) |
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 systemd) |
96 |
+ -Dsystemd-system-service=false # Matches upstream |
97 |
+ $(meson_use systemd systemd-user-service) |
98 |
+ -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) |
99 |
+ -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) |
100 |
+ $(meson_use test tests) |
101 |
+ ) |
102 |
+ |
103 |
+ meson_src_configure |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ if systemd_is_booted ; then |
108 |
+ elog "To replace media-session with WirePlumber immediately:" |
109 |
+ elog "systemctl --user disable --now pipewire-media-session.service" |
110 |
+ elog "systemctl --user enable --now wireplumber.service" |
111 |
+ else |
112 |
+ elog "OpenRC users need to copy ${EROOT}/usr/share/pipewire/pipewire.conf" |
113 |
+ elog "to ${EROOT}/etc/pipewire/pipewire.conf and in it replace" |
114 |
+ elog "${EROOT}/usr/bin/pipewire-media-session with ${EROOT}/usr/bin/wireplumber" |
115 |
+ elog "The switch to WirePlumber will happen the next time pipewire is started." |
116 |
+ fi |
117 |
+ elog |
118 |
+} |