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

Jan Steffens heftig at archlinux.org
Sat Jun 20 23:49:48 UTC 2020


    Date: Saturday, June 20, 2020 @ 23:49:48
  Author: heftig
Revision: 648700

0.80.0-1

Modified:
  libhandy/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-20 23:23:01 UTC (rev 648699)
+++ PKGBUILD	2020-06-20 23:49:48 UTC (rev 648700)
@@ -1,24 +1,22 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=libhandy
-pkgver=0.0.13
-pkgrel=2
+pkgver=0.80.0
+pkgrel=1
 pkgdesc="Library full of GTK+ widgets for mobile phones"
 arch=(x86_64)
 url="https://source.puri.sm/Librem5/libhandy"
 license=(LGPL2.1)
-depends=(gtk3)
+depends=(glib2 gtk3)
 makedepends=(git glade gobject-introspection meson vala)
-_commit=7a193d7692c9c76a1a94f17c4d30b585f77d177c  # tags/v0.0.13^0
+checkdepends=(xorg-server-xvfb)
+provides=(libhandy-1.so)
+_commit=b61eefde06040703026f49a0b979588e69f77d3a  # tags/v0.80.0^0
 source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit")
 sha256sums=('SKIP')
 
 prepare() {
   cd $pkgname
-
-  # Fix build with glade 3.36.0
-  sed -e 's/GPC_OBJECT_DELIMITER/GLADE_PROPERTY_DEF_OBJECT_DELIMITER/g' \
-      -i glade/glade-*.c
 }
 
 pkgver() {
@@ -27,10 +25,20 @@
 }
 
 build() {
-  arch-meson $pkgname build -Dgtk_doc=true -Dexamples=false
-  ninja -C build
+  arch-meson $pkgname build \
+    -D gtk_doc=true \
+    -D examples=false
+  meson compile -C build
 }
 
+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
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list