1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00
This commit is contained in:
ericgaspar 2021-08-11 18:33:01 +02:00
parent ebbc4b0c2b
commit 1b141014a6
5 changed files with 15 additions and 6 deletions

7
conf/arm64.src Executable file
View file

@ -0,0 +1,7 @@
SOURCE_URL=https://github.com/owncast/owncast/releases/download/v0.0.8/owncast-0.0.8-linux-arm64.zip
SOURCE_SUM=f05498313a00490b60cc5df4e02d7914d8150838741577fa19b4623b2cbccbad
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/owncast/owncast/releases/download/v0.0.7/owncast-0.0.7-linux-arm7.zip
SOURCE_SUM=b309205b75135ac06feff1591a24e911879f371609593dbfc510ba33d8f01c00
SOURCE_URL=https://github.com/owncast/owncast/releases/download/v0.0.8/owncast-0.0.8-linux-arm7.zip
SOURCE_SUM=1e9d83d362873b0159a00c4fb38e162ffd3865ead59eedce78a5b9e7be5cfabd
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/owncast/owncast/releases/download/v0.0.7/owncast-0.0.7-linux-64bit.zip
SOURCE_SUM=fee4adf4990dabefcc7486e1d6a8f474b7a477b404c5a58406936516437fbb92
SOURCE_URL=https://github.com/owncast/owncast/releases/download/v0.0.8/owncast-0.0.8-linux-64bit.zip
SOURCE_SUM=6e15620f70063ba62c2b9deeb82fc974eaac49f68cf2806b99ab19515390c6ea
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Self-hosted live video and web chat server for use with existing broadcasting software",
"fr": "Serveur de vidéo en direct et de chat Web auto-hébergé à utiliser avec un logiciel de diffusion"
},
"version": "0.0.7~ynh2",
"version": "0.0.8~ynh1",
"url": "https://owncast.online/",
"upstream": {
"license": "MIT",

View file

@ -28,7 +28,9 @@ pkg_dependencies="ffmpeg"
# Requires YunoHost version 2.2.4 or higher.
ynh_detect_arch(){
local architecture
if [ -n "$(uname -m | grep 64)" ]; then
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
architecture="arm64"
elif [ -n "$(uname -m | grep 64)" ]; then
architecture="x86-64"
elif [ -n "$(uname -m | grep armv7)" ]; then
architecture="arm7"