Compare commits

..

No commits in common. "flatpak" and "master" have entirely different histories.

5 changed files with 6 additions and 81 deletions

View File

@ -1,6 +0,0 @@
pipeline:
docker:
image: plugins/docker
repo: repo.shimun.net/shimun/sauerbraten
registry: repo.shimun.net
secrets: ["docker_username", "docker_password"]

View File

@ -1,18 +1,11 @@
FROM frolvlad/alpine-glibc
FROM debian:stretch
RUN apt-get update && apt-get install zlib1g-dev libgeoip-dev build-essential -y
COPY src /usr/src/sauerbraten
RUN apk add --no-cache zlib geoip libstdc++
ENV BUILD_DEPS="zlib-dev geoip-dev alpine-sdk"
RUN apk add --no-cache $BUILD_DEPS && cd /usr/src/sauerbraten && \
make -C src install_server && \
cp /usr/src/sauerbraten/bin_unix/native_server /usr/bin/sauerbraten-server && \
apk del --no-cache $BUILD_DEPS && rm -rf /usr/src/sauerbraten
EXPOSE 28785 28786
ENTRYPOINT /usr/bin/sauerbraten-server
WORKDIR /usr/src/sauerbraten
RUN make -C src install_server
ENTRYPOINT /usr/src/sauerbraten/bin_unix/native_server

View File

@ -1,52 +0,0 @@
{
"app-id": "org.sauerbraten.Cube2",
"runtime": "org.kde.Platform",
"runtime-version": "5.9",
"sdk": "org.kde.Sdk",
"command": "sauerbraten",
"modules": [
{
"name": "game",
"sources": [
{
"type": "git",
"path": "src",
"commit": "17d79ca96f8ff9848c527979b90ec468f662f8c2"
}
],
"buildsystem": "simple",
"build-commands": [
"make -C src install"
]
},
{
"name": "share",
"sources": [
{
"type": "file",
"url": "http://quadropolis.us/files/sauerbratenicons.png",
"sha256": "4fcd5c0d46f124e64cf92346f32cfc03fe6b239bca098e7909c84f1a58caa71e"
},
{
"type": "dir",
"path": "share/applications"
}
],
"buildsystem": "simple",
"build-commands":[
"#mkdir -p files/share/applications",
"#install -D launcher.desktop sauerbratenicons.png files/share/applications/",
"#bash -c '(>&2 ls /app/ )'"
]
}
],
"rename-icon": "sauerbratenicons",
"rename-desktop-file": "launcher.desktop",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--share=network",
"--socket=pulseaudio"
]
}

View File

@ -1,3 +0,0 @@
#!/bin/sh
git submodule update --init --recursive

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Name=Sauerbraten
Exec=sauerbraten
Comment=Cube2 Sauerbraten
Icon=sauerbraten
Type=Application
Categories=Games;