aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorashuntu <101582426+ashuntu@users.noreply.github.com>2023-07-28 16:25:32 -0500
committerashuntu <101582426+ashuntu@users.noreply.github.com>2023-07-28 16:25:32 -0500
commit1467072f3dcd6ea5d2e3375ad5d69f3ee6d58af2 (patch)
treef038021dfe0d083550ac60ba5046be97d50cf4ef
parentd133b40b254630f988c57c1111e4659023324edc (diff)
downloadPrismLauncher-1467072f3dcd6ea5d2e3375ad5d69f3ee6d58af2.tar.gz
PrismLauncher-1467072f3dcd6ea5d2e3375ad5d69f3ee6d58af2.tar.bz2
PrismLauncher-1467072f3dcd6ea5d2e3375ad5d69f3ee6d58af2.zip
Removed snapcraft.yaml in favor of dedicated repo: https://github.com/ashuntu/prismlauncher-snap
-rw-r--r--.github/workflows/build.yml25
-rw-r--r--snap/snapcraft.yaml64
2 files changed, 0 insertions, 89 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a234cd29..c710d54b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -569,31 +569,6 @@ jobs:
run: |
ccache -s
- snap:
- runs-on: ubuntu-22.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 41c0ce07..00000000
--- a/snap/snapcraft.yaml
+++ /dev/null
@@ -1,64 +0,0 @@
-name: prismlauncher
-license: GPL-3.0-only
-base: core22
-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:
- - zlib1g-dev
- - openjdk-17-jdk
- - scdoc
- - libgl1-mesa-dev
- - extra-cmake-modules
- build-snaps:
- - kf5-5-106-qt-5-15-9-core22
- - kf5-5-106-qt-5-15-9-core22-sdk
- stage-packages:
- - openjdk-17-jre
- - openjdk-8-jre
- source: .
- override-pull: |
- craftctl default
- # 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
- git submodule update --init --recursive
- 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