void-packages/srcpkgs/wf-config/template
q66 45de657966 wf-config: fix build and dependencies
I don't know what exactly libxml2-devel is pulled in through on
x86_64, but on other systems the dependency is missing. It is
necessary to add it in both makedepends and depends for the
devel package as the pkg-config file for wf-config requires it.
2020-03-22 18:29:47 +01:00

30 lines
824 B
Bash

# Template file for 'wf-config'
pkgname=wf-config
version=0.4.0
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="glm libevdev-devel wlroots-devel xcb-util-errors-devel
xcb-util-wm-devel libxml2-devel"
short_desc="Wayfire library for managing configuration files"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="MIT"
homepage="https://wayfire.org"
distfiles="https://github.com/WayfireWM/wf-config/archive/${version}.tar.gz"
checksum=78a922074138c2324ed242e8bf5791a599dfc96bbb2ee677685ae43657629333
post_install() {
vlicense LICENSE
}
wf-config-devel_package() {
depends="libevdev-devel wlroots-devel libxml2-devel
${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}