aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-03-13 15:33:23 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2023-03-13 15:33:23 +0100
commit4b36d1e3ead7af49fa176419249b65616853413c (patch)
treeb9413cbbc8b2071ff7e745bca92b297dc4af220c
parentabc2a529fb8ff63af6e5f9ab5443486be9e40f2f (diff)
downloadPrismLauncher-4b36d1e3ead7af49fa176419249b65616853413c.tar.gz
PrismLauncher-4b36d1e3ead7af49fa176419249b65616853413c.tar.bz2
PrismLauncher-4b36d1e3ead7af49fa176419249b65616853413c.zip
chore: drop Snap packaging
We do not have a lot of expertise dealing with Snap and as it is currently breaking our CI, it might be good to drop support for it. This does not mean that it won't come back in the future, but as it stands, it was effectively unmaintained and was only used for nightly builds anyway. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r--.github/workflows/build.yml25
-rw-r--r--snap/snapcraft.yaml56
2 files changed, 0 insertions, 81 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8a71d1c9..ac522e2c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -550,31 +550,6 @@ jobs:
run: |
ccache -s
- snap:
- runs-on: ubuntu-20.04
- steps:
- - name: Checkout
- if: inputs.build_type == 'Debug'
- uses: actions/checkout@v3
- with:
- submodules: 'true'
- - name: Set short version
- shell: bash
- if: inputs.build_type == 'Debug'
- run: |
- ver_short=`git rev-parse --short HEAD`
- echo "VERSION=$ver_short" >> $GITHUB_ENV
- - name: Package Snap (Linux)
- id: snapcraft
- if: inputs.build_type == 'Debug'
- uses: snapcore/action-build@v1
- - name: Upload Snap (Linux)
- if: inputs.build_type == 'Debug'
- uses: actions/upload-artifact@v3
- with:
- name: prismlauncher_${{ env.VERSION }}_amd64.snap
- path: ${{ steps.snapcraft.outputs.snap }}
-
flatpak:
runs-on: ubuntu-latest
container:
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
deleted file mode 100644
index d4eb646c..00000000
--- a/snap/snapcraft.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-name: prismlauncher
-license: GPL-3.0-only
-base: core20
-website: https://prismlauncher.org/
-source-code: https://github.com/PrismLauncher/PrismLauncher
-issues: https://github.com/PrismLauncher/PrismLauncher/issues
-donation: https://opencollective.com/prismlauncher
-contact: https://discord.gg/prismlauncher
-summary: A custom Minecraft launcher with modpack support
-adopt-info: prismlauncher
-
-grade: devel
-confinement: strict
-
-architectures:
- - build-on: amd64
- - build-on: arm64
-
-parts:
- prismlauncher:
- parse-info:
- - usr/share/metainfo/org.prismlauncher.PrismLauncher.metainfo.xml
- plugin: cmake
- build-packages:
- - default-jdk-headless
- stage-packages:
- - openjdk-17-jre
- - openjdk-8-jre
- source: .
- override-pull: |
- snapcraftctl pull
- # Fix the icon reference in the desktop file
- sed -i.bak -e 's|Icon=org.prismlauncher.PrismLauncher|Icon=/usr/share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg|g' program_info/org.prismlauncher.PrismLauncher.desktop.in
- # Remove the build directory so that local development doesn't interfere with Snap compilation
- rm -rf build
- cmake-generator: Ninja
- cmake-parameters:
- - "-DCMAKE_INSTALL_PREFIX=/usr"
- - "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
- - "-DENABLE_LTO=ON"
- - "-DLauncher_BUILD_PLATFORM=snap"
- - "-DLauncher_QT_VERSION_MAJOR=5"
-
-apps:
- prismlauncher:
- common-id: org.prismlauncher.PrismLauncher
- desktop: usr/share/applications/org.prismlauncher.PrismLauncher.desktop
- command: usr/bin/prismlauncher
- extensions:
- - kde-neon
- plugs:
- - home
- - opengl
- - network
- - network-bind
- - audio-playback