X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-app-framework%2Frecipes-core%2Faf-binder%2Faf-binder_1.0.bb;h=05e0a7a1c64d9df511551abd27a361766e9befe7;hb=ad929d2b623ed3e98ad525e6b1c886004129e220;hp=a8ede9c0a9b405e72f684fcb9ca6d18874cff7b7;hpb=97fbb5fae2c06b779576c7c9c3c0e1956e402994;p=AGL%2Fmeta-agl.git diff --git a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb index a8ede9c0a..05e0a7a1c 100644 --- a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb +++ b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb @@ -1,14 +1,13 @@ SUMMARY = "HTTP REST interface to automotive backends for HTML5 UI support" DESCRIPTION = "Automotive-Framework-Binder Daemon provides a HTTP REST \ -interface to various automotive-oriented bindings (sound, radio...), \ +interface to various automotive-oriented bindings, \ allowing HTML5 UIs to send platform-specific requests in a secure way." HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" -DEPENDS = "file json-c libmicrohttpd systemd util-linux" -DEPENDS += "alsa-lib glib-2.0 gssdp gupnp gupnp-av pulseaudio" +DEPENDS = "file json-c libmicrohttpd systemd util-linux openssl cynara" SRC_URI_git = "git://gerrit.automotivelinux.org/gerrit/src/app-framework-binder;protocol=https;branch=master" SRC_URI_files = "" @@ -16,19 +15,36 @@ SRC_URI = "${SRC_URI_git} \ ${SRC_URI_files} \ " -SRCREV = "836b3c0b74accc5494d7877a22b4a45b5450b6f3" +SRCREV = "8406a51db98b563a4562f26de8338efc0478aff2" +PV = "master+git${SRCPV}" + S = "${WORKDIR}/git" inherit cmake pkgconfig -FILES_${PN} += "${datadir}" +EXTRA_OECMAKE_append_agl-devel = " -DAGL_DEVEL=1" +CFLAGS_append_agl-devel = " -DAGL_DEVEL" + +pkg_postinst_${PN}() { + mkdir -p "$D${libdir}/afb" +} ############################################# -# setup meta package +# setup package ############################################# -PACKAGES += "${PN}-meta" +PACKAGES += "${PN}-tools ${PN}-meta" + +FILES_${PN} += "${datadir}" + ALLOW_EMPTY_${PN}-meta = "1" +FILES_${PN}-tools = "\ + ${bindir}/afb-client-demo \ + ${bindir}/afb-genskel \ +" + +RDEPENDS_${PN}-dev += "libafbwsc-dev" + ############################################# # setup sample binding packages ############################################# @@ -61,7 +77,6 @@ FILES_libafbwsc = "\ FILES_libafbwsc-dev = "\ ${includedir}/afb/afb-wsj1.h \ ${includedir}/afb/afb-ws-client.h \ - ${bindir}/afb-client-demo \ ${libdir}/libafbwsc.so \ ${libdir}/pkgconfig/libafbwsc.pc \ " @@ -71,3 +86,4 @@ FILES_libafbwsc-dbg = "\ " RDEPENDS_libafbwsc-dbg += "${PN}-dbg libafbwsc-dev" +