summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb
blob: 2520e48108d1d6b3b21aebdbc64c802726cfd657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "vhost-device sound"
DESCRIPTION = "A virtio-sound device using the vhost-user protocol."
HOMEPAGE = "https://github.com/rust-vmm/vhost-device"
LICENSE = "Apache-2.0 | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
    file://LICENSE-APACHE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
    file://LICENSE-BSD-3-Clause;md5=2489db1359f496fff34bd393df63947e \
" 
SRC_URI += "crate://crates.io/vhost-device-sound/0.2.0"
SRC_URI[vhost-device-sound-0.2.0.sha256sum] = "36c278126b6a9c144b2c0f5a3d11cbf2e2e1fa672c61834a98fe049540810acd"

DEPENDS = "alsa-lib pipewire clang-native"

# Add alsa-utils, pipewire, wireplumber for vhost-device-sound testing
RDEPENDS:${PN}:append = " \
    alsa-utils \
    packagegroup-pipewire \
    ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'packagegroup-pipewire-tools alsa-utils', '', d)} \
    wireplumber-config-agl \
    wireplumber-policy-config-agl \
    packagegroup-pipewire \
    pipewire \
    wireplumber \
"

inherit cargo
inherit cargo-update-recipe-crates
inherit pkgconfig

include vhost-device-sound-crates.inc