[arch-commits] Commit in clutter/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Mar 9 22:18:46 UTC 2020


    Date: Monday, March 9, 2020 @ 22:18:46
  Author: heftig
Revision: 377230

run tests

Modified:
  clutter/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++++
 1 file changed, 6 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 21:47:22 UTC (rev 377229)
+++ PKGBUILD	2020-03-09 22:18:46 UTC (rev 377230)
@@ -12,6 +12,7 @@
 license=(LGPL)
 depends=(gtk3 cogl libinput)
 makedepends=(gobject-introspection gtk-doc git)
+checkdepends=(xorg-server-xvfb)
 _commit=fd85623d34a54b3f5607011086cf19cb2c756a6a  # tags/1.26.4^0
 source=("git+https://gitlab.gnome.org/GNOME/clutter.git#commit=$_commit")
 sha256sums=('SKIP')
@@ -44,6 +45,11 @@
   make
 }
 
+check() {
+  cd $pkgname
+  xvfb-run -s '-screen 0 1920x1080x24 -nolisten local +iglx -noreset' make check
+}
+
 package() {
   depends+=(libcogl{,-pango,-path}.so)
   provides+=(libclutter-1.0.so)



More information about the arch-commits mailing list