Change the path file of VD AUDIO 10/196710/2 accepted/tizen/unified/20190111.055100 submit/tizen/20190104.062117 submit/tizen/20190109.045623
authorYoungHun Kim <yh8004.kim@samsung.com>
Fri, 4 Jan 2019 00:43:35 +0000 (09:43 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Fri, 4 Jan 2019 02:22:52 +0000 (11:22 +0900)
Change-Id: Ibcd3067c3cef8d3c4e107ae5f6c7597b5d9870c2

packaging/muse-server-vd_product_audio.path [new file with mode: 0644]
packaging/mused.spec

diff --git a/packaging/muse-server-vd_product_audio.path b/packaging/muse-server-vd_product_audio.path
new file mode 100644 (file)
index 0000000..537d7c4
--- /dev/null
@@ -0,0 +1,7 @@
+[Unit]
+Description=muse server
+DefaultDependencies=false
+
+[Path]
+PathExists=/run/.wm_ready
+
index f47579820f6ecc8045f90ba1b1454b0b24b3fdd9..f5d085a81401c1222ac3fd2a566c9987b9e1f2ea 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mused
 Summary:    A multimedia daemon
-Version:    0.3.59
+Version:    0.3.60
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0 and BSD-3-Clause
@@ -12,6 +12,7 @@ Source5:    muse-server-vd_product_audio.service
 Source6:    %{name}.notstrip
 Source7:    muse-server-vd_product_tv.path
 Source8:    gtest.input
+Source9:    muse-server-vd_product_audio.path
 BuildRequires: cmake
 BuildRequires: pkgconfig(libsystemd-daemon)
 BuildRequires: pkgconfig(capi-system-info)
@@ -92,25 +93,27 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_unitdir}/stater.target.wants
 install -m 0644 %SOURCE5 %{buildroot}%{_unitdir}/muse-server.service
 %install_service starter.target.wants muse-server.service
+
+mkdir -p %{buildroot}%{_sysconfdir}/notstrip
+install -m 0644 %SOURCE6 %{buildroot}%{_sysconfdir}/notstrip/%{name}.notstrip
+install -m 0644 %SOURCE9 %{buildroot}%{_unitdir}/muse-server.path
 %else
 %if ("%{_vd_cfg_product_type}" == "TV") || ("%{_vd_cfg_product_type}" == "LFD") || ("%{_vd_cfg_product_type}" == "HTV") || ("%{_vd_cfg_product_type}" == "AV") || ("%{_vd_cfg_product_type}" == "IWB") || ("%{_vd_cfg_product_type}" == "WALL")
 mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
 install -m 0644 %SOURCE4 %{buildroot}%{_unitdir}/muse-server.service
 %install_service basic.target.wants muse-server.service
-%else
-mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/muse-server.service
-%install_service multi-user.target.wants muse-server.service
-%endif
-%endif
 
-%if ("%{_vd_cfg_product_type}" == "AUDIO") || ("%{_vd_cfg_product_type}" == "TV") || ("%{_vd_cfg_product_type}" == "LFD") || ("%{_vd_cfg_product_type}" == "HTV") || ("%{_vd_cfg_product_type}" == "AV") || ("%{_vd_cfg_product_type}" == "IWB") || ("%{_vd_cfg_product_type}" == "WALL")
 mkdir -p %{buildroot}%{_sysconfdir}/notstrip
 install -m 0644 %SOURCE6 %{buildroot}%{_sysconfdir}/notstrip/%{name}.notstrip
 install -m 0644 %SOURCE7 %{buildroot}%{_unitdir}/muse-server.path
 %else
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_unitdir}/muse-server.service
+%install_service multi-user.target.wants muse-server.service
+
 install -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/muse-server.path
 %endif
+%endif
 
 mkdir -p %{buildroot}/var/log/%{name}
 mkdir -p %{buildroot}%{TZ_SYS_DATA}/%{name}