From ed863493a1188aa46c85ce8a6adb3c84022c85ed Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Tue, 17 Jan 2017 17:41:54 +0900 Subject: [PATCH] Remove testsuite for tv product [Version] 0.2.92-1 [Profile] Common [Issue Type] Remove [Dependency module] N/A Change-Id: Ie7841478b70dff380e52a3974dd3c13a863177c1 Signed-off-by: Jeongmo Yang --- CMakeLists.txt | 2 ++ packaging/capi-media-camera.spec | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e334558..39523d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,9 @@ CONFIGURE_FILE( ) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) +IF(TIZEN_FEATURE_TESTSUITE) ADD_SUBDIRECTORY(test) +ENDIF(TIZEN_FEATURE_TESTSUITE) IF(UNIX) diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index 2d8a855..c7baf6c 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -1,7 +1,7 @@ Name: capi-media-camera Summary: A Camera API Version: 0.2.92 -Release: 0 +Release: 1 Group: Multimedia/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -58,9 +58,11 @@ export CFLAGS+=" -DTIZEN_DEBUG_ENABLE" MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \ %if "%{TIZEN_PRODUCT_TV}" != "1" - -DTIZEN_FEATURE_EVAS_RENDERER=On + -DTIZEN_FEATURE_EVAS_RENDERER=On \ + -DTIZEN_FEATURE_TESTSUITE=On %else - -DTIZEN_FEATURE_EVAS_RENDERER=Off + -DTIZEN_FEATURE_EVAS_RENDERER=Off \ + -DTIZEN_FEATURE_TESTSUITE=Off %endif make %{?jobs:-j%jobs} @@ -82,7 +84,9 @@ cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name} %manifest capi-media-camera.manifest %{_libdir}/libcapi-media-camera.so.* %{_datadir}/license/%{name} +%if "%{TIZEN_PRODUCT_TV}" != "1" %{_bindir}/* +%endif %files devel %{_includedir}/media/camera.h -- 2.7.4