GDBusConnection *bus = NULL;
GError *error = NULL;
char repl_path[MAX_FILEPATH_LEN] = {0, };
-#ifndef _USE_SENIOR_MODE
+#if !defined(_USE_SENIOR_MODE) && !defined(_USE_TV_PATH)
char *tmp_path = NULL;
const char *old_path = "/opt/usr/media";
#endif
}
memset(repl_path, 0, sizeof(repl_path));
-#ifndef _USE_SENIOR_MODE
+#if !defined(_USE_SENIOR_MODE) && !defined(_USE_TV_PATH)
/* Need uid to change path */
if (strncmp(path, "/opt/usr/home", strlen("/opt/usr/home")) == 0) {
tmp_path = strstr(path, MEDIA_CONTENT_PATH);
GDBusConnection *bus = NULL;
GError *error = NULL;
char repl_path[MAX_FILEPATH_LEN] = {0, };
-#ifndef _USE_SENIOR_MODE
+#if !defined(_USE_SENIOR_MODE) && !defined(_USE_TV_PATH)
char *tmp_path = NULL;
const char *old_path = "/opt/usr/media";
#endif
}
memset(repl_path, 0, sizeof(repl_path));
-#ifndef _USE_SENIOR_MODE
+#if !defined(_USE_SENIOR_MODE) && !defined(_USE_TV_PATH)
/* Need uid to change path */
if (strncmp(path, "/opt/usr/home", strlen("/opt/usr/home")) == 0) {
tmp_path = strstr(path, MEDIA_CONTENT_PATH);
%if "%{?profile}" == "mobile"
export CFLAGS="$CFLAGS -D_USE_MULTI_USER -D_USE_META_UPDATE -D_USE_DEVICED_DBUS -D_USE_SDCARD"
%else
+%if "%{?profile}" == "tv"
+export CFLAGS="$CFLAGS -D_USE_MULTI_USER -D_USE_META_UPDATE -D_USE_DEVICED_DBUS -D_USE_TV_PATH"
+%else
export CFLAGS="$CFLAGS -D_USE_MULTI_USER -D_USE_META_UPDATE -D_USE_DEVICED_DBUS"
%endif
%endif
+%endif
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh