mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
chromium: update to 83.0.4103.97.
[ci skip] - Built for x86_64, x86_64-musl. - Tested on x86_64. - Add missing swiftshader libraries. - Only copy *.pak locale files (don't need *.info). - Use vcopy and vinstall instead of cp and install.
This commit is contained in:
parent
d7fcfdfc1c
commit
d9e1056e28
1 changed files with 20 additions and 10 deletions
|
@ -1,15 +1,15 @@
|
||||||
# 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=83.0.4103.61
|
version=83.0.4103.97
|
||||||
revision=2
|
revision=1
|
||||||
archs="i686 x86_64*"
|
archs="i686 x86_64*"
|
||||||
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"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
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=4961f20c4ee6a94490e823f1b1c4128147068f1ce9cfc509e81815f2101405bc
|
checksum=12c405f61284cfc78f8c2b6600f3c1ae61a83b639c41087bb4f74fcaab036f83
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
|
@ -165,7 +165,7 @@ do_configure() {
|
||||||
'enable_hangout_services_extension=true'
|
'enable_hangout_services_extension=true'
|
||||||
'is_desktop_linux=true'
|
'is_desktop_linux=true'
|
||||||
)
|
)
|
||||||
|
|
||||||
conf+=(
|
conf+=(
|
||||||
"use_vaapi=$(vopt_if vaapi true false)"
|
"use_vaapi=$(vopt_if vaapi true false)"
|
||||||
)
|
)
|
||||||
|
@ -239,21 +239,31 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall out/Release/chrome 755 usr/lib/${pkgname} ${pkgname}
|
vinstall out/Release/chrome 755 usr/lib/${pkgname} ${pkgname}
|
||||||
vinstall out/Release/chromedriver 755 usr/lib/${pkgname} chromedriver
|
vinstall out/Release/chromedriver 755 usr/lib/${pkgname} chromedriver
|
||||||
|
vinstall out/Release/libEGL.so 755 usr/lib/${pkgname} libEGL.so
|
||||||
|
vinstall out/Release/libGLESv2.so 755 usr/lib/${pkgname} libGLESv2.so
|
||||||
|
|
||||||
cp out/Release/{*.pak,*.bin} ${DESTDIR}/usr/lib/chromium
|
vcopy "out/Release/*.bin" usr/lib/chromium
|
||||||
cp -a out/Release/locales ${DESTDIR}/usr/lib/chromium
|
vcopy "out/Release/*.pak" usr/lib/chromium
|
||||||
|
|
||||||
|
vmkdir usr/lib/chromium/locales
|
||||||
|
vcopy "out/Release/locales/*.pak" usr/lib/chromium/locales
|
||||||
|
|
||||||
|
vmkdir usr/lib/chromium/swiftshader
|
||||||
|
vcopy "out/Release/swiftshader/*.so" usr/lib/chromium/swiftshader
|
||||||
|
|
||||||
vinstall ${FILESDIR}/chromium.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/chromium.desktop 644 usr/share/applications
|
||||||
|
|
||||||
vinstall out/Release/icudtl.dat 0644 usr/lib/chromium
|
vinstall out/Release/icudtl.dat 0644 usr/lib/chromium
|
||||||
|
|
||||||
for size in 24 48 64 128 256; do
|
for size in 24 48 64 128 256; do
|
||||||
install -Dm644 "chrome/app/theme/chromium/product_logo_${size}.png" \
|
vinstall "chrome/app/theme/chromium/product_logo_${size}.png" \
|
||||||
${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
|
644 \
|
||||||
|
usr/share/icons/hicolor/${size}x${size}/apps chromium.png
|
||||||
done
|
done
|
||||||
for size in 16 32; do
|
for size in 16 32; do
|
||||||
install -Dm644 "chrome/app/theme/default_100_percent/chromium/product_logo_${size}.png" \
|
vinstall "chrome/app/theme/default_100_percent/chromium/product_logo_${size}.png" \
|
||||||
${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png
|
644 \
|
||||||
|
usr/share/icons/hicolor/${size}x${size}/apps chromium.png
|
||||||
done
|
done
|
||||||
|
|
||||||
vbin ${FILESDIR}/chromium.sh chromium
|
vbin ${FILESDIR}/chromium.sh chromium
|
||||||
|
|
Loading…
Add table
Reference in a new issue