Browse Source

[testing] -> [extra] 'glade-3.38.2-1' move

master
artoo 1 year ago
parent
commit
5c02c0ddf1
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 28
      glade/x86_64/extra/PKGBUILD
  2. 0
      glade/x86_64/extra/python-dep.diff
  3. 54
      glade/x86_64/testing/PKGBUILD

28
glade/x86_64/extra/PKGBUILD

@ -2,7 +2,7 @@
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade
pkgver=3.38.1
pkgver=3.38.2
pkgrel=1
pkgdesc="User Interface Builder for GTK+ applications"
url="https://glade.gnome.org/"
@ -15,9 +15,11 @@ checkdepends=(xorg-server-xvfb)
optdepends=('devhelp: development help')
groups=(gnome-extra)
provides=(libgladeui-2.so)
_commit=9b3f55387f03920e1bf1cea9b7e9c911421cbb3e # tags/GLADE_3_38_1^0
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit")
sha256sums=('SKIP')
_commit=152031927c60c167ae7b035a78fca4d70678775c # glade-3-38
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit"
python-dep.diff)
sha256sums=('SKIP'
'dc1ed48403d473fcacef37fc6dd693e0442e7fed31bb852b20957c71595e2124')
pkgver() {
cd $pkgname
@ -26,6 +28,12 @@ pkgver() {
prepare() {
cd $pkgname
# Add missing tag
git tag -f GLADE_3_38_2 152031927c60c167ae7b035a78fca4d70678775c
# Fix build with Python 3.9
git apply -3 ../python-dep.diff
}
build() {
@ -33,15 +41,13 @@ build() {
meson compile -C build
}
# test fails; just skip for now
# Requires Glade to be installed to pass
# GladeUI-FATAL-CRITICAL: Unable to load image (Failed to open file "/usr/share/glade/pixmaps/plus.png": No such file or directory)
#check() {
# dbus-run-session xvfb-run \
# -s '-screen 0 1920x1080x24 -nolisten local' \
# meson test -C build --print-errorlogs || :
#}
check() {
dbus-run-session xvfb-run \
-s '-screen 0 1920x1080x24 -nolisten local' \
meson test -C build --print-errorlogs || :
}
package() {
DESTDIR="$pkgdir" meson install -C build

0
glade/x86_64/testing/python-dep.diff → glade/x86_64/extra/python-dep.diff

54
glade/x86_64/testing/PKGBUILD

@ -1,54 +0,0 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade
pkgver=3.38.2
pkgrel=1
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 python-gobject itstool docbook-xsl
git webkit2gtk meson gjs)
checkdepends=(xorg-server-xvfb)
optdepends=('devhelp: development help')
groups=(gnome-extra)
provides=(libgladeui-2.so)
_commit=152031927c60c167ae7b035a78fca4d70678775c # glade-3-38
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit"
python-dep.diff)
sha256sums=('SKIP'
'dc1ed48403d473fcacef37fc6dd693e0442e7fed31bb852b20957c71595e2124')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^GLADE_//;s/_/./g;s/-/+/g'
}
prepare() {
cd $pkgname
# Add missing tag
git tag -f GLADE_3_38_2 152031927c60c167ae7b035a78fca4d70678775c
# Fix build with Python 3.9
git apply -3 ../python-dep.diff
}
build() {
arch-meson $pkgname build -D gtk_doc=true
meson compile -C build
}
# Requires Glade to be installed to pass
# GladeUI-FATAL-CRITICAL: Unable to load image (Failed to open file "/usr/share/glade/pixmaps/plus.png": No such file or directory)
check() {
dbus-run-session xvfb-run \
-s '-screen 0 1920x1080x24 -nolisten local' \
meson test -C build --print-errorlogs || :
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
Loading…
Cancel
Save