[arch-commits] Commit in libqmi/trunk (PKGBUILD PKGBUILD.next)

Jan Steffens heftig at archlinux.org
Sat May 30 13:57:07 UTC 2020


    Date: Saturday, May 30, 2020 @ 13:57:07
  Author: heftig
Revision: 387898

1.24.14-1

Added:
  libqmi/trunk/PKGBUILD.next
Modified:
  libqmi/trunk/PKGBUILD

---------------+
 PKGBUILD      |    6 +++---
 PKGBUILD.next |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-30 12:54:20 UTC (rev 387897)
+++ PKGBUILD	2020-05-30 13:57:07 UTC (rev 387898)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=libqmi
-pkgver=1.24.12
+pkgver=1.24.14
 pkgrel=1
 pkgdesc="QMI modem protocol helper library"
 arch=(x86_64)
@@ -8,9 +8,9 @@
 url="https://www.freedesktop.org/wiki/Software/libqmi/"
 license=(GPL2)
 depends=(libmbim libgudev)
-makedepends=(gtk-doc python git help2man)
+makedepends=(gtk-doc python git help2man autoconf-archive)
 provides=(libqmi-glib.so)
-_commit=b5336c9dcfb11d3843d6093cf43328164588a80f  # tags/1.24.12
+_commit=a28c43bac61851f32abafef2922f2c237a0ff06d  # tags/1.24.14
 source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=$_commit")
 sha256sums=('SKIP')
 

Added: PKGBUILD.next
===================================================================
--- PKGBUILD.next	                        (rev 0)
+++ PKGBUILD.next	2020-05-30 13:57:07 UTC (rev 387898)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libqmi
+pkgver=1.26rc1
+pkgrel=1
+pkgdesc="QMI modem protocol helper library"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/libqmi/"
+license=(GPL2)
+depends=(libmbim libgudev)
+makedepends=(gtk-doc python git help2man autoconf-archive gobject-introspection)
+provides=(libqmi-glib.so)
+_commit=ef9e0ea2ddee417f7f85388b7779750c846aaeca  # tags/1.26-rc1
+source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-rc/rc/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib --disable-static --enable-gtk-doc \
+    --enable-compile-warnings=minimum
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list