summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-multimedia/pipewire-ic-ipc/pipewire-ic-ipc_git.bb
blob: 27f6bfc58b2c59088f5dc6d9eb999e032b4b4c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /*
SUMMARY     = "PipeWire AGL Instrument Cluster IPC"
AUTHOR      = "George Kiagiadakis <george.kiagiadakis@collabora.com>"
SECTION     = "multimedia"
LICENSE     = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=3;md5=e8ad01a5182f2c1b3a2640e9ea268264"

PV = "0.1+git${SRCPV}"

SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/pipewire-ic-ipc.git;protocol=https;branch=${AGL_BRANCH}"
SRCREV = "f93f9cda5d8a380bc8846b5de3fc24613466adf3"

S  = "${WORKDIR}/git"

inherit meson pkgconfig systemd

# build the server on the host
PACKAGECONFIG = "\
    server \
    ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"
# only the example client in the guest
PACKAGECONFIG:aglcontainerguest = "client"

# systemd integration for the server-side component
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
# server-side component
PACKAGECONFIG[server] = "-Dserver=true,-Dserver=false,pipewire"
# example client; not needed if you use the icipc library in your IC applciation
PACKAGECONFIG[client] = "-Dclient=true,-Dclient=false,"

# server-side systemd service
SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'pipewire-ic-ipc.service', '', d)}"

FILES:${PN} += "\
    ${datadir}/pipewire/* \
    ${libdir}/pipewire-0.3/* \
"