# Template file for 'linux-driver-management' pkgname=linux-driver-management version=1.0.3 revision=2 # Tests require unpackaged umockdev # https://github.com/martinpitt/umockdev build_style=meson build_helper=gir configure_args="-Dwith-docs=false" hostmakedepends="pkg-config glib-devel" makedepends="libusb-devel libglib-devel eudev-libudev-devel libgirepository-devel xorg-server-devel libkmod-devel gobject-introspection" checkdepends="check-devel" short_desc="Distro agnostic Plug'n'Play system for Linux" maintainer="Orphaned " license="LGPL-2.1-only" homepage="https://github.com/solus-project/linux-driver-management" distfiles="https://github.com/solus-project/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz" checksum=968ef61fbb7e26b89ef9456f03cf31c616bdc8fc69531fcfd9f90ae0f4ff147b if [ "$CROSS_BUILD" ]; then # host needs glib-mkenums hostmakedepends+=" glib-devel" fi linux-driver-management-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - Development files" pkg_install() { vmove usr/include vmove "usr/lib/*.so" vmove usr/lib/pkgconfig vmove usr/share/gir-1.0 } }