2019-02-02 23:01:59 +00:00
|
|
|
name: visualboyadvance-m
|
|
|
|
summary: Nintendo Game Boy Advance Emulator
|
|
|
|
description: |
|
|
|
|
An open-source Nintendo Game Boy, Super Game Boy, Game Boy Advance Emulators.
|
|
|
|
|
2019-12-29 00:21:49 +00:00
|
|
|
adopt-info: vbam
|
2019-11-08 09:36:04 +00:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
|
|
|
base: core18
|
|
|
|
|
|
|
|
plugs:
|
|
|
|
|
|
|
|
desktop:
|
|
|
|
desktop-legacy:
|
|
|
|
audio-playback:
|
|
|
|
opengl:
|
|
|
|
|
|
|
|
home:
|
|
|
|
removable-media:
|
|
|
|
|
|
|
|
network:
|
|
|
|
|
|
|
|
wayland:
|
|
|
|
|
|
|
|
x11:
|
2019-02-02 23:01:59 +00:00
|
|
|
|
|
|
|
parts:
|
2019-11-08 09:36:04 +00:00
|
|
|
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
|
2019-02-02 23:01:59 +00:00
|
|
|
vbam:
|
2019-11-08 09:36:04 +00:00
|
|
|
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
|
2019-12-29 00:21:49 +00:00
|
|
|
source: https://github.com/visualboyadvance-m/visualboyadvance-m.git
|
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
|
|
|
last_commit="$(git describe)"
|
|
|
|
snapcraftctl set-version "${last_commit}"
|
|
|
|
|
|
|
|
sed -i.bak -e 's|Icon=vbam|Icon=/share/icons/hicolor/scalable/apps/visualboyadvance-m.svg|g' src/wx/visualboyadvance-m.desktop
|
2019-02-02 23:01:59 +00:00
|
|
|
plugin: cmake
|
2019-11-08 09:36:04 +00:00
|
|
|
stage-packages:
|
2019-12-29 00:21:49 +00:00
|
|
|
- git
|
2019-11-08 09:36:04 +00:00
|
|
|
- libsdl2-2.0-0
|
|
|
|
- libsfml-network2.4
|
|
|
|
- libsfml-system2.4
|
|
|
|
- libnotify4
|
|
|
|
- libsm6
|
|
|
|
- libopenal1
|
|
|
|
- libpng16-16
|
|
|
|
- libpulse0
|
|
|
|
- zlib1g
|
|
|
|
- libgtk-3-0
|
|
|
|
- libgl1
|
|
|
|
- libglvnd0
|
|
|
|
- libglx0
|
|
|
|
- libopengl0
|
|
|
|
|
2019-02-02 23:01:59 +00:00
|
|
|
build-packages:
|
|
|
|
- g++
|
|
|
|
- gcc
|
|
|
|
- make
|
|
|
|
- cmake
|
2019-11-08 09:36:04 +00:00
|
|
|
- pkg-config
|
|
|
|
- git
|
|
|
|
- zip
|
|
|
|
- libnotify-dev
|
2019-02-02 23:23:24 +00:00
|
|
|
- libsdl2-dev
|
2019-02-02 23:01:59 +00:00
|
|
|
- libsfml-dev
|
2019-11-08 09:36:04 +00:00
|
|
|
- libgtk-3-dev
|
|
|
|
- libopenal-dev
|
2019-02-02 23:01:59 +00:00
|
|
|
configflags:
|
2019-11-08 09:36:04 +00:00
|
|
|
- -DENABLE_OPENAL=ON
|
|
|
|
- -DENABLE_SDL=OFF
|
2019-02-02 23:01:59 +00:00
|
|
|
|
|
|
|
apps:
|
|
|
|
visualboyadvance-m:
|
2019-11-08 09:36:04 +00:00
|
|
|
command: bin/visualboyadvance-m
|
2019-12-19 20:28:16 +00:00
|
|
|
desktop: share/applications/visualboyadvance-m.desktop
|
2019-11-08 09:36:04 +00:00
|
|
|
extensions: [gnome-3-28]
|
|
|
|
environment:
|
|
|
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|