Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

another AppImage script update

parent 0e7d98e2
......@@ -4,6 +4,10 @@ ExternalProject_Add(
GIT_REPOSITORY http://anongit.kde.org/kdenlive.git
GIT_TAG refactoring_timeline
CMAKE_ARGS ${CMAKE_GLOBAL_PROFILE}
CMAKE_ARGS ${CMAKE_GLOBAL_PROFILE}
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DBUILD_TESTING=FALSE
-DBUILD_TESTS=FALSE
DEPENDS ext_mlt
)
......@@ -54,6 +54,7 @@ cp -r $DEPS_INSTALL_PREFIX/openssl/lib/* $APPDIR/usr/lib
cp -r $DEPS_INSTALL_PREFIX/share/mlt $APPDIR/usr/share
cp -r $DEPS_INSTALL_PREFIX/lib/mlt $APPDIR/usr/lib
cp -r $DEPS_INSTALL_PREFIX/bin/melt $APPDIR/usr/bin
cp -r $DEPS_INSTALL_PREFIX/plugins/kf5 $APPDIR/usr/plugins
cp $(ldconfig -p | grep libGL.so.1 | cut -d ">" -f 2 | xargs) $APPDIR/usr/lib/
#cp $(ldconfig -p | grep libGLU.so.1 | cut -d ">" -f 2 | xargs) $APPDIR/usr/lib/
......@@ -88,7 +89,7 @@ linuxdeployqt $APPDIR/usr/share/applications/org.kde.kdenlive.desktop \
-qmldir=$DEPS_INSTALL_PREFIX/qml \
-verbose=2 \
-bundle-non-qt-libs \
-extra-plugins=$APPDIR/usr/lib/mlt \
-extra-plugins=$APPDIR/usr/lib/mlt,$APPDIR/usr/plugins \
-exclude-libs=libnss3.so,libnssutil3.so
# -appimage \
......
......@@ -13,8 +13,16 @@ export KDENLIVE_SOURCES=$2
export LC_ALL=en_US.UTF-8
export LANG=en_us.UTF-8
export APPDIR=$BUILD_PREFIX/kdenlive.appdir
export PLUGINS=$APPDIR/usr/lib/plugins/
export APPIMAGEPLUGINS=$APPDIR/usr/plugins/
mkdir -p $APPDIR
mkdir -p $APPDIR/usr/share/kdenlive
mkdir -p $APPDIR/usr/lib
# We want to use $prefix/deps/usr/ for all our dependencies
export DEPS_INSTALL_PREFIX=$BUILD_PREFIX/deps/usr/
export DEPS_INSTALL_PREFIX=$BUILD_PREFIX/kdenlive.appdir/usr/
export DOWNLOADS_DIR=$BUILD_PREFIX/downloads/
# Use newer gcc
......@@ -33,18 +41,30 @@ if [ ! -d $BUILD_PREFIX/kdenlive-build/ ] ; then
mkdir -p $BUILD_PREFIX/kdenlive-build/
fi
# When using git master to build refactoring_timeline:
# Switch to our build directory as we're basically ready to start building...
cd $BUILD_PREFIX/deps-build/
mkdir -p $BUILD_PREFIX/kdenlive.appdir/usr
# Configure the dependencies for building
cmake $KDENLIVE_SOURCES/packaging/appimage/3rdparty -DCMAKE_INSTALL_PREFIX=$DEPS_INSTALL_PREFIX -DEXT_INSTALL_DIR=$DEPS_INSTALL_PREFIX -DEXT_DOWNLOAD_DIR=$DOWNLOADS_DIR
cmake --build . --target ext_kdenlive
# Now switch to it
cd $BUILD_PREFIX/kdenlive-build/
#cd $BUILD_PREFIX/kdenlive-build/
# Determine how many CPUs we have
CPU_COUNT=`grep processor /proc/cpuinfo | wc -l`
#CPU_COUNT=`grep processor /proc/cpuinfo | wc -l`
# Configure Kdenlive
cmake $KDENLIVE_SOURCES \
-DCMAKE_INSTALL_PREFIX:PATH=$BUILD_PREFIX/kdenlive.appdir/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_TESTING=FALSE \
-DBUILD_TESTS=FALSE
#cmake $KDENLIVE_SOURCES \
# -DCMAKE_INSTALL_PREFIX:PATH=$BUILD_PREFIX/kdenlive.appdir/usr \
# -DCMAKE_BUILD_TYPE=RelWithDebInfo \
# -DBUILD_TESTING=FALSE \
# -DBUILD_TESTS=FALSE
# Build and Install Kdenlive (ready for the next phase)
make -j$CPU_COUNT install
#make -j$CPU_COUNT install
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