summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2019-03-29 15:11:20 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2019-04-05 09:36:52 +0900
commitcf49d3e220897f2d4e026796f1ad8e6b32498d32 (patch)
treede6b3b554c35d1c7a9d980d46dac57a540951f9d
parentf959d9521bdd969d56f82696b3d9a23aef271cfd (diff)
downloadbuilding-blocks-accepted/tizen/unified/20190405.015602.tar.gz
building-blocks-accepted/tizen/unified/20190405.015602.tar.bz2
building-blocks-accepted/tizen/unified/20190405.015602.zip
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>
-rw-r--r--packaging/building-blocks.spec2
-rw-r--r--packaging/domain-apis-machinelearning.inc23
-rw-r--r--packaging/domain-apis.inc1
-rw-r--r--packaging/platform-preset-iot.inc1
4 files changed, 27 insertions, 0 deletions
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