49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
# Template file for 'aravis'
|
|
pkgname=aravis
|
|
version=0.8.29
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Ddocumentation=enabled"
|
|
hostmakedepends="pkg-config gobject-introspection gi-docgen gettext"
|
|
makedepends="gtk+3-devel glib-devel libusb-devel zlib-devel libxml2-devel
|
|
gstreamer1-devel gst-plugins-base1-devel gi-docgen"
|
|
checkdepends="python3-gobject"
|
|
short_desc="Vision utilities for genicam based cameras"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/AravisProject/aravis"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=37d1d818c04b1261e433acd583fa4e022648be25f1cd04bc67251920ef3e39f6
|
|
# Network test causes timeout in CI
|
|
make_check=ci-skip
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" glib-devel prelink-cross qemu-user-static"
|
|
fi
|
|
|
|
libaravis_package() {
|
|
short_desc="Vision library for genicam-based cameras"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove usr/lib/girepository-1.0
|
|
}
|
|
}
|
|
|
|
libaravis-devel_package() {
|
|
depends="libaravis>=${version}_${revision}"
|
|
short_desc="Vision library for genicam-based cameras - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|
|
|
|
gstreamer1-aravis_package() {
|
|
short_desc+=" - gstreamer plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/gstreamer-1.0
|
|
}
|
|
}
|