Commit b68be7eb authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: add r7-office (with support for 7.3)

parent ad942012
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCTDIR=/opt/r7-office
. $(dirname $0)/common.sh
#REQUIRES="fonts-ttf-liberation, fonts-ttf-dejavu"
#subst "s|^\(Name: .*\)$|# Converted from original package requires\nRequires:$REQUIRES\n\1|g" $SPEC
# ignore embedded libs
#for i in $BUILDROOT$PRODUCTDIR/desktopeditors/lib* ; do
# di=$(basename $i)
# filter_from_requires $di
#done
filter_from_requires ".*libQt5"
epm assure patchelf || exit
for i in $BUILDROOT$PRODUCTDIR/{desktopeditors,mediaviewer}/{libQt5Core.so.*,libicui18n.so,libicui18n.so.*,libicuuc.so,libicuuc.so.*} ; do
a= patchelf --set-rpath '$ORIGIN/' $i || continue
done
for i in $BUILDROOT$PRODUCTDIR/desktopeditors/{converter,platforms,platforminputcontexts}/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN/:$ORIGIN/../' $i || continue
done
#subst '1iAutoReq:no' $SPEC
subst '1iAutoProv:no' $SPEC
#epm install --skip-installed 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
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