Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / gnome-characters


Commits:
e5318e46 by Jan Alexander Steffens (heftig) at 2023-10-04T01:01:53+02:00
45.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,23 @@
+pkgbase = gnome-characters
+       pkgdesc = A character map application
+       pkgver = 45.0
+       pkgrel = 1
+       url = https://gitlab.gnome.org/GNOME/gnome-characters
+       arch = x86_64
+       groups = gnome
+       license = GPL2
+       checkdepends = weston
+       makedepends = appstream-glib
+       makedepends = git
+       makedepends = gobject-introspection
+       makedepends = gperf
+       makedepends = meson
+       depends = emoji-font
+       depends = gjs
+       depends = gnome-desktop-4
+       depends = gtk4
+       depends = libadwaita
+       source = 
git+https://gitlab.gnome.org/GNOME/gnome-characters.git#commit=6f25c0380b4125055de035acf63e8fe7d6c774e1
+       b2sums = SKIP
+
+pkgname = gnome-characters


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,9 @@
+# Maintainer: Fabian Bornschein <fabiscafe-at-mailbox-dot-org>
 # Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org>
 # Contributor: Jan de Groot <j...@archlinux.org>
 
 pkgname=gnome-characters
-pkgver=44.0
+pkgver=45.0
 pkgrel=1
 pkgdesc="A character map application"
 url="https://gitlab.gnome.org/GNOME/gnome-characters";
@@ -22,8 +23,9 @@ makedepends=(
   gperf
   meson
 )
+checkdepends=(weston)
 groups=(gnome)
-_commit=9bbbe9fc4d62f1d7a642d504beb48df79b2e7ab5  # tags/44.0^0
+_commit=6f25c0380b4125055de035acf63e8fe7d6c774e1  # tags/45.0^0
 
source=("git+https://gitlab.gnome.org/GNOME/gnome-characters.git#commit=$_commit";)
 b2sums=('SKIP')
 
@@ -41,9 +43,18 @@ build() {
   meson compile -C build
 }
 
-check() {
+check() (
+  export XDG_RUNTIME_DIR="$PWD/runtime-dir"
+  mkdir -p -m 700 "$XDG_RUNTIME_DIR"
+
+  export WAYLAND_DISPLAY=wayland-5
+  weston --backend=headless-backend.so --socket=$WAYLAND_DISPLAY --idle-time=0 
&
+  _w=$!
+
+  trap "kill $_w; wait" EXIT
+
   meson test -C build --print-errorlogs
-}
+)
 
 package() {
   meson install -C build --destdir "$pkgdir"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-characters/-/commit/e5318e46bf74bedbbec0bafe2cb28b60bbe67b36

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-characters/-/commit/e5318e46bf74bedbbec0bafe2cb28b60bbe67b36
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to