Add SDL2 version

This commit is contained in:
rderooy
2020-09-16 17:20:12 +02:00
parent 9ad4ba3d5f
commit 53ef4f1166
5 changed files with 138 additions and 3 deletions

19
make-flatpak.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# flatpak build will fail immediately if it cannot find the appdata.xml file
# But we have a dosbox-x.appdata.xml.in file that first needs processing by autotools
./autogen.sh
./configure
cd contrib/linux
flatpak-builder --repo=../../repo --force-clean ../../build-flatpak com.dosbox_x.DOSBox-X.yaml
if [ $? -eq 0 ]; then
echo If the build was successful, you can now install the flatpak by running the following commands:
echo
echo flatpak --user remote-add --no-gpg-verify myrepo repo
echo flatpak --user install myrepo com.dosbox_x.DOSBox-X
echo
echo Or you can test it without installing by running:
echo flatpak-builder --run build-flatpak contrib/linux/com.dosbox_x.DOSBox-X.yaml dosbox-x
fi
cd ../..