Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Multimedia processing server for Linux" |
| 2 | AUTHOR = "Wim Taymans <wtaymans@redhat.com>" |
| 3 | HOMEPAGE = "https://pipewire.org" |
| 4 | SECTION = "multimedia" |
| 5 | LICENSE = "LGPL-2.1" |
| 6 | LIC_FILES_CHKSUM = " \ |
| 7 | file://LICENSE;md5=d8153c6e65986f862a0550ca74a3ed73 \ |
| 8 | file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
| 9 | " |
| 10 | DEPENDS = "alsa-lib dbus udev" |
| 11 | SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d" |
| 12 | PV = "0.2.7" |
| 13 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 14 | SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit meson pkgconfig systemd manpages |
| 19 | |
| 20 | PACKAGECONFIG ??= "\ |
| 21 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 22 | gstreamer \ |
| 23 | " |
| 24 | |
| 25 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" |
| 26 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base" |
| 27 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native" |
| 28 | |
| 29 | PACKAGES =+ "\ |
| 30 | ${PN}-spa-plugins \ |
| 31 | ${PN}-alsa \ |
| 32 | ${PN}-config \ |
| 33 | gstreamer1.0-${PN} \ |
| 34 | lib${PN} \ |
| 35 | lib${PN}-modules \ |
| 36 | " |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | RDEPENDS:lib${PN} += "lib${PN}-modules ${PN}-spa-plugins" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 40 | FILES:${PN} = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 41 | ${sysconfdir}/pipewire/pipewire.conf \ |
| 42 | ${bindir}/pipewire* \ |
| 43 | ${systemd_user_unitdir}/* \ |
| 44 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 45 | FILES:lib${PN} = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 46 | ${libdir}/libpipewire-*.so.* \ |
| 47 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 48 | FILES:lib${PN}-modules = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 49 | ${libdir}/pipewire-*/* \ |
| 50 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 51 | FILES:${PN}-spa-plugins = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 52 | ${bindir}/spa-* \ |
| 53 | ${libdir}/spa/* \ |
| 54 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 55 | FILES:${PN}-alsa = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 56 | ${libdir}/alsa-lib/* \ |
| 57 | ${datadir}/alsa/alsa.conf.d/50-pipewire.conf \ |
| 58 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 59 | FILES:gstreamer1.0-${PN} = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 60 | ${libdir}/gstreamer-1.0/* \ |
| 61 | " |
| 62 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 63 | CONFFILES:${PN} = "\ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 64 | ${sysconfdir}/pipewire/pipewire.conf \ |
| 65 | " |