commit:     db489d1366eaf1044952f25fa0d8c54ecc1e736b
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 06:14:08 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 06:14:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db489d13

www-client/epiphany: warn if webkit-gtk isn't built with USE=jpeg2k

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 www-client/epiphany/epiphany-3.30.4.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www-client/epiphany/epiphany-3.30.4.ebuild 
b/www-client/epiphany/epiphany-3.30.4.ebuild
index 99e354c6cf5..95a55437249 100644
--- a/www-client/epiphany/epiphany-3.30.4.ebuild
+++ b/www-client/epiphany/epiphany-3.30.4.ebuild
@@ -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() {

Reply via email to