mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
www-client/zen-bin: Add add 1.18.9b, drop old
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1,16 +1,4 @@
|
||||
DIST zen-bin-1.17.13b-amd64.tar.xz 84488876 BLAKE2B 141553bced97bdaf23f182638ab7fcf0b11878c31dc729a3ac917fa28ddc595242e2b500dd3df6cadbd8b75436a2638719104b1439633339dc57bc4d1d834b8e SHA512 dd4c73770a00ff3a2b1b7c9df99438e376d0bdb2acaf59b6175e74edd23ad57e7daf41100526cd4c53b4417ee86415915539a835a127ee947588d540fcd411e8
|
||||
DIST zen-bin-1.17.13b-arm64.tar.xz 72447292 BLAKE2B 6e69d427cff4abb63fa8659c3010e3be314f16b4cb46a654284de53f4f49b21b79452ae3a17a21eb63a3d94badfc415077e9897da92751d17d242a23c5e54396 SHA512 df5196df5642c38750bc5c91cdb8c96478371ae18472ddb916994f66a960501c5ea42d23f1139eb3f3987f21467ced507f03d010bd5105e99bd43258ae5da6cd
|
||||
DIST zen-bin-1.17.14b-amd64.tar.xz 84449136 BLAKE2B 1ad706184dc6728846e01f476fa6815268e27f2a4b4033d2e6298e85d4a80ee3a4e71002b4a6fb57837e172e7166aad060b0b87c7b714d267dd3741e7dc53bf1 SHA512 2a150cee6a897ef627a07e2bfed50d0ea2511a7db53364d3c89f4331853e442326c6567c5ad05a190b2a8a45d282e7e0d84068875e1b8c9a9b41e2a41dd6d4e6
|
||||
DIST zen-bin-1.17.14b-arm64.tar.xz 72488064 BLAKE2B 6f7e74b1d3f48bf4a350aaf65bb37dc12dd10d0b23e41a8c9e5680f2af5113378de004ba398d935fd185850c6b46fd4441cd58c75ac45d3eab66c651ce8d2401 SHA512 7346aaa96c98675b4f72e21ec92d42a7c1e2f1ea0adfc7a3c7144bdb2e09557ede44abfa95543c28882340d5b55bb29c73a4c01cef5dcb510f852aa3be6be5bf
|
||||
DIST zen-bin-1.17.15b-amd64.tar.xz 85222788 BLAKE2B 602a150033aa5c3fb27c50af7071c8f8a8109303078ca9e7ffec9e312a5a3c66820bc7e759c2bb1563c4c3fdd85ddc5b3ea7586cd5c5917977e1fd5a680fb22c SHA512 21980103847dd15fce891cf6d818bc08cedf0b0eeb58e90601f53f5988f6d984a1d655656144853721d24da88f9dc13d9f7b00f892b23bba891d6dbffd718ff1
|
||||
DIST zen-bin-1.17.15b-arm64.tar.xz 73430572 BLAKE2B 98ab6f33acc8a760c70698274cf9719540baaee5a324dbd1b40715e0beda83d1955540503d722e83fc24a8fada5008e7a9f25006f52ab720ded93f7694383d83 SHA512 45eb1c158fac0326e78a60760f73254c020d52640d8f950b6bdd3d737e956a817e6d469243472da2a8d72187e75d02554b063a014d171aa35ee16769f22ee140
|
||||
DIST zen-bin-1.18.1b-amd64.tar.xz 86003664 BLAKE2B c2223c235b290fb6ace8909ea05f817c828b034c701be38e4d7077109ab11bc6d18dafc1b8be7d43e2b75418760fee9bc1ed166244be09985717ca42ff979615 SHA512 c8b1193370cdf0ea54549682eabcb42660491ba28469f09e11178647e07a6d23f57a415d987749100a9d130828d62efb05c814932847de0d2adc0039baf6cd3b
|
||||
DIST zen-bin-1.18.1b-arm64.tar.xz 73990380 BLAKE2B fe4fc413e8e22554e25822fc5c1cf73fe1fc8d0091648f70f8667936341269674fa429c24ba93b6b04e9e433ad601a1a502aa08a4a2134717b7d86b59fc47497 SHA512 374f16cb19d63699d43ac7bd8c58acd751aef9aed8cd8b7b141347b7c85cf26a7fa56525d853af0b0c059dacdf9b221a995d51c44a0a2fa2ca21f64194701189
|
||||
DIST zen-bin-1.18.2b-amd64.tar.xz 86059980 BLAKE2B e965579b0cf1ba2496e487eea18c8fd55b02ee73558e35a6d4fecdd6c9d02ff89992f4e8e8c8989b8cead3578bb7419499c2fc8a791ac748f559856ddeb1ac96 SHA512 0e31e1579fdb49bc8cc3d8a65bc3524f8115aa833da81cda599b1c5538988fd146ab21cf43ae9554bc5f7e08e35915922c8972ef9d7cf82a64237b9e40d02561
|
||||
DIST zen-bin-1.18.2b-arm64.tar.xz 74059692 BLAKE2B 4c935222983c7509668c4ace7b4a8145c530700bf31543c05b5803bf10c9bb880af8e5a88e16196bd034a0b2b326dd327270a4a6494f939b21995f54b9e4e7b6 SHA512 5c88164ff3195e0ef7e611a80b2e8cf413b2264e6cd6d3d31758af2237bc400ef62082c4a0ea500a3a30dee5b318dc8fd7c46ad32bd618a0f6e3c7f9b80cb27f
|
||||
DIST zen-bin-1.18.4b-amd64.tar.xz 86018588 BLAKE2B e101b1275ee886d065836c485f428d7b165890a1b0b29a99b853406f80d28624f2c36d995b35179ca68abfc88c5ef81329723c20f8b7bd5a127362d7ee77370d SHA512 4ca8b22ca5ebe5d6e7e4a2665fd841f812259434835b8e7a918258b36df03a14babb5d090f0c4bf2bd7b385873ef0d7fb20e1169434fc16cb4685c2ab4709519
|
||||
DIST zen-bin-1.18.4b-arm64.tar.xz 74056516 BLAKE2B aaab7354b19f9ae9aa76834870fdbbd3ebf5329e90a1b8d7ae822464a08487485b6a141b93d25bebd36a4bd2c02b7fedcab6da251f61e321b72afab335df0c9a SHA512 df99e8ed2ba23be7166d19a3a0a21e4e7b1529252cc142fafaab0d6a7cb14999644a8da47eaa2935324555273e8c2e26671a9d840f4afc3aeedf41c7f2023320
|
||||
DIST zen-bin-1.18.7b-amd64.tar.xz 86208064 BLAKE2B 7d1f3b2101f49253aeed47860b5e4f1dacef763f2a8d8b7e5448cf0d0a5aff1c82e877eea4b66c4a7b12f38139a5c9cca856456d11837033ae904d300071c964 SHA512 336d144b1798b74d7e6e2567b64faad7fd8bf359795cfb0beaa4034a6bfe45d9a799ba52195d1f343ee2f961cef7105b68ec8eff10f7bd3415008b738fa88006
|
||||
DIST zen-bin-1.18.7b-arm64.tar.xz 74160604 BLAKE2B d414b9a40f28cf962636e526359a5d860df532a96c7f932e52c2942e75bfffff809ff1e1d9c2f22c0f1f55fb3341914ccdf37c9317f0da2786a8f8103d12d4e5 SHA512 4d9d27f595eb57387a1e49fa020ea7fb533bf551d19db9065232f08acd12d8aaa5a887eac43883b24476e6121362d0ee9d393ca8337d73f0c7ac9acc83f9951d
|
||||
DIST zen-bin-1.18.8b-amd64.tar.xz 86183484 BLAKE2B 497822f3d905fce29eb90cc1513b2b5a88eebb4f082c1e071c11a56832c7e49280060196615de678b525f0029ed035367befa9beeb7950d18c409525696f94da SHA512 a632deec19ef004ea7c75ce3034a1d7c55b1b6241010531cecbeaec80d01d65ac7679fb79f198630d50c1ada9a6532fd88dfd03814148902b7eb8fc24241c8d5
|
||||
DIST zen-bin-1.18.8b-arm64.tar.xz 146751 BLAKE2B d053108e432591a17ad764be0135bacc19163a9e4d0a104ce6c099e73f7186dd6c122285c816ffd8afa174a59b5e12bdb5288bc0fb574e694cafb65bb56c5a88 SHA512 56ee182218275cb84fea430ce9c06cc8a8390aac3cc81fff5c79a61d70fa7a5281996624d1d845c358a4f2eca8f59d59abdac94e7358a83f674f9430c8af5820
|
||||
DIST zen-bin-1.18.9b-amd64.tar.xz 86200708 BLAKE2B 5634a8eec857e446aa3924413c809b8b3d8ce8a6b5c0a7bbf2cd6f66e4d5dd6f7425a23b48f6942128f3ecc2bd711e868eb3053e7ff74f32db2693930c35d1fe SHA512 ae61ebb3bda7d028eeadd5b13c869bce021170288858a5b18df1448f35cff450dd614c2a9f465cb1aadb9fb666adff52ebec10f729c2130b73291c2d0da0ced2
|
||||
DIST zen-bin-1.18.9b-arm64.tar.xz 74140164 BLAKE2B b012d76a1ea3d544dc7918fffd777d5e14a609457efd4d6cad4aeabbb20c0cc82121539c429aec756229c050b21f7907f182bf6f710b65aa091e1ba05b949b0f SHA512 e731560eb724b3e9463ac222628305bc046ba0f28248df3d1efcda85cb7fa6c8b3b2ad8a7f693b07ed27a45cec2ec5a0c76656a6c4ff8023f6a5a40c018a66ee
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
|
||||
HOMEPAGE="https://zen-browser.app/"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
|
||||
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
|
||||
"
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND="
|
||||
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
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -63,7 +63,7 @@ src_install() {
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}/desktop_options")"
|
||||
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}"/desktop_options)"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
Reference in New Issue
Block a user