jre: remove broken shlib linked to old ffmpeg libs.

This commit is contained in:
Juan RP 2013-01-04 16:30:01 +01:00
parent 582f987144
commit db122ebf7c
1 changed files with 4 additions and 4 deletions

View File

@ -55,19 +55,19 @@ do_install()
rm -rf ${DESTDIR}/usr/share/java/jre/lib/desktop
rm -rf ${DESTDIR}/usr/share/java/jre/lib/locale
# Remove shlib linking to old ffmpeg libraries.
rm -f ${DESTDIR}/usr/share/java/jre/lib/amd64/fxavcodecplugin-52.so
# Install mozilla compatible plugin.
vmkdir usr/lib/mozilla/plugins
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
_arch=amd64
else
_arch=i386
fi
# Remove shlib linking to old ffmpeg libraries.
rm -f ${DESTDIR}/usr/share/java/jre/lib/${_arch}/fxavcodecplugin-52.so
cd ${DESTDIR}/usr/lib/mozilla/plugins && \
ln -sf ../../../share/java/jre/lib/${_arch}/libnpjp2.so .