Enable on-demand with socket activation for sec_buildconf_optimized_memory 03/305303/5
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:42:01 +0000 (12:42 +0900)
Change-Id: I0f9be5e23da8a14609afbb579c0665474727273f

packaging/capi-media-controller.spec

index 5ca0142..14e309d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-controller
 Summary:    A media controller library in Tizen Native API
-Version:    0.2.38
+Version:    0.2.39
 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