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/appstream-glib/appstream-glib.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/appstream-glib/appstream-glib.xibuild')
-rw-r--r-- | repo/appstream-glib/appstream-glib.xibuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/repo/appstream-glib/appstream-glib.xibuild b/repo/appstream-glib/appstream-glib.xibuild new file mode 100644 index 0000000..0f5ccba --- /dev/null +++ b/repo/appstream-glib/appstream-glib.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="appstream-glib" +DESC="Library for AppStream metadata" + +MAKEDEPS="meson glib libarchive libsoup json-glib gdk-pixbuf gtk3 freetype2 fontconfig yaml gperf libgcab gobject-introspection" + +PKG_VER=0.7.18 +SOURCE="https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-$PKG_VER.tar.xz" + +build() { + meson --prefix=/usr \ + -Ddep11=true \ + -Dbuilder=true \ + -Drpm=false \ + -Dalpm=false \ + -Dfonts=true \ + -Dstemmer=false \ + -Dman=true \ + -Dgtk-doc=false \ + -Dintrospection=true \ + 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 + + # Remove installed tests + rm -rf "$PKG_DEST"/usr/share/installed-tests/appstream-glib +} + |