Created
November 8, 2019 07:05
-
-
Save ZachBacon/b4c76c3111c5dcb3c166c27ed1912aec to your computer and use it in GitHub Desktop.
snapcraft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: visualboyadvance-m | |
version: 2.1.4 | |
summary: Nintendo Game Boy Advance Emulator | |
description: | | |
An open-source Nintendo Game Boy, Super Game Boy, Game Boy Advance Emulators. | |
grade: stable | |
confinement: strict | |
base: core18 | |
plugs: | |
desktop: | |
desktop-legacy: | |
home: | |
removable-media: | |
network: | |
wayland: | |
x11: | |
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: | |
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 | |
stage-packages: | |
- libsdl2-2.0-0 | |
- libsfml-network2.4 | |
- libsfml-system2.4 | |
- libgl1-mesa-glx | |
- libnotify4 | |
- libsm6 | |
- libopengl0 | |
- libopenal1 | |
- libpng16-16 | |
- libpulse0 | |
- zlib1g | |
- libgtk-3-0 | |
build-packages: | |
- g++ | |
- gcc | |
- make | |
- cmake | |
- pkg-config | |
- git | |
- zip | |
- libnotify-dev | |
- libsdl2-dev | |
- libsfml-dev | |
- libgtk-3-dev | |
- libopenal-dev | |
configflags: | |
- -DENABLE_OPENAL=ON | |
- -DENABLE_SDL=OFF | |
apps: | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment