ADD_DEFINITIONS("-DTARGET")
ENDIF("${ARCH}" STREQUAL "arm")
-IF(${MUSE_REGISTER_VIP})
- ADD_DEFINITIONS("-DMUSE_REGISTER_VIP")
-ENDIF(${MUSE_REGISTER_VIP})
-
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DTIZEN_DEBUG")
ADD_DEFINITIONS(-DTZ_SYS_DATA_PATH="${TZ_SYS_DATA}")
Name: mused
Summary: A Multimedia Daemon in Tizen Native API
-Version: 0.1.27
+Version: 0.1.28
Release: 0
Group: System/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(cynara-session)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(gio-2.0)
-%if "%{?profile}" == "tv"
+%if "%{?TIZEN_PRODUCT_TV}" == "1"
BuildRequires: pkgconfig(libresourced)
%endif
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE -D_GNU_SOURCE"
%endif
-MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-
%if "%{?profile}" == "tv"
export CFLAGS+=" -DMUSE_NO_LOG"
+%endif
+
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
+%if "%{?TIZEN_PRODUCT_TV}" == "1"
export CFLAGS+=" -DMUSE_REGISTER_VIP"
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DLIBDIR=%{_libdir} -DTZ_SYS_DATA=%TZ_SYS_DATA -DMUSE_REGISTER_VIP=1
%else