From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- net-im/dino/dino-9999.ebuild | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'net-im/dino/dino-9999.ebuild') diff --git a/net-im/dino/dino-9999.ebuild b/net-im/dino/dino-9999.ebuild index e0058ccbf6e7..408e90c29689 100644 --- a/net-im/dino/dino-9999.ebuild +++ b/net-im/dino/dino-9999.ebuild @@ -5,13 +5,15 @@ EAPI=7 CMAKE_MAKEFILE_GENERATOR="ninja" VALA_MIN_API_VERSION="0.34" -inherit cmake gnome2-utils vala xdg-utils +inherit cmake vala xdg DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" HOMEPAGE="https://dino.im" + LICENSE="GPL-3" SLOT="0" -IUSE="+gpg +http +omemo +notification-sound" +IUSE="+gpg +http +omemo +notification-sound test" +RESTRICT="!test? ( test )" MY_REPO_URI="https://github.com/dino/dino" if [[ ${PV} == "9999" ]]; then @@ -68,28 +70,12 @@ src_configure() { "-DENABLED_PLUGINS=$(local IFS=";"; echo "${enabled_plugins[*]}")" "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" "-DVALA_EXECUTABLE=${VALAC}" + "-DBUILD_TESTS=$(usex test)" ) - if has test ${FEATURES}; then - mycmakeargs+=("-DBUILD_TESTS=yes") - fi - cmake_src_configure } src_test() { "${BUILD_DIR}"/xmpp-vala-test || die } - -update_caches() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - update_caches -} - -pkg_postrm() { - update_caches -} -- cgit v1.2.3