ceres-ebuilds/www-client/zen-browser/zen-browser-9999.ebuild
2025-08-19 14:58:56 +01:00

43 lines
No EOL
843 B
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_CLONE_TYPE=shallow
EPYTHON=/usr/bin/python
PYTHON_COMPAT=( python3_{10..13} )
inherit git-r3
RESTRICT=network-sandbox
DESCRIPTION="Welcome to a calmer internet "
HOMEPAGE="https://zen-browser.app"
EGIT_REPO_URI="https://github.com/zen-browser/desktop.git"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
DEPEND=""
RDEPEND=${DEPEND}
BDEPEND="dev-vcs/git
net-misc/curl
dev-lang/python
dev-python/pip
net-libs/nodejs[npm]
dev-util/cbindgen
dev-util/bindgen"
src_prepare() {
npm i || die
npm run init || die
python ./scripts/update_en_US_packs.py || die
eapply_user
}
src_compile() {
npm run build --with-libclang-path=/usr/lib/clang || die
}