libaccounts-glib: update to 1.26.

This commit is contained in:
Đoàn Trần Công Danh 2024-04-07 14:42:21 +07:00 committed by Đoàn Trần Công Danh
parent d8c079c8df
commit cd723b285f
2 changed files with 24 additions and 15 deletions

View File

@ -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

View File

@ -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 <enterthevoid@codesector.co>"
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
}
}