Last active
March 21, 2021 14:54
-
-
Save GeopJr/db90a21346322283a4665bc9f9ec422b to your computer and use it in GitHub Desktop.
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
app-id: io.github.EverestAPI.Olympus | |
runtime: org.freedesktop.Platform | |
runtime-version: "20.08" | |
sdk: org.freedesktop.Sdk | |
command: olympus | |
rename-icon: olympus | |
finish-args: | |
- --socket=x11 | |
- --share=ipc | |
- --filesystem=home | |
- --device=dri | |
- --socket=pulseaudio | |
- --share=network | |
cleanup: | |
- /include | |
- /lib/pkgconfig | |
- /share/doc | |
- /share/man | |
- "*.a" | |
- "*.la" | |
modules: | |
# XDG UTILS + DEPS | |
- name: links | |
buildsystem: autotools | |
post-install: | |
- ln -s links /app/bin/elinks | |
cleanup: ["*"] | |
sources: | |
- type: archive | |
url: http://links.twibright.com/download/links-2.21.tar.bz2 | |
sha256: 285eed8591c7781ec26213df82786665aaa1b9286782e8a7a1a7e2a6e1630d63 | |
- name: "xmlto" | |
cleanup: | |
- "*" | |
sources: | |
- type: "archive" | |
url: "https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2" | |
sha256: "1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276" | |
- name: "xdg-utils" | |
config-opts: | |
- "--prefix=/app" | |
cleanup: | |
- "/bin/xdg-desktop-menu" | |
- "/bin/xdg-desktop-icon" | |
- "/bin/xdg-icon-resource" | |
- "/bin/xdg-open" | |
- "/bin/xdg-email" | |
- "/bin/xdg-screensaver" | |
- "/bin/xdg-settings" | |
- "/share" | |
sources: | |
- type: "git" | |
url: "https://gitlab.freedesktop.org/xdg/xdg-utils.git" | |
tag: "v1.1.3" | |
commit: "159fc37075db2decf446f453fe1a796da6921aad" | |
# Olympus deps | |
# - name: libmodplug | |
# sources: | |
# - type: archive | |
# url: https://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz | |
# sha1: 9d18572f85fdd95091befa972ee5d94139dcefde | |
# - name: luajit | |
# no-autogen: true | |
# make-install-args: | |
# - PREFIX=/app | |
# sources: | |
# - type: archive | |
# url: http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz | |
# sha256: 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 | |
# - name: love | |
# sources: | |
# - type: archive | |
# url: https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-src.tar.gz | |
# sha256: 649f0db7750ca121e4de7b60208703661052356df35f4cfad490b1ba14dd1455 | |
- name: Olympus | |
buildsystem: simple | |
build-commands: | |
- unzip ./olympus_source/dist.zip | |
- rm -rf ./olympus_source/ | |
- install -D -m 0644 olympus.desktop /app/share/applications/io.github.EverestAPI.Olympus.desktop | |
- install -D -m 0644 olympus.png /app/share/icons/hicolor/128x128/apps/olympus.png | |
- mkdir -p /app/opt/olympus/ | |
- mv * /app/opt/olympus/ | |
- chmod -R 755 /app/opt/olympus/ | |
- mkdir -p /app/bin | |
- ln -s /app/opt/olympus/olympus /app/bin/olympus | |
sources: | |
- type: archive | |
dest: olympus_source/ | |
archive-type: zip | |
url: https://dev.azure.com/EverestAPI/39c8d8c3-65c4-4472-a9f4-d9ea482752f3/_apis/build/builds/2016/artifacts?artifactName=linux.main&api-version=6.0&%24format=zip | |
sha256: 13d44604a7688ae7713fe4b04637a42974eaf8120d5ed7a6589af3f907a4bfdd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment