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-12-29 03:08:00 +00:00
|
|
|
grade: devel
|
2019-11-08 09:36:04 +00:00
|
|
|
confinement: strict
|
2023-10-23 17:40:53 +00:00
|
|
|
base: core22
|
2019-02-02 23:01:59 +00:00
|
|
|
parts:
|
|
|
|
vbam:
|
2019-12-29 00:21:49 +00:00
|
|
|
source: https://github.com/visualboyadvance-m/visualboyadvance-m.git
|
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
2020-01-03 10:22:52 +00:00
|
|
|
last_commit="$(git describe | sed 's/^v//; s/-.*-/-/')"
|
2019-12-29 00:21:49 +00:00
|
|
|
snapcraftctl set-version "${last_commit}"
|
2019-12-29 03:01:53 +00:00
|
|
|
sed -i.bak -e 's|Icon=visualboyadvance-m|Icon=/usr/share/icons/hicolor/scalable/apps/visualboyadvance-m.svg|g' src/wx/visualboyadvance-m.desktop
|
2019-02-02 23:01:59 +00:00
|
|
|
plugin: cmake
|
2022-09-03 22:41:16 +00:00
|
|
|
cmake-generator: Ninja
|
2019-11-08 09:36:04 +00:00
|
|
|
stage-packages:
|
|
|
|
- libsdl2-2.0-0
|
2022-09-03 22:41:16 +00:00
|
|
|
- libsfml-network2.5
|
|
|
|
- libsfml-system2.5
|
2019-11-08 09:36:04 +00:00
|
|
|
- libnotify4
|
|
|
|
- libsm6
|
|
|
|
- libopenal1
|
|
|
|
- libpng16-16
|
|
|
|
- libpulse0
|
|
|
|
- zlib1g
|
|
|
|
- libgtk-3-0
|
|
|
|
- libgl1
|
|
|
|
- libglvnd0
|
|
|
|
- libglx0
|
|
|
|
- libopengl0
|
2022-09-03 22:41:16 +00:00
|
|
|
- libwxgtk3.0-gtk3-0v5
|
2019-11-08 09:36:04 +00:00
|
|
|
|
2019-02-02 23:01:59 +00:00
|
|
|
build-packages:
|
|
|
|
- g++
|
|
|
|
- gcc
|
2020-08-08 13:14:07 +00:00
|
|
|
- gettext
|
2019-02-02 23:01:59 +00:00
|
|
|
- make
|
|
|
|
- cmake
|
2019-12-29 03:24:32 +00:00
|
|
|
- nasm
|
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
|
2022-09-03 22:41:16 +00:00
|
|
|
- libwxgtk3.0-gtk3-dev
|
|
|
|
cmake-parameters:
|
2019-11-08 09:36:04 +00:00
|
|
|
- -DENABLE_SDL=OFF
|
2019-12-29 03:01:53 +00:00
|
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
2019-02-02 23:01:59 +00:00
|
|
|
|
|
|
|
apps:
|
|
|
|
visualboyadvance-m:
|
2023-10-23 17:40:53 +00:00
|
|
|
plugs:
|
|
|
|
- desktop
|
|
|
|
- desktop-legacy
|
|
|
|
- audio-playback
|
|
|
|
- opengl
|
|
|
|
- joystick
|
|
|
|
- raw-usb
|
|
|
|
- screen-inhibit-control
|
|
|
|
- home
|
|
|
|
- removable-media
|
|
|
|
- network
|
|
|
|
- wayland
|
|
|
|
- x11
|
2019-12-29 03:01:53 +00:00
|
|
|
command: usr/bin/visualboyadvance-m
|
|
|
|
desktop: usr/share/applications/visualboyadvance-m.desktop
|
2023-10-23 17:40:53 +00:00
|
|
|
extensions: [gnome]
|
2019-11-08 09:36:04 +00:00
|
|
|
environment:
|
|
|
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
|