1
0
Fork 0

Account for differences between test vm & build vm

my test vm has some extra *.so library symlinks so some patchelf commands were failing on the jenkins build vm - this changes the patchelf command to catch all the possible copied libraries
This commit is contained in:
Brendan Black 2021-09-25 00:05:14 +01:00 committed by Florent Rougon
parent f135bd8f61
commit 1be19e5f12

View file

@ -72,9 +72,9 @@ cp -a /lib64/libharfbuzz.so* appdir/usr/lib
cp -a /usr/lib64/libfontconfig.so* appdir/usr/lib
cp -a /usr/lib64/libfreetype.so* appdir/usr/lib
cp -a /usr/lib64/libpng15.so* appdir/usr/lib
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfontconfig.so
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfreetype.so
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libharfbuzz.so
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfontconfig.so*
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libfreetype.so*
patchelf --set-rpath \$ORIGIN appdir/usr/lib/libharfbuzz.so*
#modify the desktop file so that linuxdeployqt doesn't barf (version to 1.0, add semicolon to end of certain line types)
sed -i 's/^Categor.*/&;/ ; s/^Keyword.*/&;/ ; s/1\.1/1\.0/' appdir/usr/share/applications/org.flightgear.FlightGear.desktop