1 |
commit: f7c998c421969a61d9999e728ce0de3aa106c856 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 20:03:26 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 20:09:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c998c4 |
7 |
|
8 |
media-video/pipewire: bump to v0.3.18 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
media-video/pipewire/Manifest | 1 + |
14 |
media-video/pipewire/pipewire-0.3.18.ebuild | 136 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 137 insertions(+) |
16 |
|
17 |
diff --git a/media-video/pipewire/Manifest b/media-video/pipewire/Manifest |
18 |
index 0ac490cb391..69aad0d2ec7 100644 |
19 |
--- a/media-video/pipewire/Manifest |
20 |
+++ b/media-video/pipewire/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST pipewire-0.3.10.tar.gz 1148297 BLAKE2B d890b8e6697b17be9f8706a7228b9c796311 |
22 |
DIST pipewire-0.3.13.tar.gz 1176949 BLAKE2B 5a4c7f211c1ac3c823cc34cede2f42204a2a7c6d583237465e702936926fad924c37f0638c8bbdedc55ad70d59cc2796e64b2b3dea2c64f199383d4ed9c1c84a SHA512 38ce7d8808e69935db0148c077340cfbc1b85f5a016a0a57eff2c076560c42f0695cfe681c9f16ebf15796d773dd113c9a84631eb50ac44dfb09f91ed3fc61f0 |
23 |
DIST pipewire-0.3.15.tar.gz 1227022 BLAKE2B 590c5275d98a38c238f8c63d5bcdc9dbab07e870aff0e7414e0894aeb93507c106b7b45cd70b0f44a077b2fc5bd916c764dc4e03a54926f90a3296d870b7bcaa SHA512 949f2e64a3e9ec06b3414cacfbd7cf4ef6b7bad484a5dea1b79b5d4310413ec5a7538b702431f2cf6fb580ffd430081bd568399faa9b819689a79bebc955ca33 |
24 |
DIST pipewire-0.3.17.tar.gz 1254486 BLAKE2B e6a8e31dc968b95012f01dce53faa30dde40b3a382fe85eb25a50b96f3d011711be1f9fc5ce42e355c19f92e59bdaa4e5b6ecf41347f400c35adb3eeb2a53c5c SHA512 0de4f2431cf19708c3457877b8172a39676ef8f748071921a21da391d95b83a870190dc1343ffe9000e2599431464b6bfe90219f6237493903ccba5eb9b3473d |
25 |
+DIST pipewire-0.3.18.tar.gz 1277055 BLAKE2B 4a18bd668afaf144d6e83590293a744b6d2c2a7d8e9fc6ab581f22d294fac5a4841098875f8569f36b794c083e4ec9f0b7d4e29a10dc79286a4843996f7fb64e SHA512 933b15908e30c389555dd9f82f87c2e571b4cb078bfbe5ed1858440166093cdee2b1c15da50bc5ab36087b62e216786b95c2aad9403e5047ae33e4fe8a6f4cc5 |
26 |
|
27 |
diff --git a/media-video/pipewire/pipewire-0.3.18.ebuild b/media-video/pipewire/pipewire-0.3.18.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ddd42bd689c |
30 |
--- /dev/null |
31 |
+++ b/media-video/pipewire/pipewire-0.3.18.ebuild |
32 |
@@ -0,0 +1,136 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit meson |
39 |
+ |
40 |
+if [[ ${PV} == 9999 ]]; then |
41 |
+ EGIT_REPO_URI="https://github.com/PipeWire/pipewire.git" |
42 |
+ EGIT_BRANCH="work" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://github.com/PipeWire/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="Multimedia processing graphs" |
50 |
+HOMEPAGE="https://pipewire.org/" |
51 |
+ |
52 |
+LICENSE="LGPL-2.1+" |
53 |
+SLOT="0/0.3" |
54 |
+IUSE="bluetooth debug doc ffmpeg gstreamer jack pulseaudio systemd test vulkan X" |
55 |
+ |
56 |
+BDEPEND=" |
57 |
+ app-doc/xmltoman |
58 |
+ doc? ( |
59 |
+ app-doc/doxygen |
60 |
+ media-gfx/graphviz |
61 |
+ ) |
62 |
+" |
63 |
+RDEPEND=" |
64 |
+ >=media-libs/alsa-lib-1.1.7 |
65 |
+ media-libs/libsdl2 |
66 |
+ >=media-libs/libsndfile-1.0.20 |
67 |
+ sys-apps/dbus |
68 |
+ virtual/libudev |
69 |
+ bluetooth? ( |
70 |
+ media-libs/sbc |
71 |
+ net-wireless/bluez:= |
72 |
+ ) |
73 |
+ ffmpeg? ( media-video/ffmpeg:= ) |
74 |
+ gstreamer? ( |
75 |
+ >=dev-libs/glib-2.32.0:2 |
76 |
+ >=media-libs/gstreamer-1.10.0:1.0 |
77 |
+ media-libs/gst-plugins-base:1.0 |
78 |
+ ) |
79 |
+ jack? ( >=media-sound/jack2-1.9.10:2 ) |
80 |
+ pulseaudio? ( |
81 |
+ dev-libs/glib:2 |
82 |
+ >=media-sound/pulseaudio-11.1 |
83 |
+ ) |
84 |
+ systemd? ( sys-apps/systemd ) |
85 |
+ vulkan? ( media-libs/vulkan-loader ) |
86 |
+ X? ( x11-libs/libX11 ) |
87 |
+" |
88 |
+DEPEND="${RDEPEND} |
89 |
+ vulkan? ( dev-util/vulkan-headers ) |
90 |
+" |
91 |
+ |
92 |
+DOCS=( {README,INSTALL}.md NEWS ) |
93 |
+ |
94 |
+RESTRICT="!test? ( test )" |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ spa_use() { |
98 |
+ if ! in_iuse ${1} || ! use ${1}; then |
99 |
+ sed -e "/^add-spa-lib.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \ |
100 |
+ -e "/^load-module.*${1}/s/^/#${2-$1}-disabled-by-USE-no-${1}\:/" \ |
101 |
+ -i src/daemon/pipewire.conf.in || die |
102 |
+ fi |
103 |
+ } |
104 |
+ |
105 |
+ default |
106 |
+ spa_use libcamera |
107 |
+ spa_use rtkit |
108 |
+ spa_use bluetooth bluez5 |
109 |
+ spa_use jack |
110 |
+ spa_use vulkan |
111 |
+} |
112 |
+ |
113 |
+src_configure() { |
114 |
+ local emesonargs=( |
115 |
+ -Dexamples=true # contains required pipewire-media-session |
116 |
+ -Dman=true |
117 |
+ -Dspa-plugins=true |
118 |
+ --buildtype=$(usex debug debugoptimized plain) |
119 |
+ # alsa plugin and jack/pulseaudio emulation |
120 |
+ -Dpipewire-alsa=true |
121 |
+ $(meson_use jack pipewire-jack) |
122 |
+ $(meson_use pulseaudio pipewire-pulseaudio) |
123 |
+ # spa-plugins |
124 |
+ # we install alsa support unconditionally |
125 |
+ $(meson_use bluetooth bluez5) |
126 |
+ $(meson_use ffmpeg) |
127 |
+ $(meson_use jack) |
128 |
+ $(meson_use vulkan) |
129 |
+ # libcamera is not packaged |
130 |
+ # misc |
131 |
+ $(meson_use doc docs) |
132 |
+ $(meson_use gstreamer) |
133 |
+ $(meson_use gstreamer gstreamer-device-provider) |
134 |
+ $(meson_use systemd) |
135 |
+ $(meson_use test test) |
136 |
+ $(meson_use test tests) |
137 |
+ ) |
138 |
+ meson_src_configure |
139 |
+} |
140 |
+ |
141 |
+src_install() { |
142 |
+ meson_src_install |
143 |
+ |
144 |
+ dosym ../../../usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/50-pipewire.conf |
145 |
+ |
146 |
+# # TODO: this breaks alsa users |
147 |
+# if use alsa; then |
148 |
+# dosym ../../../usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/99-pipewire-default.conf |
149 |
+# fi |
150 |
+} |
151 |
+ |
152 |
+pkg_postinst() { |
153 |
+ elog "Package has optional sys-auth/rtkit RUNTIME support that may be disabled" |
154 |
+ elog "by setting DISABLE_RTKIT env var." |
155 |
+ elog "To enable rtkit, uncomment the load-module line in /etc/pipewire/pipewire.conf" |
156 |
+ elog |
157 |
+ if use jack; then |
158 |
+ elog "Please note that even though the libraries for JACK emulation have" |
159 |
+ elog "been installed, this ebuild is not yet wired up to replace a JACK server." |
160 |
+ elog |
161 |
+ fi |
162 |
+ if use pulseaudio; then |
163 |
+ elog "Please note that even though the libraries for PulseAudio emulation have" |
164 |
+ elog "been installed, this ebuild is not yet wired up to replace PulseAudio." |
165 |
+ elog |
166 |
+ fi |
167 |
+ elog "Read INSTALL.md for information about ALSA plugin or JACK/PulseAudio emulation." |
168 |
+} |