Trying to move Glest into "strict" confinement.

This commit is contained in:
Jammyjamjamman
2019-04-16 00:51:14 +01:00
parent 417908c91d
commit 9c877b0905

View File

@@ -7,21 +7,33 @@ description: |
Glest is a free real-time strategy game. Glest is a free real-time strategy game.
grade: devel # must be 'stable' to release into candidate/stable channels grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots confinement: strict # use 'strict' once you have the right plugs and slots
apps: apps:
glest: Glest:
desktop: usr/share/applications/io.glest.Glest.desktop
command: glest command: glest
environment: environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
plugs:
- network
- network-bind
- home
- opengl
- pulseaudio
- x11
Glest.mapeditor:
command: glest_editor
Glest.g3dviewer:
command: glest_g3dviewer
parts: parts:
glest: glest:
plugin: cmake plugin: cmake
configflags: configflags:
- "-DCMAKE_INSTALL_PREFIX=/usr" - "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DBUILD_MAP_EDITOR=OFF"
- "-DBUILD_MODEL_VIEWER=OFF"
source-type: git source-type: git
source: https://github.com/glest/glest-source.git source: https://github.com/glest/glest-source.git
#source-type: local #source-type: local
@@ -95,8 +107,6 @@ parts:
plugin: cmake plugin: cmake
configflags: configflags:
- "-DCMAKE_INSTALL_PREFIX=/usr" - "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DBUILD_MAP_EDITOR=OFF"
- "-DBUILD_MODEL_VIEWER=OFF"
#source-type: local #source-type: local
#source: glest-data #source: glest-data
source-type: git source-type: git