[TRE-2138] Add nnstreamer package 85/202485/2 accepted/tizen/unified/20190405.015602 submit/tizen/20190405.011552
authorSangjung Woo <sangjung.woo@samsung.com>
Fri, 29 Mar 2019 06:11:20 +0000 (15:11 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Fri, 5 Apr 2019 00:36:52 +0000 (09:36 +0900)
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 <sangjung.woo@samsung.com>
packaging/building-blocks.spec
packaging/domain-apis-machinelearning.inc [new file with mode: 0644]
packaging/domain-apis.inc
packaging/platform-preset-iot.inc

index 17db4a9725ecc01879b011a75011e78ada0fe3cf..d6efc3b0db4766aadcf7eb7b26fe0a60011ba9e4 100644 (file)
@@ -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 (file)
index 0000000..406ec10
--- /dev/null
@@ -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
index eab1fff8a62f6d63723f2cadbca59c3583038520..367ba534e11889e3ebe3d66c87a0cb98dc434e81 100644 (file)
@@ -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
index a2eecc090e86d5c92c0e1aa8eabc16e18afcc274..24389e987f075fab97abc42ba4c36d598862c05a 100644 (file)
@@ -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