Adding custom build system for flatpak. v1.0.2

This commit is contained in:
Sergiotarxz 2024-11-03 15:26:16 +01:00
parent 9061e28b6c
commit dcf28b7c97
2 changed files with 22 additions and 0 deletions

17
build-for-flatpak.sh Normal file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
cd HiperthermiaSource
perl lib/Exd/Fontconfig.pm
perl lib/Exd/FileFormat/Fontconfig.pm
perl -Ilib lib/Exd/Gui.pm
chmod 755 -R _Inline/
cd -
cp HiperthermiaSource/app_config.prod.json HiperthermiaSource/app_config.json
cp -vr HiperthermiaSource ${FLATPAK_DEST}/Hiperthermia
glib-compile-resources --sourcedir=${FLATPAK_DEST}/Hiperthermia ${FLATPAK_DEST}/Hiperthermia/resources.xml
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.desktop /app/share/applications/me.sergiotarxz.Exd.desktop
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.mime.xml /app/share/mime/packages/me.sergiotarxz.Exd.mime.xml
install -Dm755 HiperthermiaSource/run.pl /app/bin/hiperthermia
install -Dm644 HiperthermiaSource/exd-logo.png /app/share/icons/hicolor/256x256/apps/me.sergiotarxz.Exd.png
update-mime-database /app/share/mime
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.metainfo.xml -t /app/share/metainfo/

View File

@ -30,6 +30,11 @@
<releases>
<release version="v1.0.2" date="2024-11-03">
<description>
<p>Using custom build system for Flatpak</p>
</description>
</release>
<release version="v1.0.1" date="2024-11-03">
<description>
<p>Adding screenshots and fixes for bluetooth printers</p>