www-client/epiphany: warn if webkit-gtk isn't built with USE=jpeg2k
authorMart Raudsepp <leio@gentoo.org>
Fri, 14 Jun 2019 06:14:08 +0000 (09:14 +0300)
committerMart Raudsepp <leio@gentoo.org>
Fri, 14 Jun 2019 06:14:08 +0000 (09:14 +0300)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
www-client/epiphany/epiphany-3.30.4.ebuild

index 99e354c6cf5e6a23df7d90f19129c6160a8574b3..95a55437249225087765d2e635cd5061e0231278 100644 (file)
@@ -66,6 +66,11 @@ src_test() {
 pkg_postinst() {
        xdg_pkg_postinst
        gnome2_schemas_update
+
+       if ! has_version net-libs/webkit-gtk[jpeg2k]; then
+               ewarn "Your net-libs/webkit-gtk is built without USE=jpeg2k."
+               ewarn "Various image galleries/managers may be broken."
+       fi
 }
 
 pkg_postrm() {