mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
chromium: update to 84.0.4147.105.
[ci skip] - Built for x86_64 and x86_64-musl. - Tested on x86_64. - Drop unnecessary secure_getenv musl patch. - Turn on js_optimize by default. - Use system libvpx - Cleanup patching
This commit is contained in:
parent
d8fe5c95ad
commit
8661b7571c
2 changed files with 12 additions and 27 deletions
|
@ -1,13 +0,0 @@
|
||||||
--- third_party/angle/third_party/vulkan-loader/src/BUILD.gn.orig 2020-02-08 16:16:30.786747326 -0500
|
|
||||||
+++ third_party/angle/third_party/vulkan-loader/src/BUILD.gn 2020-02-08 16:17:02.682797286 -0500
|
|
||||||
@@ -59,10 +59,6 @@
|
|
||||||
if (is_win) {
|
|
||||||
cflags = [ "/wd4201" ]
|
|
||||||
}
|
|
||||||
- if (is_linux) {
|
|
||||||
- # assume secure_getenv() is available
|
|
||||||
- defines += [ "HAVE_SECURE_GETENV" ]
|
|
||||||
- }
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!is_android) {
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'chromium'
|
# Template file for 'chromium'
|
||||||
pkgname=chromium
|
pkgname=chromium
|
||||||
# See http://www.chromium.org/developers/calendar for the latest version
|
# See http://www.chromium.org/developers/calendar for the latest version
|
||||||
version=84.0.4147.89
|
version=84.0.4147.105
|
||||||
revision=1
|
revision=1
|
||||||
archs="i686* x86_64* aarch64* armv7l*"
|
archs="i686* x86_64* aarch64* armv7l*"
|
||||||
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://www.chromium.org/"
|
homepage="https://www.chromium.org/"
|
||||||
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
|
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
|
||||||
checksum=17970d998c125b40765141f2cd346d1674f05dbd4a28fdcf31f9e3540890c679
|
checksum=caf4ebeb2a2333454c3067a2534aeecaab5029aa78fc0d8b27f79ad3b9c5ccac
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
@ -34,24 +34,22 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
|
||||||
libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
|
libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
|
||||||
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
|
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
|
||||||
re2-devel fontconfig-devel freetype-devel opus-devel
|
re2-devel fontconfig-devel freetype-devel opus-devel
|
||||||
ffmpeg-devel libva-devel python-setuptools xcb-proto $(vopt_if sndio sndio-devel)"
|
ffmpeg-devel libvpx-devel libva-devel python-setuptools xcb-proto
|
||||||
|
$(vopt_if sndio sndio-devel)"
|
||||||
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
|
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
|
||||||
|
|
||||||
build_options_default="clang pulseaudio vaapi"
|
build_options_default="clang js_optimize vaapi pulseaudio"
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
post_patch() {
|
||||||
x86_64|i686) build_options_default+=" js_optimize" ;;
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
esac
|
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
|
||||||
*-musl)
|
|
||||||
for f in "${FILESDIR}"/musl-patches/*.patch; do
|
for f in "${FILESDIR}"/musl-patches/*.patch; do
|
||||||
echo "Applying $f"
|
echo "Applying $f"
|
||||||
patch -Np0 -i "$f"
|
patch -Np0 -i "$f"
|
||||||
done
|
done
|
||||||
;;
|
fi
|
||||||
i686)
|
|
||||||
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
i686*)
|
||||||
for f in "${FILESDIR}"/i686-patches/*.patch; do
|
for f in "${FILESDIR}"/i686-patches/*.patch; do
|
||||||
echo "Applying $f"
|
echo "Applying $f"
|
||||||
patch -Np0 -i "$f"
|
patch -Np0 -i "$f"
|
||||||
|
@ -98,7 +96,6 @@ do_configure() {
|
||||||
# use_system_protobuf
|
# use_system_protobuf
|
||||||
# use_system_v8=1
|
# use_system_v8=1
|
||||||
# use_system_zlib=1
|
# use_system_zlib=1
|
||||||
# use_system_libvpx=1
|
|
||||||
# bzip2 jsoncpp minizip xdg_utils speex
|
# bzip2 jsoncpp minizip xdg_utils speex
|
||||||
system="
|
system="
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
@ -109,6 +106,7 @@ do_configure() {
|
||||||
libevent
|
libevent
|
||||||
libjpeg
|
libjpeg
|
||||||
libpng
|
libpng
|
||||||
|
libvpx
|
||||||
libwebp
|
libwebp
|
||||||
libxml
|
libxml
|
||||||
libxslt
|
libxslt
|
||||||
|
|
Loading…
Add table
Reference in a new issue