aboutsummaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework
diff options
context:
space:
mode:
Diffstat (limited to 'meta-audio-4a-framework')
-rw-r--r--meta-audio-4a-framework/recipes-core/packagegroups/packagegroup-agl-audio.bb2
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/agl-service-unicens/agl-service-unicens_git.bb18
-rw-r--r--meta-audio-4a-framework/recipes-support/mxml/files/0001-avoid-testing-library-in-cross-environments.patch31
-rw-r--r--meta-audio-4a-framework/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch31
-rw-r--r--meta-audio-4a-framework/recipes-support/mxml/mxml_2.10.bb33
5 files changed, 115 insertions, 0 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 3b27a63c..651af533 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
@@ -13,4 +13,6 @@ RDEPENDS_${PN} += "\
4a-hal-reference \
agl-service-audio-4a \
VIRTUAL-RUNTIME_alsa-state \
+ agl-service-unicens \
+ 4a-hal-unicens \
"
diff --git a/meta-audio-4a-framework/recipes-multimedia/agl-service-unicens/agl-service-unicens_git.bb b/meta-audio-4a-framework/recipes-multimedia/agl-service-unicens/agl-service-unicens_git.bb
new file mode 100644
index 00000000..0c5919bf
--- /dev/null
+++ b/meta-audio-4a-framework/recipes-multimedia/agl-service-unicens/agl-service-unicens_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "4A - Infotainment network setup and access"
+DESCRIPTION = "Infotainment network setup and access (using Unified Centralized Network Stack)"
+HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/apps/agl-service-unicens"
+SECTION = "apps"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "gitsm://gerrit.automotivelinux.org/gerrit/apps/agl-service-unicens;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "${AUTOREV}"
+
+PV = "0.1"
+S = "${WORKDIR}/git"
+
+inherit cmake aglwgt pkgconfig
+
+DEPENDS += "alsa-lib json-c systemd af-binder glib-2.0 mxml"
+
diff --git a/meta-audio-4a-framework/recipes-support/mxml/files/0001-avoid-testing-library-in-cross-environments.patch b/meta-audio-4a-framework/recipes-support/mxml/files/0001-avoid-testing-library-in-cross-environments.patch
new file mode 100644
index 00000000..a128936b
--- /dev/null
+++ b/meta-audio-4a-framework/recipes-support/mxml/files/0001-avoid-testing-library-in-cross-environments.patch
@@ -0,0 +1,31 @@
+From b00ed2af82d4b046a6b8c53bd373ffe908866b0d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Fri, 30 Dec 2016 00:30:59 +0100
+Subject: [PATCH] avoid using binraies build - won't work in cross
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 92a490f..8217039 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -88,7 +88,7 @@ PUBLIBOBJS = mxml-attr.o mxml-entity.o mxml-file.o mxml-get.o \
+ mxml-index.o mxml-node.o mxml-search.o mxml-set.o
+ LIBOBJS = $(PUBLIBOBJS) mxml-private.o mxml-string.o
+ OBJS = mxmldoc.o testmxml.o $(LIBOBJS)
+-TARGETS = $(LIBMXML) mxmldoc testmxml mxml.xml doc/mxml.man
++TARGETS = $(LIBMXML)
+
+
+ #
+--
+2.5.5
+
diff --git a/meta-audio-4a-framework/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch b/meta-audio-4a-framework/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch
new file mode 100644
index 00000000..3371d1ac
--- /dev/null
+++ b/meta-audio-4a-framework/recipes-support/mxml/files/0002-don-t-loose-our-LDFLAGS.patch
@@ -0,0 +1,31 @@
+From 358fe387d07b4906c823b2a664f3c57fd62acd3e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Mon, 27 Feb 2017 18:24:29 +0100
+Subject: [PATCH] don't loose our LDFLAGS
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 789677a..f3b3b62 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -25,7 +25,7 @@ CC = @CC@
+ CFLAGS = $(OPTIM) $(ARCHFLAGS) @CFLAGS@ @CPPFLAGS@ @PTHREAD_FLAGS@
+ CP = @CP@
+ DSO = @DSO@
+-DSOFLAGS = @DSOFLAGS@
++DSOFLAGS = $(LDFLAGS) @DSOFLAGS@
+ LDFLAGS = $(OPTIM) $(ARCHFLAGS) @LDFLAGS@
+ INSTALL = @INSTALL@
+ LIBMXML = @LIBMXML@
+--
+2.9.3
+
diff --git a/meta-audio-4a-framework/recipes-support/mxml/mxml_2.10.bb b/meta-audio-4a-framework/recipes-support/mxml/mxml_2.10.bb
new file mode 100644
index 00000000..bca248b6
--- /dev/null
+++ b/meta-audio-4a-framework/recipes-support/mxml/mxml_2.10.bb
@@ -0,0 +1,33 @@
+SUMMARY = "Mini-XML is a small XML library"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6ba38606d63bb042c5d8cfee182e120"
+
+DEPENDS = ""
+
+SRC_URI = " \
+ https://github.com/michaelrsweet/mxml/releases/download/release-${PV}/${BPN}-${PV}.tar.gz \
+ file://0001-avoid-testing-library-in-cross-environments.patch \
+ file://0002-don-t-loose-our-LDFLAGS.patch \
+"
+SRC_URI[md5sum] = "8804c961a24500a95690ef287d150abe"
+SRC_URI[sha256sum] = "267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891"
+
+inherit autotools-brokensep
+
+EXTRA_AUTORECONF += "--exclude=autoheader"
+
+do_install() {
+ install -d ${D}${includedir}
+ install -m 644 mxml.h ${D}${includedir}
+
+ install -d ${D}${libdir}/pkgconfig
+ install -m 644 libmxml.so.1.5 ${D}${libdir}
+ ln -s libmxml.so.1.5 ${D}${libdir}/libmxml.so
+ ln -s libmxml.so.1.5 ${D}${libdir}/libmxml.so.1
+
+ install mxml.pc ${D}${libdir}/pkgconfig
+
+ # Remove useless rpath
+ chrpath -d ${D}${libdir}/libmxml.so.1.5
+
+}