Skip to content

Commit

Permalink
feat(ungoogled-chromium-bin)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiota committed Jan 16, 2025
1 parent 85bd508 commit d74119f
Show file tree
Hide file tree
Showing 30 changed files with 110 additions and 1,735 deletions.
1 change: 1 addition & 0 deletions ungoogled-chromium-bin/.CI/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CI_PKGBUILD_SOURCE=aur
File renamed without changes.
50 changes: 50 additions & 0 deletions ungoogled-chromium-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
pkgbase = ungoogled-chromium-bin
pkgdesc = A lightweight approach to removing Google web service dependency
pkgver = 131.0.6778.264
pkgrel = 1
url = https://github.com/ungoogled-software/ungoogled-chromium
arch = x86_64
license = BSD
depends = gtk3
depends = nss
depends = alsa-lib
depends = xdg-utils
depends = libxss
depends = libcups
depends = libgcrypt
depends = ttf-liberation
depends = systemd
depends = dbus
depends = libpulse
depends = pciutils
depends = libva
depends = libffi
depends = desktop-file-utils
depends = hicolor-icon-theme
depends = fontconfig
depends = brotli
depends = libjpeg-turbo
depends = icu
depends = flac
depends = libxml2
depends = libwebp
depends = minizip
depends = opus
depends = harfbuzz
depends = libxslt
depends = libpng
depends = freetype2
optdepends = pipewire: WebRTC desktop sharing under Wayland
optdepends = kdialog: support for native dialogs in Plasma
optdepends = gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)
optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce
optdepends = kwallet: support for storing passwords in KWallet on Plasma
optdepends = upower: Battery Status API support
provides = chromium=131.0.6778.264
provides = chromedriver=131.0.6778.264
conflicts = chromium
conflicts = chromedriver
source = https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/131.0.6778.264-1/ungoogled-chromium-131.0.6778.264-1-x86_64.pkg.tar.zst
sha256sums = adebe8a339ed28bcb9c8ac8bc2c8d1342b56cba431c7e6609f531c9f3e110b76

pkgname = ungoogled-chromium-bin
59 changes: 59 additions & 0 deletions ungoogled-chromium-bin/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Maintainer: networkException <git@nwex.de>

pkgname=ungoogled-chromium-bin
pkgver=131.0.6778.264
pkgrel=1
pkgdesc="A lightweight approach to removing Google web service dependency"
arch=('x86_64')
url="https://github.com/ungoogled-software/ungoogled-chromium"
license=('BSD')
depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva'
'libffi' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('pipewire: WebRTC desktop sharing under Wayland'
'kdialog: support for native dialogs in Plasma'
'gtk4: for --gtk-version=4 (GTK4 IME might work better on Wayland)'
'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
'kwallet: support for storing passwords in KWallet on Plasma'
'upower: Battery Status API support')
provides=("chromium=$pkgver" "chromedriver=$pkgver")
conflicts=('chromium' 'chromedriver')
source=(https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/download/$pkgver-$pkgrel/ungoogled-chromium-$pkgver-$pkgrel-x86_64.pkg.tar.zst)
sha256sums=('adebe8a339ed28bcb9c8ac8bc2c8d1342b56cba431c7e6609f531c9f3e110b76')

declare -gA _system_libs=(
[brotli]=brotli
#[dav1d]=dav1d
#[ffmpeg]=ffmpeg # YouTube playback stopped working in Chromium 120
[flac]=flac
[fontconfig]=fontconfig
[freetype]=freetype2
[harfbuzz - ng]=harfbuzz
[icu]=icu
#[jsoncpp]=jsoncpp # needs libstdc++
#[libaom]=aom
#[libavif]=libavif # needs -DAVIF_ENABLE_EXPERIMENTAL_GAIN_MAP=ON
[libdrm]=
[libjpeg]=libjpeg-turbo
[libpng]=libpng
#[libvpx]=libvpx
[libwebp]=libwebp
[libxml]=libxml2
[libxslt]=libxslt
[opus]=opus
#[re2]=re2 # needs libstdc++
#[snappy]=snappy # needs libstdc++
#[woff2]=woff2 # needs libstdc++
[zlib]=minizip
)
_unwanted_bundled_libs=(
$(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
)
depends+=(${_system_libs[@]})

package() {
cp -R "${srcdir}/usr/" "${pkgdir}/usr"

chown root "$pkgdir/usr/lib/chromium/chrome-sandbox"
chmod 4755 "$pkgdir/usr/lib/chromium/chrome-sandbox"
}
3 changes: 0 additions & 3 deletions ungoogled-chromium/.CI/config

This file was deleted.

91 changes: 0 additions & 91 deletions ungoogled-chromium/.SRCINFO

This file was deleted.

65 changes: 0 additions & 65 deletions ungoogled-chromium/0001-adjust-buffer-format-order.patch

This file was deleted.

33 changes: 0 additions & 33 deletions ungoogled-chromium/0001-enable-linux-unstable-deb-target.patch

This file was deleted.

This file was deleted.

Loading

1 comment on commit d74119f

@xiota
Copy link
Contributor Author

@xiota xiota commented on d74119f Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.