Skip to content

Commit

Permalink
mail-client/thunderbird-60.3.3-r1: fix gdata-provider
Browse files Browse the repository at this point in the history
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 <[email protected]>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
  • Loading branch information
axs-gentoo committed Dec 7, 2018
1 parent 3d19a73 commit e0229d3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0229d3

Please sign in to comment.