-
-
A snapcraft.yaml file holds the basic meta data for the snap.
We have generated an example snapcraft.yaml for you using the snap name you have chosen, don’t worry you can edit this at any point later on.
To discover more about the
snapcraft.yaml
, mouse over each piece of metadata in the interactive.yaml
viewer below:snapcraft.yamlname: test-dosbox-{name}
The name must be unique in the Snap Store. Valid snap names consist of at least two lower-case alphanumeric characters and can contain hyphens. They cannot consist of only numbers and cannot start or end with a hyphen.version: 0.74-svn
The version is a string that is assigned to the project by its developers, according to their development practices. It is a free text field that should be human readable and tell the user what content to expect from a snap.summary: DOS emulator
A sentence summarising the snap in short and simple terms.description: | DOSBox is a x86 emulator with Tandy/Hercules/ CGA/EGA/VGA/SVGA graphics sound and DOS. It's been designed to run old DOS games under platforms that don't support it.
A multi-line description of the snap. This should be a more in-depth look at what your snap does and who may find it most useful.confinement: devmode
Confinement determines if the snap should be restricted in access or not. Possible values are strict (for no access outside of declared interfaces through plugs), devmode (for unrestricted access) or classic.base: core18
A base is a special kind of snap that provides a minimal set of libraries common to most applications. A base snap mounts itself as the root filesystem within your snap so that when your application runs, the base’s library paths are searched directly after the paths for your specific snap.parts: test-dosbox-{name}: plugin: autotools source-type: tar source: http://source.dosbox.com/dosboxsvn.tgz build-packages: - g++ - make - libsdl1.2-dev - libpng-dev - libsdl-net1.2-dev - libsdl-sound1.2-dev - libasound2-dev stage-packages: - libsdl-sound1.2 - libsdl-net1.2 - libxcursor1 - libxi6 - libxinerama1 - libxrandr2 - libxrender1 - libopenal1 - libsndio6.1 - libspeex1 - libvorbisfile3 - libwayland-client0 - libwayland-cursor0 - libwayland-egl1-mesa - libxkbcommon0 - libglu1-mesa - libasound2 - libasyncns0 - libbsd0 - libcaca0 - libdbus-1-3 - libflac8 - libgcc1 - libgcrypt20 - libgl1 - libglvnd0 - libglx0 - libgpg-error0 - liblz4-1 - liblzma5 - libncursesw5 - libogg0 - libpng16-16 - libpulse0 - libsdl1.2debian - libslang2 - libsndfile1 - libstdc++6 - libsystemd0 - libtinfo5 - libvorbis0a - libvorbisenc2 - libwrap0 - libx11-6 - libxau6 - libxcb1 - libxdmcp6 - libxext6 - zlib1g
Parts are a set of building blocks which are usually independent. These building blocks consist of either code, pre-built packages or other assets. At times some blocks depend on another and as such may be built in a defined sequence.apps: test-dosbox-{name}: command: dosbox environment: LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio DISABLE_WAYLAND: '1'
A map of app-names representing entry points to run for the snap.