[arch-commits] Commit in modemmanager/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Fri Nov 26 18:25:14 UTC 2021


    Date: Friday, November 26, 2021 @ 18:25:14
  Author: heftig
Revision: 429374

archrelease: copy trunk to extra-x86_64

Added:
  modemmanager/repos/extra-x86_64/PKGBUILD
    (from rev 429373, modemmanager/trunk/PKGBUILD)
Deleted:
  modemmanager/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  165 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 83 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-26 18:24:58 UTC (rev 429373)
+++ PKGBUILD	2021-11-26 18:25:14 UTC (rev 429374)
@@ -1,82 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=modemmanager
-pkgname=(modemmanager libmm-glib)
-pkgver=1.18.2
-pkgrel=1
-pkgdesc="Mobile broadband modem management service"
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/ModemManager/"
-license=(GPL2 LGPL2.1)
-depends=(systemd libgudev polkit ppp libqmi libmbim
-         mobile-broadband-provider-info)
-makedepends=(gtk-doc gobject-introspection vala meson git bash-completion)
-checkdepends=(python-gobject python-dbus)
-_commit=5a2c9229411fa6c5905b61e777122a9b49809134  # tags/1.18.2
-source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd ModemManager
-  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
-}
-
-prepare() {
-  cd ModemManager
-}
-
-build() {
-  local meson_args=(
-    -D dbus_policy_dir=/usr/share/dbus-1/system.d
-    -D polkit=permissive
-    -D dist_version="\"$pkgver-$pkgrel\""
-    -D vapi=true
-    -D gtk_doc=true
-  )
-
-  arch-meson ModemManager build "${meson_args[@]}"
-  meson compile -C build
-}
-
-check() {
-  # Tests don't work yet
-  : meson test -C build --print-errorlogs
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_modemmanager() {
-  depends+=(libmm-glib.so libg{lib,object,io,module}-2.0.so libsystemd.so libgudev-1.0.so
-            libqmi-glib.so libmbim-glib.so)
-  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
-
-  meson install -C build --destdir "$pkgdir"
-
-  cd "$pkgdir"
-  _pick libmm usr/include
-  _pick libmm usr/lib/girepository-1.0
-  _pick libmm usr/lib/libmm-glib.so*
-  _pick libmm usr/lib/pkgconfig
-  _pick libmm usr/share/gir-1.0
-  _pick libmm usr/share/gtk-doc/html/libmm-glib
-  _pick libmm usr/share/vala
-}
-
-package_libmm-glib() {
-  pkgdesc="ModemManager library"
-  depends=(libg{lib,object,io}-2.0.so)
-  provides=(libmm-glib.so)
-
-  mv libmm/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 429373, modemmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-26 18:25:14 UTC (rev 429374)
@@ -0,0 +1,83 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=modemmanager
+pkgname=(modemmanager libmm-glib)
+pkgver=1.18.4
+pkgrel=1
+pkgdesc="Mobile broadband modem management service"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/ModemManager/"
+license=(GPL2 LGPL2.1)
+depends=(systemd libgudev polkit ppp libqmi libmbim
+         mobile-broadband-provider-info)
+makedepends=(gtk-doc gobject-introspection vala meson git bash-completion)
+checkdepends=(python-gobject python-dbus)
+_commit=ac6d31e463168e894269d2a7c949de4577026eea  # tags/1.18.4
+source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ModemManager
+  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
+}
+
+prepare() {
+  cd ModemManager
+}
+
+build() {
+  local meson_args=(
+    -D dbus_policy_dir=/usr/share/dbus-1/system.d
+    -D dist_version="\"$pkgver-$pkgrel\""
+    -D gtk_doc=true
+    -D plugin_qcom_soc=disabled
+    -D polkit=permissive
+    -D vapi=true
+  )
+
+  arch-meson ModemManager build "${meson_args[@]}"
+  meson compile -C build
+}
+
+check() {
+  # Tests don't work yet
+  : meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_modemmanager() {
+  depends+=(libmm-glib.so libg{lib,object,io,module}-2.0.so libsystemd.so libgudev-1.0.so
+            libqmi-glib.so libmbim-glib.so)
+  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+
+  meson install -C build --destdir "$pkgdir"
+
+  cd "$pkgdir"
+  _pick libmm usr/include
+  _pick libmm usr/lib/girepository-1.0
+  _pick libmm usr/lib/libmm-glib.so*
+  _pick libmm usr/lib/pkgconfig
+  _pick libmm usr/share/gir-1.0
+  _pick libmm usr/share/gtk-doc/html/libmm-glib
+  _pick libmm usr/share/vala
+}
+
+package_libmm-glib() {
+  pkgdesc="ModemManager library"
+  depends=(libg{lib,object,io}-2.0.so)
+  provides=(libmm-glib.so)
+
+  mv libmm/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list