diff options
author | Mart Raudsepp <leio@gentoo.org> | 2021-07-11 15:27:16 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2021-07-11 15:28:06 +0300 |
commit | b7b951e0bd88452d30fc83a719d6019d9edc3175 (patch) | |
tree | 333640c50be85b79dea24e033cad9104b6ad2e6d /mail-client/geary | |
parent | dev-haskell/unixutils: bump up to 1.54.2, use virtual/libcrypt:= (diff) | |
download | gentoo-b7b951e0bd88452d30fc83a719d6019d9edc3175.tar.gz gentoo-b7b951e0bd88452d30fc83a719d6019d9edc3175.tar.bz2 gentoo-b7b951e0bd88452d30fc83a719d6019d9edc3175.zip |
mail-client/geary: fix tests and test dep handling
Tests were still failing for me, because root user has a XDG_DATA_DIRS
set now when flatpak is installed, and it can't access those folders
under sandbox to write dconf settings in. Fix it properly by calling
gnome2_environment_reset, which sets it to use the memory backend instead.
Also downgrade gnutls[tools] to a test-only dep, which it is (certtool
called by a unit test only).
Bug: https://bugs.gentoo.org/739524
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'mail-client/geary')
-rw-r--r-- | mail-client/geary/geary-40.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail-client/geary/geary-40.0.ebuild b/mail-client/geary/geary-40.0.ebuild index a753ad080781..dee08bf606e8 100644 --- a/mail-client/geary/geary-40.0.ebuild +++ b/mail-client/geary/geary-40.0.ebuild @@ -11,7 +11,8 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Geary" LICENSE="LGPL-2.1+ CC-BY-3.0 CC-BY-SA-3.0" # code is LGPL-2.1+, CC licenses for some icons SLOT="0" -IUSE="ytnef" +IUSE="test ytnef" +RESTRICT="!test? ( test )" KEYWORDS="~amd64 ~arm64 ~x86" # >=gspell-1.7 dep to ensure all libraries used use enchant:2 @@ -50,7 +51,7 @@ BDEPEND=" dev-util/itstool >=sys-devel/gettext-0.19.8 virtual/pkgconfig - net-libs/gnutls[tools] + test? ( net-libs/gnutls[tools] ) $(vala_depend) x11-libs/gtk+:3[introspection] @@ -67,7 +68,8 @@ BDEPEND=" src_prepare() { vala_src_prepare - xdg_src_prepare + gnome2_environment_reset + default } src_configure() { @@ -84,8 +86,6 @@ src_configure() { } src_test() { - unset GSETTINGS_BACKEND - virtx meson_src_test } |