# Template file for 'libqrtr-glib'
pkgname=libqrtr-glib
version=1.0.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static
 $(vopt_enable gir introspection)"
hostmakedepends="pkg-config"
makedepends="glib-devel"
short_desc="Qualcomm IPC Router protocol helper library"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
distfiles="${FREEDESKTOP_SITE}/libqmi/${pkgname}-${version}.tar.xz"
checksum=30d879b2ade6f8f461def3a677755db5c0238babf688d5c83c03b3e6abe35cee
build_options="gir"
build_options_default="gir"

libqrtr-glib-devel_package() {
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
