Fix build error related with boost_tv 18/285618/1 accepted/tizen/unified/20221219.024721
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 15 Dec 2022 09:36:31 +0000 (18:36 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 15 Dec 2022 09:37:03 +0000 (18:37 +0900)
[Version] 0.10.282-1
[Issue Type] Build error

Change-Id: Ida6275d0d26e9166883c9e9eaca1ddb104437669
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
configure.ac
packaging/libmm-camcorder.spec

index 9da14bcc45f5ad29dc892eaf4ab44a9c5ee8924c..ffd914b84146f262d0ab7c158df3657033467e6a 100644 (file)
@@ -109,21 +109,6 @@ PKG_CHECK_MODULES(RM, tv-resource-manager)
 AC_SUBST(RM_CFLAGS)
 AC_SUBST(RM_LIBS)
 
-AC_ARG_ENABLE(boost, AC_HELP_STRING([--enable-boost], [enable boost]),
-[
-  case "${enableval}" in
-    yes) BOOST_TV=yes ;;
-    no)  BOOST_TV=no ;;
-    *) AC_MSG_ERROR(bad value ${enableval} for --enable-boost) ;;
-  esac
-],[BOOST_TV=no])
-if test "x$BOOST_TV" = "xyes"; then
-PKG_CHECK_MODULES(BOOST, capi-boost-tv)
-AC_SUBST(BOOST_TV_CFLAGS)
-AC_SUBST(BOOST_TV_LIBS)
-fi
-AM_CONDITIONAL([BOOST_TV], [test "x$BOOST_TV" = "xyes"])
-
 PKG_CHECK_MODULES(AUL, aul)
 AC_SUBST(AUL_CFLAGS)
 AC_SUBST(AUL_LIBS)
@@ -153,6 +138,21 @@ AC_SUBST(CAMERA_CONF_MGR_LIBS)
 fi
 AM_CONDITIONAL([CAMERA_CONF_MGR_SUPPORT], [test "x$CAMERA_CONF_MGR_SUPPORT" = "xyes"])
 
+AC_ARG_ENABLE(boost, AC_HELP_STRING([--enable-boost], [enable boost]),
+[
+  case "${enableval}" in
+    yes) BOOST_TV=yes ;;
+    no)  BOOST_TV=no ;;
+    *) AC_MSG_ERROR(bad value ${enableval} for --enable-boost) ;;
+  esac
+],[BOOST_TV=no])
+if test "x$BOOST_TV" = "xyes"; then
+PKG_CHECK_MODULES(BOOST, capi-boost-tv)
+AC_SUBST(BOOST_TV_CFLAGS)
+AC_SUBST(BOOST_TV_LIBS)
+fi
+AM_CONDITIONAL([BOOST_TV], [test "x$BOOST_TV" = "xyes"])
+
 PKG_CHECK_MODULES(STORAGE, storage)
 AC_SUBST(STORAGE_CFLAGS)
 AC_SUBST(STORAGE_LIBS)
index 094742a6e643a6f06f7a8772f6766531daaaaffe..a3b69b84c5e643fe26ec7905155ae142f0af0959 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
 Version:    0.10.282
-Release:    0
+Release:    1
 Group:      Multimedia/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz