Skip to content

Instantly share code, notes, and snippets.

@Zap123
Created June 24, 2017 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zap123/7e0790634c4b0a13c3a7a93fc713bcfb to your computer and use it in GitHub Desktop.
Save Zap123/7e0790634c4b0a13c3a7a93fc713bcfb to your computer and use it in GitHub Desktop.
Dolphin-emu snapcraft.yaml
name: dolphin-emu-git # you probably want to 'snapcraft register <name>'
version: '5.0+git' # just for humans, typically '1.2+git' or '1.3.2'
summary: Dolphin is an open-source emulator for the Nintendo GameCube and Wii
description: |
Dolphin is an emulator for two recent Nintendo video game consoles the GameCube and the Wii.
It allows PC gamers to enjoy games for these two consoles in full HD (1080p)
with several enhancements compatibility with all PC controllers, turbo speed,
networked multiplayer, and even more!
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
apps:
dolphin-emu-git:
command: desktop-launch $SNAP/dolphin/bin/dolphin-emu
plugs: [network, network-bind, unity7, opengl, home, pulseaudio, joystick]
parts:
dolphin:
plugin: cmake
source: git://github.com/dolphin-emu/dolphin
configflags:
- -DCMAKE_INSTALL_PREFIX='/dolphin'
- -DLINUX_LOCAL_DEV='TRUE'
- -DENABLE_SDL=ON
#- -DDATA_DIR='/dolphin/bin'
#- -DENABLE_LTO='TRUE'
build-packages:
- pkg-config
- libwxbase3.0-dev
- libwxgtk3.0-dev
- libxext-dev
- libreadline-dev
- libgl1-mesa-dev
- libevdev-dev
- libudev-dev
- libpulse-dev
- libxrandr-dev
- libbluetooth-dev
- libusb-1.0-0-dev
- libenet-dev
- libavcodec-dev
- libavformat-dev
- libgtk2.0-dev
- liblzo2-dev
- libminiupnpc-dev
- libcurl4-openssl-dev
- libmbedtls-dev
- libsdl1.2-dev
organize:
#Copy Sys folder to the Binaries folder
dolphin/share/dolphin-emu/sys: dolphin/bin/Sys
after: [desktop-gtk2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment