[arch-commits] Commit in (lib32-libnm lib32-libnm/trunk lib32-libnm/trunk/PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Jun 9 07:13:15 UTC 2021
Date: Wednesday, June 9, 2021 @ 07:13:14
Author: alucryd
Revision: 960060
add lib32-libnm for steam-native
Added:
lib32-libnm/
lib32-libnm/trunk/
lib32-libnm/trunk/PKGBUILD
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
Added: lib32-libnm/trunk/PKGBUILD
===================================================================
--- lib32-libnm/trunk/PKGBUILD (rev 0)
+++ lib32-libnm/trunk/PKGBUILD 2021-06-09 07:13:14 UTC (rev 960060)
@@ -0,0 +1,108 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinxu.org>
+# Contributor: Wael Nasreddine <gandalf at siemens-mobiles.org>
+# Contributor: Tor Krill <tor at krill.nu>
+# Contributor: Will Rea <sillywilly at gmail.com>
+# Contributor: Valentine Sinitsyn <e_val at inbox.ru>
+# Contributor: Ryszard Knop <dragoon at dragonic.eu>
+
+pkgname=lib32-libnm
+pkgver=1.30.4
+pkgrel=1
+pkgdesc="NetworkManager client library"
+arch=(x86_64)
+url=https://wiki.gnome.org/Projects/NetworkManager
+license=(LGPL2.1)
+depends=(
+ lib32-gcc-libs
+ lib32-glib2
+ lib32-nspr
+ lib32-nss
+ lib32-systemd
+ lib32-util-linux
+)
+makedepends=(
+ git
+ intltool
+ lib32-dbus
+ lib32-jansson
+ lib32-libndp
+ lib32-libpsl
+ lib32-polkit
+ libxslt
+ meson
+)
+provides=(libnm.so)
+_tag=a3e45da9f984d58e3b76d6ca064033541d819eca
+source=(git+https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git#tag=${_tag})
+b2sums=(SKIP)
+
+prepare() {
+ cd NetworkManager
+ # https://bugs.archlinux.org/task/70710
+ git cherry-pick -n 8acad5a20cc61081438294efc634c0e245452e35
+}
+
+pkgver() {
+ cd NetworkManager
+ git describe --tags
+}
+
+build() {
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
+ local meson_args=(
+ # system paths
+ --libdir=/usr/lib32
+ -D dbus_conf_dir=/usr/share/dbus-1/system.d
+
+ # platform
+ -D dist_version="${pkgver}-${pkgrel}"
+ -D libaudit=no
+ -D modify_system=true
+ -D selinux=false
+ -D session_tracking_consolekit=false
+ -D suspend_resume=systemd
+
+ # features
+ -D bluez5_dun=false
+ -D concheck=false
+ -D ebpf=false
+ -D iwd=false
+ -D modem_manager=false
+ -D nm_cloud_setup=false
+ -D nmcli=false
+ -D nmtui=false
+ -D ovs=false
+ -D ppp=false
+ -D teamdctl=false
+
+ # configuration plugins
+ -D config_plugins_default=keyfile
+
+ # handlers for resolv.conf
+ -D netconfig=no
+ -D config_dns_rc_manager_default=symlink
+
+ # miscellaneous
+ -D docs=false
+ -D introspection=false
+ -D more_asserts=no
+ -D more_logging=false
+ -D qt=false
+ -D tests=no
+ -D vapi=false
+ )
+
+ arch-meson NetworkManager build "${meson_args[@]}"
+ meson compile -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" meson install -C build
+ rm -rf "${pkgdir}"/{etc,usr/{bin,include,lib,lib32/NetworkManager,share},var}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list