From f1ed230b1ad56c8a1d7e73fffe2f62351e521552 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sun, 12 Nov 2023 17:28:30 +0100 Subject: [PATCH] build: updated flatpak content rating to 1.1 --- .../com.blitterstudio.amiberry.metainfo.xml | 2 +- ...com.blitterstudio.amiberry.metainfo.xml.in | 37 ------------------- flatpak/generate-metainfo.sh | 32 ---------------- 3 files changed, 1 insertion(+), 70 deletions(-) delete mode 100644 flatpak/com.blitterstudio.amiberry.metainfo.xml.in delete mode 100644 flatpak/generate-metainfo.sh diff --git a/flatpak/com.blitterstudio.amiberry.metainfo.xml b/flatpak/com.blitterstudio.amiberry.metainfo.xml index 863989907..4593e0990 100644 --- a/flatpak/com.blitterstudio.amiberry.metainfo.xml +++ b/flatpak/com.blitterstudio.amiberry.metainfo.xml @@ -7,7 +7,7 @@ An Amiga emulator for Linux FSFAP - + GPL-3.0-or-later midwan_AT_gmail.com https://amiberry.com diff --git a/flatpak/com.blitterstudio.amiberry.metainfo.xml.in b/flatpak/com.blitterstudio.amiberry.metainfo.xml.in deleted file mode 100644 index 4cdc34be5..000000000 --- a/flatpak/com.blitterstudio.amiberry.metainfo.xml.in +++ /dev/null @@ -1,37 +0,0 @@ - - - com.blitterstudio.amiberry - com.blitterstudio.amiberry.desktop - Amiberry - BlitterStudio - An Amiga emulator for Linux - - FSFAP - - GPL-3.0-or-later - midwan_AT_gmail.com - https://amiberry.com - https://github.com/BlitterStudio/amiberry/wiki - https://github.com/BlitterStudio/amiberry/wiki - - - pointing - keyboard - touch - gamepad - - - -

Amiberry is an optimized Amiga emulator for Linux (ARM, ARM64 and x86-64).

-

It is based on the latest WinUAE, with several unique features on top of it,

-

like a WHDLoad booter, custom controls, Host-Run functionality and more.

-
- - - https://i0.wp.com/blitterstudio.com/wp-content/uploads/2022/12/Screenshot_GUI.png - - - - - -
\ No newline at end of file diff --git a/flatpak/generate-metainfo.sh b/flatpak/generate-metainfo.sh deleted file mode 100644 index 8467a8c81..000000000 --- a/flatpak/generate-metainfo.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -SCRIPTDIR=$(realpath $(dirname "${BASH_SOURCE[0]}")) - -if [[ $# -lt 1 ]]; then - echo "Output directory must be provided as a parameter" - exit 1 -fi - -APPID="com.blitterstudio.amiberry" -OUTDIR=$(realpath "$1") -OUTFILE="${OUTDIR}/${APPID}.metainfo.xml" - -pushd "${SCRIPTDIR}" >/dev/null || exit -GIT_DATE=$(git log -1 --pretty=%cd --date=short) -GIT_HASH=$(git rev-parse HEAD) -GIT_VERSION=$(git describe --dirty | tr -d '\r\n') -if [[ "${GIT_VERSION}" == "" ]]; then - GIT_VERSION=$(git rev-parse HEAD) -fi - -popd >/dev/null || exit - -echo "GIT_DATE: ${GIT_DATE}" -echo "GIT_VERSION: ${GIT_VERSION}" -echo "GIT_HASH: ${GIT_HASH}" - -cp "${SCRIPTDIR}/${APPID}.metainfo.xml.in" "${OUTFILE}" - -sed -i -e "s/@GIT_VERSION@/${GIT_VERSION}/" "${OUTFILE}" -sed -i -e "s/@GIT_DATE@/${GIT_DATE}/" "${OUTFILE}" -sed -i -e "s/@GIT_HASH@/${GIT_HASH}/" "${OUTFILE}" \ No newline at end of file