|
@@ -3,11 +3,11 @@
|
|
# Derived from official Chromium and Inox PKGBUILDS and ungoogled-chromium buildkit
|
|
# Derived from official Chromium and Inox PKGBUILDS and ungoogled-chromium buildkit
|
|
|
|
|
|
pkgname=ungoogled-chromium
|
|
pkgname=ungoogled-chromium
|
|
-pkgver=83.0.4103.61
|
|
|
|
|
|
+pkgver=83.0.4103.97
|
|
pkgrel=1
|
|
pkgrel=1
|
|
# sometimes an ungoogled patches can be combined with a new chromium release
|
|
# sometimes an ungoogled patches can be combined with a new chromium release
|
|
# only if the release only includes security fixes
|
|
# only if the release only includes security fixes
|
|
-_ungoogled_ver=83.0.4103.61-1
|
|
|
|
|
|
+_ungoogled_ver=83.0.4103.97-1
|
|
_launcher_ver=6
|
|
_launcher_ver=6
|
|
pkgdesc="A lightweight approach to removing Google web service dependency"
|
|
pkgdesc="A lightweight approach to removing Google web service dependency"
|
|
arch=('x86_64')
|
|
arch=('x86_64')
|
|
@@ -43,8 +43,8 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
|
|
v8-remove-soon-to-be-removed-getAllFieldPositions.patch
|
|
v8-remove-soon-to-be-removed-getAllFieldPositions.patch
|
|
chromium-83-gcc-10.patch
|
|
chromium-83-gcc-10.patch
|
|
chromium-skia-harmony.patch)
|
|
chromium-skia-harmony.patch)
|
|
-sha256sums=('4961f20c4ee6a94490e823f1b1c4128147068f1ce9cfc509e81815f2101405bc'
|
|
|
|
- '6097c563d883a003cf5e16448e2b2cd08204e2f3c87c500aef21325c3c29da43'
|
|
|
|
|
|
+sha256sums=('12c405f61284cfc78f8c2b6600f3c1ae61a83b639c41087bb4f74fcaab036f83'
|
|
|
|
+ '21767f015d14d024884b8780a975f0d8b4b2e31dd11d5eaec6a09938a5a2480f'
|
|
'04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
|
|
'04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
|
|
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
|
|
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
|
|
'0ec6ee49113cc8cc5036fa008519b94137df6987bf1f9fbffb2d42d298af868a'
|
|
'0ec6ee49113cc8cc5036fa008519b94137df6987bf1f9fbffb2d42d298af868a'
|
|
@@ -198,7 +198,6 @@ build() {
|
|
'linux_use_bundled_binutils=false'
|
|
'linux_use_bundled_binutils=false'
|
|
'use_custom_libcxx=false'
|
|
'use_custom_libcxx=false'
|
|
'use_vaapi=true'
|
|
'use_vaapi=true'
|
|
- 'enable_swiftshader=false'
|
|
|
|
)
|
|
)
|
|
|
|
|
|
if [[ -n ${_system_libs[icu]+set} ]]; then
|
|
if [[ -n ${_system_libs[icu]+set} ]]; then
|
|
@@ -248,22 +247,42 @@ package() {
|
|
install -Dm644 chrome/app/resources/manpage.1.in \
|
|
install -Dm644 chrome/app/resources/manpage.1.in \
|
|
"$pkgdir/usr/share/man/man1/chromium.1"
|
|
"$pkgdir/usr/share/man/man1/chromium.1"
|
|
sed -i \
|
|
sed -i \
|
|
- -e "s/@@MENUNAME@@/Chromium/g" \
|
|
|
|
- -e "s/@@PACKAGE@@/chromium/g" \
|
|
|
|
- -e "s/@@USR_BIN_SYMLINK_NAME@@/chromium/g" \
|
|
|
|
|
|
+ -e 's/@@MENUNAME@@/Chromium/g' \
|
|
|
|
+ -e 's/@@PACKAGE@@/chromium/g' \
|
|
|
|
+ -e 's/@@USR_BIN_SYMLINK_NAME@@/chromium/g' \
|
|
"$pkgdir/usr/share/applications/chromium.desktop" \
|
|
"$pkgdir/usr/share/applications/chromium.desktop" \
|
|
"$pkgdir/usr/share/man/man1/chromium.1"
|
|
"$pkgdir/usr/share/man/man1/chromium.1"
|
|
|
|
|
|
- cp \
|
|
|
|
- out/Release/{chrome_{100,200}_percent,resources}.pak \
|
|
|
|
- out/Release/{*.bin,chromedriver} \
|
|
|
|
- "$pkgdir/usr/lib/chromium/"
|
|
|
|
- install -Dm644 -t "$pkgdir/usr/lib/chromium/locales" out/Release/locales/*.pak
|
|
|
|
|
|
+ install -Dm644 chrome/installer/linux/common/chromium-browser/chromium-browser.appdata.xml \
|
|
|
|
+ "$pkgdir/usr/share/metainfo/chromium.appdata.xml"
|
|
|
|
+ sed -ni \
|
|
|
|
+ -e 's/chromium-browser\.desktop/chromium.desktop/' \
|
|
|
|
+ -e '/<update_contact>/d' \
|
|
|
|
+ -e '/<p>/N;/<p>\n.*\(We invite\|Chromium supports Vorbis\)/,/<\/p>/d' \
|
|
|
|
+ -e '/^<?xml/,$p' \
|
|
|
|
+ "$pkgdir/usr/share/metainfo/chromium.appdata.xml"
|
|
|
|
+
|
|
|
|
+ local toplevel_files=(
|
|
|
|
+ chrome_100_percent.pak
|
|
|
|
+ chrome_200_percent.pak
|
|
|
|
+ resources.pak
|
|
|
|
+ v8_context_snapshot.bin
|
|
|
|
+
|
|
|
|
+ # ANGLE
|
|
|
|
+ libEGL.so
|
|
|
|
+ libGLESv2.so
|
|
|
|
+
|
|
|
|
+ chromedriver
|
|
|
|
+ )
|
|
|
|
|
|
if [[ -z ${_system_libs[icu]+set} ]]; then
|
|
if [[ -z ${_system_libs[icu]+set} ]]; then
|
|
- cp out/Release/icudtl.dat "$pkgdir/usr/lib/chromium/"
|
|
|
|
|
|
+ toplevel_files+=(icudtl.dat)
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+ cp "${toplevel_files[@]/#/out/Release/}" "$pkgdir/usr/lib/chromium/"
|
|
|
|
+ install -Dm644 -t "$pkgdir/usr/lib/chromium/locales" out/Release/locales/*.pak
|
|
|
|
+ install -Dm755 -t "$pkgdir/usr/lib/chromium/swiftshader" out/Release/swiftshader/*.so
|
|
|
|
+
|
|
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" \
|
|
install -Dm644 "chrome/app/theme/chromium/product_logo_$size.png" \
|
|
"$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
|
|
"$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
|