mirror of
https://github.com/simple64/simple64.git
synced 2026-11-12 05:58:42 +01:00
Snap (#225)
* wip * raw input * add nvidia drivers * more * add snap workflow * more
This commit is contained in:
1 parent
6dfa821057
commit
bc43e7d42e
3 files changed
+83
No files matched your search
@@ -0,0 +1,27 @@
|
||||
name: Upload snap
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build-snap:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Get snapcraft login
|
||||
run: echo "$SNAPCRAFT_LOGIN" > $GITHUB_WORKSPACE/SNAPCRAFT_LOGIN.txt
|
||||
env:
|
||||
SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }}
|
||||
|
||||
- name: Install snapcraft and login
|
||||
run: |
|
||||
sudo snap install snapcraft --classic
|
||||
snapcraft login --with $GITHUB_WORKSPACE/SNAPCRAFT_LOGIN.txt
|
||||
|
||||
- name: Run snapcraft
|
||||
run: |
|
||||
snapcraft --enable-experimental-extensions
|
||||
snapcraft upload --release=stable *.snap
|
||||
@@ -2,3 +2,4 @@ mupen64plus/
|
||||
*zip
|
||||
*.dylib
|
||||
.DS_Store
|
||||
*.snap
|
||||
@@ -0,0 +1,55 @@
|
||||
name: m64p
|
||||
base: core20
|
||||
version: "v2021.11.21"
|
||||
summary: An easy to use N64 emulator. Available for Windows and Linux
|
||||
description: |
|
||||
m64p uses mupen64plus-gui, a brand new mupen64plus frontend written in Qt5. It supports all of the things you’d expect from a frontend (savestate management, pausing, screenshots, etc.).
|
||||
|
||||
m64p comes bundled with paraLLEl-RDP for graphics. It should give you the best out-of-the-box experience available for N64 gaming.
|
||||
grade: stable
|
||||
confinement: strict
|
||||
|
||||
layout:
|
||||
/usr/share/vulkan:
|
||||
symlink: $SNAP/usr/share/vulkan
|
||||
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvulkan_intel.so:
|
||||
symlink: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvulkan_intel.so
|
||||
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvulkan_radeon.so:
|
||||
symlink: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvulkan_radeon.so
|
||||
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libGLX_nvidia.so.0:
|
||||
symlink: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libGLX_nvidia.so.0
|
||||
|
||||
apps:
|
||||
m64p:
|
||||
command: mupen64plus/mupen64plus-gui
|
||||
extensions:
|
||||
- kde-neon
|
||||
plugs:
|
||||
- home
|
||||
- opengl
|
||||
- network
|
||||
- network-bind
|
||||
- audio-playback
|
||||
- screen-inhibit-control
|
||||
- joystick
|
||||
- raw-input
|
||||
environment:
|
||||
DISABLE_WAYLAND: 1
|
||||
M64P_DISABLE_UPDATER: 1
|
||||
VK_ICD_FILENAMES: "/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json:$SNAP/usr/share/vulkan/icd.d/radeon.x86_64.json:$SNAP/usr/share/vulkan/icd.d/intel_icd.x86_64.json"
|
||||
|
||||
parts:
|
||||
m64p:
|
||||
stage-packages:
|
||||
- libsdl2-2.0-0
|
||||
- libsdl2-net-2.0-0
|
||||
- libhidapi-hidraw0
|
||||
- libminizip1
|
||||
- p7zip-full
|
||||
- libatomic1
|
||||
- libglu1-mesa
|
||||
- libvulkan1
|
||||
- mesa-vulkan-drivers
|
||||
- libvulkan-dev
|
||||
source: https://github.com/loganmc10/m64p/releases/download/v2021.11.21/m64p-linux64-latest.zip
|
||||
plugin: dump
|
||||
Reference in new issue
Block a user