From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2009D158083 for ; Sat, 31 Aug 2024 13:06:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69B842BC01A; Sat, 31 Aug 2024 13:06:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DEDF2BC01A for ; Sat, 31 Aug 2024 13:06:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26CC234311F for ; Sat, 31 Aug 2024 13:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47EC71F36 for ; Sat, 31 Aug 2024 13:06:00 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1725100684.7fa548679ed83d2e4cf1d6755585b5a4211c7f4c.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-client/zen-bin/Manifest www-client/zen-bin/metadata.xml www-client/zen-bin/zen-bin-1.0.0.ebuild X-VCS-Directories: www-client/zen-bin/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 7fa548679ed83d2e4cf1d6755585b5a4211c7f4c X-VCS-Branch: master Date: Sat, 31 Aug 2024 13:06:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 210a8535-4f01-44ce-98a1-a6c94f41585a X-Archives-Hash: 6a0e57d67c4ccb062f0a669192a45195 commit: 7fa548679ed83d2e4cf1d6755585b5a4211c7f4c Author: Michal Vu tuta io> AuthorDate: Sat Aug 31 10:37:44 2024 +0000 Commit: David Roman gmail com> CommitDate: Sat Aug 31 10:38:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fa54867 www-client/zen-bin: Adding alpha version of Zen browser 1.0.0 (help & improvements welcome) Signed-off-by: Michal Vu tuta.io> www-client/zen-bin/Manifest | 1 + www-client/zen-bin/metadata.xml | 15 ++++++ www-client/zen-bin/zen-bin-1.0.0.ebuild | 88 +++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest new file mode 100644 index 000000000..462c85d33 --- /dev/null +++ b/www-client/zen-bin/Manifest @@ -0,0 +1 @@ +DIST zen-bin-1.0.0.tar.bz2 87624415 BLAKE2B e45d126415e422bb10b316da2cbe4e6a2251b8a934d6b64258c7edfc5874686f2a0def377ba746cb1a81e85a23db505b8e1c0df091ed1af2f7a17842d779c88b SHA512 8f690270641682a1768002596b323dc1a8dfe4608686e79e598f8001f4dc0d3bb32d9eb4f9dad33bbac7edb9d077f708a2b7a9913044ffb96523dbcf96c6c2cb diff --git a/www-client/zen-bin/metadata.xml b/www-client/zen-bin/metadata.xml new file mode 100644 index 000000000..85656ff73 --- /dev/null +++ b/www-client/zen-bin/metadata.xml @@ -0,0 +1,15 @@ + + + + + saigon-tech@tuta.io + Michal Vu + + + zen-browser/desktop + + + Firefox-based privacy oriented browser. Zen offers a wide variety of customizations and is Firefox sync compatible. + + + diff --git a/www-client/zen-bin/zen-bin-1.0.0.ebuild b/www-client/zen-bin/zen-bin-1.0.0.ebuild new file mode 100644 index 000000000..0732803d7 --- /dev/null +++ b/www-client/zen-bin/zen-bin-1.0.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils desktop + +MY_PV="1.0.0-a.34" +MY_P="zen" + +DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy" +HOMEPAGE="https://github.com/zen-browser/desktop" +SRC_URI="https://github.com/zen-browser/desktop/releases/download/${MY_PV}/${MY_P}.linux-specific.tar.bz2 -> ${P}.tar.bz2" + +S="${WORKDIR}" + +LICENSE="MPL-2.0" +SLOT="0" + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" + +DEPEND="${RDEPEND}" + +QA_PREBUILT="opt/zen/*" + +src_install() { + #create dest dir + local destdir="/opt/zen" + dodir "${destdir}" + #copy files into dest dir + cp -a "${S}/zen"/* "${ED}${destdir}" || die + #create a symlink to the binary + dosym "${destdir}/zen-bin" "/usr/bin/zen-bin" || die + #add icons + local icon_dir="${ED}${destdir}/browser/chrome/icons/default" + if [[ -d "${icon_dir}" ]]; then + for size in 16 32 48 64 128; do + if [[ -f "${icon_dir}/default${size}.png" ]]; then + newicon -s ${size} "${icon_dir}/default${size}.png" zen.png + fi + done + else + ewarn "Icon directory not found, skipping icon installation" + fi + #create desktop file + make_desktop_entry zen-bin "Zen" zen "Network;WebBrowser" + #handle permissions of destdir files + fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest} + fperms 0750 "${destdir}"/pingsender +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + elog "For optimal performance and compatibility, please ensure" + elog "that you have the latest graphics drivers installed." +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}