# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Matrix group messaging app" HOMEPAGE="https://wiki.gnome.org/Apps/Fractal" inherit meson gnome2-utils xdg-utils if [[ ${PV} == "9999" ]]; then inherit git-r3 SRC_URI="" EGIT_REPO_URI="https://gitlab.gnome.org/world/fractal.git" EGIT_BRANCH="master" else SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-3" SLOT="0" IUSE="" RDEPEND=">=virtual/rust-1.31.1 >=app-text/gspell-1.8.1 >=gui-libs/libhandy-0.0.10:0.0= media-libs/gstreamer-editing-services >=x11-libs/cairo-1.16.0 >=x11-libs/gtksourceview-3" DEPEND="${RDEPEND}" BDEPEND="dev-util/ninja dev-util/meson" pkg_preinst() { gnome2_schemas_savelist } pkg_postinst() { gnome2_schemas_update xdg_icon_cache_update } pkg_postrm() { gnome2_schemas_update xdg_icon_cache_update }