Add loader script (wrt.loader) for launchpad
authorJongHeon Choi <j-h.choi@samsung.com>
Wed, 8 Jun 2016 22:36:23 +0000 (07:36 +0900)
committerJongHeon Choi <j-h.choi@samsung.com>
Wed, 8 Jun 2016 22:36:33 +0000 (07:36 +0900)
packaging/crosswalk-tizen.spec
packaging/wrt.loader [new file with mode: 0644]

index 3cc000f208b1f793ab20984860cf303e12bf4171..a961b37297c273c473a8358f88567bd1e9dcb858 100755 (executable)
@@ -13,6 +13,7 @@ License:    Apache-2.0 and BSD-3-Clause
 URL:        https://www.tizen.org
 Source0:    %{name}-%{version}.tar.gz
 Source1001: %{name}.manifest
+Source1002: wrt.loader
 
 BuildRequires: boost-devel
 BuildRequires: edje-tools
@@ -124,6 +125,10 @@ mkdir -p %{buildroot}%{extension_path}
 cp LICENSE %{buildroot}%{_datadir}/license/%{name}
 cat LICENSE.BSD >> %{buildroot}%{_datadir}/license/%{name}
 
+# Loader script file
+mkdir -p %{buildroot}%{_datadir}/aul/
+cp %{SOURCE1002} %{buildroot}%{_datadir}/aul/
+
 # xwalk_common
 install -p -m 644 out/Default/lib/libxwalk_tizen_common.so %{buildroot}%{_libdir}
 
@@ -170,4 +175,5 @@ rm -fr %{buildroot}
 %attr(755,root,root) %{_bindir}/xwalk_runtime
 %attr(755,root,root) %{_bindir}/wrt
 %attr(755,root,root) %{_bindir}/wrt-loader
+%attr(644,root,root) %{_datadir}/aul/wrt.loader
 %caps(cap_mac_admin,cap_mac_override,cap_setgid=ei) %{_bindir}/xwalk_runtime
diff --git a/packaging/wrt.loader b/packaging/wrt.loader
new file mode 100644 (file)
index 0000000..a61852c
--- /dev/null
@@ -0,0 +1,6 @@
+[LOADER]\r
+NAME              wrt-loader                  \r
+EXE               /usr/bin/wrt-loader\r
+APP_TYPE          webapp\r
+DETECTION_METHOD  TIMEOUT|DEMAND\r
+TIMEOUT           5000\r