2024-01-31 06:02:09 +00:00
name : desmume-emulator
2024-02-02 00:42:11 +00:00
version : 0.9 .13
2024-01-31 05:52:11 +00:00
summary : DeSmuME is a Nintendo DS Emulator
description : |
An open-source Nintendo DS Emulators.
2024-01-31 07:49:50 +00:00
adopt-info : desmume-emulator
2024-01-31 05:52:11 +00:00
grade : stable
confinement : strict
base : core22
2024-02-02 00:44:27 +00:00
compression : lzo
2024-01-31 05:52:11 +00:00
parts :
2024-01-31 06:02:09 +00:00
desmume-emulator :
2024-02-02 00:42:11 +00:00
source : https://github.com/TASEmulators/desmume/archive/refs/tags/release_0_9_13.tar.gz
plugin : nil
2024-01-31 05:52:11 +00:00
override-build : |
2024-02-02 14:00:14 +00:00
sed -i 's|Icon=org.desmume.DeSmuME|Icon=/snap/desmume-emulator/current/usr/share/icons/hicolor/scalable/apps/org.desmume.DeSmuME.svg|g' desmume/src/frontend/posix/gtk/org.desmume.DeSmuME.desktop
2024-02-02 06:14:15 +00:00
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" meson setup --prefix=${CRAFT_PART_INSTALL}/usr desmume/src/frontend/posix/build desmume/src/frontend/posix
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja -C desmume/src/frontend/posix/build
LDFLAGS="" CFLAGS="-O3" CXXFLAGS="-O3" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="-O3" DEB_CXXFLAGS_SET="-O3" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja install -C desmume/src/frontend/posix/build
2024-02-02 00:42:11 +00:00
2024-01-31 05:52:11 +00:00
stage-packages :
2024-02-02 06:14:15 +00:00
- libasound2
- libc6
- libcairo2
2024-01-31 05:52:11 +00:00
- libgcc-s1
2024-02-02 06:14:15 +00:00
- libgdk-pixbuf-2.0-0
2024-01-31 05:52:11 +00:00
- libgl1
2024-02-02 06:14:15 +00:00
- libglib2.0-0
2024-01-31 05:52:11 +00:00
- libglu1-mesa
- libgtkglext1
2024-02-02 06:14:15 +00:00
- libosmesa6
- libpango-1.0-0
- libsdl2-2.0-0
- libsoundtouch1
- libstdc++6
2024-01-31 05:52:11 +00:00
- libtinyxml2.6.2v5
- zlib1g
2024-02-02 00:42:11 +00:00
- gettext
- pkg-config
- git
- zip
2024-02-02 06:14:15 +00:00
- libosmesa6
- libagg2
- libgtkglext1
- libsoundtouch1
- libsdl2-2.0-0
- libpcap0.8
- libgtk-3-0
- libgtk-3-bin
- libgtk-3-common
2024-01-31 05:52:11 +00:00
build-packages :
- g++
- gcc
- gettext
- make
- cmake
- nasm
- pkg-config
- git
- zip
- build-essential
- intltool
2024-02-02 00:42:11 +00:00
- libosmesa6-dev
2024-02-02 06:14:15 +00:00
- libagg2-dev
2024-02-02 00:42:11 +00:00
- intltool
- quilt
- libgtkglext1-dev
- libtinyxml-dev
- libsoundtouch-dev
- dh-autoreconf
- meson
- libsdl2-dev
- libpcap-dev
- libgtk-3-dev
2024-01-31 05:52:11 +00:00
apps :
2024-01-31 06:02:09 +00:00
desmume-emulator :
2024-01-31 05:52:11 +00:00
plugs :
- desktop
- desktop-legacy
- audio-playback
- opengl
- joystick
- raw-usb
- screen-inhibit-control
- home
- removable-media
- network
- wayland
- x11
2024-02-02 00:42:11 +00:00
command : usr/bin/desmume
desktop : usr/share/applications/org.desmume.DeSmuME.desktop
2024-01-31 05:52:11 +00:00
extensions : [ gnome]
environment :
LD_LIBRARY_PATH : $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio