4a-hal-unicens: add HAL for unicens 59/18259/2 6.99.1 guppy/6.99.1 guppy_6.99.1
authorTobias Jahnke <tobias.jahnke@microchip.com>
Fri, 23 Nov 2018 08:14:52 +0000 (09:14 +0100)
committerTobias Jahnke <tobias.jahnke@microchip.com>
Fri, 23 Nov 2018 12:57:00 +0000 (13:57 +0100)
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 <tobias.jahnke@microchip.com>
meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb
meta-audio-4a-framework/recipes-multimedia/4a-hal-unicens/4a-hal-unicens_git.bb

index e6beb2e..7e72a35 100644 (file)
@@ -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)} \
index 6e3e73f..a1efc66 100644 (file)
@@ -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
+}
+
+