commit: 521c0cdef4b50b2707755a103f9efe879e0511c9 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Thu Jan 1 06:50:16 2026 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Thu Jan 1 06:58:23 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=521c0cde
www-client/helium-bin: add 0.7.7.2, enriched .desktop file Closes: https://bugs.gentoo.org/968202 Signed-off-by: Jonas Frei <freijon <AT> pm.me> www-client/helium-bin/Manifest | 2 + www-client/helium-bin/files/helium.desktop | 21 ++++- www-client/helium-bin/helium-bin-0.7.7.2.ebuild | 116 ++++++++++++++++++++++++ 3 files changed, 135 insertions(+), 4 deletions(-) diff --git a/www-client/helium-bin/Manifest b/www-client/helium-bin/Manifest index e2ec4d83c2..0b1689a19e 100644 --- a/www-client/helium-bin/Manifest +++ b/www-client/helium-bin/Manifest @@ -1,2 +1,4 @@ DIST helium-bin-0.7.7.1-amd64.tar.xz 131217492 BLAKE2B 611f39b9251776c9a8603b3bd63e51f3ac6137a11fe08b7117533116d312ff9a6b3409bc1cf56fb203686a796ab1a5877321048aa4f93046fc697e223541aac5 SHA512 72547fc115e5f2583fc19e82407338d3b5aee61f7be21165bd2cc83b9334447bd93f05eeb3fdc4840b75ae1cfe1b71bab791e0864ce2c0e731822942d95754d3 DIST helium-bin-0.7.7.1-arm64.tar.xz 123820064 BLAKE2B 91248c714861915e19d2d18dd978327e5b14ca5445cd4958bedaff85a82067f67c050dc2e61b506adfe16d21e3c5b26b31d9ad2340fe09cbef1ff8ae3da2e503 SHA512 c3202ac8cbf5b2a91221eb3c193481333c41252dfac7bb99c07a7c39f1bc8fc39050eedc389488d7e10052dc13d19b744116b1d4e020dfb85cbd5aafb7f99c1c +DIST helium-bin-0.7.7.2-amd64.tar.xz 112461288 BLAKE2B aa4183a378329c87f27db3e9c799213ee5c76858e260f52e55e4d470a2f213c8b3e2eae837349812f6f01b20fc936387ee8ad98d1fe6081a075d6b16128c8d96 SHA512 f169bf6e0544d9ec89a2b8ceeee2f0cb1d7d8c65b54cd52482a4808d6d839da70a2c08f31252b947409008c4b85ba08d2396e21c578511b14a07792523af86d7 +DIST helium-bin-0.7.7.2-arm64.tar.xz 107321024 BLAKE2B 3ae6a990198ee6ca09c723c5baea0a10811085104780bcee3160742ed7a5f408211bd65b4204bff5afbaba6612fb8202cd12ab6394c62d9fc8b5b7c299582105 SHA512 c6d861e9fa3fea13f5659b83089ab0969035bf61c1f5e1bf549d4e882a0abcef199bd5b11a3c7a26a52089ac7a6073eface11240d334ed4a8d5e85ff1fcdaf8f diff --git a/www-client/helium-bin/files/helium.desktop b/www-client/helium-bin/files/helium.desktop index fa7328d49d..ea41744c08 100644 --- a/www-client/helium-bin/files/helium.desktop +++ b/www-client/helium-bin/files/helium.desktop @@ -1,9 +1,22 @@ [Desktop Entry] -Type=Application -Name=Helium -Comment=Helium Browser +Version=1.0 +Name=Helium Browser +GenericName=Web Browser +Comment=Access the Internet Exec=/usr/bin/helium %U +StartupNotify=true +StartupWMClass=helium Terminal=false +Type=Application Categories=Network;WebBrowser; -StartupNotify=true +MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https; +Actions=new-window;new-private-window; Icon=helium + +[Desktop Action new-window] +Name=New Window +Exec=/usr/bin/helium + +[Desktop Action new-private-window] +Name=New Incognito Window +Exec=/usr/bin/helium --incognito diff --git a/www-client/helium-bin/helium-bin-0.7.7.2.ebuild b/www-client/helium-bin/helium-bin-0.7.7.2.ebuild new file mode 100644 index 0000000000..9256741b38 --- /dev/null +++ b/www-client/helium-bin/helium-bin-0.7.7.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS="af am ar as az be bg bn bs ca cs cy da de el en-GB en-US es-419 es et + eu fa fi fil fr-CA fr gl gu he hi hr hu hy id is it ja ka kk km kn ko ky lo lt lv + mk ml mn mr ms my nb ne nl or pa pl pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv + sw ta te th tr uk ur uz vi zh-CN zh-HK zh-TW zu" + +inherit chromium-2 desktop pax-utils xdg + +DESCRIPTION="Private, fast, and honest web browser based on Chromium" +HOMEPAGE="https://helium.computer/" + +MY_PN="helium" +MY_P="${MY_PN}-${PV}" + +if [[ ${ARCH} == amd64 ]] ; then + ARCH_TXT="x86_64" +elif [[ ${ARCH} == arm64 ]] ; then + ARCH_TXT="${ARCH}" +fi + +# SRC_URI="https://github.com/imputnet/${MY_PN}-linux/releases/download/${PV}/${MY_P}-${ARCH_TXT}_linux.tar.xz -> ${P}.tar.xz" +SRC_URI=" +amd64? ( https://github.com/imputnet/${MY_PN}-linux/releases/download/${PV}/${MY_P}-x86_64_linux.tar.xz -> ${P}-amd64.tar.xz ) +arm64? ( https://github.com/imputnet/${MY_PN}-linux/releases/download/${PV}/${MY_P}-arm64_linux.tar.xz -> ${P}-arm64.tar.xz ) +" + +# S=${WORKDIR}/${MY_P}-x86_64_linux +S=${WORKDIR} + +LICENSE="GPL-3 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="qt6 selinux" + +RESTRICT="bindist mirror strip" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + >=dev-libs/nss-3.26 + media-fonts/liberation-fonts + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/glibc + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + || ( + x11-libs/gtk+:3[X] + gui-libs/gtk:4[X] + ) + x11-libs/libdrm + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + x11-misc/xdg-utils + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + selinux? ( sec-policy/selinux-chromium ) +" + +QA_PREBUILT="*" + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +# Skip unpack, we're doing it during install +src_unpack() { + : +} + +src_install() { + dodir "opt" || die + cd "${ED}/opt/" || die + + # Not possible to unpack to target folder, so: unpack, then mv + unpack "${P}-${ARCH}.tar.xz" + mv ${MY_P}-${ARCH_TXT}_linux ${MY_PN} || die + + cd "${MY_PN}" || die + + pushd "locales" > /dev/null || die + # Remove empty .info files + rm *.info || die + chromium_remove_language_paks + popd > /dev/null || die + + rm "libqt5_shim.so" || die + if ! use qt6; then + rm "libqt6_shim.so" || die + fi + + newicon -s 256 "product_logo_256.png" ${MY_PN}.png + domenu "${FILESDIR}/${MY_PN}.desktop" + dobin "${FILESDIR}/${MY_PN}" + + pax-mark m "chrome" +}
