mirror of
https://github.com/YunoHost-Apps/photoview_ynh.git
synced 2024-09-03 20:05:55 +02:00
Merge pull request #83 from YunoHost-Apps/ci-auto-update-sources-240610
Upgrade sources
This commit is contained in:
commit
825f1dbb66
2 changed files with 13 additions and 12 deletions
|
@ -55,8 +55,8 @@ ram.runtime = "200M"
|
||||||
autoupdate.strategy = "latest_github_release"
|
autoupdate.strategy = "latest_github_release"
|
||||||
|
|
||||||
[resources.sources.libheif]
|
[resources.sources.libheif]
|
||||||
url = "https://github.com/strukturag/libheif/releases/download/v1.12.0/libheif-1.12.0.tar.gz"
|
url = "https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz"
|
||||||
sha256 = "e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718"
|
sha256 = "8390baf4913eda0a183e132cec62b875fb2ef507ced5ddddc98dfd2f17780aee"
|
||||||
|
|
||||||
autoupdate.strategy = "latest_github_release"
|
autoupdate.strategy = "latest_github_release"
|
||||||
autoupdate.upstream = "https://github.com/strukturag/libheif"
|
autoupdate.upstream = "https://github.com/strukturag/libheif"
|
||||||
|
@ -102,8 +102,8 @@ ram.runtime = "200M"
|
||||||
"libheif-dev",
|
"libheif-dev",
|
||||||
"build-essential",
|
"build-essential",
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
"autoconf",
|
"cmake",
|
||||||
"automake",
|
"ninja-build",
|
||||||
"libx265-dev",
|
"libx265-dev",
|
||||||
"libde265-dev",
|
"libde265-dev",
|
||||||
"libaom-dev",
|
"libaom-dev",
|
||||||
|
|
|
@ -29,14 +29,15 @@ function build_libheif {
|
||||||
export GOCACHE="$install_dir/build/.cache"
|
export GOCACHE="$install_dir/build/.cache"
|
||||||
|
|
||||||
pushd "$install_dir/libheif" || ynh_die
|
pushd "$install_dir/libheif" || ynh_die
|
||||||
# mkdir -p "$install_dir/local"
|
ynh_exec_as "$app" mkdir build
|
||||||
# chown -R $app:$app "$install_dir/local"
|
pushd build
|
||||||
ynh_exec_as "$app" ./autogen.sh 2>&1
|
ynh_exec_and_print_stderr_only_if_error ynh_exec_as "$app" \
|
||||||
ynh_exec_as "$app" ./configure --prefix="$install_dir/local" --disable-gdk-pixbuf 2>&1
|
cmake --preset=release -DCMAKE_INSTALL_PREFIX="$install_dir/local" -DWITH_GDK_PIXBUF=OFF -G Ninja ..
|
||||||
ynh_exec_as "$app" make clean 2>&1
|
ynh_exec_and_print_stderr_only_if_error ynh_exec_as "$app" \
|
||||||
ynh_exec_as "$app" make 2>&1
|
ninja
|
||||||
ynh_exec_as "$app" make install 2>&1
|
ynh_exec_and_print_stderr_only_if_error ynh_exec_as "$app" \
|
||||||
ynh_exec_as "$app" make clean 2>&1
|
ninja install
|
||||||
|
popd
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue