summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2021-03-03 12:41:29 +0100
committerKhem Raj <raj.khem@gmail.com>2021-03-03 11:08:29 -0800
commitd1c756da89a00bc23b7be4a96415ce7b3d0356da (patch)
treefc7dad6b3fda47e8b92f6370888e22be31d29760 /meta-multimedia
parentf85d6ca74f716d709b455853a528445e28d011cf (diff)
downloadmeta-openembedded-d1c756da89a00bc23b7be4a96415ce7b3d0356da.tar.gz
pipewire: Move to meta-multimedia
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb65
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire_git.bb77
2 files changed, 142 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb
new file mode 100644
index 000000000..bcb3015f8
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb
@@ -0,0 +1,65 @@
1SUMMARY = "Multimedia processing server for Linux"
2AUTHOR = "Wim Taymans <wtaymans@redhat.com>"
3HOMEPAGE = "https://pipewire.org"
4SECTION = "multimedia"
5LICENSE = "LGPL-2.1"
6LIC_FILES_CHKSUM = " \
7 file://LICENSE;md5=d8153c6e65986f862a0550ca74a3ed73 \
8 file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
9"
10DEPENDS = "alsa-lib dbus udev"
11SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d"
12PV = "0.2.7"
13
14SRC_URI = "git://github.com/PipeWire/pipewire"
15
16S = "${WORKDIR}/git"
17
18inherit meson pkgconfig systemd manpages
19
20PACKAGECONFIG ??= "\
21 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
22 gstreamer \
23"
24
25PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
26PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
27PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
28
29PACKAGES =+ "\
30 ${PN}-spa-plugins \
31 ${PN}-alsa \
32 ${PN}-config \
33 gstreamer1.0-${PN} \
34 lib${PN} \
35 lib${PN}-modules \
36"
37
38RDEPENDS_lib${PN} += "lib${PN}-modules ${PN}-spa-plugins"
39
40FILES_${PN} = "\
41 ${sysconfdir}/pipewire/pipewire.conf \
42 ${bindir}/pipewire* \
43 ${systemd_user_unitdir}/* \
44"
45FILES_lib${PN} = "\
46 ${libdir}/libpipewire-*.so.* \
47"
48FILES_lib${PN}-modules = "\
49 ${libdir}/pipewire-*/* \
50"
51FILES_${PN}-spa-plugins = "\
52 ${bindir}/spa-* \
53 ${libdir}/spa/* \
54"
55FILES_${PN}-alsa = "\
56 ${libdir}/alsa-lib/* \
57 ${datadir}/alsa/alsa.conf.d/50-pipewire.conf \
58"
59FILES_gstreamer1.0-${PN} = "\
60 ${libdir}/gstreamer-1.0/* \
61"
62
63CONFFILES_${PN} = "\
64 ${sysconfdir}/pipewire/pipewire.conf \
65"
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_git.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_git.bb
new file mode 100644
index 000000000..173b695e1
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_git.bb
@@ -0,0 +1,77 @@
1SUMMARY = "Multimedia processing server for Linux"
2AUTHOR = "Wim Taymans <wtaymans@redhat.com>"
3HOMEPAGE = "https://pipewire.org"
4SECTION = "multimedia"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = " \
7 file://LICENSE;md5=e2c0b7d86d04e716a3c4c9ab34260e69 \
8 file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a \
9"
10DEPENDS = "alsa-lib dbus udev"
11SRCREV = "74a1632f0720886d5b3b6c23ee8fcd6c03ca7aac"
12PV = "0.3.1"
13
14SRC_URI = "git://github.com/PipeWire/pipewire"
15
16S = "${WORKDIR}/git"
17
18inherit meson pkgconfig systemd manpages
19
20PACKAGECONFIG ??= "\
21 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
22 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio systemd vulkan', d)} \
23 jack gstreamer \
24"
25
26PACKAGECONFIG[bluez] = "-Dbluez5=true,-Dbluez5=false,bluez5 sbc"
27PACKAGECONFIG[jack] = "-Djack=true,-Djack=false,jack"
28PACKAGECONFIG[gstreamer] = "-Dgstreamer=true,-Dgstreamer=false,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
29PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
30PACKAGECONFIG[pulseaudio] = "-Dpipewire-pulseaudio=true,-Dpipewire-pulseaudio=false,pulseaudio"
31PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
32PACKAGECONFIG[vulkan] = "-Dvulkan=true,-Dvulkan=false,vulkan-loader"
33
34LDFLAGS_append_mipsarch = " -latomic"
35LDFLAGS_append_x86 = " -latomic"
36LDFLAGS_append_riscv32 = " -latomic"
37
38PACKAGES =+ "\
39 ${PN}-spa-plugins \
40 ${PN}-alsa \
41 ${PN}-config \
42 gstreamer1.0-${PN} \
43 lib${PN} \
44 lib${PN}-modules \
45 lib${PN}-jack \
46"
47
48RDEPENDS_lib${PN} += "lib${PN}-modules ${PN}-spa-plugins"
49
50FILES_${PN} = "\
51 ${sysconfdir}/pipewire/pipewire.conf \
52 ${bindir}/pw-* \
53 ${bindir}/pipewire* \
54 ${systemd_user_unitdir}/* \
55"
56FILES_lib${PN} = "\
57 ${libdir}/libpipewire-*.so.* \
58 ${libdir}/libjack-*.so.* \
59 ${libdir}/libpulse-*.so.* \
60"
61FILES_lib${PN}-modules = "\
62 ${libdir}/pipewire-*/* \
63"
64FILES_${PN}-spa-plugins = "\
65 ${bindir}/spa-* \
66 ${libdir}/spa-*/* \
67"
68FILES_${PN}-alsa = "\
69 ${libdir}/alsa-lib/* \
70"
71FILES_gstreamer1.0-${PN} = "\
72 ${libdir}/gstreamer-1.0/* \
73"
74
75CONFFILES_${PN} = "\
76 ${sysconfdir}/pipewire/pipewire.conf \
77"