From fc27a282c838ea1e090abe5ee1ecfc8c4254ea7e Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Thu, 15 Dec 2022 18:36:31 +0900 Subject: [PATCH] Fix build error related with boost_tv [Version] 0.10.282-1 [Issue Type] Build error Change-Id: Ida6275d0d26e9166883c9e9eaca1ddb104437669 Signed-off-by: Jeongmo Yang --- configure.ac | 30 +++++++++++++++--------------- packaging/libmm-camcorder.spec | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/configure.ac b/configure.ac index 9da14bc..ffd914b 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 094742a..a3b69b8 100755 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -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 -- 2.7.4