summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/noto-emoji/noto-emoji-20180814.ebuild')
-rw-r--r--media-fonts/noto-emoji/noto-emoji-20180814.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-fonts/noto-emoji/noto-emoji-20180814.ebuild b/media-fonts/noto-emoji/noto-emoji-20180814.ebuild
index 7d76d22e0b8c..7dd40de2811e 100644
--- a/media-fonts/noto-emoji/noto-emoji-20180814.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20180814.ebuild
@@ -23,6 +23,7 @@ DEPEND="${PYTHON_DEPS}
dev-python/nototools
media-gfx/pngquant
x11-libs/cairo
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick )
"
RDEPEND=""
@@ -43,4 +44,9 @@ src_prepare() {
default
# Use system pngquant
rm -rf third_party/pngquant
+
+ # Fedora patch to allow graphicsmagick usage
+ if has_version media-gfx/graphicsmagick; then
+ eapply "${FILESDIR}/${PN}-use-gm.patch"
+ fi
}