/diff.patch Secret
Created
June 15, 2019 10:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- chromium/PKGBUILD 2019-06-15 06:57:03.075967366 -0400 | |
+++ chromium-no-extras/PKGBUILD 2019-06-15 06:49:04.571694802 -0400 | |
@@ -3,17 +3,20 @@ | |
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> | |
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> | |
-pkgname=chromium | |
+pkgname=chromium-no-extras | |
+_pkgname=chromium | |
pkgver=75.0.3770.90 | |
pkgrel=2 | |
_launcher_ver=6 | |
-pkgdesc="A web browser built for speed, simplicity, and security" | |
+pkgdesc="Chromium without hangout services, widevine, pipewire" | |
arch=('x86_64') | |
url="https://www.chromium.org/Home" | |
license=('BSD') | |
+provides=(chromium=$pkgver) | |
+conflicts=(chromium=$pkgver) | |
depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt' | |
'ttf-font' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib' | |
- 'pipewire' 'desktop-file-utils' 'hicolor-icon-theme') | |
+ 'desktop-file-utils' 'hicolor-icon-theme') | |
makedepends=('python' 'python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git' | |
'clang' 'lld' 'gn' 'java-runtime-headless') | |
optdepends=('pepper-flash: support for Flash content' | |
@@ -21,7 +24,7 @@ optdepends=('pepper-flash: support for F | |
'gnome-keyring: for storing passwords in GNOME keyring' | |
'kwallet: for storing passwords in KWallet') | |
install=chromium.install | |
-source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz | |
+source=(https://commondatastorage.googleapis.com/chromium-browser-official/$_pkgname-$pkgver.tar.xz | |
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz | |
chromium-system-icu.patch | |
libstdc-do-not-assume-unique_ptr-has-ostream-operator.patch | |
@@ -72,7 +75,7 @@ _google_default_client_id=413772536636.a | |
_google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4 | |
prepare() { | |
- cd "$srcdir/$pkgname-$pkgver" | |
+ cd "$srcdir/$_pkgname-$pkgver" | |
# Allow building against system libraries in official builds | |
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \ | |
@@ -125,7 +128,7 @@ prepare() { | |
build() { | |
make -C chromium-launcher-$_launcher_ver | |
- cd "$srcdir/$pkgname-$pkgver" | |
+ cd "$srcdir/$_pkgname-$pkgver" | |
if check_buildoption ccache y; then | |
# Avoid falling back to preprocessor mode when sources contain time macros | |
@@ -146,15 +149,13 @@ build() { | |
'fieldtrial_testing_like_official_build=true' | |
'ffmpeg_branding="Chrome"' | |
'proprietary_codecs=true' | |
- 'rtc_use_pipewire=true' | |
- 'rtc_link_pipewire=true' | |
'link_pulseaudio=true' | |
'use_gnome_keyring=false' | |
'use_sysroot=false' | |
'linux_use_bundled_binutils=false' | |
'use_custom_libcxx=false' | |
- 'enable_hangout_services_extension=true' | |
- 'enable_widevine=true' | |
+ 'enable_hangout_services_extension=false' | |
+ 'enable_widevine=false' | |
'enable_nacl=false' | |
'enable_swiftshader=false' | |
"google_api_key=\"${_google_api_key}\"" | |
@@ -186,7 +187,7 @@ package() { | |
install -Dm644 LICENSE \ | |
"$pkgdir/usr/share/licenses/chromium/LICENSE.launcher" | |
- cd "$srcdir/$pkgname-$pkgver" | |
+ cd "$srcdir/$_pkgname-$pkgver" | |
install -D out/Release/chrome "$pkgdir/usr/lib/chromium/chromium" | |
install -Dm4755 out/Release/chrome_sandbox "$pkgdir/usr/lib/chromium/chrome-sandbox" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment