diff options
Diffstat (limited to 'community/libmbim/APKBUILD')
-rw-r--r-- | community/libmbim/APKBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/community/libmbim/APKBUILD b/community/libmbim/APKBUILD index b5d6db8599c..2b11146195b 100644 --- a/community/libmbim/APKBUILD +++ b/community/libmbim/APKBUILD @@ -1,48 +1,50 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=libmbim -pkgver=1.26.0 +pkgver=1.30.0 pkgrel=0 pkgdesc="MBIM modem protocol helper library" url="https://www.freedesktop.org/wiki/Software/libmbim/" arch="all" license="GPL-2.0-or-later AND LGPL-2.1-or-later" -makedepends="gtk-doc python3 glib-dev py3-gobject3 gobject-introspection-dev" +makedepends=" + bash-completion-dev + glib-dev + gobject-introspection-dev + help2man + meson + py3-gobject3 + python3 + " subpackages=" $pkgname-dev $pkgname-doc $pkgname-tools $pkgname-bash-completion " -source="https://www.freedesktop.org/software/libmbim/libmbim-$pkgver.tar.xz" +source="https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/$pkgver/libmbim-$pkgver.tar.gz" build() { - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static \ - --enable-introspection=yes - make + abuild-meson \ + -Db_lto=true \ + . output + meson compile -C output } check() { - make check + meson test --no-rebuild --print-errorlogs -C output } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install --no-rebuild -C output } tools() { pkgdesc="Tools for libmbim" - mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/libexec - mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/libexec/* "$subpkgdir"/usr/libexec - rmdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/libexec 2>/dev/null || true + amove usr/bin usr/libexec } sha512sums=" -b987b3271166eabda7d6767b4b3cd8f34b07ea6a43d5ed1d7cf083561b0e57affeec175a155e5bf8b998dd60f49a303cf54ad6eda146df7483cabe099c401c27 libmbim-1.26.0.tar.xz +5e2fa011e956ad4cccaf0cddc8d0acdaa8f789f6d37d8951fddb2cdb8d54ecc3cb6b89e247074604ce69fa9b28ea1da1cfd34ce9a001cd3fdd414ed134d132b6 libmbim-1.30.0.tar.gz " |