Enable on-demand with socket activation for sec_buildconf_optimized_memory 02/305302/4 accepted/tizen/8.0/unified/20240212.165856
authorJiyong <jiyong.min@samsung.com>
Wed, 31 Jan 2024 05:47:30 +0000 (14:47 +0900)
committerJiyong <jiyong.min@samsung.com>
Thu, 8 Feb 2024 03:39:25 +0000 (12:39 +0900)
Change-Id: I0f9be5e23da8a14609afbb579c0665474727273f

packaging/capi-media-controller.spec

index bdceb0347914ff1819cee1250689f6d7662db13e..73202e2c231abd682aff4ac59fdb2526870b4ad5 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.2.37
+Version:    0.2.38
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -25,8 +25,12 @@ BuildRequires:  pkgconfig(capi-appfw-app-control)
 BuildRequires:  pkgconfig(vconf)
 
 # socket activation enable(1), disable(0)
-%if "%{tizen_profile_name}" == "tv"
+%if ("%{tizen_profile_name}" == "tv")
+%if %{sec_buildconf_optimized_memory}
+%define on_demand 1
+%else
 %define on_demand 0
+%endif
 %else
 %define on_demand 1
 %endif