14 Commits

Author SHA1 Message Date
Robert de Rooy
694cc766a4 Cleanup Bash scripts.
This makes them pass shellcheck. Except for a few unused
export warnings.

I also wonder if the majority of these files should be
in the root of the project, or should be moved to "build-scripts"
(or should still even exist).

a few minor changes

one more minor changes
2023-04-15 15:53:08 +02:00
Jookia
b3fa848f0f Replace '/bin/bash' with '/usr/bin/env bash' in shebangs
This should hopefully help portability with BSDs.
2022-12-12 17:52:27 +08:00
Jookia
19642d9e50 make-flatpak: Run with --user to avoid system conflicts 2022-07-20 10:59:31 +10:00
Jookia
67d971ecad Revert "make-flatpak: Use flatpak flatpak-builder"
This reverts commit 030df58286a4213ce4f4b23c684fb30d39aa3a64.
2022-05-03 11:33:30 +10:00
Jookia
030df58286 make-flatpak: Use flatpak flatpak-builder
Distributions like Ubuntu seem to ship a broken flatpak-builder,
so just use the one available from the flatpak repository.
2022-04-09 07:11:47 +10:00
Jookia
7c81932adc make-flatpak: Use /bin/bash as shell
On Debian-based systems /bin/sh is not Bash and causes errors.
2022-04-09 07:11:16 +10:00
Robert de Rooy
2f5757a6ef remove sdl reference 2022-02-28 08:32:23 +01:00
Robert de Rooy
ccfff3e342 remove SDL1 version and make SDL2 default
this mirrors what is done on flathub
2022-02-28 08:30:31 +01:00
Robert de Rooy
d060972a40 update instructions for flatpak 21.08 release 2022-02-28 08:15:33 +01:00
Robert de Rooy
11cad2aab5 Use reverse DNS naming
Use reverse DNS naming for .desktop and .metainfo.xml as your
supposed to do nowadays according to freedesktop.org.

This also happens to match what is mandated by flatpak, so it
simplifies the flatpak post install script a little.

+ cleanup the mess that flatpak builds can leave behind when you
do a clean.
2020-10-20 15:24:03 +02:00
rderooy
e8f2b029ce Update in-tree flatpak to closer match flathub
This updates the in-tree flatpak manifests to closer match
that used by flathub. This should make it easier to diagnose
problems.

It also adds some new checks to the make-flathub*.sh scripts.
2020-10-04 18:56:18 +02:00
rderooy
2cac989664 Move appdata.xml to metainfo.xml as the former is deprecated.
Part of getting things ready for flatpak support
2020-09-27 21:27:59 +02:00
rderooy
35bef67914 minor 2020-09-16 17:35:58 +02:00
rderooy
53ef4f1166 Add SDL2 version 2020-09-16 17:20:12 +02:00