Date: Friday, April 7, 2023 @ 06:00:48
  Author: felixonmars
Revision: 472945

archrelease: copy trunk to staging-x86_64

Added:
  glade/repos/staging-x86_64/
  glade/repos/staging-x86_64/PKGBUILD
    (from rev 472942, glade/trunk/PKGBUILD)
  glade/repos/staging-x86_64/fix-build.diff
    (from rev 472942, glade/trunk/fix-build.diff)

----------------+
 PKGBUILD       |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 fix-build.diff |   26 ++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

Copied: glade/repos/staging-x86_64/PKGBUILD (from rev 472942, 
glade/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2023-04-07 06:00:48 UTC (rev 472945)
@@ -0,0 +1,53 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+
+pkgname=glade
+pkgver=3.40.0+r14+g1fbca367
+pkgrel=2
+pkgdesc="User Interface Builder for GTK+ applications"
+url="https://glade.gnome.org/";
+arch=(x86_64)
+license=(GPL LGPL)
+depends=(gtk3 libxml2)
+makedepends=(gtk-doc gobject-introspection itstool docbook-xsl git meson gjs
+             python-gobject webkit2gtk)
+checkdepends=(xorg-server-xvfb)
+optdepends=('devhelp: development help'
+            'gjs: gjs module'
+            'python-gobject: python module'
+            'webkit2gtk: webkit2gtk module')
+provides=(libgladeui-2.so)
+groups=(gnome-extra)
+_commit=1fbca367cf33991f1d8d20a256ca704eb778fca9  # master
+source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit";
+        fix-build.diff)
+sha256sums=('SKIP'
+            '0dd99583c4b7b6327e84a909614f46ec0062dbc9f67be733ea97dc294e40317b')
+
+pkgver() {
+  cd glade
+  git describe --tags | sed 's/^GLADE_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd glade
+
+  # Fix missing dependency on vcs_tag
+  git apply -3 ../fix-build.diff
+}
+
+build() {
+  arch-meson glade build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  dbus-run-session xvfb-run -s '-nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Copied: glade/repos/staging-x86_64/fix-build.diff (from rev 472942, 
glade/trunk/fix-build.diff)
===================================================================
--- staging-x86_64/fix-build.diff                               (rev 0)
+++ staging-x86_64/fix-build.diff       2023-04-07 06:00:48 UTC (rev 472945)
@@ -0,0 +1,26 @@
+diff --git i/src/meson.build w/src/meson.build
+index 40c730a0..56f4e47d 100644
+--- i/src/meson.build
++++ w/src/meson.build
+@@ -1,18 +1,18 @@
+ fs = import('fs')
+ 
+ if fs.exists('../.git')
+-  vcs_tag(input: 'version.h.in', output: 'version.h')
++  version_h = vcs_tag(input: 'version.h.in', output: 'version.h')[0]
+ else
+   config = configuration_data()
+   config.set ('VCS_TAG', glade_version)
+-  configure_file(
++  version_h = configure_file(
+     input: 'version.h.in',
+     output: 'version.h',
+     configuration: config
+   )
+ endif
+ 
+-sources = files(
++sources = [version_h] + files(
+   'glade-intro.c',
+   'glade-preferences.c',
+   'glade-settings.c',

Reply via email to