Commit 3548d5ba authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: update onlyoffice-desktopeditors

parent b14108ee
......@@ -6,8 +6,6 @@ SPEC="$2"
PRODUCTDIR=/opt/onlyoffice
PREINSTALL_PACKAGES="bzlib fontconfig libalsa libcairo libcups libdrm libfreetype zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender"
. $(dirname $0)/common.sh
# TODO: required libreoffice-opensymbol-fonts
......@@ -16,22 +14,6 @@ PREINSTALL_PACKAGES="bzlib fontconfig libalsa libcairo libcups libdrm libfreetyp
add_requires fonts-ttf-liberation fonts-ttf-dejavu
# ignore embedded libs
for i in $BUILDROOT/opt/onlyoffice/desktopeditors/lib* ; do
di=$(basename $i)
filter_from_requires $di
done
if epm assure patchelf ; then
for i in $BUILDROOT/opt/onlyoffice/desktopeditors/{libQt5Core.so.*,libicui18n.so,libicui18n.so.*,libicuuc.so,libicuuc.so.*} ; do
a= patchelf --set-rpath '$ORIGIN/' $i || continue
done
for i in $BUILDROOT/opt/onlyoffice/desktopeditors/converter/*.so ; do
a= patchelf --set-rpath '$ORIGIN/:$ORIGIN/../' $i || continue
done
fi
# pack icons
iconname=onlyoffice-desktopeditors
for i in 16 22 24 32 48 64 128 256 ; do
......@@ -42,3 +24,5 @@ done
subst "s|%files|%files\n/usr/share/icons/hicolor/*x*/apps/$iconname.png|" $SPEC
fix_desktop_file /usr/bin/onlyoffice-desktopeditors
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment