| author | Jan Alexander Steffens (heftig)
<heftig@archlinux.org> 2023-10-12 06:23:01 UTC |
| committer | Jan Alexander Steffens (heftig)
<heftig@archlinux.org> 2023-10-12 06:23:01 UTC |
| parent | a2e4e02867f0a952dd5cfa5a8dbfcc0bad0b38a4 |
| .SRCINFO | +21 | -0 |
| PKGBUILD | +23 | -8 |
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a13c446 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = libqmi + pkgdesc = QMI modem protocol helper library + pkgver = 1.34.0 + pkgrel = 1 + url = https://www.freedesktop.org/wiki/Software/libqmi/ + arch = x86_64 + license = GPL2 + makedepends = bash-completion + makedepends = git + makedepends = gobject-introspection + makedepends = gtk-doc + makedepends = help2man + makedepends = meson + depends = libgudev + depends = libmbim + depends = libqrtr-glib + provides = libqmi-glib.so + source = git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=3f07d6e5b4677558543b3b4484ea88ad92257e92 + b2sums = SKIP + +pkgname = libqmi diff --git a/PKGBUILD b/PKGBUILD index 1174a9e..604ce34 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,18 +1,29 @@ # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> pkgname=libqmi -pkgver=1.32.4 +pkgver=1.34.0 pkgrel=1 pkgdesc="QMI modem protocol helper library" url="https://www.freedesktop.org/wiki/Software/libqmi/" arch=(x86_64) license=(GPL2) -depends=(libmbim libqrtr-glib libgudev) -makedepends=(gtk-doc meson git help2man gobject-introspection bash-completion) +depends=( + libgudev + libmbim + libqrtr-glib +) +makedepends=( + bash-completion + git + gobject-introspection + gtk-doc + help2man + meson +) provides=(libqmi-glib.so) -_commit=6e248aceb66f53b467b343bca1c467a8211dd30d # tags/1.32.4^0 +_commit=3f07d6e5b4677558543b3b4484ea88ad92257e92 # tags/1.34.0^0 source=("git+https://gitlab.freedesktop.org/mobile-broadband/libqmi.git#commit=$_commit") -sha256sums=('SKIP') +b2sums=('SKIP') pkgver() { cd libqmi @@ -24,16 +35,20 @@ prepare() { } build() { - arch-meson libqmi build -D gtk_doc=true + local meson_options=( + -D gtk_doc=true + ) + + arch-meson libqmi build "${meson_options[@]}" meson compile -C build } check() { - meson test -C build --print-errorlogs + meson test -C build --print-errorlogs --no-rebuild } package() { - meson install -C build --destdir "$pkgdir" + meson install -C build --destdir "$pkgdir" --no-rebuild } # vim:set sw=2 sts=-1 et: