summaryrefslogtreecommitdiff
path: root/repo/glade/glade.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/glade/glade.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/glade/glade.xibuild')
-rw-r--r--repo/glade/glade.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/glade/glade.xibuild b/repo/glade/glade.xibuild
new file mode 100644
index 0000000..f043951
--- /dev/null
+++ b/repo/glade/glade.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+NAME="glade"
+DESC="User Interface Designer for GTK+ and GNOME"
+
+MAKEDEPS="gtk3 libxml2 itstool intltool python-gobject gobject-introspection meson python gjs"
+
+PKG_VER=3.38.2
+SOURCE="https://download.gnome.org/sources/glade/${PKG_VER%.*}/glade-$PKG_VER.tar.xz"
+
+ADDITIONAL="
+duplicate-linguas.patch
+meson-0.60.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ meson --prefix=/usr \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ # this one index is missing, so copy it from another language
+ mkdir output/help/hi/
+ cp output/help/en_GB/index.docbook output/help/hi/index.docbook
+
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}