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

Laurent Carlier lcarlier at gemini.archlinux.org
Mon Dec 13 12:43:46 UTC 2021


    Date: Monday, December 13, 2021 @ 12:43:45
  Author: lcarlier
Revision: 1071613

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 49 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-13 12:43:41 UTC (rev 1071612)
+++ PKGBUILD	2021-12-13 12:43:45 UTC (rev 1071613)
@@ -1,60 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: Sébastien Luttringer <sеblu@аrchlіnux․org>
-# Contributor: Joel Teichroeb <joel at teichroeb.net>
-
-pkgname=lib32-wayland
-pkgver=1.19.0
-pkgrel=2
-pkgdesc='A computer display server protocol'
-arch=(x86_64)
-url=https://wayland.freedesktop.org
-license=(MIT)
-depends=(
-  lib32-glibc
-  lib32-libffi
-  lib32-expat
-  lib32-libxml2
-  wayland
-)
-makedepends=(git)
-_tag=e60398b1755bfcdf09f040d3769131fe0d9762fc
-source=(git+https://gitlab.freedesktop.org/wayland/wayland.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd wayland
-
-  git describe --tags
-}
-
-prepare() {
-  cd wayland
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd wayland
-
-  export CC='gcc -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib32 \
-    --disable-documentation \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  make DESTDIR="${pkgdir}" -C wayland install
-  rm -rf "${pkgdir}"/usr/{bin,include,share}
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s wayland "${pkgdir}"/usr/share/licenses/lib32-wayland
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-wayland/repos/multilib-x86_64/PKGBUILD (from rev 1071612, lib32-wayland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-13 12:43:45 UTC (rev 1071613)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Sébastien Luttringer <sеblu@аrchlіnux․org>
+# Contributor: Joel Teichroeb <joel at teichroeb.net>
+
+pkgname=lib32-wayland
+pkgver=1.20.0
+pkgrel=1
+pkgdesc='A computer display server protocol'
+arch=(x86_64)
+url=https://wayland.freedesktop.org
+license=(MIT)
+depends=(
+  lib32-glibc
+  lib32-libffi
+  lib32-expat
+  lib32-libxml2
+  wayland
+)
+makedepends=(meson)
+validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611'  # Bryce Harrington
+              'C0066D7DB8E9AC6844D728715E54498E697F11D7'  # Derek Foreman
+              '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact at emersion.fr>
+source=("https://wayland.freedesktop.org/releases/wayland-$pkgver.tar.xz"{,.sig})
+sha256sums=('b8a034154c7059772e0fdbd27dbfcda6c732df29cae56a82274f6ec5d7cd8725'
+            'SKIP')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
+
+  meson build wayland-$pkgver \
+    --buildtype=release \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    -D documentation=false
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s wayland "${pkgdir}"/usr/share/licenses/lib32-wayland
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list