mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02:00
Trying to move Glest into "strict" confinement.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user