summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9679016961266ba39f14ac36d570e6af1cf2849 (plain)
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
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>

pkgname=aravis
pkgver=0.9.0
pkgrel=1
pkgdesc="A vision library for genicam-based cameras"
url="https://github.com/AravisProject/aravis"
arch=('x86_64' 'aarch64')
license=('LGPL-2.1-or-later')
depends=('gtk3' 'gst-plugins-base-libs' 'audit' 'libusb' 'python-gobject')
makedepends=('glib2-devel' 'meson' 'gtk-doc' 'gobject-introspection' 'appstream-glib')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
sha256sums=('05dbecf0a316d4b8fff8395d353c366ade4cd939fae3873d9f55ff93626bdfd8')

build() {
  arch-meson $pkgname-$pkgver build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir="$pkgdir"
}