forked from Mirrors/freeswitch
FS-11567: [Build-System] CentOS packaging: Disable mod_v8 build
This commit is contained in:
parent
efd35f682e
commit
886b2d39aa
|
@ -165,6 +165,8 @@ FreeSWITCH rayo server implementation.
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 23 2019 - Andrey Volk
|
||||||
|
- Fix build for Stack 20.x
|
||||||
* Tue Jun 10 2014 crienzo@grasshopper.com
|
* Tue Jun 10 2014 crienzo@grasshopper.com
|
||||||
- Remove dependency to high resolution music and sounds files
|
- Remove dependency to high resolution music and sounds files
|
||||||
- Remove dependency to specific FreeSWITCH package version
|
- Remove dependency to specific FreeSWITCH package version
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
%define build_mod_ssml 1
|
%define build_mod_ssml 1
|
||||||
%define build_mod_shout 1
|
%define build_mod_shout 1
|
||||||
%define build_mod_opusfile 0
|
%define build_mod_opusfile 0
|
||||||
|
%define build_mod_v8 0
|
||||||
|
|
||||||
%{?with_sang_tc:%define build_sng_tc 1 }
|
%{?with_sang_tc:%define build_sng_tc 1 }
|
||||||
%{?with_sang_isdn:%define build_sng_isdn 1 }
|
%{?with_sang_isdn:%define build_sng_isdn 1 }
|
||||||
|
@ -48,6 +49,7 @@
|
||||||
%{?with_mod_esl:%define build_mod_esl 1 }
|
%{?with_mod_esl:%define build_mod_esl 1 }
|
||||||
%{?with_mod_shout:%define build_mod_shout 1 }
|
%{?with_mod_shout:%define build_mod_shout 1 }
|
||||||
%{?with_mod_opusfile:%define build_mod_opusfile 1 }
|
%{?with_mod_opusfile:%define build_mod_opusfile 1 }
|
||||||
|
%{?with_mod_v8:%define build_mod_v8 1 }
|
||||||
|
|
||||||
%define nonparsedversion 1.7.0
|
%define nonparsedversion 1.7.0
|
||||||
%define version %(echo '%{nonparsedversion}' | sed 's/-//g')
|
%define version %(echo '%{nonparsedversion}' | sed 's/-//g')
|
||||||
|
@ -1218,12 +1220,14 @@ Requires: python
|
||||||
|
|
||||||
%description python
|
%description python
|
||||||
|
|
||||||
|
%if %{build_mod_v8}
|
||||||
%package v8
|
%package v8
|
||||||
Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine
|
Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description v8
|
%description v8
|
||||||
|
%endif
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
# FreeSWITCH Say Modules
|
# FreeSWITCH Say Modules
|
||||||
|
@ -1572,7 +1576,9 @@ FORMATS_MODULES+=" formats/mod_opusfile"
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python "
|
LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python "
|
||||||
#LANGUAGES_MODULES+="languages/mod_v8"
|
%if %{build_mod_v8}
|
||||||
|
LANGUAGES_MODULES+="languages/mod_v8"
|
||||||
|
%endif
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
|
@ -2421,12 +2427,14 @@ fi
|
||||||
%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml
|
||||||
|
|
||||||
|
%if %{build_mod_v8}
|
||||||
%files v8
|
%files v8
|
||||||
#%{MODINSTDIR}/mod_v8*.so*
|
%{MODINSTDIR}/mod_v8*.so*
|
||||||
#%{LIBDIR}/libv8.so
|
%{LIBDIR}/libv8.so
|
||||||
#%{LIBDIR}/libicui18n.so
|
%{LIBDIR}/libicui18n.so
|
||||||
#%{LIBDIR}/libicuuc.so
|
%{LIBDIR}/libicuuc.so
|
||||||
#%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
%endif
|
||||||
|
%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/v8.conf.xml
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/v8.conf.xml
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
|
@ -2577,6 +2585,8 @@ fi
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 23 2019 - Andrey Volk
|
||||||
|
- Fix build for Stack 20.x
|
||||||
* Tue Dec 11 2018 - Andrey Volk
|
* Tue Dec 11 2018 - Andrey Volk
|
||||||
- add mod_signalwire
|
- add mod_signalwire
|
||||||
* Sun Mar 13 2016 - Matthew Vale
|
* Sun Mar 13 2016 - Matthew Vale
|
||||||
|
|
Loading…
Reference in New Issue