diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/libosinfo/libosinfo.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/libosinfo/libosinfo.xibuild')
-rw-r--r-- | repo/libosinfo/libosinfo.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
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 +} + |