| author | Jan Alexander Steffens
<heftig@archlinux.org> 2022-04-28 20:08:52 UTC |
| committer | Jan Alexander Steffens
<heftig@archlinux.org> 2022-04-28 20:08:52 UTC |
| parent | b069d491603917393034bbde2b12f1f271d2a345 |
| PKGBUILD | +9 | -14 |
diff --git a/PKGBUILD b/PKGBUILD index a6b0448..682f511 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,17 @@ # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> pkgname=libqmi -pkgver=1.30.4 +pkgver=1.30.6 pkgrel=1 pkgdesc="QMI modem protocol helper library" -arch=(x86_64) url="https://www.freedesktop.org/wiki/Software/libqmi/" +arch=(x86_64) license=(GPL2) depends=(libmbim libqrtr-glib libgudev) -makedepends=(gtk-doc python git help2man gobject-introspection) +makedepends=(gtk-doc meson git help2man gobject-introspection bash-completion) provides=(libqmi-glib.so) -_commit=f6c2feaf199e0f129a0bde8c5e6cba5f2117b564 # tags/1.30.4 +options=(debug) +_commit=dc82a0ae42df0086fab0595690dd3bbd7a958773 # tags/1.30.6^0 source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=$_commit") sha256sums=('SKIP') @@ -21,23 +22,17 @@ pkgver() { prepare() { cd libqmi - NOCONFIGURE=1 ./autogen.sh } build() { - cd libqmi - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libexecdir=/usr/lib --disable-static --enable-gtk-doc \ - --enable-compile-warnings=yes - make + arch-meson libqmi build -D gtk_doc=false # Docs currently broken + meson compile -C build } check() { - cd libqmi - make check + meson test -C build --print-errorlogs } package() { - cd libqmi - make DESTDIR="$pkgdir" install + meson install -C build --destdir "$pkgdir" }