2018-01-27 16:26:22 +01:00
|
|
|
# Template file for 'linux-driver-management'
|
|
|
|
pkgname=linux-driver-management
|
2018-02-25 04:16:27 +01:00
|
|
|
version=1.0.3
|
2018-01-27 16:26:22 +01:00
|
|
|
revision=1
|
|
|
|
# Tests require unpackaged umockdev
|
|
|
|
# https://github.com/martinpitt/umockdev
|
|
|
|
configure_args="-Dwith-docs=false"
|
|
|
|
build_style=meson
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libusb-devel glib-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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="https://github.com/solus-project/linux-driver-management"
|
|
|
|
distfiles="https://github.com/solus-project/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
2018-02-25 04:16:27 +01:00
|
|
|
checksum=968ef61fbb7e26b89ef9456f03cf31c616bdc8fc69531fcfd9f90ae0f4ff147b
|
2018-01-27 16:26:22 +01:00
|
|
|
nocross="requires gobject-introspection"
|
|
|
|
|
|
|
|
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/lib/girepository-1.0
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|