aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgusb/APKBUILD
blob: 5ba2b0d97aa2ae55bce0a123e5148696fad78ebd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgusb
pkgver=0.3.5
pkgrel=0
pkgdesc="GLib wrapper around libusb"
url="https://github.com/hughsie/libgusb"
arch="all"
license="LGPL-2.1-or-later"
# 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="libgusb-$pkgver.tar.gz::https://github.com/hughsie/libgusb/archive/$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="516a7a611fcd2c123c8b988f949c945d83b46580220df7cb030bf19fb1f1d425c2a75b55d39ec65419bc19fc792c31db11e3b8cdc2635aa7269ee404fc3a25f4  libgusb-0.3.5.tar.gz"