Browse Source

[trunk] -> [staging] 'glade-3.38.2-1' add

master
Dudemanguy 1 year ago
parent
commit
448912d41f
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 21
      glade/trunk/PKGBUILD
  2. 21
      glade/x86_64/staging/PKGBUILD

21
glade/trunk/PKGBUILD

@ -2,8 +2,8 @@
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade
pkgver=3.38.1
pkgrel=3
pkgver=3.38.2
pkgrel=1
pkgdesc="User Interface Builder for GTK+ applications"
url="https://glade.gnome.org/"
arch=(x86_64)
@ -15,7 +15,7 @@ checkdepends=(xorg-server-xvfb)
optdepends=('devhelp: development help')
groups=(gnome-extra)
provides=(libgladeui-2.so)
_commit=9b3f55387f03920e1bf1cea9b7e9c911421cbb3e # tags/GLADE_3_38_1^0
_commit=152031927c60c167ae7b035a78fca4d70678775c # glade-3-38
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit"
python-dep.diff)
sha256sums=('SKIP'
@ -29,6 +29,9 @@ 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
}
@ -38,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

21
glade/x86_64/staging/PKGBUILD

@ -2,8 +2,8 @@
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade
pkgver=3.38.1
pkgrel=3
pkgver=3.38.2
pkgrel=1
pkgdesc="User Interface Builder for GTK+ applications"
url="https://glade.gnome.org/"
arch=(x86_64)
@ -15,7 +15,7 @@ checkdepends=(xorg-server-xvfb)
optdepends=('devhelp: development help')
groups=(gnome-extra)
provides=(libgladeui-2.so)
_commit=9b3f55387f03920e1bf1cea9b7e9c911421cbb3e # tags/GLADE_3_38_1^0
_commit=152031927c60c167ae7b035a78fca4d70678775c # glade-3-38
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit"
python-dep.diff)
sha256sums=('SKIP'
@ -29,6 +29,9 @@ 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
}
@ -38,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

Loading…
Cancel
Save