www-client/brave-bin: treeclean
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
6e3d631d81
commit
29878edb17
@ -1,2 +0,0 @@
|
||||
DIST brave-bin-1.12.77.zip 105335718 BLAKE2B ceb862da4a37251ed1f0d3b78fbe98d2a5c8e548b9beabbfb623c7d39f9429fac95b425c1b8f70ed9ac652991912165fe5aaee3493006b128345b6c069cb2ede SHA512 85156f38d743061ec28e49ff52bc63d74801e0181dfc22fbedfc3cf3450189f035360395dc8369c2742188011421e4c41dcc29f0b23f4772a666e9bf132ce433
|
||||
DIST brave-bin-1.12.78.zip 105406124 BLAKE2B 2eefa972fccad821564b06a877a185eea0107600dd1c45e0bd91b04af15ba446502e41f4f1b758c0cd22e0889518f325a2756d284a33992a4212ae96897359bd SHA512 046ca3f163e364c60bacd3692a37b3cd5db5542d3320dc4fc3ff0a4685d356fcd8dedff89201633b4035b3e3a0d94226bf2328882d085972c7a91615feca34f0
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# 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 desktop xdg
|
||||
|
||||
DESCRIPTION="Brave Web Browser"
|
||||
HOMEPAGE="https://brave.com"
|
||||
SRC_URI="https://github.com/brave/brave-browser/releases/download/v${PV}/brave-v${PV}-linux-x64.zip -> ${P}.zip"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
DEPEND="
|
||||
!www-client/brave
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=media-libs/libpng-1.6.34
|
||||
>=net-print/cups-2.0.0
|
||||
app-accessibility/at-spi2-atk
|
||||
app-accessibility/at-spi2-core
|
||||
app-arch/bzip2
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/fribidi
|
||||
dev-libs/glib
|
||||
dev-libs/gmp
|
||||
dev-libs/gobject-introspection
|
||||
dev-libs/libbsd
|
||||
dev-libs/libffi
|
||||
dev-libs/libpcre
|
||||
dev-libs/libpthread-stubs
|
||||
dev-libs/libtasn1
|
||||
dev-libs/libunistring
|
||||
dev-libs/nettle
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-gfx/graphite2
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz
|
||||
media-libs/libepoxy
|
||||
net-dns/libidn2
|
||||
net-libs/gnutls
|
||||
sys-libs/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
pushd "${S}/locales" >/dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd >/dev/null || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare BRAVE_HOME="/opt/${BRAVE_PN}"
|
||||
|
||||
dodir "${BRAVE_HOME%/*}"
|
||||
|
||||
insinto "${BRAVE_HOME}"
|
||||
doins -r *
|
||||
|
||||
exeinto "${BRAVE_HOME}"
|
||||
doexe brave
|
||||
|
||||
dosym "${BRAVE_HOME}/brave" "/usr/bin/${BRAVE_PN}" || die
|
||||
dosym "${BRAVE_HOME}/brave" "/usr/bin/${PN}" || die
|
||||
|
||||
make_desktop_entry "brave" "Brave" "brave" "Network;WebBrowser;"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# 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 desktop xdg
|
||||
|
||||
DESCRIPTION="Brave Web Browser"
|
||||
HOMEPAGE="https://brave.com"
|
||||
SRC_URI="https://github.com/brave/brave-browser/releases/download/v${PV}/brave-v${PV}-linux-x64.zip -> ${P}.zip"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
"
|
||||
DEPEND="
|
||||
!www-client/brave
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=media-libs/libpng-1.6.34
|
||||
>=net-print/cups-2.0.0
|
||||
app-accessibility/at-spi2-atk
|
||||
app-accessibility/at-spi2-core
|
||||
app-arch/bzip2
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/fribidi
|
||||
dev-libs/glib
|
||||
dev-libs/gmp
|
||||
dev-libs/gobject-introspection
|
||||
dev-libs/libbsd
|
||||
dev-libs/libffi
|
||||
dev-libs/libpcre
|
||||
dev-libs/libpthread-stubs
|
||||
dev-libs/libtasn1
|
||||
dev-libs/libunistring
|
||||
dev-libs/nettle
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-gfx/graphite2
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz
|
||||
media-libs/libepoxy
|
||||
net-dns/libidn2
|
||||
net-libs/gnutls
|
||||
sys-libs/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
x11-libs/pixman
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
pushd "${S}/locales" >/dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd >/dev/null || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare BRAVE_HOME="/opt/${BRAVE_PN}"
|
||||
|
||||
dodir "${BRAVE_HOME%/*}"
|
||||
|
||||
insinto "${BRAVE_HOME}"
|
||||
doins -r *
|
||||
|
||||
exeinto "${BRAVE_HOME}"
|
||||
doexe brave
|
||||
|
||||
dosym "${BRAVE_HOME}/brave" "/usr/bin/${BRAVE_PN}" || die
|
||||
dosym "${BRAVE_HOME}/brave" "/usr/bin/${PN}" || die
|
||||
|
||||
make_desktop_entry "brave" "Brave" "brave" "Network;WebBrowser;"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">brave/brave-browser</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user