From 458908a25f679ce7784ad5737c83766dcec94d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 17 Jan 2021 17:56:25 +0700 Subject: [PATCH] libvirt: pre-generate another header --- srcpkgs/libvirt/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 1d50469242..1b4f98fce2 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -68,6 +68,12 @@ post_patch() { fi } +pre_build() { + ninja -C build \ + src/remote/qemu_protocol.h \ + src/remote/remote_protocol.h +} + post_install() { # runit services vsv libvirtd @@ -85,10 +91,6 @@ post_install() { fi } -pre_build() { - ninja -C build src/remote/qemu_protocol.h -} - libvirt-devel_package() { depends="libvirt>=${version}_${revision}" short_desc+=" - development files"