summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoo Chang Kim <wchang.kim@samsung.com>2017-08-21 05:03:57 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-08-21 05:03:57 +0000
commita1ba800e5ccbfb33db06a396c17cf58de820cd27 (patch)
tree5dbb41337f9aa6183e5c61e1c5f5b7072ba4f67d
parente6de4a4ea915c40eec575ef5687fe15d88d6ce92 (diff)
parent136ae49938a6b8291e70483d825bc75fb1907c27 (diff)
downloadbuilding-blocks-a1ba800e5ccbfb33db06a396c17cf58de820cd27.tar.gz
building-blocks-a1ba800e5ccbfb33db06a396c17cf58de820cd27.tar.bz2
building-blocks-a1ba800e5ccbfb33db06a396c17cf58de820cd27.zip
Merge "Added feature keys for mtp / nfc" into tizen
-rw-r--r--[-rwxr-xr-x]packaging/domain-apis.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc
index f345c53..a7cab0d 100755..100644
--- a/packaging/domain-apis.inc
+++ b/packaging/domain-apis.inc
@@ -650,7 +650,7 @@ Suggests:gst-plugins-camera-n4
Suggests:gst-plugins-good
%description sub2-domain_API-Multimedia-Camera
-The camera provides the ability to capture photos and support setting up notifications for state changes of capturing, previewing, focusing, information about resolution and binary format and functions for picture manipulations like sepia negative and many more.
+The camera provides the ability to capture photos and support setting up notifications for state changes of capturing, previewing, focusing, information about resolution and binary format and functions for picture manipulations like sepia negative and many more.
OPTIONAL : You should choose packages depends on target and hardware.
First, Check config file 'mmfw-sysconf-target-{DEVICE_WHAT_YOU_WANT}'(e.g mmfw-sysconf-target-tm1).
Second, check camera plugin depends on target.
@@ -1399,6 +1399,8 @@ Requires: libmtp
%description sub2-domain_API-Network-MTP
Enabling MTP(Media Transfer Protocol) Initiator and it is possible to user MTP API
%files sub2-domain_API-Network-MTP
+%posttrans sub2-domain_API-Network-MTP
+sed -i 's#\(\"tizen.org/feature/network.mtp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Network-NFC
Summary: NFC
@@ -1408,6 +1410,8 @@ Requires: nfc-manager
%description sub2-domain_API-Network-NFC
Enabling NFC Manager and it is possible to user NFC API
%files sub2-domain_API-Network-NFC
+%posttrans sub2-domain_API-Network-NFC
+sed -i 's#\(\"tizen.org/feature/network.nfc\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Network-SSDP
Summary: SSDP
@@ -1444,6 +1448,10 @@ Enabling Smartcard(Secure Element) Manager and it is possible to user Smartcard
In case of USIM device, 'smartcard-plugin-uicc' and 'sub1-domain_API-Telephony' have to be chosen. <br>
In case of embedded SE, 'smartcard-plugin-nfc' and 'sub2-domain_API-Network-NFC' have to be chosen.
%files sub2-domain_API-Network-Smartcard
+%posttrans sub2-domain_API-Network-Smartcard
+sed -i 's#\(\"tizen.org/feature/network.secure_element\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
+sed -i 's#\(\"tizen.org/feature/network.secure_element.ese\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
+sed -i 's#\(\"tizen.org/feature/network.secure_element.uicc\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml
%package sub2-domain_API-Network-VPN_Service
Summary: VPN_Service