diff options
Diffstat (limited to 'net-im/dino/dino-0.2.1.ebuild')
-rw-r--r-- | net-im/dino/dino-0.2.1.ebuild | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/net-im/dino/dino-0.2.1.ebuild b/net-im/dino/dino-0.2.1.ebuild index c640a0cc338e..b9cbc662d434 100644 --- a/net-im/dino/dino-0.2.1.ebuild +++ b/net-im/dino/dino-0.2.1.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 @@ -66,28 +68,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 -} |