Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a manifest file for flatpak-builder
- Loading branch information
1 parent
89179e8
commit c38ff38
Showing
1 changed file
with
72 additions
and
0 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,72 @@ | ||
{ | ||
"app-id": "org.wesnoth.Wesnoth", | ||
"runtime": "org.freedesktop.Platform", | ||
"runtime-version": "1.6", | ||
"sdk": "org.freedesktop.Sdk", | ||
"finish-args": [ | ||
"--device=dri", | ||
"--share=ipc", | ||
"--share=network", | ||
"--socket=x11", | ||
"--socket=pulseaudio" | ||
], | ||
"command": "wesnoth", | ||
"rename-appdata-file": "wesnoth.appdata.xml", | ||
"rename-desktop-file": "wesnoth.desktop", | ||
"rename-icon": "wesnoth-icon", | ||
"cleanup": [ | ||
"/include", | ||
"/lib/pkgconfig", | ||
"/share/aclocal", | ||
"/share/man", | ||
"*.la", "*.a" | ||
], | ||
"modules": [ | ||
{ | ||
"name": "boost", | ||
"buildsystem": "simple", | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.bz2", | ||
"sha256": "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9" | ||
} | ||
], | ||
"build-commands": [ | ||
"./bootstrap.sh --prefix=/app --with-libraries=filesystem,locale,iostreams,program_options,regex,random,thread", | ||
"./b2 -j4 install boost.locale.icu=off link=static variant=release address-model=64 --layout=system" | ||
] | ||
}, | ||
{ | ||
"name": "scons", | ||
"buildsystem": "simple", | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "http://download.sourceforge.net/scons/scons-3.0.1.tar.gz", | ||
"sha256": "24475e38d39c19683bc88054524df018fe6949d70fbd4c69e298d39a0269f173" | ||
} | ||
], | ||
"build-commands": [ | ||
"python3 setup.py install --prefix=/app" | ||
] | ||
}, | ||
{ | ||
"name": "wesnoth", | ||
"buildsystem": "simple", | ||
"cleanup": [ | ||
"/share/applications/wesnoth_editor.desktop" | ||
], | ||
"build-commands": [ | ||
"scons -j4 prefix=/app ccache=true install wesnoth wesnothd" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"path": "/home/sergey/vcs-checkouts/wesnoth", | ||
"branch": "master" | ||
} | ||
] | ||
} | ||
] | ||
} |