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.
This commit is contained in:
q66 2020-03-22 18:28:04 +01:00
parent 38988f7ba2
commit 45de657966
1 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'wf-config'
pkgname=wf-config
version=0.4.0
revision=1
revision=2
build_style=meson
hostmakedepends="pkg-config"
makedepends="glm libevdev-devel wlroots-devel xcb-util-errors-devel xcb-util-wm-devel"
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"
@ -17,7 +18,8 @@ post_install() {
}
wf-config-devel_package() {
depends="libevdev-devel wlroots-devel ${sourcepkg}>=${version}_${revision}"
depends="libevdev-devel wlroots-devel libxml2-devel
${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include