generate appstream metadata

This commit is contained in:
ohfp 2020-03-31 10:57:25 +02:00
parent 41d7dd8bdb
commit b4785c8efd
3 changed files with 44 additions and 2 deletions

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">io.gitlab.LibreWolf</id>
<launchable type="desktop-id">io.gitlab.LibreWolf</launchable>
<name>LibreWolf</name>
<summary>LibreWolf Web Browser</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MPL-2.0</project_license>
<description>
<p><strong>LibreWolf</strong></p>
<p>This project is an independent fork of Firefox, with the primary goals of privacy security and user freedom. It is the community run successor to LibreFox.</p>
<p>LibreWolf uses more than 500 privacy/security/performance settings, patches, LibreWolf-Addons (optional) and is designed to minimize data collection and telemetry as much as possible (updater, crashreporter and Firefoxs integrated addons that dont respect privacy are removed).</p>
<p><strong>LibreWolf is NOT associated with Mozilla or its products.</strong></p>
<p>Features:</p>
<ul>
<li>Latest Version of Firefox: LibreWolf is compiled directly from the latest build of Firefox Stable. You will have the the latest features, and security updates.</li>
<li>Completely Independent Build: LibreWolf uses a completely independent build from Firefox and has its own settings, profile folder and installation path. As a result, it can be installed alongside Firefox or any other browser.</li>
<li>IJWY (I Just Want You To Shut Up): embedded server links and other calling home functions are removed. In other words, zero unauthorized or background connections by default.</li>
<li>Settings protection: important settings are enforced/locked within librewolf.cfg and policies.json, those settings cannot be changed by addons/updates/LibreWolf itself or unwanted/accidental manipulation; To change those settings you can easily do it by editing librewolf.cfg and policies.json.</li>
<li>LibreWolf-addons: set of optional LibreWolf extensions</li>
<li>Statistics disabled: telemetry and similar functions are disabled</li>
<li>Tested settings: settings are performance aware</li>
<li>Recommended and code reviewed addons list</li>
<li>Community-Driven</li>
<li>And much more…</li>
</ul>
</description>
<releases>
<release version="$pkgver-$pkgrel" date="$DATE"/>
</releases>
<keywords>
<keyword>librewolf</keyword>
<keyword>internet</keyword>
<keyword>web</keyword>
</keywords>
<url type="homepage">https://librewolf-community.gitlab.io/</url>
<url type="bugtracker">https://gitlab.com/groups/librewolf-community/-/issues/</url>
</application>

View file

@ -4,9 +4,9 @@ printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION -----
set -e
# Setup Script Variables
# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder";
_DEPENDENCIES="wget git xvfb \
xz-utils \
gettext-base \
curl python3 libjack-dev \
autotools-dev \
autoconf2.13 \

View file

@ -38,7 +38,7 @@ distini="$_EXTRACTED_TARBALL_FOLDER/distribution/distribution.ini"
install -Dvm644 /dev/stdin "$distini" <<END
[Global]
id=io.gitlab.${pkgname}
id=io.gitlab.LibreWolf
version=1.0
about=LibreWolf
@ -48,6 +48,10 @@ app.distributor.channel=librewolf
app.partner.librewolf=librewolf
END
# Create Appstream metadate file
export DATE=$(date +%Y-%m-%d)
envsubst < ${_SCRIPT_FOLDER}/content/io.gitlab.LibreWolf.appdata.xml.in > ${_EXTRACTED_TARBALL_FOLDER}/io.gitlab.LibreWolf.appdata.xml
# Repacks the binary tarball
printf "\nRecompressing binary tarball\n";
tar -jvcf $BINARY_TARBALL -C $_EXTRACTED_TARBALL_FOLDER .