aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2019-04-10 10:03:08 +0200
committerPureTryOut <bribbers@disroot.org>2019-04-10 09:53:27 +0000
commit84319b6431ad838b02b106eaffae4996c817213a (patch)
treef530293e78f014777a5bf6c676f16ea516c07d4c /net-im
parentdev-libs/sortfilterproxymodel: multilib-strict check failed (diff)
downloadmatrix-84319b6431ad838b02b106eaffae4996c817213a.tar.gz
matrix-84319b6431ad838b02b106eaffae4996c817213a.tar.bz2
matrix-84319b6431ad838b02b106eaffae4996c817213a.zip
net-im/fractal: fix build
- schemas are installed - icon cache is installed Still must be installed without "-flto" ! (as most rust packages) Also FEATURES="-network-sandbox" is required to download all dependencies Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/fractal/fractal-4.0.0.ebuild23
-rw-r--r--net-im/fractal/fractal-9999.ebuild18
2 files changed, 35 insertions, 6 deletions
diff --git a/net-im/fractal/fractal-4.0.0.ebuild b/net-im/fractal/fractal-4.0.0.ebuild
index 5da38f9..e000ae7 100644
--- a/net-im/fractal/fractal-4.0.0.ebuild
+++ b/net-im/fractal/fractal-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
DESCRIPTION="Matrix group messaging app"
HOMEPAGE="https://wiki.gnome.org/Apps/Fractal"
-inherit meson xdg-utils
+inherit meson gnome2-utils xdg-utils
if [[ ${PV} == "9999" ]]; then
inherit git-r3
@@ -25,9 +25,24 @@ IUSE=""
RDEPEND=">=virtual/rust-1.31.1
>=app-text/gspell-1.8.1
+ >=dev-libs/libhandy-0.0.9
+ media-libs/gstreamer-editing-services
>=x11-libs/cairo-1.16.0
- x11-libs/gtksourceview
- dev-libs/libhandy"
+ >=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
+}
diff --git a/net-im/fractal/fractal-9999.ebuild b/net-im/fractal/fractal-9999.ebuild
index 2558718..e000ae7 100644
--- a/net-im/fractal/fractal-9999.ebuild
+++ b/net-im/fractal/fractal-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
DESCRIPTION="Matrix group messaging app"
HOMEPAGE="https://wiki.gnome.org/Apps/Fractal"
-inherit meson xdg-utils
+inherit meson gnome2-utils xdg-utils
if [[ ${PV} == "9999" ]]; then
inherit git-r3
@@ -25,10 +25,24 @@ IUSE=""
RDEPEND=">=virtual/rust-1.31.1
>=app-text/gspell-1.8.1
- >=dev-libs/libhandy-0.0.8
+ >=dev-libs/libhandy-0.0.9
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
+}