diff --git a/build-flutter-app.sh b/build-flutter-app.sh new file mode 100755 index 0000000..fcf7f09 --- /dev/null +++ b/build-flutter-app.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + + +# Build the Flutter app and package into an archive. + + +# Exit if any command fails +set -e + +# Echo all commands for debug purposes +set -x + + +projectName=rluvApp + +archiveName=$projectName-Linux-Portable.tar.gz +baseDir=$(pwd) + + +# ----------------------------- Build Flutter app ---------------------------- # + + +flutter pub get +flutter build linux + +cd build/linux/arm64/release/bundle || exit +tar -czaf $archiveName ./* +mv $archiveName "$baseDir"/ diff --git a/packaging/linux/com.fosscat.rluv.desktop b/packaging/linux/com.fosscat.rluv.desktop new file mode 100644 index 0000000..669a308 --- /dev/null +++ b/packaging/linux/com.fosscat.rluv.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Type=Application + +Name=rluv +Comment=Budget App +Categories=Utility; + +Icon=com.fosscat.rluv +Exec=rluv +Terminal=false +StartupWMClass=rluv diff --git a/packaging/linux/com.fosscat.rluv.metainfo.xml b/packaging/linux/com.fosscat.rluv.metainfo.xml new file mode 100644 index 0000000..e37e515 --- /dev/null +++ b/packaging/linux/com.fosscat.rluv.metainfo.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Generator for metainfo & .desktop files: + https://www.freedesktop.org/software/appstream/metainfocreator/#/ +--> +<component type="desktop-application"> + <id>com.fosscat.rluv</id> + <name>rluv</name> + <summary>A budget app made with love</summary> + <developer_name>Nate Anderson</developer_name> + <url type="homepage">https://git.fosscat.com/n8r/rluv_client</url> + <metadata_license></metadata_license> + <project_license></project_license> + <supports> + <control>pointing</control> + <control>keyboard</control> + <control>touch</control> + </supports> + <description> + <p>A budgeting app for my needs. Maybe your too?</p> + </description> + <launchable type="desktop-id">com.fosscat.rluv.desktop</launchable> + <screenshots> + <!-- <screenshot type="default"> --> + <!-- <image>https://raw.githubusercontent.com/Merrit/flutter_flatpak_example/main/screenshots/screenshot.png</image> --> + <!-- </screenshot> --> + </screenshots> + <content_rating type="oars-1.1" /> + <releases> + <release version="0.0.1" date="2024-06-02" /> + </releases> +</component>