Commit 082f92c4 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Update flexisip to enable push notif handling. This requires some fumbling on Debian...

parent 37a32e66
......@@ -21,7 +21,7 @@
############################################################################
set(EP_flexisip_GIT_REPOSITORY "gitosis@git.linphone.org:flexisip")
set(EP_flexisip_GIT_TAG "c247e1b37399029c2024dc2842e57a4496f809b6")
set(EP_flexisip_GIT_TAG "e019c558a3a7e9b0043a8e6ec63e966494499eb9")
set(EP_flexisip_DEPENDENCIES EP_ortp EP_unixodbc EP_myodbc EP_sofiasip )
set(EP_flexisip_LINKING_TYPE "--disable-static" "--enable-shared")
......
......@@ -131,13 +131,13 @@ set(EP_flexisip_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_myodbc_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_myodbc_CONFIGURE_OPTIONS "--with-unixODBC=${RPM_INSTALL_PREFIX}")
set(EP_flexisip_CONFIGURE_OPTIONS "--with-odbc=${RPM_INSTALL_PREFIX}" "--disable-transcoder" "--disable-pushnotification" "--enable-redis")
set(EP_flexisip_CONFIGURE_OPTIONS "--with-odbc=${RPM_INSTALL_PREFIX}" "--disable-transcoder" "--enable-redis")
set(EP_ortp_RPMBUILD_OPTIONS "--with bc --without srtp")
set(EP_unixodbc_RPMBUILD_OPTIONS "--with bc")
set(EP_myodbc_RPMBUILD_OPTIONS "--with bc")
set(EP_sofiasip_RPMBUILD_OPTIONS "--with bc --without glib")
set(EP_flexisip_RPMBUILD_OPTIONS "--with bc --without transcoder --without boostlog")
set(EP_flexisip_RPMBUILD_OPTIONS "--with bc --without transcoder --without boostlog --with push")
set(LINPHONE_BUILDER_RPMBUILD_PACKAGE_PREFIX "bc-")
......@@ -154,6 +154,11 @@ if(PLATFORM STREQUAL "Debian")
set(RPMBUILD_OPTIONS "${RPMBUILD_OPTIONS} --define '_libdir %{_prefix}/${CMAKE_INSTALL_LIBDIR}'")
# some debians are using dash as shell, which doesn't support "export -n", so we override and use bash
set(RPMBUILD_OPTIONS "${RPMBUILD_OPTIONS} --define '_buildshell /bin/bash'")
# boost doesn't like debian's multiarch lib dirs
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--with-boost-libdir=/usr/${CMAKE_INSTALL_LIBDIR}")
set(EP_flexisip_RPMBUILD_OPTIONS "${EP_flexisip_RPMBUILD_OPTIONS} --define 'boostlibdir /usr/${CMAKE_INSTALL_LIBDIR}'")
CHECK_PROGRAM(alien)
CHECK_PROGRAM(fakeroot)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment