From 13380588f44543a80267938f82bb026b5f3ca8b5 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Fri, 23 Nov 2018 09:14:52 +0100 Subject: 4a-hal-unicens: add HAL for unicens Bug-AGL: SPEC-1505 - enabled 4a-hal-unicens recipe again - updated srcrev of github repo - modified project name to match install folder Change-Id: I9afa86afa602845bf783a41b09f590344f26c095 Signed-off-by: Tobias Jahnke --- .../packagegroups/packagegroup-agl-audio.bb | 1 + .../4a-hal-unicens/4a-hal-unicens_git.bb | 23 ++++++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb b/meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb index e6beb2ed..7e72a35f 100644 --- a/meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb +++ b/meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb @@ -16,6 +16,7 @@ RDEPENDS_${PN} += "\ bluez-alsa \ 4a-softmixer \ 4a-hal-generic \ + 4a-hal-unicens \ snd-avirt \ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '4a-tools', '' , d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio-module-4a-client', '' , d)} \ diff --git a/meta-audio-4a-framework/recipes-multimedia/4a-hal-unicens/4a-hal-unicens_git.bb b/meta-audio-4a-framework/recipes-multimedia/4a-hal-unicens/4a-hal-unicens_git.bb index 6e3e73f4..a1efc66e 100644 --- a/meta-audio-4a-framework/recipes-multimedia/4a-hal-unicens/4a-hal-unicens_git.bb +++ b/meta-audio-4a-framework/recipes-multimedia/4a-hal-unicens/4a-hal-unicens_git.bb @@ -1,18 +1,29 @@ SUMMARY = "4A - Unicens (MOST) Binding" DESCRIPTION = "Unicens binding (MOST audio network support) for 4A (AGL Advanced Audio Agent)" -HOMEPAGE = "https://git.automotivelinux.org/src/4a-hal-unicens/" +HOMEPAGE = "https://github.com/tjahnk/4a-hal-unicens" SECTION = "apps" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dab9a7a261563ca5dafa097c91369074" + +DEPENDS += "lua" + +SRC_URI = "gitsm://github.com/tjahnk/4a-hal-unicens;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "fc45c13a106e9e45b14860ef7f42b6651128f8a6" -SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/src/4a-hal-unicens;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "b071fc0882750d28036769c56c046fe1d7ae9942" PV = "0.1+git${SRCPV}" S = "${WORKDIR}/git" inherit afb-system-cmake -FILES_${PN}-dev += "${INSTALL_PREFIX}/afb-aaaa/htdocs" -FILES_${PN} += "${INSTALL_PREFIX}/afb-aaaa" +do_install_append () { + # installation folder for this plugin is '4a-hal' + # get pkgdir - note that '4a-hal' comes from project ${project_git_repo}/conf.d/cmake/config.cmake + PKGDIR=${D}/${INSTALL_PREFIX}/4a-hal + + # move all config files to a 'available' dir + mv $PKGDIR/etc $PKGDIR/etc.available +} + + -- cgit 1.2.3-korg