--- ../../../gentoo/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10.ebuild 2018-10-17 18:44:41.635960940 +0400 +++ ./chrome-gnome-shell-10-r1.ebuild 2018-11-11 19:34:18.389071975 +0400 @@ -33,6 +33,17 @@ cmake-utils_src_configure } +src_install() { + cmake-utils_src_install + + if [[ $(get_libdir) != "lib" && "${SYMLINK_LIB}" != yes ]]; then + # Workaround www-client/firefox-bin manifests location + # Bug: https://bugs.gentoo.org/643522 + insinto /usr/lib/mozilla/native-messaging-hosts + doins "${ED}"/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json + fi +} + pkg_postinst() { elog "Please note that this package provides native messaging connector only." elog "You can install browser extension using link provided at"