Skip to content

Instantly share code, notes, and snippets.

@JamesCordell
Last active September 30, 2022 02:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesCordell/ffb9e50c9bb32f99fdc690bb24fdc970 to your computer and use it in GitHub Desktop.
Save JamesCordell/ffb9e50c9bb32f99fdc690bb24fdc970 to your computer and use it in GitHub Desktop.
#This procedure setup up a container with the latest kdenlive on debian
host +
lxc launch images:ubuntu/focal/amd64 kdenlivebuild
lxc exec kdenlivebuild -- /bin/bash
apt update
apt upgrade
apt install sudo
useradd -m kdeuser --shell /bin/bash
usermod -aG sudo kdeuser
passwd kdeuser # set a password
apt install openssh-server -y
lxc exec kdenlivebuild -- su kdeuser
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:kdenlive/kdenlive-master
sudo apt-get update
sudo apt install build-essential git cmake extra-cmake-modules libsm-dev clang cmake -y
sudo apt install libkf5archive-dev libkf5bookmarks-dev libkf5coreaddons-dev libkf5config-dev \
libkf5configwidgets-dev libkf5dbusaddons-dev libkf5kio-dev libkf5widgetsaddons-dev \
libkf5notifyconfig-dev libkf5newstuff-dev libkf5xmlgui-dev libkf5declarative-dev \
libkf5notifications-dev libkf5guiaddons-dev libkf5textwidgets-dev libkf5purpose-dev \
libkf5iconthemes-dev kdoctools-dev libkf5crash-dev libkf5filemetadata-dev kio \
kinit qtdeclarative5-dev libqt5svg5-dev qml-module-qtquick-controls \
qtmultimedia5-dev qtquickcontrols2-5-dev
sudo apt install ruby subversion gnupg2 gettext -y
sudo apt install libmlt++-dev libmlt-dev melt frei0r-plugins frei0r-plugins-dev ffmpeg libavdevice-dev -y
sudo apt install breeze-dev breeze frei0r-plugins-dev frei0r-plugins libqt5multimedia5-plugins libqt5webkit5-dev -y
git clone https://invent.kde.org/kde/kdenlive.git
mkdir kdenlive/build
cd kdenlive/build
cmake .. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DECM_ENABLE_SANITIZERS='address' \
-DBUILD_TESTING=ON -DBUILD_FUZZING=ON -DBUILD_COVERAGE=OFF \
-DRELEASE_BUILD=OFF
make
ip addr # make note of IP
exit
ssh kdeuser@IP_ADDR -X /home/kdeuser/kdenlive/build/bin/kdenlive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment