1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

[enh] add armhf sources

Architecture detection only covers armv7l though.
See #8
This commit is contained in:
tituspijean 2020-03-23 10:48:54 +00:00
parent 5c500c8ff7
commit 8b9f47e421
2 changed files with 9 additions and 0 deletions

7
conf/jellyfin-armhf.src Normal file
View file

@ -0,0 +1,7 @@
SOURCE_URL=https://github.com/jellyfin/jellyfin/releases/download/v10.4.3/jellyfin_10.4.3-1_debian-armhf.deb
SOURCE_SUM=83C767663A7CCFB518900854FA3AB7B2550904FE7757EAD29D93E71840CBBD86
SOURCE_SUM_PRG=sha512sum
SOURCE_FORMAT=deb
SOURCE_IN_SUBDIR=false
SOURCE_EXTRACT=false
SOURCE_FILENAME=jellyfin.deb

View file

@ -107,6 +107,7 @@ ynh_app_setting_set $app final_path $final_path
case `uname -m` in
x86_64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-ffmpeg-arm64" ;;
armv7l) ynh_setup_source "$final_path" "jellyfin-ffmpeg-armhf" ;;
*) ynh_die "Unknown arch" ;;
esac
@ -114,6 +115,7 @@ esac
case `uname -m` in
x86_64) ynh_setup_source "$final_path" "jellyfin-amd64" ;;
aarch64) ynh_setup_source "$final_path" "jellyfin-arm64" ;;
armv7l) ynh_setup_source "$final_path" "jellyfin-armhf" ;;
*) ynh_die "Unknown arch" ;;
esac