From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/libosinfo/libosinfo.xibuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repo/libosinfo/libosinfo.xibuild (limited to 'repo/libosinfo/libosinfo.xibuild') diff --git a/repo/libosinfo/libosinfo.xibuild b/repo/libosinfo/libosinfo.xibuild new file mode 100644 index 0000000..ba420ee --- /dev/null +++ b/repo/libosinfo/libosinfo.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="libosinfo" +DESC="library for managing OS information for virtualization" + +MAKEDEPS=" meson glib libsoup libxml2 libxslt gobject-introspection vala perl" + +PKG_VER=1.10.0 +SOURCE="https://gitlab.com/libosinfo/libosinfo/-/archive/v$PKG_VER/libosinfo-v$PKG_VER.tar.gz" + +build() { + meson --prefix=/usr \ + -Denable-gtk-doc=false \ + -Denable-introspection=enabled \ + -Denable-tests=true \ + -Denable-vala=enabled \ + -Dwith-pci-ids-path=/usr/share/hwdata/pci.ids \ + -Dwith-usb-ids-path=/usr/share/hwdata/usb.ids \ + . output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +check() { + meson test --no-rebuild -v -C output +} + +package() { + DESTDIR="$PKG_DEST" meson install --no-rebuild -C output +} + -- cgit v1.2.1