public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
Date: Wed, 25 Sep 2024 13:53:05 +0000 (UTC)	[thread overview]
Message-ID: <1727124937.4594c04ac14cd1f3816fe3b2ea1700cf737c7ca3.davidroman@gentoo> (raw)

commit:     4594c04ac14cd1f3816fe3b2ea1700cf737c7ca3
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Mon Sep 23 20:55:37 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 23 20:55:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4594c04a

www-client/zen-bin: add 1.0.1_alpha3

Signed-off-by: Michal Vu <saigon-tech <AT> tuta.io>

 www-client/zen-bin/zen-bin-1.0.1_alpha3.ebuild | 87 ++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/www-client/zen-bin/zen-bin-1.0.1_alpha3.ebuild b/www-client/zen-bin/zen-bin-1.0.1_alpha3.ebuild
new file mode 100644
index 000000000..aca2b6a18
--- /dev/null
+++ b/www-client/zen-bin/zen-bin-1.0.1_alpha3.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.3"
+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
+}


             reply	other threads:[~2024-09-25 13:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 13:53 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-23 13:38 [gentoo-commits] repo/proj/guru:dev commit in: www-client/zen-bin/ Julien Roy
2025-01-23 13:59 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-23 13:38 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-23 13:59 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-22 15:29 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-22 15:42 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-22 15:29 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-22 15:42 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-11 23:34 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-11 23:38 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-10 15:42 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-10 15:44 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2025-01-10 15:42 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2025-01-10 15:44 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-25 14:03 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-26 15:36 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-25 14:03 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-26 15:36 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-24 16:18 Lucio Sauer
2024-12-24 16:18 Lucio Sauer
2024-12-20 14:55 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-20 15:00 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-20 14:55 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-20 15:00 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-15 18:02 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-15 18:10 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-15 18:02 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-12-15 18:10 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-12-12 13:06 David Roman
2024-12-12 13:06 David Roman
2024-12-12 13:06 David Roman
2024-12-02 13:41 Julien Roy
2024-12-02 12:43 [gentoo-commits] repo/proj/guru:dev " Julien Roy
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 13:41 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-11-18 13:42 Julien Roy
2024-11-18 13:42 Julien Roy
2024-11-04 18:27 David Roman
2024-10-29 10:53 David Roman
2024-10-16  8:45 David Roman
2024-10-16  8:45 David Roman
2024-10-03  9:43 Andrew Ammerlaan
2024-09-27 11:41 David Roman
2024-09-25 13:53 David Roman
2024-09-10 23:59 David Roman
2024-09-07 13:38 David Roman
2024-08-31 13:06 David Roman

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=1727124937.4594c04ac14cd1f3816fe3b2ea1700cf737c7ca3.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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