From cd723b285f1b3ae533b4e580a6ffdff317b1f792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 7 Apr 2024 14:42:21 +0700 Subject: [PATCH] libaccounts-glib: update to 1.26. --- common/shlibs | 2 +- srcpkgs/libaccounts-glib/template | 37 +++++++++++++++++++------------ 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/common/shlibs b/common/shlibs index 035bd83c98b..b65d8fa67c0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2721,7 +2721,7 @@ libflimage.so.2 xforms-1.2.4_2 libutilspp.so.0 curlpp-0.7.3_2 libcurlpp.so.1 curlpp-0.8.1_1 libtcd.so.1 libtcd-2.2.7.r2_1 -libaccounts-glib.so.1 libaccounts-glib-1.24_1 +libaccounts-glib.so.0 libaccounts-glib-1.26_1 libaccounts-qt5.so.1 libaccounts-qt5-1.14_1 libshotwell-plugin-dev-1.0.so.0 shotwell-0.30.0_1 libshotwell-plugin-common.so.0 shotwell-0.30.0_1 diff --git a/srcpkgs/libaccounts-glib/template b/srcpkgs/libaccounts-glib/template index 03eea3d7aa0..a5d7c58dec6 100644 --- a/srcpkgs/libaccounts-glib/template +++ b/srcpkgs/libaccounts-glib/template @@ -1,26 +1,30 @@ # Template file for 'libaccounts-glib' pkgname=libaccounts-glib -version=1.24 -revision=7 +version=1.26 +revision=1 build_style=meson -build_helper="gir" -hostmakedepends="gtk-doc pkg-config python3-gobject-devel - glib-devel gobject-introspection vala" -makedepends="sqlite-devel libxml2-devel libglib-devel python3-gobject-devel check-devel" +build_helper="gir qemu" +configure_args="-Dpy-overrides-dir=/${py3_sitelib}/gi/overrides" +hostmakedepends="gtk-doc pkg-config glib-devel gobject-introspection vala + libxml2 dbus-test-runner" +makedepends="sqlite-devel libxml2-devel libglib-devel python3-gobject-devel + check-devel" +checkdepends="dbus xvfb-run" short_desc="GLib-based client library for the accounts database" maintainer="John Rowley " license="LGPL-2.1-only" homepage="https://gitlab.com/accounts-sso/libaccounts-glib" distfiles="https://gitlab.com/accounts-sso/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz" -checksum=eebb1c6debfcf929efb388a0f28d8cc8ec9b32f273e4abe4224a33e5d299cd73 +checksum=1e245338186bd481690d259d3a8b412c20c17149fcef3e8a66ec1f1705fabda4 +# make_check_pre="dbus-run-session xvfb-run" +make_check=no # test_store_locked_cancel -if [ "$CROSS_BUILD" ]; then - # Remove docs. During install of package, it will try - # to run target binary with host, which causes exec error - post_patch() { - vsed -e '/docs/d' -i meson.build - } -fi +post_patch() { + # Failing on musl + if [ "$CROSS_BUILD" ]; then + sed -i "/subdir.'docs'/d" meson.build + fi +} libaccounts-glib-devel_package() { short_desc+=" - development files" @@ -29,5 +33,10 @@ libaccounts-glib-devel_package() { vmove usr/include vmove usr/lib/*.so vmove usr/lib/pkgconfig + vmove "usr/share/gir-*" + vmove usr/share/vala + if [ ! "$CROSS_BUILD" ]; then + vmove usr/share/gtk-doc + fi } }