From cbefbf138bd4a8d6d58934e65fc36f68fde514b7 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Fri, 23 Feb 2024 05:36:02 -0800 Subject: [PATCH] libgda: disable libgda-web provider Avoid conflict in gtranslator 45 with libsoup3 and libsoup2. Also add missing dependency for sqlite provider. --- srcpkgs/libgda/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libgda/template b/srcpkgs/libgda/template index f70e258544c..b284245abf1 100644 --- a/srcpkgs/libgda/template +++ b/srcpkgs/libgda/template @@ -1,16 +1,18 @@ # Template file for 'libgda' pkgname=libgda version=5.2.9 -revision=6 +revision=7 build_style=gnu-configure build_helper="gir" configure_args="--with-ui --with-gtksourceview --with-graphviz --enable-json - --enable-system-sqlite" + --enable-system-sqlite --without-libsoup" hostmakedepends="automake pkg-config intltool itstool flex perl glib-devel recode" makedepends="gtk+3-devel libxml2-devel libxslt-devel - openssl-devel libgcrypt-devel sqlite-devel db-devel libsoup-devel + openssl-devel libgcrypt-devel sqlite-devel db-devel libsecret-devel libgnome-keyring-devel gtksourceview-devel graphviz-devel json-glib-devel readline-devel libmariadbclient-devel" +depends="sqlite" +checkdepends="xvfb-run" conf_files="/etc/libgda-5.0/config" short_desc="Database and data abstraction layer" maintainer="Orphaned " @@ -18,6 +20,7 @@ license="GPL-2.0-only" homepage="http://www.gnome-db.org/" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=59caed8ca72b1ac6437c9844f0677f8a296d52cfd1c0049116026abfb1d87d9b +make_check_pre=xvfb-run python_version=3 if [ "$CROSS_BUILD" ]; then @@ -33,6 +36,11 @@ post_extract() { vsed -e 's,defined(LIBRESSL,!defined(OPENSSL,' -i providers/sqlcipher/sqlite3.c } +do_check() { + # Tests cannot run parallel + ${make_check_pre} make check +} + libgda-devel_package() { short_desc+=" - development files" depends="libxslt-devel libgda>=${version}_${revision}"