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

Jan Steffens heftig at gemini.archlinux.org
Sat Sep 11 23:11:24 UTC 2021


    Date: Saturday, September 11, 2021 @ 23:11:23
  Author: heftig
Revision: 1014375

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |  182 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 94 insertions(+), 88 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-11 23:08:35 UTC (rev 1014374)
+++ PKGBUILD	2021-09-11 23:11:23 UTC (rev 1014375)
@@ -1,88 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Jan Alexander Steffens <jan.steffens at gmail.com>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Mladen Pejakovic <pejakm at gmail.com>
-
-pkgbase=lib32-libxkbcommon
-pkgname=(
-  lib32-libxkbcommon
-  lib32-libxkbcommon-x11
-)
-pkgver=1.3.0
-pkgrel=1
-url=https://xkbcommon.org/
-arch=(x86_64)
-license=(custom)
-makedepends=(
-  git
-  lib32-libxcb
-  lib32-wayland
-  meson
-  wayland-protocols
-  xorg-util-macros
-)
-checkdepends=(
-  xorg-server-xvfb
-  libgl
-)
-_tag=13ba9135c013fbcbba50c3056ac73e4905d4bdf9
-source=(git+https://github.com/xkbcommon/libxkbcommon#tag=${_tag})
-sha256sums=('SKIP')
-
-pkgver() {
-  cd libxkbcommon
-
-  git describe --tags | sed 's/^xkbcommon-//'
-}
-
-prepare() {
-  mkdir -p build x11/usr/lib32/pkgconfig
-}
-
-build() {
-  export CC='gcc -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
-  arch-meson libxkbcommon build \
-    --libdir=/usr/lib32 \
-    -D enable-docs=false
-  ninja -C build
-}
-
-check() {
-  xvfb-run -a meson test -C build --print-errorlogs
-}
-
-package_lib32-libxkbcommon() {
-  pkgdesc='Keymap handling library for toolkits and window systems'
-  depends=(
-    lib32-glibc
-    libxkbcommon
-  )
-
-  DESTDIR="${pkgdir}" meson install -C build
-  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
-
-  mv "${pkgdir}"/usr/lib32/*x11* x11/usr/lib32
-  mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* x11/usr/lib32/pkgconfig
-}
-
-package_lib32-libxkbcommon-x11() {
-  pkgdesc='Keyboard handling library using XKB data for X11 XCB clients'
-  depends=(
-    lib32-libxcb
-    lib32-libxkbcommon
-    libxkbcommon-x11
-  )
-
-  mv x11/* "${pkgdir}"/
-  find "${pkgdir}" -type d -exec chmod 755 {} +
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s libxkbcommon-x11 "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon-x11
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libxkbcommon/repos/multilib-x86_64/PKGBUILD (from rev 1014374, lib32-libxkbcommon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-11 23:11:23 UTC (rev 1014375)
@@ -0,0 +1,94 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jan Alexander Steffens <jan.steffens at gmail.com>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Mladen Pejakovic <pejakm at gmail.com>
+
+pkgbase=lib32-libxkbcommon
+pkgname=(
+  lib32-libxkbcommon
+  lib32-libxkbcommon-x11
+)
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Keymap handling library for toolkits and window systems (32-bit)'
+url=https://xkbcommon.org/
+arch=(x86_64)
+license=(custom)
+makedepends=(
+  git
+  lib32-libxcb
+  lib32-libxml2
+  lib32-wayland
+  meson
+  wayland-protocols
+  xorg-util-macros
+)
+checkdepends=(
+  xorg-server-xvfb
+  libgl
+)
+_tag=e97297b5ce1201a3992f2de5fb1118d73eb904e4
+source=(git+https://github.com/xkbcommon/libxkbcommon#tag=${_tag})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libxkbcommon
+
+  git describe --tags | sed 's/^xkbcommon-//'
+}
+
+build() {
+  export CC='gcc -m32'
+  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
+
+  arch-meson libxkbcommon build \
+    --libdir=/usr/lib32 \
+    -D enable-docs=false
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
+}
+
+package_lib32-libxkbcommon() {
+  depends=(
+    lib32-libxml2
+    libxkbcommon
+  )
+  provides=(
+    libxkbcommon.so
+    libxkbregistry.so
+  )
+
+  meson install -C build --destdir "${pkgdir}"
+  rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libxkbcommon "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon
+
+  mkdir -p x11/usr/lib32/pkgconfig
+  mv "${pkgdir}"/usr/lib32/*x11* x11/usr/lib32
+  mv "${pkgdir}"/usr/lib32/pkgconfig/*x11* x11/usr/lib32/pkgconfig
+}
+
+package_lib32-libxkbcommon-x11() {
+  pkgdesc='Keyboard handling library using XKB data for X11 XCB clients (32-bit)'
+  depends=(
+    lib32-libxkbcommon
+    libxkbcommon.so
+    lib32-libxcb
+    libxkbcommon-x11
+  )
+  provides=(
+    libxkbcommon-x11.so
+  )
+
+  mv x11/* "${pkgdir}"/
+  find "${pkgdir}" -type d -exec chmod 755 {} +
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libxkbcommon-x11 "${pkgdir}"/usr/share/licenses/lib32-libxkbcommon-x11
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list