Skip to content

Commit

Permalink
added snapcraft.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
daviel committed Mar 28, 2019
1 parent ad59536 commit ff79e15
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snap/gui/teeworlds.desktop
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Teeworlds
GenericName=Platform Game
Comment=An online multi-player platform 2D shooter
Exec=teeworlds
Icon=${SNAP}/meta/gui/teeworlds.png
Categories=Game;ArcadeGame;
Keywords=game;multiplayer;
Binary file added snap/gui/teeworlds.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions snapcraft.yaml
@@ -0,0 +1,57 @@
name: teeworlds-unofficial
version: "0.7.2"
summary: A retro multiplayer shooter
description: |
Teeworlds is a free online multiplayer game, available for
all major operating systems. Battle with up to 16 players
in a variety of game modes, including Team Deathmatch and
Capture The Flag. You can even design your own maps!
base: core18
grade: stable
architectures:
- build-on: amd64
run-on: [amd64, i386]
confinement: strict

apps:
teeworlds-unofficial:
command: bin/teeworlds
environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
plugs:
- home
- desktop
- joystick
- network
- opengl
- pulseaudio
- wayland
- x11
parts:
teeworlds:
plugin: cmake
source-type: git
source: https://github.com/teeworlds/teeworlds
organize:
share/teeworlds/data: bin/data
stage-packages:
- libfreetype6
- libsdl2-2.0-0
- libgl1
- libglu1-mesa
- libglx0
- libpulse0
build-packages:
- g++
- gcc
- make
- cmake
- libsdl2-dev
- python
- libasound2-dev
- libgl-dev
- libglu-dev
- libx11-dev
- libfreetype6-dev
- libssl-dev
- libpulse0

0 comments on commit ff79e15

Please sign in to comment.