generated from snapcrafters/snap-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged content from asciiwolf and made edits
- Loading branch information
Showing
6 changed files
with
765 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ $(id -u) -ne 0 ]; then | ||
echo "Root context required please." | ||
exit 1 | ||
fi | ||
|
||
for INTERFACE in joystick; do | ||
snap connect tremulous:${INTERFACE} | ||
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Tremulous | ||
Comment=Aliens vs Humans, First Person Shooter game with elements of Real Time Strategy | ||
Icon=${SNAP}/meta/gui/tremulous.png | ||
Exec=tremulous | ||
Terminal=false | ||
StartupNotify=false | ||
Categories=Game;ActionGame;StrategyGame;Shooter; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,76 @@ | ||
name: my-snap-name # you probably want to 'snapcraft register <name>' | ||
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' | ||
summary: Single-line elevator pitch for your amazing snap # 79 char long summary | ||
name: tremulous-grangerhub | ||
title: GrangerHub Tremulous Client | ||
version: 'v1.3.0-alpha.0.14' | ||
summary: Aliens vs Humans, FPS game with RTS elements. Client only, GrangerHub version. | ||
description: | | ||
This is my-snap's description. You have a paragraph or two to tell the | ||
most important story about your snap. Keep it under 100 words though, | ||
we live in tweetspace and your description wants to look good in the snap | ||
store. | ||
Tremulous is a free, open source game that blends a team based FPS with elements | ||
of an RTS. | ||
base: core22 | ||
confinement: devmode # use 'strict' once you have the right plugs and slots | ||
Players can choose from 2 unique races, aliens and humans. Players on both teams | ||
are able to build working structures in-game like an RTS. | ||
This is a Snap of the GrangerHub build of Tremulous. | ||
contact: [email protected] | ||
icon: snap/gui/tremulous.png | ||
license: GPL-3.0 | ||
base: core20 | ||
grade: stable | ||
confinement: strict | ||
compression: lzo | ||
|
||
architectures: | ||
- build-on: amd64 | ||
|
||
layout: | ||
/usr/share/libdrm: | ||
bind: $SNAP/usr/share/libdrm | ||
|
||
apps: | ||
tremded: | ||
extensions: [gnome-3-38] | ||
command: tremded | ||
plugs: | ||
- network | ||
- network-bind | ||
|
||
tremulous: | ||
extensions: [gnome-3-38] | ||
command: tremulous | ||
environment: | ||
SDL_AUDIODRIVER: pulse | ||
plugs: | ||
- audio-playback | ||
- joystick | ||
- network | ||
- network-bind | ||
- opengl | ||
- optical-drive | ||
- wayland | ||
- x11 | ||
|
||
parts: | ||
my-part: | ||
# See 'snapcraft plugins' | ||
plugin: nil | ||
tremulous: | ||
plugin: dump | ||
source: https://github.com/GrangerHub/tremulous/releases/download/$SNAPCRAFT_PROJECT_VERSION/release-linux-x86_64.zip | ||
build-packages: | ||
- dpkg | ||
stage-packages: | ||
- libasound2 | ||
- libopenal1 | ||
- libbsd0 | ||
- libcurl4 | ||
- libgcc1 | ||
- libglu1-mesa | ||
- libjpeg62 | ||
- libpulse0 | ||
- libsdl2-2.0-0 | ||
- libstdc++6 | ||
- libvorbisfile3 | ||
- libx11-6 | ||
- libxau6 | ||
- libxcb1 | ||
- libxdmcp6 | ||
- libxext6 | ||
- libxpm4 | ||
- libxxf86vm1 | ||
- zlib1g |