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

Maxime Gauduin alucryd at archlinux.org
Tue Mar 23 10:13:17 UTC 2021


    Date: Tuesday, March 23, 2021 @ 10:13:16
  Author: alucryd
Revision: 900234

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 50 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-23 10:13:12 UTC (rev 900233)
+++ PKGBUILD	2021-03-23 10:13:16 UTC (rev 900234)
@@ -1,62 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: FadeMind <fademind at gmail.com>
-# Contributor: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=lib32-libgudev
-pkgver=234
-pkgrel=1
-pkgdesc='GObject bindings for libudev'
-arch=(x86_64)
-url=https://wiki.gnome.org/Projects/libgudev
-license=(LGPL2.1)
-depends=(
-  lib32-glib2
-  lib32-systemd
-  libgudev
-)
-makedepends=(
-  git
-  gtk-doc
-  python
-)
-provides=(libgudev-1.0.so)
-_tag=e9342ee019482a08fe435d6b656f8a6bdd196bce
-source=(git+https://gitlab.gnome.org/GNOME/libgudev.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd libgudev
-
-  git describe --tags
-}
-
-prepare() {
-  cd libgudev
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd libgudev
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
-  ./configure \
-    --prefix=/usr \
-    --libdir=/usr/lib32 \
-    --localstatedir=/var \
-    --sysconfdir=/etc \
-    --disable-gtk-doc \
-    --disable-umockdev
-  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  make DESTDIR="${pkgdir}" -C libgudev install
-  rm -rf "${pkgdir}"/usr/{include,share}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libgudev/repos/multilib-x86_64/PKGBUILD (from rev 900233, lib32-libgudev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-23 10:13:16 UTC (rev 900234)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: FadeMind <fademind at gmail.com>
+# Contributor: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=lib32-libgudev
+pkgver=236
+pkgrel=1
+pkgdesc='GObject bindings for libudev'
+arch=(x86_64)
+url=https://wiki.gnome.org/Projects/libgudev
+license=(LGPL2.1)
+depends=(
+  lib32-glib2
+  lib32-systemd
+  libgudev
+)
+makedepends=(
+  git
+  meson
+  python
+)
+provides=(libgudev-1.0.so)
+_tag=e4a0b196615690e4c1910af3cd57872af4f8e2ec
+source=(git+https://gitlab.gnome.org/GNOME/libgudev.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libgudev
+  git describe --tags
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+  arch-meson libgudev build \
+    --libdir=/usr/lib32 \
+    -Dintrospection=disabled \
+    -Dgtk_doc=false \
+    -Dtests=disabled \
+    -Dvapi=disabled
+  meson compile -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" meson install -C build
+  rm -rf "${pkgdir}"/usr/{include,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list