Last active
May 20, 2020 10:55
-
-
Save ElXreno/4c6b4da980db9378f0fb6f421d92833b to your computer and use it in GitHub Desktop.
DDNet manifest
This file contains hidden or 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
From bb9983fa6f2b76788ad9e6d913f9570e979e6cad Mon Sep 17 00:00:00 2001 | |
From: ElXreno <[email protected]> | |
Date: Sun, 17 May 2020 10:27:58 +0300 | |
Subject: [PATCH 1/2] Appdata: Append releases tag | |
--- | |
other/ddnet.appdata.xml | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git a/other/ddnet.appdata.xml b/other/ddnet.appdata.xml | |
index 6c592224e..31fd2ae30 100644 | |
--- a/other/ddnet.appdata.xml | |
+++ b/other/ddnet.appdata.xml | |
@@ -32,6 +32,10 @@ | |
<keyword>teeworlds</keyword> | |
<keyword>game</keyword> | |
</keywords> | |
+ <releases> | |
+ <release date="2020-05-01" version="13.1"/> | |
+ <release date="2020-04-10" version="13.0.2"/> | |
+ </releases> | |
<url type="homepage">https://ddnet.tw/</url> | |
<url type="bugtracker">https://github.com/ddnet/ddnet/issues</url> | |
<url type="donation">https://www.paypal.me/ddnet</url> | |
From 308d82733a1470ed28226599409f44a728a58e33 Mon Sep 17 00:00:00 2001 | |
From: heinrich5991 <[email protected]> | |
Date: Sun, 17 May 2020 10:31:20 +0300 | |
Subject: [PATCH 2/2] Appdata: Append content_rating tag | |
--- | |
other/ddnet.appdata.xml | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git a/other/ddnet.appdata.xml b/other/ddnet.appdata.xml | |
index 31fd2ae30..69f7a08b8 100644 | |
--- a/other/ddnet.appdata.xml | |
+++ b/other/ddnet.appdata.xml | |
@@ -32,6 +32,10 @@ | |
<keyword>teeworlds</keyword> | |
<keyword>game</keyword> | |
</keywords> | |
+ <content_rating type="oars-1.1"> | |
+ <content_attribute id="violence-cartoon">moderate</content_attribute> | |
+ <content_attribute id="social-chat">intense</content_attribute> | |
+ </content_rating> | |
<releases> | |
<release date="2020-05-01" version="13.1"/> | |
<release date="2020-04-10" version="13.0.2"/> |
This file contains hidden or 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
diff --git a/src/engine/shared/storage.cpp b/src/engine/shared/storage.cpp | |
index b00529850..193526b1d 100644 | |
--- a/src/engine/shared/storage.cpp | |
+++ b/src/engine/shared/storage.cpp | |
@@ -5,6 +5,9 @@ | |
#include <engine/storage.h> | |
#include "linereader.h" | |
+// compiled-in data-dir path | |
+#define DATA_DIR "/app/share/ddnet/data" | |
+ | |
class CStorage : public IStorage | |
{ | |
public: |
This file contains hidden or 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
{ | |
"id": "tw.ddnet.ddnet", | |
"runtime": "org.freedesktop.Platform", | |
"runtime-version": "19.08", | |
"sdk": "org.freedesktop.Sdk", | |
"default-branch": "stable", | |
"finish-args": [ | |
"--device=dri", | |
"--persist=.teeworlds", | |
"--share=ipc", | |
"--share=network", | |
"--socket=pulseaudio", | |
"--socket=wayland", | |
"--socket=x11", | |
"--talk-name=org.freedesktop.Notifications" | |
], | |
"rename-desktop-file": "ddnet.desktop", | |
"rename-icon": "ddnet", | |
"rename-appdata-file": "ddnet.appdata.xml", | |
"cleanup": [ | |
"/bin/DDNet-Server", | |
"/include", | |
"/lib/girepository-1.0", | |
"/lib/pkgconfig", | |
"/share/gir-1.0" | |
], | |
"modules": [ | |
{ | |
"name": "ddnet", | |
"buildsystem": "cmake-ninja", | |
"builddir": true, | |
"config-opts": [ | |
"-DAUTOUPDATE=OFF" | |
], | |
"sources": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/ddnet/ddnet.git", | |
"tag": "13.1", | |
"commit": "a723299cb98dcecb0ba356851c1888211f781039", | |
"disable-fsckobjects": true, | |
"disable-submodules": true | |
}, | |
{ | |
"type": "patch", | |
"path": "ddnet-set-data-dir.patch" | |
}, | |
{ | |
"type": "patch", | |
"path": "2189.patch" | |
} | |
], | |
"modules": [ | |
"shared-modules/glew/glew.json", | |
"shared-modules/glu/glu-9.json", | |
{ | |
"name": "libnotify", | |
"buildsystem": "meson", | |
"config-opts": [ | |
"-Dman=false", | |
"-Dgtk_doc=false" | |
], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/libnotify/0.7/libnotify-0.7.9.tar.xz", | |
"sha256": "66c0517ed16df7af258e83208faaf5069727dfd66995c4bbc51c16954d674761" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment