[arch-commits] Commit in gtk4/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Fri Dec 31 19:54:51 UTC 2021
Date: Friday, December 31, 2021 @ 19:54:51
Author: heftig
Revision: 433291
4.6.0-1
Modified:
gtk4/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++++++++++-------------
1 file changed, 26 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-31 19:51:13 UTC (rev 433290)
+++ PKGBUILD 2021-12-31 19:54:51 UTC (rev 433291)
@@ -2,22 +2,23 @@
pkgbase=gtk4
pkgname=(gtk4 gtk-update-icon-cache gtk4-docs gtk4-demos)
-pkgver=4.4.1
+pkgver=4.6.0
pkgrel=1
epoch=1
pkgdesc="GObject-based multi-platform GUI toolkit"
+url="https://www.gtk.org/"
arch=(x86_64)
-url="https://www.gtk.org/"
-depends=(glib2 cairo pango fribidi gdk-pixbuf2 libepoxy libgl libegl harfbuzz
- libxkbcommon graphene iso-codes tracker3 libcolord wayland libxrandr
- libx11 libxrender libxi libxext libxcursor libxdamage libxfixes
- fontconfig libxinerama libcloudproviders libcups rest json-glib
- gst-plugins-bad-libs librsvg dconf shared-mime-info desktop-file-utils
- adwaita-icon-theme cantarell-fonts)
+license=(LGPL)
+depends=(glib2 cairo pango fribidi gdk-pixbuf2 libpng libtiff libjpeg libepoxy
+ libgl libegl harfbuzz libxkbcommon graphene iso-codes tracker3
+ libcolord wayland libxrandr libx11 libxrender libxi libxext libxcursor
+ libxdamage libxfixes fontconfig libxinerama libcloudproviders libcups
+ rest json-glib gst-plugins-bad-libs librsvg dconf shared-mime-info
+ desktop-file-utils adwaita-icon-theme cantarell-fonts)
makedepends=(git meson gi-docgen shaderc sassc gobject-introspection docbook-xsl
- wayland-protocols)
-license=(LGPL)
-_commit=3090fbac82d86543cd198ddf38d4044e05c87d91 # tags/4.4.1^0
+ wayland-protocols python-gobject python-docutils)
+checkdepends=(weston)
+_commit=70cb61fb7104c76a15bc6494a10e6ff1d470f6d8 # tags/4.6.0^0
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
gtk-update-icon-cache.{hook,script} gtk4-querymodules.hook)
sha256sums=('SKIP'
@@ -27,7 +28,7 @@
pkgver() {
cd gtk
- git describe --tags | sed 's/-/+/g'
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@@ -49,6 +50,18 @@
meson compile -C build
}
+check() (
+ export XDG_RUNTIME_DIR="$PWD/runtime-dir" WAYLAND_DISPLAY=wayland-5
+
+ mkdir -p -m 700 "$XDG_RUNTIME_DIR"
+ weston --backend=headless-backend.so --socket=$WAYLAND_DISPLAY --idle-time=0 &
+ _w=$!
+
+ trap "kill $_w; wait" EXIT
+
+ meson test -C build --print-errorlogs
+)
+
_pick() {
local p="$1" f d; shift
for f; do
@@ -113,4 +126,4 @@
mv demo/* "$pkgdir"
}
-# vim:set ts=2 sw=2 et:
+# vim:set sw=2 et:
More information about the arch-commits
mailing list