blob: 9895e89761a81f8d7a6f696f13356222862c0282 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Multimedia processing server for Linux"
Andrew Geissler82c905d2020-04-13 13:39:40 -05002HOMEPAGE = "https://pipewire.org"
3SECTION = "multimedia"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "LGPL-2.1-only"
Andrew Geissler82c905d2020-04-13 13:39:40 -05005LIC_FILES_CHKSUM = " \
6 file://LICENSE;md5=d8153c6e65986f862a0550ca74a3ed73 \
7 file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8"
9DEPENDS = "alsa-lib dbus udev"
10SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d"
11PV = "0.2.7"
12
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014
15S = "${WORKDIR}/git"
16
17inherit meson pkgconfig systemd manpages
18
19PACKAGECONFIG ??= "\
20 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
21 gstreamer \
22"
23
24PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
25PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
26PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
27
28PACKAGES =+ "\
29 ${PN}-spa-plugins \
30 ${PN}-alsa \
31 ${PN}-config \
32 gstreamer1.0-${PN} \
33 lib${PN} \
34 lib${PN}-modules \
35"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037RDEPENDS:lib${PN} += "lib${PN}-modules ${PN}-spa-plugins"
Andrew Geissler82c905d2020-04-13 13:39:40 -050038
Patrick Williams213cb262021-08-07 19:21:33 -050039FILES:${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050040 ${sysconfdir}/pipewire/pipewire.conf \
41 ${bindir}/pipewire* \
42 ${systemd_user_unitdir}/* \
43"
Patrick Williams213cb262021-08-07 19:21:33 -050044FILES:lib${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050045 ${libdir}/libpipewire-*.so.* \
46"
Patrick Williams213cb262021-08-07 19:21:33 -050047FILES:lib${PN}-modules = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050048 ${libdir}/pipewire-*/* \
49"
Patrick Williams213cb262021-08-07 19:21:33 -050050FILES:${PN}-spa-plugins = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050051 ${bindir}/spa-* \
52 ${libdir}/spa/* \
53"
Patrick Williams213cb262021-08-07 19:21:33 -050054FILES:${PN}-alsa = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050055 ${libdir}/alsa-lib/* \
56 ${datadir}/alsa/alsa.conf.d/50-pipewire.conf \
57"
Patrick Williams213cb262021-08-07 19:21:33 -050058FILES:gstreamer1.0-${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050059 ${libdir}/gstreamer-1.0/* \
60"
61
Patrick Williams213cb262021-08-07 19:21:33 -050062CONFFILES:${PN} = "\
Andrew Geissler82c905d2020-04-13 13:39:40 -050063 ${sysconfdir}/pipewire/pipewire.conf \
64"