summaryrefslogtreecommitdiff
path: root/skip/glade
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /skip/glade
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'skip/glade')
-rw-r--r--skip/glade/duplicate-linguas.patch9
-rw-r--r--skip/glade/glade.xibuild31
-rw-r--r--skip/glade/meson-0.60.patch18
3 files changed, 58 insertions, 0 deletions
diff --git a/skip/glade/duplicate-linguas.patch b/skip/glade/duplicate-linguas.patch
new file mode 100644
index 0000000..4d2ab18
--- /dev/null
+++ b/skip/glade/duplicate-linguas.patch
@@ -0,0 +1,9 @@
+--- a/help/LINGUAS
++++ b/help/LINGUAS
+@@ -1,6 +1,5 @@
+ # please keep this list sorted alphabetically
+ #
+-da
+ bg
+ ca
+ cs
diff --git a/skip/glade/glade.xibuild b/skip/glade/glade.xibuild
new file mode 100644
index 0000000..019c97d
--- /dev/null
+++ b/skip/glade/glade.xibuild
@@ -0,0 +1,31 @@
+#!/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/
+
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}
diff --git a/skip/glade/meson-0.60.patch b/skip/glade/meson-0.60.patch
new file mode 100644
index 0000000..d470a31
--- /dev/null
+++ b/skip/glade/meson-0.60.patch
@@ -0,0 +1,18 @@
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -2,7 +2,6 @@
+ desktop_conf.set('VERSION', glade_version)
+
+ i18n.merge_file(
+- 'desktop',
+ type: 'desktop',
+ input: configure_file(
+ input: 'org.gnome.Glade.desktop.in.in',
+@@ -18,7 +17,6 @@
+ appdata = glade_name + '.appdata.xml'
+
+ i18n.merge_file(
+- 'appdata',
+ input: 'org.gnome.Glade.appdata.xml.in',
+ output: '@BASENAME@',
+ po_dir: po_dir,