summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb
diff options
context:
space:
mode:
authorTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>2024-10-03 11:42:36 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-10-22 12:21:45 +0000
commit7dd141f96eb0d7992365e74d34cba80ea5bde3a4 (patch)
treec1eb96da838daeca82672a305975490c8b913507 /meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb
parentc5a365cef2d7c39c5679d947b38f71091b5427bf (diff)
Update vhost-device-sound
Bug-AGL: SPEC-4966 Change-Id: If5c6009c2730c6044cffc04a6c43ce116a35e656 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
Diffstat (limited to 'meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb')
-rw-r--r--meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb b/meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb
new file mode 100644
index 00000000..2520e481
--- /dev/null
+++ b/meta-egvirt/recipes-extended/vhost-device-sound/vhost-device-sound_0.2.0.bb
@@ -0,0 +1,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