Commit 5938c698 authored by Sven Brauch's avatar Sven Brauch

appimage: various fixes for 5.1

parent c6bf6d29
......@@ -48,12 +48,15 @@ fi
cd /
# Build AppImageKit
rm -Rf /AppImageKit
if [ ! -d AppImageKit ] ; then
git clone --depth 1 /AppImageKit
cd /AppImageKit/
git checkout master
git reset --hard remotes/origin/stable/v1.0
cd /
......@@ -63,7 +66,7 @@ cd /
export CMAKE_PREFIX_PATH=$QTDIR:/kdevelop.appdir/share/llvm/
# if the library path doesn't point to our usr/lib, linking will be broken and we won't find all deps either
export LD_LIBRARY_PATH=/usr/lib64/:/usr/lib:/kdevelop.appdir/usr/lib:$QTDIR/lib/:/opt/python3.5/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib64/:/usr/lib:/kdevelop.appdir/usr/lib:$QTDIR/lib/:/opt/python3.6/lib/:$LD_LIBRARY_PATH
# Workaround for: On CentOS 6, .pc files in /usr/lib/pkgconfig are not recognized
# However, this is where .pc files get installed when bulding libraries... (FIXME)
......@@ -198,7 +201,7 @@ EOF
# cmake it
# make
make -j$(nproc)
......@@ -237,6 +240,7 @@ build_framework kitemmodels
build_framework threadweaver
build_framework attica
build_framework knewstuff
build_framework syntax-highlighting
build_framework ktexteditor
build_framework kpackage
build_framework kdeclarative
......@@ -514,8 +518,8 @@ Categories=Qt;KDE;Utility;TextEditor;
cp /kdevelop/app/icons/48-apps-kdevelop.png kdevelop.png
cp -R /usr/lib/python3.5 /kdevelop.appdir/usr/lib/
rm -Rf /kdevelop.appdir/usr/lib/python3.5/{test,config-3.5m,__pycache__,site-packages,lib-dynload,distutils,idlelib,unittest,tkinter,ensurepip}
cp -R /usr/lib/python3.6 /kdevelop.appdir/usr/lib/
rm -Rf /kdevelop.appdir/usr/lib/python3.6/{test,config-3.5m,__pycache__,site-packages,lib-dynload,distutils,idlelib,unittest,tkinter,ensurepip}
mkdir -p /kdevelop.appdir/usr/share/kdevelop/
cp /kf5/build/breeze-icons/icons/breeze-icons.rcc /kdevelop.appdir/usr/share/kdevelop/icontheme.rcc
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