mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
replace jitsi-meet build
This commit is contained in:
parent
df9743bd04
commit
a6ebd52d6d
2 changed files with 13 additions and 9 deletions
|
@ -1,6 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/jitsi/jitsi-meet/archive/f8a049759db966a35daba3fcff1fd4d4fd206381.tar.gz
|
SOURCE_URL=https://download.jitsi.org/stable/jitsi-meet-web_1.0.3387-1_all.deb
|
||||||
SOURCE_SUM=4ed8fa519e0de417d4ddbd13658d372b0217d8f569cd352c85fb72c0e8e6c0f7
|
SOURCE_SUM=f10fe9ab7f07beaf2eea0cf052cbc500b32c088d1288808443c99323713f1dbb
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=deb
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=
|
SOURCE_FILENAME=jitsi-meet-web.deb
|
||||||
|
SOURCE_EXTRACT=false
|
||||||
|
|
|
@ -100,7 +100,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path/jitsi-videobridge" --source_id=jitsi-videobridge
|
ynh_setup_source --dest_dir="$final_path/jitsi-videobridge" --source_id=jitsi-videobridge
|
||||||
ynh_setup_source --dest_dir="$final_path/jitsi-jicofo-build" --source_id=jitsi-jicofo
|
ynh_setup_source --dest_dir="$final_path/jitsi-jicofo-build" --source_id=jitsi-jicofo
|
||||||
ynh_setup_source --dest_dir="$final_path/jitsi-meet" --source_id=jitsi-meet
|
ynh_setup_source --dest_dir="$final_path/jitsi-meet_temp" --source_id=jitsi-meet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -182,12 +182,15 @@ mv $final_path/jicofo-linux-x64-1.1-SNAPSHOT/ $final_path/jitsi-jicofo/
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Building Jitsi-Meet..." --time --weight=1
|
ynh_script_progression --message="Building Jitsi-Meet..." --time --weight=1
|
||||||
|
|
||||||
pushd "$final_path/jitsi-meet"
|
pushd "$final_path/jitsi-meet_temp"
|
||||||
ynh_use_nodejs
|
ar x jitsi-meet-web.deb data.tar.xz
|
||||||
npm install
|
tar xf data.tar.xz
|
||||||
make
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
mv "$final_path/jitsi-meet_temp/usr/share/jitsi-meet/" "$final_path/jitsi-meet/"
|
||||||
|
ynh_secure_remove --file="$final_path/jitsi-meet_temp"
|
||||||
|
|
||||||
|
|
||||||
config="$final_path/jitsi-meet/config.js"
|
config="$final_path/jitsi-meet/config.js"
|
||||||
cp ../conf/config.js "$config"
|
cp ../conf/config.js "$config"
|
||||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue