From aae6fdb193aab3a210850489445357bddb2ddcd3 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 16 Feb 2018 14:59:27 +0000 Subject: community/libgusb: upgrade to 0.3.0 --- community/libgusb/APKBUILD | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'community') diff --git a/community/libgusb/APKBUILD b/community/libgusb/APKBUILD index ad78f248ab..5a9886de45 100644 --- a/community/libgusb/APKBUILD +++ b/community/libgusb/APKBUILD @@ -1,35 +1,39 @@ # Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=libgusb -pkgver=0.2.11 +pkgver=0.3.0 pkgrel=0 pkgdesc="GLib wrapper around libusb" url="https://github.com/hughsie/libgusb" arch="all" license="LGPL" -depends_dev="eudev-dev gobject-introspection-dev" -makedepends="$depends_dev glib-dev libusb-dev gtk-doc vala" +# disabled due to: gusb-self-test FAIL options="!check" +makedepends="glib-dev libusb-dev gtk-doc vala eudev-dev gobject-introspection-dev meson" +checkdepends="python3-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://people.freedesktop.org/~hughsient/releases/libgusb-$pkgver.tar.xz" +source="$pkgname-$pkgver.tar.gz::https://github.com/hughsie/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" +prepare() { + default_prepare + cd "$builddir" + mkdir -p output +} + build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ + meson . ./output --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var - make + ninja -C output/ } package() { cd "$builddir" - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output/ install } -sha512sums="f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096 libgusb-0.2.11.tar.xz" +sha512sums="1e55c1c9234287f9eda9babf194f573487fa6ce2da10e0fd89e1f7c6244f709933c1b980667d7eef38dba3c7f87d3272df71fedc9b6f36753f2b0b513ce995ca libgusb-0.3.0.tar.gz" -- cgit v1.2.3