diff options
Diffstat (limited to 'meta-ivi-test/recipes-extended/common-api')
-rw-r--r-- | meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz | bin | 0 -> 251169 bytes | |||
-rw-r--r-- | meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb | 63 |
2 files changed, 63 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz b/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz Binary files differnew file mode 100644 index 0000000..e1f5f7c --- /dev/null +++ b/meta-ivi-test/recipes-extended/common-api/common-api-test/common-api-test-3.1.5.tar.gz diff --git a/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb b/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb new file mode 100644 index 0000000..7a88f87 --- /dev/null +++ b/meta-ivi-test/recipes-extended/common-api/common-api-test_3.1.5.bb @@ -0,0 +1,63 @@ +SUMMARY = "testsuite for CommonAPI" +SECTION = "test" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +PR = "r0" + +inherit autotools cmake pkgconfig + +DEPENDS += " common-api-c++ common-api-c++-dbus glib-2.0" + +SRC_URI = " \ + file://${PN}-${PV}.tar.gz \ + " + +S = "${WORKDIR}/${PN}" + +EXTRA_OECMAKE += "-DUSE_INSTALLED_COMMONAPI=ON -DUSE_INSTALLED_DBUS=ON -DCMAKE_INSTALL_PREFIX=/usr" + +FILES_${PN} = " \ + ${bindir}/test/E0* \ + ${bindir}/test/*/README \ + ${bindir}/test/*/commonapi4dbus.ini \ + ${bindir}/test/*/*Client \ + ${bindir}/test/*/*Service \ + ${libdir}/*.so \ + " + +FILES_${PN}-dev = "" + +FILES_${PN}-dbg += " \ + ${bindir}/test/.debug/* \ + ${bindir}/test/*/.debug/* \ + ${libdir}/.debug/* \ + " + +do_install() { + _DEST=${D}${bindir}/test + _BIN=${WORKDIR}/build + + install -d ${_DEST} + install -d ${D}${libdir} + for i in `\ls ${_BIN} | grep E0`; do + install -m 0755 ${_BIN}/${i}/${i}Client ${_DEST} + install -m 0755 ${_BIN}/${i}/${i}Service ${_DEST} + install -m 0755 ${_BIN}/${i}/lib${i}-dbus.so ${D}${libdir} + done + + for i in BlueZ ObjectPathSimple UDisks2 VariantSimple; do + install -d ${_DEST}/${i} + install -m 0755 ${_BIN}/${i}/${i}Client ${_DEST}/${i} + rm -rf ${_DEST}/${i}/.debug + if [ -e ${_BIN}/${i}/${i}Service ]; then + install -m 0755 ${_BIN}/${i}/${i}Service ${_DEST}/${i} + fi + if [ -e ${S}/${i}/README ]; then + install -m 0644 ${S}/${i}/README ${_DEST}/${i} + fi + if [ -e ${S}/${i}/commonapi4dbus.ini ]; then + install -m 0644 ${S}/${i}/commonapi4dbus.ini ${_DEST}/${i} + fi + install -m 0755 ${_BIN}/${i}/lib${i}-dbus.so ${D}${libdir} + done +} |