-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
69 lines (64 loc) · 2.07 KB
/
Copy pathsnapcraft.yaml
File metadata and controls
69 lines (64 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: bzflag
title: BZFlag
base: core24
version: '2.4.30'
summary: Free 3D online multi-player multi-platform tank battle game.
description: |
BZFlag is a 3D networked multi-player multi-platform tank battle
game. It runs on Windows, macOS, Linux, BSD, and other platforms. It
was one of the most popular games ever on Silicon Graphics machines
and continues to be developed and improved to this day.
license: LGPL-2.1
website:
- https://www.bzflag.org/
source-code:
- https://github.com/BZFlag-Dev/bzflag
issues:
- https://github.com/BZFlag-Dev/bzflag/issues
grade: stable
confinement: strict
platforms:
amd64:
apps:
bzflag:
command: usr/games/bzflag -directory $SNAP/usr/share/games/bzflag/ -configdir $SNAP_USER_COMMON/.config/
extensions: [gnome]
plugs:
- opengl
- wayland
- x11
- network
- network-bind
- pulseaudio
- audio-playback
- desktop
- desktop-legacy
- joystick
environment:
# Needed to make an error about libpxbackend-1.0.so go away
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy
parts:
bzflag:
plugin: autotools
source-type: tar
source: https://download.bzflag.org/bzflag/source/2.4.30/bzflag-2.4.30.tar.gz
source-checksum: sha256/30bf76e8c154beac82582ed4ce29ce14dc951231c69dab297c6677add8f7ed09
autotools-configure-parameters:
- --datarootdir=/usr/share/games
- --bindir=/usr/games
- --libdir=/usr/lib/bzflag-server
build-packages:
- libsdl2-dev
- libcurl4-openssl-dev
- libc-ares-dev
- zlib1g-dev
- libncurses-dev
- libglew-dev
stage-packages:
- libsdl2-2.0-0
- libcurl4t64
- libcares2
- libncurses6
- libglew2.2
- libglu1-mesa
- libproxy1v5 # Needed to quell an error about libpxbackend-1.0.so