From dcf28b7c9742f6a699654d38f90d440923067605 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Sun, 3 Nov 2024 15:26:16 +0100 Subject: [PATCH] Adding custom build system for flatpak. v1.0.2 --- build-for-flatpak.sh | 17 +++++++++++++++++ me.sergiotarxz.Exd.metainfo.xml | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 build-for-flatpak.sh diff --git a/build-for-flatpak.sh b/build-for-flatpak.sh new file mode 100644 index 0000000..39d93fb --- /dev/null +++ b/build-for-flatpak.sh @@ -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/ + diff --git a/me.sergiotarxz.Exd.metainfo.xml b/me.sergiotarxz.Exd.metainfo.xml index 9dc2158..a5f98f8 100644 --- a/me.sergiotarxz.Exd.metainfo.xml +++ b/me.sergiotarxz.Exd.metainfo.xml @@ -30,6 +30,11 @@ + + +

Using custom build system for Flatpak

+
+

Adding screenshots and fixes for bluetooth printers