version bump.

This commit is contained in:
Ronald Farrer 2023-04-11 10:19:18 -07:00
parent 78ee02097b
commit 281e395417
3 changed files with 148 additions and 0 deletions

View file

@ -0,0 +1,13 @@
DEFINED_PHASES=install postinst postrm prepare setup
DESCRIPTION=Brave Web Browser
EAPI=7
HOMEPAGE=https://brave.com
INHERIT=chromium-2 xdg-utils desktop
IUSE=gnome-keyring +l10n_am +l10n_ar +l10n_bg +l10n_bn +l10n_ca +l10n_cs +l10n_da +l10n_de +l10n_el +l10n_en-GB +l10n_en-US +l10n_es +l10n_es-419 +l10n_et +l10n_fa +l10n_fi +l10n_fil +l10n_fr +l10n_gu +l10n_he +l10n_hi +l10n_hr +l10n_hu +l10n_id +l10n_it +l10n_ja +l10n_kn +l10n_ko +l10n_lt +l10n_lv +l10n_ml +l10n_mr +l10n_ms +l10n_nb +l10n_nl +l10n_pl +l10n_pt-BR +l10n_pt-PT +l10n_ro +l10n_ru +l10n_sk +l10n_sl +l10n_sr +l10n_sv +l10n_sw +l10n_ta +l10n_te +l10n_th +l10n_tr +l10n_uk +l10n_vi +l10n_zh-CN +l10n_zh-TW
KEYWORDS=amd64
LICENSE=MPL-2.0
RDEPEND=dev-libs/libpthread-stubs x11-libs/libxcb x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXi x11-libs/libXrender x11-libs/libXtst x11-libs/libxshmfence x11-libs/libXxf86vm x11-libs/libXScrnSaver x11-libs/libXrandr x11-libs/libXau x11-libs/libXdmcp x11-libs/libXinerama x11-libs/libxkbcommon dev-libs/glib dev-libs/nss dev-libs/nspr net-print/cups sys-apps/dbus dev-libs/expat media-libs/alsa-lib x11-libs/pango x11-libs/cairo dev-libs/gobject-introspection dev-libs/atk app-accessibility/at-spi2-core app-accessibility/at-spi2-atk x11-libs/gtk+ x11-libs/gdk-pixbuf dev-libs/libffi dev-libs/libpcre net-libs/gnutls sys-libs/zlib dev-libs/fribidi media-libs/harfbuzz media-libs/fontconfig media-libs/freetype x11-libs/pixman >=media-libs/libpng-1.6.34 media-libs/libepoxy dev-libs/libbsd dev-libs/libunistring dev-libs/libtasn1 dev-libs/nettle dev-libs/gmp net-dns/libidn2 media-gfx/graphite2 app-arch/bzip2
SLOT=0
SRC_URI=amd64? ( https://github.com/brave/brave-browser/releases/download/v1.50.114/brave-browser-1.50.114-linux-amd64.zip ) arm64? ( https://github.com/brave/brave-browser/releases/download/v1.50.114/brave-browser-1.50.114-linux-arm64.zip )
_eclasses_=toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib d1408425c7c4a7669b9b17735404b693 linux-info c4f1201b96a8a2c1f3b86cc8b2c71c91 chromium-2 93690d770dc2e27deaa89794e2f9fe3f xdg-utils baea6080dd821f5562d715887954c9d3 desktop 021728fdc1b03b36357dbc89489e0f0d
_md5_=3e7939187a8e7bc960b32bed0ff3bf67

View file

@ -1,4 +1,7 @@
AUX brave-bin.desktop 295 BLAKE2B ebd090de81f7d43ec81be95c56cfdfe78173f8db1f9e06f79bf585258d418a906abf4fd3f78c77c7340b8318dfeefaf701ed59c4d20a11689fdd2f69a7300d76 SHA512 c91b8c9e6a98ae88f18f4c5de8342cfb4b3031d3990416a8fa5bedb9b2924c6a4dde9f48512174b21e66e75ecb73f74c4808d4abaad115bde7e4956bb9c6ae1d
DIST brave-browser-1.50.113-linux-amd64.zip 148897746 BLAKE2B 811b166c602110e2f95cc8729572986fbddeeeed3e58dc2c720cfac9c27e528166424122ad19d3d0779cd74610a3332b8ee4fc81310b76d930b39ccf603cb3df SHA512 244b34b4a1a64328b0255d91c8bf59b4327e067fd7660c4d9041b52912e1ef41bddfd775485c3e98802c842e7f3ba7dda4e51901f5fb8543bfd70ff5cd236fdb
DIST brave-browser-1.50.113-linux-arm64.zip 149896938 BLAKE2B 4ed845e14d6802e1ee83a3e17bed9f31e0c8d181a1e2cac367e3d12845fa911c9b642b788bb5e76ec938713c0fdb8b6dc542f6a26ff59e87c5c2afaeb2d8e8e2 SHA512 26c20071731d254f2106d99827b67c0ebc8cf03f6f3622e32d6bdbea4618df7b7d2fb415a8f5fc2426153c8b560d26efa030211f86b9d06a7b240c0379aea267
DIST brave-browser-1.50.114-linux-amd64.zip 148894457 BLAKE2B e9bcfecc5ef098f767290b11d553423d35493cba27d3e90721f866e1daad46d31004e703c9ccff79418183176cf673301ec23a3ebd5eddba260c50bbdf30c1e0 SHA512 6a04b12a7d5bdae6c05d99bed7f5aa9c858347c4f46a8e67dfefc3a25ae924a4287833de16cfe4de7cf11b379e2938ea73dd1291602a6cb6a1798fc516c5fee1
DIST brave-browser-1.50.114-linux-arm64.zip 149904646 BLAKE2B 0e7b30efbaa356aff2c7ec6bfc068e60bc30241d5ff2d8a32b607b842e07458f1fea7a28b505462dfcf5a46ca2d03244cc40dc7adadd117f34efb227adefb5b1 SHA512 605d69d3dbe0f16067c82a87d2b7cf1e169561a526d149dc70c8e55cac7156b8fc6ce1a0dbe6d985ea5e4c7f1515ba0cc2343bd75bd4d99d1a392402c4d571fc
EBUILD brave-bin-1.50.113.ebuild 3198 BLAKE2B dad1fb14a78a68ea758c1cdd1a30c04c97749c3a9d5f3341ddd5df76792b15421dbf3b8f277c760e194f9e604196bd63d6a9f22c7ed83d3f0563e7eb6bb1bda1 SHA512 c037ae222abeddad163cd5e8c9f892ef0678230939060e752db5c43bf00c85c145972ac579fe8db5688f0cfeeb08720cb89e1cb0cf9360eb8d597d10caa4d33f
EBUILD brave-bin-1.50.114.ebuild 3198 BLAKE2B dad1fb14a78a68ea758c1cdd1a30c04c97749c3a9d5f3341ddd5df76792b15421dbf3b8f277c760e194f9e604196bd63d6a9f22c7ed83d3f0563e7eb6bb1bda1 SHA512 c037ae222abeddad163cd5e8c9f892ef0678230939060e752db5c43bf00c85c145972ac579fe8db5688f0cfeeb08720cb89e1cb0cf9360eb8d597d10caa4d33f

View file

@ -0,0 +1,132 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
BRAVE_PN="${PN/-bin/}"
CHROMIUM_LANGS="
am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
sw ta te th tr uk vi zh-CN zh-TW
"
inherit chromium-2 xdg-utils desktop
DESCRIPTION="Brave Web Browser"
HOMEPAGE="https://brave.com"
SRC_URI="amd64? ( https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser-${PV}-linux-amd64.zip )
arm64? ( https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser-${PV}-linux-arm64.zip )"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="gnome-keyring"
# gconf is deprecated.
# DEPEND="gnome-base/gconf:2"
RDEPEND="
${DEPEND}
dev-libs/libpthread-stubs
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libxshmfence
x11-libs/libXxf86vm
x11-libs/libXScrnSaver
x11-libs/libXrandr
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXinerama
x11-libs/libxkbcommon
dev-libs/glib
dev-libs/nss
dev-libs/nspr
net-print/cups
sys-apps/dbus
dev-libs/expat
media-libs/alsa-lib
x11-libs/pango
x11-libs/cairo
dev-libs/gobject-introspection
dev-libs/atk
app-accessibility/at-spi2-core
app-accessibility/at-spi2-atk
x11-libs/gtk+
x11-libs/gdk-pixbuf
dev-libs/libffi
dev-libs/libpcre
net-libs/gnutls
sys-libs/zlib
dev-libs/fribidi
media-libs/harfbuzz
media-libs/fontconfig
media-libs/freetype
x11-libs/pixman
>=media-libs/libpng-1.6.34
media-libs/libepoxy
dev-libs/libbsd
dev-libs/libunistring
dev-libs/libtasn1
dev-libs/nettle
dev-libs/gmp
net-dns/libidn2
media-gfx/graphite2
app-arch/bzip2
"
QA_PREBUILT="*"
S=${WORKDIR}
src_prepare() {
pushd "${S}/locales" > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die
default
}
src_install() (
shopt -s extglob
declare BRAVE_HOME=/opt/${BRAVE_PN}
dodir ${BRAVE_HOME%/*}
insinto ${BRAVE_HOME}
doins -r *
# Brave has a bug in 1.27.105 where it needs crashpad_handler chmodded
# Delete crashpad_handler when https://github.com/brave/brave-browser/issues/16985 is resolved.
exeinto ${BRAVE_HOME}
doexe brave chrome_crashpad_handler
dosym ${BRAVE_HOME}/brave /usr/bin/${PN} || die
# Install Icons for Brave.
newicon "${WORKDIR}/product_logo_128.png" "${PN}.png" || die
newicon -s 128 "${WORKDIR}/product_logo_128.png" "${PN}.png" || die
# install-xattr doesnt approve using domenu or doins from FILESDIR
cp "${FILESDIR}"/${PN}.desktop "${S}"
domenu "${S}"/${PN}.desktop
)
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
elog "If upgrading from an 0.25.x release or earlier, note that Brave has changed configuration folders."
elog "you will have to import your browser data from Settings -> People -> Import Bookmarks and Settings"
elog "then choose \"Brave (old)\". All your settings, bookmarks, and passwords should return."
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}