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 (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD945158042 for ; Tue, 29 Oct 2024 10:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD0D3E0819; Tue, 29 Oct 2024 10:53:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A18FEE0819 for ; Tue, 29 Oct 2024 10:53:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D4B03430DA for ; Tue, 29 Oct 2024 10:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC1D8AE7 for ; Tue, 29 Oct 2024 10:53:30 +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: <1729778747.0d945887245600e3c5fdc1a29881e2f10e6c69ec.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/zen-bin-1.0.1_alpha12.ebuild X-VCS-Directories: www-client/zen-bin/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 0d945887245600e3c5fdc1a29881e2f10e6c69ec X-VCS-Branch: master Date: Tue, 29 Oct 2024 10:53:30 +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: 549a3426-0742-4ddd-a6b9-9386e044b4b3 X-Archives-Hash: b2ad6ffb34f89dbfbae096b876edf575 commit: 0d945887245600e3c5fdc1a29881e2f10e6c69ec Author: Michal Vu tuta io> AuthorDate: Thu Oct 24 14:05:12 2024 +0000 Commit: David Roman gmail com> CommitDate: Thu Oct 24 14:05:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d945887 www-client/zen-bin: add 1.0.1_alpha12 Signed-off-by: Michal Vu tuta.io> www-client/zen-bin/Manifest | 1 + www-client/zen-bin/zen-bin-1.0.1_alpha12.ebuild | 87 +++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest index 6ad6bdfe7..b06c6287a 100644 --- a/www-client/zen-bin/Manifest +++ b/www-client/zen-bin/Manifest @@ -1 +1,2 @@ DIST zen-bin-1.0.1_alpha10.tar.bz2 87684487 BLAKE2B 3df00d3ad2ce01b0314fa85422e10b12eb1a4fc6b4306c1e1399bbf1dea59b4d96cc978dd80d500681b87ddcefaa2272c59dd0df1b9391042ae8f803cf85dd32 SHA512 0e417cb0c3af4e4a25f66d389bcc1be359177b822d62048ace37f921d3eeb0bd00cb81d56756e328b3f55a22a650a0596131f82030096224a95f73d3d040e9e5 +DIST zen-bin-1.0.1_alpha12.tar.bz2 87711637 BLAKE2B fca3baf48b239ae5afe6077a4d089edf1acec3e79a1cb1f1b0deebb820e0e989c4bd49f96349ef5f25d997426ec03b21e886e245caad0ec89e372f81731639b3 SHA512 d31264f9b616a921a8c332d8d12d3dd6acdab4a7e080cb03855346093b09e54670e216d175e92c14ee8fde690569f938a50de0d509fec52149535ae7a13f7068 diff --git a/www-client/zen-bin/zen-bin-1.0.1_alpha12.ebuild b/www-client/zen-bin/zen-bin-1.0.1_alpha12.ebuild new file mode 100644 index 000000000..c66546f2f --- /dev/null +++ b/www-client/zen-bin/zen-bin-1.0.1_alpha12.ebuild @@ -0,0 +1,87 @@ +# 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.1-a.12" +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 +}