name: desmume-emulator version: 0.9.13 summary: DeSmuME is a Nintendo DS Emulator description: | An open-source Nintendo DS Emulators. adopt-info: desmume-emulator grade: stable confinement: strict base: core22 compression: lzo parts: desmume-emulator: source: https://github.com/TASEmulators/desmume/archive/refs/tags/release_0_9_13.tar.gz plugin: nil override-build: | LDFLAGS="" CFLAGS="" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="" DEB_CXXFLAGS_SET="" 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="" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="" DEB_CXXFLAGS_SET="" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja -C desmume/src/frontend/posix/build LDFLAGS="" CFLAGS="" FFLAGS="" FCFLAGS="" DEB_CFLAGS_SET="" DEB_CXXFLAGS_SET="" DEB_FFLAGS_SET="" DEB_FCFLAGS_SET="" DEB_LDFLAGS_SET="" ninja install -C desmume/src/frontend/posix/build stage-packages: - libasound2 - libc6 - libcairo2 - libgcc-s1 - libgcc-s1 - libgdk-pixbuf-2.0-0 - libgl1 - libglade2-0 - libglib2.0-0 - libglu1-mesa - libgtk2.0-0 - libgtkglext1 - libosmesa6 - libpango-1.0-0 - libsdl1.2debian - libsoundtouch1 - libstdc++6 - libtinyxml2.6.2v5 - zlib1g - g++ - gcc - gettext - make - cmake - nasm - pkg-config - git - zip - build-essential - intltool - libglade2-dev - libgtk2.0-dev - libsdl1.2-dev - libosmesa6-dev - libagg-dev - intltool - quilt - libgtkglext1-dev - libtinyxml-dev - libsoundtouch-dev - dh-autoreconf - meson - libsdl2-dev - libpcap-dev - libgtk-3-dev build-packages: - g++ - gcc - gettext - make - cmake - nasm - pkg-config - git - zip - build-essential - intltool - libglade2-dev - libgtk2.0-dev - libsdl1.2-dev - libosmesa6-dev - libagg-dev - intltool - quilt - libgtkglext1-dev - libtinyxml-dev - libsoundtouch-dev - dh-autoreconf - meson - libsdl2-dev - libpcap-dev - libgtk-3-dev apps: desmume-emulator: plugs: - desktop - desktop-legacy - audio-playback - opengl - joystick - raw-usb - screen-inhibit-control - home - removable-media - network - wayland - x11 command: usr/bin/desmume desktop: usr/share/applications/org.desmume.DeSmuME.desktop extensions: [gnome] environment: LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio