2020-11-06 21:41:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# COMMON VARIABLES
|
|
|
|
#=================================================
|
|
|
|
|
2021-05-18 15:31:20 +02:00
|
|
|
YNH_PHP_VERSION="7.4"
|
|
|
|
|
2021-06-06 18:52:57 +02:00
|
|
|
# Composer version
|
2021-06-23 11:52:59 +02:00
|
|
|
YNH_COMPOSER_VERSION="2.1.3"
|
2021-05-18 15:31:20 +02:00
|
|
|
|
2021-07-09 18:39:01 +02:00
|
|
|
extra_php_dependencies="php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysqli php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-intl"
|
2020-11-06 21:41:02 +01:00
|
|
|
|
2020-11-22 18:20:24 +01:00
|
|
|
# needed for raw upload and video playback
|
2021-08-09 19:47:25 +02:00
|
|
|
# ufraw-batch is not supported in bullseye
|
2021-08-01 23:42:39 +02:00
|
|
|
if ! (apt-cache -q=0 show ufraw-batch |& grep ': No packages found' &>/dev/null); then
|
2021-08-09 19:47:25 +02:00
|
|
|
pkg_dependencies="ffmpeg"
|
|
|
|
else
|
|
|
|
pkg_dependencies="ufraw-batch ffmpeg"
|
2021-08-01 23:42:39 +02:00
|
|
|
fi
|
|
|
|
|
2020-11-06 21:41:02 +01:00
|
|
|
#=================================================
|
2021-05-18 14:15:30 +02:00
|
|
|
# PERSONAL HELPERS
|
2020-11-06 21:41:02 +01:00
|
|
|
#=================================================
|
|
|
|
|
2021-05-18 14:15:30 +02:00
|
|
|
#=================================================
|
|
|
|
# EXPERIMENTAL HELPERS
|
|
|
|
#=================================================
|
2020-11-06 21:41:02 +01:00
|
|
|
|
2021-05-18 14:15:30 +02:00
|
|
|
#=================================================
|
|
|
|
# FUTURE OFFICIAL HELPERS
|
|
|
|
#=================================================
|