Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/bump-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ set -euxo pipefail
PLATFORM_DIR="$PWD"
HELIUM_DIR="$PLATFORM_DIR/helium-chromium"
SPEC="$PLATFORM_DIR/package/helium-bin.spec"
METAINFO="$PLATFORM_DIR/package/metainfo/net.imput.helium.metainfo.xml"

# version_after is exported by `bump-platform` action
sed -Ei "s/^(%define version ).*/\1$version_after/" "$SPEC"
git add -u "$SPEC"

# Update AppStream metainfo.xml with new release version and date
RELEASE_DATE=$(date +%Y-%m-%d)
# Update the first release entry with new version and date
sed -Ei "0,/<release version=\"[^\"]*\" date=\"[^\"]*\" \/>/s/<release version=\"[^\"]*\" date=\"[^\"]*\" \/>/<release version=\"$version_after\" date=\"$RELEASE_DATE\" \/>/" "$METAINFO"

git add -u "$SPEC" "$METAINFO"
6 changes: 6 additions & 0 deletions package/helium-bin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ License: GPL-3.0
URL: https://github.com/imputnet/helium-linux
Source0: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-x86_64_linux.tar.xz
Source1: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-arm64_linux.tar.xz
Source2: net.imput.helium.metainfo.xml

%description
Private, fast, and honest web browser based on Chromium
Expand All @@ -32,6 +33,7 @@ Private, fast, and honest web browser based on Chromium
mkdir -p %{heliumdir} \
%{buildroot}%{_bindir} \
%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/metainfo \
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps

cp -a . %{heliumdir}
Expand All @@ -45,6 +47,9 @@ install -m 644 product_logo_256.png \
install -m 644 %{heliumdir}/helium.desktop \
%{buildroot}%{_datadir}/applications/

install -m 644 %{SOURCE2} \
%{buildroot}%{_datadir}/metainfo/net.imput.helium.metainfo.xml

ln -sf %{helium_base}/helium-wrapper \
%{buildroot}%{_bindir}/helium

Expand All @@ -53,6 +58,7 @@ ln -sf %{helium_base}/helium-wrapper \
%{helium_base}/
%{_bindir}/helium
%{_datadir}/applications/helium.desktop
%{_datadir}/metainfo/net.imput.helium.metainfo.xml
%{_datadir}/icons/hicolor/256x256/apps/helium.png

%post
Expand Down
52 changes: 52 additions & 0 deletions package/metainfo/net.imput.helium.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.imput.helium</id>
<launchable type="desktop-id">helium.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-only</project_license>
<name>Helium</name>
<summary>Private, fast, and honest web browser</summary>
<description>
<p>
Helium is a private, fast, and honest web browser based on Chromium.
It prioritizes user privacy while maintaining excellent performance and
a clean browsing experience.
</p>
<p>Features:</p>
<ul>
<li>Private browsing by default</li>
<li>Fast performance based on Chromium</li>
<li>Honest and transparent development</li>
<li>Cross-platform support</li>
<li>Open-source software</li>
</ul>
</description>
<url type="homepage">https://github.com/imputnet/helium-linux</url>
<url type="bugtracker">https://github.com/imputnet/helium-linux/issues</url>
<url type="help">https://github.com/imputnet/helium-linux</url>
<!--
Placeholder for screenshots
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/imputnet/helium-linux/main/logo.png</image>
</screenshot>
</screenshots>
-->
<content_rating type="oars-1.1" />
<releases>
<release version="0.10.5.1" date="2026-03-14" />
</releases>
<developer>
<name>imput</name>
</developer>
<keywords>
<keyword>browser</keyword>
<keyword>web</keyword>
<keyword>internet</keyword>
<keyword>privacy</keyword>
</keywords>
<categories>
<category>Network</category>
<category>WebBrowser</category>
</categories>
</component>