Use snap rocks image

This commit is contained in:
2025-04-15 16:50:06 -04:00
parent 079548861a
commit 82f2dd1c81

View File

@@ -1107,11 +1107,11 @@ install_mc_snap() {
- libfreetype6
- libharfbuzz0b
- libgbm1
- libva1
- libva-drm1
- libva2
- libva-drm2
- libvulkan1
- mesa-vulkan-drivers
- libwebkit2gtk-4.1
- libwebkit2gtk-4.1-0
apps:
mediacenter:
@@ -1134,8 +1134,8 @@ install_mc_snap() {
if execute podman run --rm -it \
-v "$OUTPUT_DIR:/build:Z" \
-w /build \
docker.io/snapcore/snapcraft:edge \
snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
ghcr.io/canonical/snapcraft:8_core24 \
snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
else
err "Snap package build failed."