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 1481015808B for ; Wed, 2 Oct 2024 22:31:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14CC1E29B6; Wed, 2 Oct 2024 22:31:26 +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 E3CE2E29B6 for ; Wed, 2 Oct 2024 22:31:25 +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 E160C34068A for ; Wed, 2 Oct 2024 22:31:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29F80BE7 for ; Wed, 2 Oct 2024 22:31:23 +0000 (UTC) From: "Michal Vu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michal Vu" Message-ID: <1727908187.4f489e20dd26af85e6851fca76622ae5076a95bd.saigon-tech@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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_alpha6.ebuild www-client/zen-bin/zen-bin-1.0.1_alpha7.ebuild X-VCS-Directories: www-client/zen-bin/ X-VCS-Committer: saigon-tech X-VCS-Committer-Name: Michal Vu X-VCS-Revision: 4f489e20dd26af85e6851fca76622ae5076a95bd X-VCS-Branch: dev Date: Wed, 2 Oct 2024 22:31:23 +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: 76e129b6-9b78-40d9-8631-ddc760cb29cb X-Archives-Hash: 17b286eb6c44b0b79adedaeead8847ad commit: 4f489e20dd26af85e6851fca76622ae5076a95bd Author: Michal Vu tuta io> AuthorDate: Wed Oct 2 22:29:18 2024 +0000 Commit: Michal Vu tuta io> 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 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 +}