mirror of
https://github.com/RetroDECK/org.solarus_games.solarus.Launcher.git
synced 2024-11-21 20:55:38 +00:00
Add Solarus
This commit is contained in:
parent
746ea89cc4
commit
2f1bbfd3a7
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
build-dir/
|
||||
.flatpak-builder/
|
3
flathub.json
Normal file
3
flathub.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"only-arches": ["x86_64"]
|
||||
}
|
77
org.solarus_games.solarus.Launcher.yaml
Normal file
77
org.solarus_games.solarus.Launcher.yaml
Normal file
|
@ -0,0 +1,77 @@
|
|||
app-id: org.solarus_games.solarus.Launcher
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: '5.15-21.08'
|
||||
sdk: org.kde.Sdk
|
||||
command: solarus-launcher
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --socket=pulseaudio
|
||||
- --device=dri
|
||||
|
||||
modules:
|
||||
- name: glm
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DGLM_TEST_ENABLE=OFF
|
||||
- -DCMAKE_INSTALL_LIBDIR=lib
|
||||
sources:
|
||||
- type: git
|
||||
url: https://github.com/g-truc/glm.git
|
||||
tag: 0.9.9.3
|
||||
|
||||
- name: luajit
|
||||
no-autogen: true
|
||||
cleanup:
|
||||
- /bin
|
||||
- /lib/*.a
|
||||
- /include
|
||||
- /lib/pkgconfig
|
||||
- /share/man
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://luajit.org/download/LuaJIT-2.0.5.tar.gz
|
||||
sha256: 874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979
|
||||
- type: shell
|
||||
commands:
|
||||
- sed -i 's|/usr/local|/app|' ./Makefile
|
||||
|
||||
- name: libmodplug
|
||||
cleanup:
|
||||
- /include
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://download.sourceforge.net/project/modplug-xmms/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz
|
||||
sha512: 880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd
|
||||
|
||||
- name: physfs
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
- -DPHYSFS_BUILD_TEST=OFF
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2
|
||||
sha256: 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863
|
||||
size: 194888
|
||||
x-checker-data:
|
||||
type: anitya
|
||||
project-id: 3631
|
||||
url-template: https://icculus.org/physfs/downloads/physfs-$version.tar.bz2
|
||||
|
||||
- name: solarus
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
post-install:
|
||||
- rm ${FLATPAK_DEST}/share/metainfo/org.solarus_games.solarus.appdata.xml
|
||||
- install -Dm0644 ../solarus-launcher.appdata.xml ${FLATPAK_DEST}/share/appdata/org.solarus_games.solarus.Launcher.appdata.xml
|
||||
- install -Dm0644 ../icon.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/org.solarus_games.solarus.Launcher.png
|
||||
sources:
|
||||
- type: git
|
||||
url: https://gitlab.com/solarus-games/solarus.git
|
||||
tag: v1.6.5
|
||||
commit: 3aec70b0556a8d7aed7903d1a3e4d9a18c5d1649
|
||||
- type: file
|
||||
path: solarus-launcher.appdata.xml
|
||||
- type: file
|
||||
path: icon.png
|
30
solarus-launcher.appdata.xml
Normal file
30
solarus-launcher.appdata.xml
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>org.solarus_games.solarus.Launcher.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0</project_license>
|
||||
<name>Solarus Launcher</name>
|
||||
<summary>Browse and play your Solarus quest collection.</summary>
|
||||
<description>
|
||||
<p>
|
||||
Solarus Launcher is a desktop GUI frontend that allows to browse and play to Solarus quests, which are video games made with the Solarus game engine.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://www.solarus-games.org/data/en/entities/article/old/2016/07/images/solarus-launcher.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">https://www.solarus-games.org/</url>
|
||||
<update_contact>christopho@solarus-games.org</update_contact>
|
||||
<launchable type="desktop-id">org.solarus_games.solarus.Launcher.desktop</launchable>
|
||||
<project_group>Solarus</project_group>
|
||||
<developer_name>Solarus Team</developer_name>
|
||||
<content_rating type="oars-1.1">
|
||||
<content_attribute id="violence-cartoon">moderate</content_attribute>
|
||||
<content_attribute id="violence-bloodshed">mild</content_attribute>
|
||||
</content_rating>
|
||||
<releases>
|
||||
<release version="1.6.5" date="2021-04-06" />
|
||||
</releases>
|
||||
</component>
|
Loading…
Reference in a new issue