diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-02-16 14:59:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-02-16 14:59:32 +0000 |
commit | aae6fdb193aab3a210850489445357bddb2ddcd3 (patch) | |
tree | 2964f53094c5d2d276c56a63b1a26cca56a7875e | |
parent | 0ebf73b2c2c90ac66f1619b6104435d7ea730a3a (diff) | |
download | aports-aae6fdb193aab3a210850489445357bddb2ddcd3.tar.bz2 aports-aae6fdb193aab3a210850489445357bddb2ddcd3.tar.xz |
community/libgusb: upgrade to 0.3.0
-rw-r--r-- | community/libgusb/APKBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
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 <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> 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" |