Skip to content

Commit

Permalink
merged content from asciiwolf and made edits
Browse files Browse the repository at this point in the history
  • Loading branch information
cengique committed May 26, 2024
2 parents 8107bf6 + 60d5632 commit 5fc372c
Show file tree
Hide file tree
Showing 6 changed files with 765 additions and 33 deletions.
695 changes: 674 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions connect.sh
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
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions snap/gui/tremulous.desktop
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;
Binary file added snap/gui/tremulous.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 72 additions & 12 deletions snap/snapcraft.yaml
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

0 comments on commit 5fc372c

Please sign in to comment.