Finally a working snapcraft yaml file with confinement enabled.
Tasks that need to be done - Enable ffmpeg - Fix icon location - Enter testing phase before going onto the snap store.
This commit is contained in:
parent
225e4dc954
commit
3f39bcd04f
|
@ -1,27 +1,91 @@
|
||||||
name: visualboyadvance-m
|
name: visualboyadvance-m
|
||||||
version: 2.1.0
|
version: 2.1.4
|
||||||
summary: Nintendo Game Boy Advance Emulator
|
summary: Nintendo Game Boy Advance Emulator
|
||||||
description: |
|
description: |
|
||||||
An open-source Nintendo Game Boy, Super Game Boy, Game Boy Advance Emulators.
|
An open-source Nintendo Game Boy, Super Game Boy, Game Boy Advance Emulators.
|
||||||
|
|
||||||
confinement: devmode
|
grade: stable
|
||||||
|
confinement: strict
|
||||||
|
base: core18
|
||||||
|
|
||||||
|
plugs:
|
||||||
|
|
||||||
|
desktop:
|
||||||
|
desktop-legacy:
|
||||||
|
audio-playback:
|
||||||
|
opengl:
|
||||||
|
|
||||||
|
home:
|
||||||
|
removable-media:
|
||||||
|
|
||||||
|
network:
|
||||||
|
|
||||||
|
wayland:
|
||||||
|
|
||||||
|
x11:
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
|
wxwidgets-sdk:
|
||||||
|
plugin: nil
|
||||||
|
stage-snaps:
|
||||||
|
- wxwidgets-sdk-gtk3
|
||||||
|
stage-packages:
|
||||||
|
# Crash dialog support
|
||||||
|
- binutils
|
||||||
|
filesets:
|
||||||
|
crash-dialog-support:
|
||||||
|
- usr/bin/*addr2line
|
||||||
|
library-shared:
|
||||||
|
- '**/lib/**/*.so*'
|
||||||
|
prime:
|
||||||
|
- $crash-dialog-support
|
||||||
|
- $library-shared
|
||||||
vbam:
|
vbam:
|
||||||
source: https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.0.tar.gz
|
after:
|
||||||
|
- wxwidgets-sdk
|
||||||
|
|
||||||
|
build-environment:
|
||||||
|
- CFLAGS: -I$SNAPCRAFT_STAGE/lib/wx/include/gtk3-unicode-3.0
|
||||||
|
- CXXFLAGS: -I$SNAPCRAFT_STAGE/lib/wx/include/gtk3-unicode-3.0
|
||||||
|
source: https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.4.tar.gz
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
|
stage-packages:
|
||||||
|
- libsdl2-2.0-0
|
||||||
|
- libsfml-network2.4
|
||||||
|
- libsfml-system2.4
|
||||||
|
- libnotify4
|
||||||
|
- libsm6
|
||||||
|
- libopenal1
|
||||||
|
- libpng16-16
|
||||||
|
- libpulse0
|
||||||
|
- zlib1g
|
||||||
|
- libgtk-3-0
|
||||||
|
- libgl1
|
||||||
|
- libglvnd0
|
||||||
|
- libglx0
|
||||||
|
- libopengl0
|
||||||
|
|
||||||
build-packages:
|
build-packages:
|
||||||
- g++
|
- g++
|
||||||
- gcc
|
- gcc
|
||||||
- make
|
- make
|
||||||
- cmake
|
- cmake
|
||||||
- libwxgtk3.0-dev
|
- pkg-config
|
||||||
|
- git
|
||||||
|
- zip
|
||||||
|
- libnotify-dev
|
||||||
- libsdl2-dev
|
- libsdl2-dev
|
||||||
- libsfml-dev
|
- libsfml-dev
|
||||||
- libgtk2.0-dev
|
- libgtk-3-dev
|
||||||
|
- libopenal-dev
|
||||||
configflags:
|
configflags:
|
||||||
- -DCMAKE_INSTALL_PREFIX=/
|
- -DENABLE_OPENAL=ON
|
||||||
|
- -DENABLE_SDL=OFF
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
visualboyadvance-m:
|
visualboyadvance-m:
|
||||||
command: visualboyadvance-m
|
command: bin/visualboyadvance-m
|
||||||
|
desktop: share/applications/wxvbam.desktop
|
||||||
|
extensions: [gnome-3-28]
|
||||||
|
environment:
|
||||||
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|
||||||
|
|
Loading…
Reference in New Issue