summaryrefslogtreecommitdiff
path: root/repo/libgcab
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/libgcab
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/libgcab')
-rw-r--r--repo/libgcab/libgcab.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/libgcab/libgcab.xibuild b/repo/libgcab/libgcab.xibuild
new file mode 100644
index 0000000..22a81aa
--- /dev/null
+++ b/repo/libgcab/libgcab.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="libgcab"
+DESC="A GObject library to create cabinet files"
+
+MAKEDEPS="meson gobject-introspection glib vala gtk2"
+
+PKG_VER=1.4
+SOURCE="https://download.gnome.org/sources/gcab/$PKG_VER/gcab-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ 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
+}
+