From: Sangjung Woo Date: Fri, 29 Mar 2019 06:11:20 +0000 (+0900) Subject: [TRE-2138] Add nnstreamer package X-Git-Tag: submit/tizen/20190405.011552^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf49d3e220897f2d4e026796f1ad8e6b32498d32;p=tools%2Fbuilding-blocks.git [TRE-2138] Add nnstreamer package This patch newly adds Machine Learning package group and nnstreamer related packages into IoT headed platform image. Change-Id: I0b0c5751e43fc05c228945e1596bf20a5bd1895a Signed-off-by: Sangjung Woo --- diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 17db4a9..d6efc3b 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -31,6 +31,7 @@ Source1214: domain-apis-telephony.inc Source1215: domain-apis-ui.inc Source1216: domain-apis-uix.inc Source1217: domain-apis-web.inc +Source1218: domain-apis-machinelearning.inc Source1300: domain-features.inc Source1301: domain-features-dotnet.inc @@ -308,6 +309,7 @@ python ./rule_checker.py %{include_if_mainbuild %{SOURCE1215}} %{include_if_mainbuild %{SOURCE1216}} %{include_if_mainbuild %{SOURCE1217}} +%{include_if_mainbuild %{SOURCE1218}} %{include_if_mainbuild %{SOURCE1300}} %{include_if_mainbuild %{SOURCE1301}} diff --git a/packaging/domain-apis-machinelearning.inc b/packaging/domain-apis-machinelearning.inc new file mode 100644 index 0000000..406ec10 --- /dev/null +++ b/packaging/domain-apis-machinelearning.inc @@ -0,0 +1,23 @@ +##################### +## MachineLearning ## +##################### +%package sub1-domain_API-MachineLearning +Summary: Machine Learning API Group +Requires: %{name}-sub2-domain_API-MachineLearning-NNStreamer +%description sub1-domain_API-MachineLearning +Tizen block (set of packages) for Group of domain API-Machine-Learning +%files sub1-domain_API-MachineLearning + +%package sub2-domain_API-MachineLearning-NNStreamer +Summary: NNStreamer and its API +Requires: nnstreamer +Requires: nnstreamer-tensorflow-lite +Requires: capi-nnstreamer +%ifarch x86_64 aarch64 +Suggests: nnstreamer-tensorflow +%endif +%description sub2-domain_API-MachineLearning-NNStreamer +NNStreamer is a set of Gstreamer plugins that allow Gstreamer developers +to adopt neural network models easily and efficiently and neural network developers +to manage stream pipelines and their filters easily and efficiently. +%files sub2-domain_API-MachineLearning-NNStreamer diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc index eab1fff..367ba53 100644 --- a/packaging/domain-apis.inc +++ b/packaging/domain-apis.inc @@ -20,6 +20,7 @@ Suggests: %{name}-sub1-domain_API-Telephony Suggests: %{name}-sub1-domain_API-UI Suggests: %{name}-sub1-domain_API-UIX Suggests: %{name}-sub1-domain_API-Web +Suggests: %{name}-sub1-domain_API-MachineLearning %description root-domain_API __EXPAND__: domains Tizen packages blocked and sorted by API sets defined by TPL diff --git a/packaging/platform-preset-iot.inc b/packaging/platform-preset-iot.inc index a2eecc0..24389e9 100644 --- a/packaging/platform-preset-iot.inc +++ b/packaging/platform-preset-iot.inc @@ -181,6 +181,7 @@ Requires: %{name}-sub2-domain_API-UIX-Voice_control Requires: %{name}-sub2-domain_API-UIX-Voice_control_elementary Requires: %{name}-sub2-domain_API-UIX-Multi_assistant Requires: %{name}-sub2-domain_API-Web-WebView +Requires: %{name}-sub2-domain_API-MachineLearning-NNStreamer Requires: %{name}-sub1-domain_Feature-Resource_manager %description root-Preset_iot_headed