mail-client/thunderbird-60.3.3-r1: fix gdata-provider

Fixed issue where gdata-provider extension (installed via USE=lightning) would
not load due to manifest.json not yet being properly supported.

Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
This commit is contained in:
Ian Stakenvicius
2018-12-07 17:09:34 -05:00
parent 3d19a733a1
commit e0229d32bc

View File

@@ -528,6 +528,12 @@ src_install() {
emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
mkdir -p "${T}/${emid}" || die
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
# manifest.json does not allow the addon to load, put install.rdf in place
# note, version number needs to be set properly
cp -RLp -t "${T}/${emid}" "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}/install.rdf
sed -i -e '/em:version/ s/>[^<]*</>4.1</' "${T}/${emid}"/install.rdf
insinto ${MOZILLA_FIVE_HOME}/extensions
doins -r "${T}/${emid}"
fi