Fix yaml heredoc indents
This commit is contained in:
108
installJRMC
108
installJRMC
@@ -1064,62 +1064,62 @@ install_mc_snap() {
|
|||||||
|
|
||||||
# Create snapcraft.yaml file
|
# Create snapcraft.yaml file
|
||||||
cat <<-EOF > "$snap_yaml"
|
cat <<-EOF > "$snap_yaml"
|
||||||
name: ${MC_PKG}
|
name: ${MC_PKG}
|
||||||
version: "${MC_VERSION}"
|
version: "${MC_VERSION}"
|
||||||
summary: "JRiver Media Center"
|
summary: "JRiver Media Center"
|
||||||
description: |
|
description: |
|
||||||
JRiver Media Center packaged as a snap
|
JRiver Media Center packaged as a snap
|
||||||
base: core22
|
base: core22
|
||||||
confinement: strict
|
confinement: strict
|
||||||
grade: stable
|
grade: stable
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
mediacenter:
|
mediacenter:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: "$MC_DEB"
|
source: "$MC_DEB"
|
||||||
override-build: |
|
override-build: |
|
||||||
mkdir -p \$SNAPCRAFT_PART_INSTALL
|
mkdir -p \$SNAPCRAFT_PART_INSTALL
|
||||||
dpkg-deb -x "$MC_DEB" \$SNAPCRAFT_PART_INSTALL
|
dpkg-deb -x "$MC_DEB" \$SNAPCRAFT_PART_INSTALL
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libc6
|
- libc6
|
||||||
- libasound2
|
- libasound2
|
||||||
- libuuid1
|
- libuuid1
|
||||||
- libx11-6
|
- libx11-6
|
||||||
- libxext6
|
- libxext6
|
||||||
- libxcb1
|
- libxcb1
|
||||||
- libxdmcp6
|
- libxdmcp6
|
||||||
- libstdc++6
|
- libstdc++6
|
||||||
- libgtk-3-0
|
- libgtk-3-0
|
||||||
- libgl1
|
- libgl1
|
||||||
- libpango-1.0-0
|
- libpango-1.0-0
|
||||||
- libpangoft2-1.0-0
|
- libpangoft2-1.0-0
|
||||||
- libnss3
|
- libnss3
|
||||||
- libnspr4
|
- libnspr4
|
||||||
- python3
|
- python3
|
||||||
- xdg-utils
|
- xdg-utils
|
||||||
- libgomp1
|
- libgomp1
|
||||||
- libfribidi0
|
- libfribidi0
|
||||||
- libfontconfig1
|
- libfontconfig1
|
||||||
- libfreetype6
|
- libfreetype6
|
||||||
- libharfbuzz0b
|
- libharfbuzz0b
|
||||||
- libgbm1
|
- libgbm1
|
||||||
- libva2
|
- libva2
|
||||||
- libva-drm2
|
- libva-drm2
|
||||||
- libvulkan1
|
- libvulkan1
|
||||||
- mesa-vulkan-drivers
|
- mesa-vulkan-drivers
|
||||||
- libwebkit2gtk-4.1-0
|
- libwebkit2gtk-4.1-0
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
mediacenter:
|
mediacenter:
|
||||||
command: /usr/bin/mediacenter${MC_MVERSION}
|
command: /usr/bin/mediacenter${MC_MVERSION}
|
||||||
plugs:
|
plugs:
|
||||||
- network
|
- network
|
||||||
- home
|
- home
|
||||||
- x11
|
- x11
|
||||||
- pulseaudio
|
- pulseaudio
|
||||||
- alsa
|
- alsa
|
||||||
- opengl
|
- opengl
|
||||||
- removable-media
|
- removable-media
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "snapcraft.yaml created at $snap_yaml"
|
echo "snapcraft.yaml created at $snap_yaml"
|
||||||
|
|||||||
Reference in New Issue
Block a user