mirror of
https://github.com/etlegacy/etlegacy-snap.git
synced 2024-11-24 21:01:40 +00:00
snap: add support for x11 and seperate them with appropriate -prefix
This commit is contained in:
parent
3d90020e36
commit
809290f02c
1 changed files with 18 additions and 1 deletions
|
@ -11,7 +11,7 @@ compression: lzo
|
|||
confinement: strict
|
||||
|
||||
apps:
|
||||
etl:
|
||||
etl-wayland:
|
||||
command-chain: &_command-chain
|
||||
- bin/graphics-core22-wrapper
|
||||
- bin/wayland-launch
|
||||
|
@ -30,6 +30,22 @@ apps:
|
|||
PULSE_RUNTIME_PATH: /var/run/pulse
|
||||
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}:${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/pulseaudio
|
||||
|
||||
etl-x11:
|
||||
command: bin/run
|
||||
plugs:
|
||||
- opengl
|
||||
- x11
|
||||
- hardware-observe
|
||||
- audio-playback
|
||||
- joystick
|
||||
- network
|
||||
- alsa
|
||||
environment:
|
||||
PULSE_SERVER: unix:$XDG_RUNTIME_DIR/../pulse/native
|
||||
PULSE_SYSTEM: 1
|
||||
PULSE_RUNTIME_PATH: /var/run/pulse
|
||||
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}:${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/pulseaudio
|
||||
|
||||
etlded:
|
||||
command: bin/runded
|
||||
plugs:
|
||||
|
@ -136,6 +152,7 @@ parts:
|
|||
- libglew2.2
|
||||
- libgl1
|
||||
- libglu1-mesa
|
||||
- libglx-mesa0
|
||||
- freeglut3
|
||||
- libjpeg8
|
||||
- libstdc++6
|
||||
|
|
Loading…
Reference in a new issue