[arch-commits] Commit in lib32-cairo/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Mon Mar 21 23:40:44 UTC 2022


    Date: Monday, March 21, 2022 @ 23:40:44
  Author: heftig
Revision: 1168687

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-cairo/repos/multilib-x86_64/PKGBUILD
    (from rev 1168686, lib32-cairo/trunk/PKGBUILD)
Deleted:
  lib32-cairo/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  105 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 47 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-21 23:40:09 UTC (rev 1168686)
+++ PKGBUILD	2022-03-21 23:40:44 UTC (rev 1168687)
@@ -1,58 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=lib32-cairo
-pkgver=1.17.4
-pkgrel=5
-pkgdesc="2D graphics library with support for multiple output devices (32-bit)"
-url="https://cairographics.org/"
-arch=(x86_64)
-license=(LGPL MPL)
-depends=(lib32-zlib lib32-libpng lib32-fontconfig lib32-freetype2 lib32-libx11
-         lib32-libxext lib32-libxrender lib32-libxcb lib32-glib2 lib32-pixman
-         cairo)
-makedepends=(valgrind git meson)
-_commit=156cd3eaaebfd8635517c2baf61fcf3627ff7ec2  # tags/1.17.4^0
-source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd cairo
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd cairo
-
-  # Fix library versioning
-  # https://bugs.archlinux.org/task/69012
-  git cherry-pick -n e9ccb1d8d095482e4139da658e679d5aad56b184
-
-  # https://bugs.archlinux.org/task/70017 (CVE-2020-35492)
-  git cherry-pick -n 03a820b173ed1fdef6ff14b4468f5dbc02ff59be
-
-  # https://gitlab.freedesktop.org/cairo/cairo/-/issues/449
-  git cherry-pick -n a3b69a0215fdface0fd5730872a4b3242d979dca
-
-  # Disable XCB backend for Xlib surfaces
-  # https://bugs.archlinux.org/task/68839
-  git cherry-pick -n 3468c67fe91f0c37e0ec5d335082653a6fa609b6
-}
-
-build() {
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
-
-  arch-meson cairo build \
-    --libdir=/usr/lib32 \
-    -D spectre=disabled \
-    -D tee=enabled \
-    -D tests=disabled
-  meson compile -C build
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-  rm -r "$pkgdir"/usr/{include,bin}
-}

Copied: lib32-cairo/repos/multilib-x86_64/PKGBUILD (from rev 1168686, lib32-cairo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-21 23:40:44 UTC (rev 1168687)
@@ -0,0 +1,47 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=lib32-cairo
+pkgver=1.17.6
+pkgrel=1
+pkgdesc="2D graphics library with support for multiple output devices (32-bit)"
+url="https://cairographics.org/"
+arch=(x86_64)
+license=(LGPL MPL)
+depends=(lib32-zlib lib32-libpng lib32-fontconfig lib32-freetype2 lib32-libx11
+         lib32-libxext lib32-libxrender lib32-libxcb lib32-glib2 lib32-pixman
+         cairo)
+makedepends=(valgrind git meson)
+options=(debug)
+_commit=b43e7c6f3cf7855e16170a06d3a9c7234c60ca94  # tags/1.17.6^0
+source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd cairo
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd cairo
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
+
+  arch-meson cairo build \
+    --libdir=/usr/lib32 \
+    -D spectre=disabled \
+    -D tee=enabled \
+    -D tests=disabled \
+    -D symbol-lookup=disabled \
+    -D gtk_doc=false
+  meson compile -C build
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+  rm -r "$pkgdir"/usr/{include,bin}
+}



More information about the arch-commits mailing list