public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/zen-bin/
Date: Mon, 10 Mar 2025 14:47:12 +0000 (UTC)	[thread overview]
Message-ID: <1741618026.daad58fa56799b52d381cc9e5bbfbefaefdf802c.julien@gentoo> (raw)

commit:     daad58fa56799b52d381cc9e5bbfbefaefdf802c
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Mar 10 14:45:58 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Mar 10 14:47:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=daad58fa

www-client/zen-bin: add 1.9b

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 www-client/zen-bin/Manifest            |  1 +
 www-client/zen-bin/zen-bin-1.9b.ebuild | 89 ++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 411138a49..98781e4ba 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -1,2 +1,3 @@
 DIST zen-bin-1.7.1b.tar.bz2 98434938 BLAKE2B b0dcff0185e485e5fee5cc35962e6bdd0685235d6c93b0c6fb314d4ae7f8ce8532705689d4e6fb1bcac9cfcd61a889540cf82152e0917d9ffe223a3168146d00 SHA512 4c3a48e018fbd1cbd40ab95bc1e50c1c09c59de9cbb9166b0340c93d6b48ca06dbc43037ac87045211373cf3f7bc088d1805e59f0a133c894dbe8f0a15729b8c
 DIST zen-bin-1.7.2b.tar.bz2 98478882 BLAKE2B d17eb6d860e4cedc685ef3b1d57a09b42422c48fab4b79f2ba541a7690f6a03195777126cd9967f478d504bf6e6d6bbb14ebe1acd812fd8481d138305ba58039 SHA512 8d36a3da1866a11d30b3746fa199f980296f02fa6c5595ded25c8a8b820ac415ded88abd52187da7a35c561b6be281b0f754b89633231b2b28c75ec574e374ab
+DIST zen-bin-1.9b.tar.xz 80195484 BLAKE2B 4bd42f022559b6c61a3cba9dd8184c6924f917c71f8aae29be8324d20a0c730427058a832e04480855637baf248c6871e08e7825b1d6cdd717e2d79eed2a50d1 SHA512 3a60fca94ea256a592fcc6fd4d355440d90b89ab4b14a92fa524949381feb5f6493182b3fd2d5eb22d05997bca1c2f34fb3a7c7f4d242a5ff0bd353687a19859

diff --git a/www-client/zen-bin/zen-bin-1.9b.ebuild b/www-client/zen-bin/zen-bin-1.9b.ebuild
new file mode 100644
index 000000000..41033c538
--- /dev/null
+++ b/www-client/zen-bin/zen-bin-1.9b.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils desktop
+
+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/${PV}/${MY_P}.linux-x86_64.tar.xz -> ${P}.tar.xz"
+
+S="${WORKDIR}"
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	app-accessibility/at-spi2-core:2
+	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:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libxcb
+	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
+}


             reply	other threads:[~2025-03-10 14:47 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-10 14:47 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 14:47 [gentoo-commits] repo/proj/guru:dev commit in: www-client/zen-bin/ Julien Roy
2025-01-23 13:38 Julien Roy
2025-01-23 13:38 Julien Roy
2025-01-22 15:29 Julien Roy
2025-01-22 15:29 Julien Roy
2025-01-11 23:34 Julien Roy
2025-01-10 15:42 Julien Roy
2025-01-10 15:42 Julien Roy
2024-12-25 14:03 Julien Roy
2024-12-25 14:03 Julien Roy
2024-12-24 14:28 Julien Roy
2024-12-24 14:28 Julien Roy
2024-12-20 14:55 Julien Roy
2024-12-20 14:55 Julien Roy
2024-12-15 18:02 Julien Roy
2024-12-15 18:02 Julien Roy
2024-12-12  9:39 Michal Vu
2024-12-11 11:37 Michal Vu
2024-12-11 11:36 Michal Vu
2024-12-11 11:34 Michal Vu
2024-12-02 13:41 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-02 12:43 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-02 12:43 Julien Roy
2024-12-02 12:43 Julien Roy
2024-11-18 13:26 Michal Vu
2024-11-18 13:24 Michal Vu
2024-11-04 10:42 Michal Vu
2024-10-24 14:06 Michal Vu
2024-10-16  8:33 Michal Vu
2024-10-16  8:21 Michal Vu
2024-10-02 22:31 Michal Vu
2024-09-26 16:55 Michal Vu
2024-09-23 20:56 Michal Vu
2024-09-23 20:54 Michal Vu
2024-09-10 20:54 Michal Vu
2024-09-07 10:13 Michal Vu
2024-09-04 20:25 Michal Vu
2024-09-04 20:24 Michal Vu
2024-08-31 10:38 Michal Vu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741618026.daad58fa56799b52d381cc9e5bbfbefaefdf802c.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox