diff --git a/recipes-nnstreamer/nnstreamer/nnstreamer_0.1.2.bb b/recipes-nnstreamer/nnstreamer/nnstreamer_0.1.2.bb index 3b43e1e..a8b9bdd 100644 --- a/recipes-nnstreamer/nnstreamer/nnstreamer_0.1.2.bb +++ b/recipes-nnstreamer/nnstreamer/nnstreamer_0.1.2.bb @@ -2,9 +2,11 @@ SUMMARY = "NNStreamer, Stream Pipeline Paradigm for Nerual Network Applications" DESCRIPTION = "NNStreamer is a GStreamer plugin allowing to construct neural network applications with stream pipeline paradigm." SECTION = "AI" LICENSE = "LGPLv2+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343 \ - file://tizen-api/LICENSE.Apache-2.0;md5=d3ae35440dea13087a83d59100346a44 \ - file://debian/copyright;md5=0462ef8fa89a1f53f2e65e74940519ef" +LIC_FILES_CHKSUM = "\ + file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343 \ + file://tizen-api/LICENSE.Apache-2.0;md5=d3ae35440dea13087a83d59100346a44 \ + file://debian/copyright;md5=0462ef8fa89a1f53f2e65e74940519ef \ + " DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtest" @@ -17,14 +19,19 @@ S = "${WORKDIR}/git" inherit meson pkgconfig -EXTRA_OEMESON += "-Denable-test=true \ - -Dinstall-test=true \ - -Denable-tensorflow-mem-optmz=false \ - -Dinstall-example=true \ - -Ddisable-audio-support=false \ - " +EXTRA_OEMESON += "\ + -Denable-test=true \ + -Dinstall-test=true \ + -Denable-tensorflow-mem-optmz=false \ + -Dinstall-example=true \ + -Ddisable-audio-support=false \ + " -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','opencv','opencv','',d)} ${@bb.utils.contains('DISTRO_FEATURES','tensorflow','tensorflow','',d)} ${@bb.utils.contains('DISTRO_FEATURES','tensorflow-lite','tensorflow-lite','',d)}" +PACKAGECONFIG ??= "\ + ${@bb.utils.contains('DISTRO_FEATURES','opencv','opencv','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','tensorflow','tensorflow','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','tensorflow-lite','tensorflow-lite','',d)} \ + " PACKAGECONFIG[opencv] = "-Denable-opencv-test=true,-Denable-opencv-test=false,opencv" PACKAGECONFIG[tensorflow] = "-Denable-tensorflow=true,-Denable-tensorflow=false,tensorflow" @@ -35,21 +42,28 @@ do_install_append() { } INSANE_SKIP_${PN} += "dev-so" -FILES_${PN} += "${libdir}/*.so \ - ${libdir}/gstreamer-1.0/*.so \ - ${libdir}/nnstreamer/filters/* \ - ${libdir}/nnstreamer/decoders/* \ - ${sysconfdir}/nnstreamer.ini " +FILES_${PN} += "\ + ${libdir}/*.so \ + ${libdir}/gstreamer-1.0/*.so \ + ${libdir}/nnstreamer/* \ + ${libdir}/nnstreamer/filters/* \ + ${libdir}/nnstreamer/decoders/* \ + ${sysconfdir}/nnstreamer.ini \ + " PACKAGES =+ "${PN}-unittest" -FILES_${PN}-unittest += "${libdir}/nnstreamer/customfilters/* \ - ${libdir}/nnstreamer/unittest/* " +FILES_${PN}-unittest += "\ + ${libdir}/nnstreamer/customfilters/* \ + ${libdir}/nnstreamer/unittest/* \ + " RDEPENDS_${PN}-unittest = "nnstreamer gstreamer1.0-plugins-good gtest python3-numpy python3-math ssat" RDEPENDS_${PN} = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base" -FILES_${PN}-dev += "${includedir}/nnstreamer/* \ - ${libdir}/*.a \ - ${libdir}/pkgconfig/nnstreamer.pc" +FILES_${PN}-dev += "\ + ${includedir}/nnstreamer/* \ + ${libdir}/*.a \ + ${libdir}/pkgconfig/nnstreamer.pc \ + "