Kaynağa Gözat

add missing dependencies, bump -> 100.0.4896.127-2

Noah Vogt 3 yıl önce
ebeveyn
işleme
7d650e79e3
2 değiştirilmiş dosya ile 44 ekleme ve 3 silme
  1. 17 2
      .SRCINFO
  2. 27 1
      PKGBUILD

+ 17 - 2
.SRCINFO

@@ -1,7 +1,7 @@
 pkgbase = ungoogled-chromium-xdg-bin
 	pkgdesc = A lightweight approach to removing Google web service dependency - without creating a useless ~/.pki directory (binary version)
 	pkgver = 100.0.4896.127
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/Eloston/ungoogled-chromium
 	arch = x86_64
 	license = BSD
@@ -20,6 +20,21 @@ pkgbase = ungoogled-chromium-xdg-bin
 	depends = libva
 	depends = desktop-file-utils
 	depends = hicolor-icon-theme
+	depends = fontconfig
+	depends = libjpeg
+	depends = icu
+	depends = flac
+	depends = snappy
+	depends = libxml2
+	depends = ffmpeg
+	depends = libwebp
+	depends = minizip
+	depends = opus
+	depends = harfbuzz
+	depends = re2
+	depends = libxslt
+	depends = libpng
+	depends = freetype2
 	optdepends = pipewire: WebRTC desktop sharing under Wayland
 	optdepends = kdialog: support for native dialogs in Plasma
 	optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce
@@ -27,7 +42,7 @@ pkgbase = ungoogled-chromium-xdg-bin
 	provides = chromium
 	conflicts = chromium
 	options = !lto
-	source = https://github.com/noahvogt/ungoogled-chromium-xdg-aur/releases/download/100.0.4896.127-1/ungoogled-chromium-xdg-bin-100.0.4896.127.tar.gz
+	source = https://github.com/noahvogt/ungoogled-chromium-xdg-aur/releases/download/100.0.4896.127-2/ungoogled-chromium-xdg-bin-100.0.4896.127.tar.gz
 	source = index.html
 	sha256sums = 96982ce7c44b3ceae4eb4778d89f192c722c6887dba2de3bb1bec4cc2ae3ebbf
 	sha256sums = a4cdd2b86f32d5302c2792be841ff40d982b19bb58a4e63df9d77f4c706b8665

+ 27 - 1
PKGBUILD

@@ -10,7 +10,7 @@
 
 pkgname=ungoogled-chromium-xdg-bin
 pkgver=100.0.4896.127
-pkgrel=1
+pkgrel=2
 _launcher_ver=8
 pkgdesc="A lightweight approach to removing Google web service dependency - without creating a useless ~/.pki directory (binary version)"
 arch=('x86_64')
@@ -32,6 +32,32 @@ sha256sums=('96982ce7c44b3ceae4eb4778d89f192c722c6887dba2de3bb1bec4cc2ae3ebbf'
 provides=('chromium')
 conflicts=('chromium')
 
+# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
+# Keys are the names in the above script; values are the dependencies in Arch
+declare -gA _system_libs=(
+  [ffmpeg]=ffmpeg
+  [flac]=flac
+  [fontconfig]=fontconfig
+  [freetype]=freetype2
+  [harfbuzz-ng]=harfbuzz
+  [icu]=icu
+  [libdrm]=
+  [libjpeg]=libjpeg
+  [libpng]=libpng
+  #[libvpx]=libvpx
+  [libwebp]=libwebp
+  [libxml]=libxml2
+  [libxslt]=libxslt
+  [opus]=opus
+  [re2]=re2
+  [snappy]=snappy
+  [zlib]=minizip
+)
+_unwanted_bundled_libs=(
+  $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
+)
+depends+=(${_system_libs[@]})
+
 package() {
   cd "$pkgname/chromium-launcher-$_launcher_ver"
   make PREFIX=/usr DESTDIR="$pkgdir" install