public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-08-31 13:06 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-08-31 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7fa548679ed83d2e4cf1d6755585b5a4211c7f4c
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Sat Aug 31 10:37:44 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> 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 <saigon-tech <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>saigon-tech@tuta.io</email>
+        <name>Michal Vu</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="github">zen-browser/desktop</remote-id>
+    </upstream>
+    <longdescription lang="en">
+        Firefox-based privacy oriented browser. Zen offers a wide variety of customizations and is Firefox sync compatible.
+    </longdescription>
+</pkgmetadata>
+

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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-09-07 13:38 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-09-07 13:38 UTC (permalink / raw
  To: gentoo-commits

commit:     50904ddb519bd3be8689d13d642ee3d2c5e5fbae
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Sat Sep  7 10:12:06 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Sep  7 10:13:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50904ddb

www-client/zen-bin: add new 'alpha' 37 release

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

 www-client/zen-bin/Manifest                     |  1 +
 www-client/zen-bin/zen-bin-1.0.0_alpha37.ebuild | 87 +++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 4c2d308e9..015966897 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -1,2 +1,3 @@
 DIST zen-bin-1.0.0_alpha34.tar.bz2 87624415 BLAKE2B e45d126415e422bb10b316da2cbe4e6a2251b8a934d6b64258c7edfc5874686f2a0def377ba746cb1a81e85a23db505b8e1c0df091ed1af2f7a17842d779c88b SHA512 8f690270641682a1768002596b323dc1a8dfe4608686e79e598f8001f4dc0d3bb32d9eb4f9dad33bbac7edb9d077f708a2b7a9913044ffb96523dbcf96c6c2cb
 DIST zen-bin-1.0.0_alpha35.tar.bz2 87401631 BLAKE2B b079154b3a1b92bce2c347de77e2cf73d38b48ea55936b0cc4c5695b105af3e1140c3bfec5cffb75b61a7cb408cc1603b2eb58ff88ddbe63b0f94c4006b30ff3 SHA512 b76f632371323c22bb9a127354b4610b7ad6e13152049c1377e48224087e5d1f4224c2f6c0583a631593810d11d09dbf6a769e9726f4fa2465809afbb2ca8984
+DIST zen-bin-1.0.0_alpha37.tar.bz2 87641638 BLAKE2B f4462692bcc02827267b1abfebfc342aa17c1376036fc04a2423ee4b68d98a3c8c48145849bf8d2bd715546e00c37a14db0c83a1c8f47d019e7050fc8dc789ad SHA512 41b82350e08afb5ab3da5e5c33106bfcf85aa7395de09706eac98d91278cd1c18325efa55b4f5d951c76dff187cf79a704f785d3f604499472630a3d9306aba1

diff --git a/www-client/zen-bin/zen-bin-1.0.0_alpha37.ebuild b/www-client/zen-bin/zen-bin-1.0.0_alpha37.ebuild
new file mode 100644
index 000000000..1310faac9
--- /dev/null
+++ b/www-client/zen-bin/zen-bin-1.0.0_alpha37.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.0-a.37"
+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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-09-10 23:59 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-09-10 23:59 UTC (permalink / raw
  To: gentoo-commits

commit:     84f2e28cdce900ef2c0740112acacbd6d4a327e7
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Tue Sep 10 20:53:54 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Sep 10 20:54:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84f2e28c

www-client/zen-bin: add 'alpha' 39 release

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

 www-client/zen-bin/Manifest                     |  1 +
 www-client/zen-bin/zen-bin-1.0.0_alpha39.ebuild | 87 +++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 015966897..1b93a01e4 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -1,3 +1,4 @@
 DIST zen-bin-1.0.0_alpha34.tar.bz2 87624415 BLAKE2B e45d126415e422bb10b316da2cbe4e6a2251b8a934d6b64258c7edfc5874686f2a0def377ba746cb1a81e85a23db505b8e1c0df091ed1af2f7a17842d779c88b SHA512 8f690270641682a1768002596b323dc1a8dfe4608686e79e598f8001f4dc0d3bb32d9eb4f9dad33bbac7edb9d077f708a2b7a9913044ffb96523dbcf96c6c2cb
 DIST zen-bin-1.0.0_alpha35.tar.bz2 87401631 BLAKE2B b079154b3a1b92bce2c347de77e2cf73d38b48ea55936b0cc4c5695b105af3e1140c3bfec5cffb75b61a7cb408cc1603b2eb58ff88ddbe63b0f94c4006b30ff3 SHA512 b76f632371323c22bb9a127354b4610b7ad6e13152049c1377e48224087e5d1f4224c2f6c0583a631593810d11d09dbf6a769e9726f4fa2465809afbb2ca8984
 DIST zen-bin-1.0.0_alpha37.tar.bz2 87641638 BLAKE2B f4462692bcc02827267b1abfebfc342aa17c1376036fc04a2423ee4b68d98a3c8c48145849bf8d2bd715546e00c37a14db0c83a1c8f47d019e7050fc8dc789ad SHA512 41b82350e08afb5ab3da5e5c33106bfcf85aa7395de09706eac98d91278cd1c18325efa55b4f5d951c76dff187cf79a704f785d3f604499472630a3d9306aba1
+DIST zen-bin-1.0.0_alpha39.tar.bz2 82495682 BLAKE2B c7dccc0a141fbe44949038eb8ba8e770a15f86bed19c1e57e2ff6a042be79a88f7adb1d175902abbe730e8b40695b14116631007277fe2a89334ece79e4d57a6 SHA512 7edb996a8a3f76f01b4a0750ac429dc63b19ad4b8e493cbe4f64789481cb01679bb9269c9a3fdfcd1559f2740cb19f39683a8ddf9b73d89957569bb976bd7d92

diff --git a/www-client/zen-bin/zen-bin-1.0.0_alpha39.ebuild b/www-client/zen-bin/zen-bin-1.0.0_alpha39.ebuild
new file mode 100644
index 000000000..8c0c0fb3a
--- /dev/null
+++ b/www-client/zen-bin/zen-bin-1.0.0_alpha39.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.0-a.39"
+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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-09-25 13:53 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-09-25 13:53 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-09-25 13:53 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-09-25 13:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d1d6d40649660e5283758e08efe8a8b141b2c68c
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Mon Sep 23 20:45:03 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 23 20:53:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1d6d406

www-client/zen-bin: add 1.0.1_alpha2

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

 www-client/zen-bin/Manifest                    |  2 +
 www-client/zen-bin/zen-bin-1.0.1_alpha2.ebuild | 87 ++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 1b93a01e4..080bc8fc6 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -2,3 +2,5 @@ DIST zen-bin-1.0.0_alpha34.tar.bz2 87624415 BLAKE2B e45d126415e422bb10b316da2cbe
 DIST zen-bin-1.0.0_alpha35.tar.bz2 87401631 BLAKE2B b079154b3a1b92bce2c347de77e2cf73d38b48ea55936b0cc4c5695b105af3e1140c3bfec5cffb75b61a7cb408cc1603b2eb58ff88ddbe63b0f94c4006b30ff3 SHA512 b76f632371323c22bb9a127354b4610b7ad6e13152049c1377e48224087e5d1f4224c2f6c0583a631593810d11d09dbf6a769e9726f4fa2465809afbb2ca8984
 DIST zen-bin-1.0.0_alpha37.tar.bz2 87641638 BLAKE2B f4462692bcc02827267b1abfebfc342aa17c1376036fc04a2423ee4b68d98a3c8c48145849bf8d2bd715546e00c37a14db0c83a1c8f47d019e7050fc8dc789ad SHA512 41b82350e08afb5ab3da5e5c33106bfcf85aa7395de09706eac98d91278cd1c18325efa55b4f5d951c76dff187cf79a704f785d3f604499472630a3d9306aba1
 DIST zen-bin-1.0.0_alpha39.tar.bz2 82495682 BLAKE2B c7dccc0a141fbe44949038eb8ba8e770a15f86bed19c1e57e2ff6a042be79a88f7adb1d175902abbe730e8b40695b14116631007277fe2a89334ece79e4d57a6 SHA512 7edb996a8a3f76f01b4a0750ac429dc63b19ad4b8e493cbe4f64789481cb01679bb9269c9a3fdfcd1559f2740cb19f39683a8ddf9b73d89957569bb976bd7d92
+DIST zen-bin-1.0.1_alpha2.tar.bz2 87864427 BLAKE2B aee7605a315c25f887151739fc6773ccaebcde649d6a191eb7c0db040d7ab514812e8de55a3dbcf91b1bab9305c4cb734c79463f9fc93e16f4a30fd2f4007549 SHA512 f7b2d42e932ad0c6a69e77b2adf58680b1457e49b26c9b46414dd8ff6ae779f7d9398836148b73435f1b2eef139b7c9dc36b299efc989185a1958948be1d6d4f
+DIST zen-bin-1.0.1_alpha3.tar.bz2 87628641 BLAKE2B 338bc6a7ad0c613b73b99ffab384ffd879dcb2bb6ebfc2a205dad34b071a0aa12f180352e3244a6b180ba728e523a6c746515c716c570611608f906ff7b4f20d SHA512 83b1ac59fe9ca32a48af8f84b68c32e6a6a917d0156809f0b0e70fd0dd7d31dd3275bf0da25dc2a183a485e8fc77f6445d7b09052b872552d60e4d01e6473f07

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-09-27 11:41 David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2024-09-27 11:41 UTC (permalink / raw
  To: gentoo-commits

commit:     9457a4f0fb2fd34126560ae651efae01edf37ae0
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Thu Sep 26 16:54:55 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep 26 16:55:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9457a4f0

www-client/zen-bin: add 1.0.1_alpha4, 1.0.1_alpha5

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

 www-client/zen-bin/Manifest                    |  2 +
 www-client/zen-bin/zen-bin-1.0.1_alpha4.ebuild | 87 ++++++++++++++++++++++++++
 www-client/zen-bin/zen-bin-1.0.1_alpha5.ebuild | 87 ++++++++++++++++++++++++++
 3 files changed, 176 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 080bc8fc6..2ea53d089 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -4,3 +4,5 @@ DIST zen-bin-1.0.0_alpha37.tar.bz2 87641638 BLAKE2B f4462692bcc02827267b1abfebfc
 DIST zen-bin-1.0.0_alpha39.tar.bz2 82495682 BLAKE2B c7dccc0a141fbe44949038eb8ba8e770a15f86bed19c1e57e2ff6a042be79a88f7adb1d175902abbe730e8b40695b14116631007277fe2a89334ece79e4d57a6 SHA512 7edb996a8a3f76f01b4a0750ac429dc63b19ad4b8e493cbe4f64789481cb01679bb9269c9a3fdfcd1559f2740cb19f39683a8ddf9b73d89957569bb976bd7d92
 DIST zen-bin-1.0.1_alpha2.tar.bz2 87864427 BLAKE2B aee7605a315c25f887151739fc6773ccaebcde649d6a191eb7c0db040d7ab514812e8de55a3dbcf91b1bab9305c4cb734c79463f9fc93e16f4a30fd2f4007549 SHA512 f7b2d42e932ad0c6a69e77b2adf58680b1457e49b26c9b46414dd8ff6ae779f7d9398836148b73435f1b2eef139b7c9dc36b299efc989185a1958948be1d6d4f
 DIST zen-bin-1.0.1_alpha3.tar.bz2 87628641 BLAKE2B 338bc6a7ad0c613b73b99ffab384ffd879dcb2bb6ebfc2a205dad34b071a0aa12f180352e3244a6b180ba728e523a6c746515c716c570611608f906ff7b4f20d SHA512 83b1ac59fe9ca32a48af8f84b68c32e6a6a917d0156809f0b0e70fd0dd7d31dd3275bf0da25dc2a183a485e8fc77f6445d7b09052b872552d60e4d01e6473f07
+DIST zen-bin-1.0.1_alpha4.tar.bz2 87620407 BLAKE2B ecc2610d0dd6b8eedaa082446be3229c479a129bf56a6cfc12f2766008af0e5dc37292b2e0fca4c770ef5329b662a832659732b3d695e7ee2360dbdd69718a88 SHA512 783da92aa73e4e5f3c8994fc406260a06afae71b482c08c1fc3d4f4bbd915c3a41a6e14c094427814c8c59f3375c3056dae44b4813ef9d1031e41eb19ecfff86
+DIST zen-bin-1.0.1_alpha5.tar.bz2 87666705 BLAKE2B cb4445d9f1f42cee3832d3a74866a1bed26f7ec18939c55754038e6d5a7c6a774876ba921e6c204c8e0e597f4e269bf33c345cc1afd59deeac14ef510c110cda SHA512 77a3e061d12338b47dff08e070ac58acdae7adb1b6ffd5771c99dbdc0975518e320753167b55bc0a0a32334a02f5fc026a3a5e7464038636f11f33ad08039d0e

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

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/
@ 2024-10-03  9:43 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2024-10-03  9:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4f489e20dd26af85e6851fca76622ae5076a95bd
Author:     Michal Vu <saigon-tech <AT> tuta <DOT> io>
AuthorDate: Wed Oct  2 22:29:18 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Oct  2 22:29:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f489e20

www-client/zen-bin: add 1.0.1_alpha6, 1.0.1_alpha7

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

 www-client/zen-bin/Manifest                    |  2 +
 www-client/zen-bin/zen-bin-1.0.1_alpha6.ebuild | 87 ++++++++++++++++++++++++++
 www-client/zen-bin/zen-bin-1.0.1_alpha7.ebuild | 87 ++++++++++++++++++++++++++
 3 files changed, 176 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index 2ea53d089..0b35c362c 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -6,3 +6,5 @@ DIST zen-bin-1.0.1_alpha2.tar.bz2 87864427 BLAKE2B aee7605a315c25f887151739fc677
 DIST zen-bin-1.0.1_alpha3.tar.bz2 87628641 BLAKE2B 338bc6a7ad0c613b73b99ffab384ffd879dcb2bb6ebfc2a205dad34b071a0aa12f180352e3244a6b180ba728e523a6c746515c716c570611608f906ff7b4f20d SHA512 83b1ac59fe9ca32a48af8f84b68c32e6a6a917d0156809f0b0e70fd0dd7d31dd3275bf0da25dc2a183a485e8fc77f6445d7b09052b872552d60e4d01e6473f07
 DIST zen-bin-1.0.1_alpha4.tar.bz2 87620407 BLAKE2B ecc2610d0dd6b8eedaa082446be3229c479a129bf56a6cfc12f2766008af0e5dc37292b2e0fca4c770ef5329b662a832659732b3d695e7ee2360dbdd69718a88 SHA512 783da92aa73e4e5f3c8994fc406260a06afae71b482c08c1fc3d4f4bbd915c3a41a6e14c094427814c8c59f3375c3056dae44b4813ef9d1031e41eb19ecfff86
 DIST zen-bin-1.0.1_alpha5.tar.bz2 87666705 BLAKE2B cb4445d9f1f42cee3832d3a74866a1bed26f7ec18939c55754038e6d5a7c6a774876ba921e6c204c8e0e597f4e269bf33c345cc1afd59deeac14ef510c110cda SHA512 77a3e061d12338b47dff08e070ac58acdae7adb1b6ffd5771c99dbdc0975518e320753167b55bc0a0a32334a02f5fc026a3a5e7464038636f11f33ad08039d0e
+DIST zen-bin-1.0.1_alpha6.tar.bz2 87619633 BLAKE2B 29c648225b44372471aae18f7149cbeffd52aac704e94d8169c549c3abafb5de3d5263fd78b9325e05f07308d0c2f18255c5a284e21dc46c1faa92be62559168 SHA512 773b64aa2ce071d411d9135d706e57ebdd755bf3edb3964573c95c965e13c5f82a51d713e5c53f09f1d8272c7070db5351fbe978fd0ac7a0017da9a40cef7994
+DIST zen-bin-1.0.1_alpha7.tar.bz2 87620471 BLAKE2B 8f555fc57a7f3f2199c2cca5e9cb53187f8206788abbde568dc31169378554faa9dad9acfe967024efcdb2ed57ff823b08a5764f4ad9afde0660fd812a24ea96 SHA512 a79fafada8440eee37ff77952a680e1ec0d64f753ae73971e54520b1e1915e349cdea45a6a1baf3002e80acbce2d3e6dae18a7920b891f5407ea8eff31b66101

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

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-03  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 11:41 [gentoo-commits] repo/proj/guru:master commit in: www-client/zen-bin/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-10-03  9:43 Andrew Ammerlaan
2024-09-25 13:53 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox