# Note: depends on libav
# Note: depends on libopenshot-audio
# Note: depends on unittest-cpp
wget -c https://launchpad.net/libopenshot/0.0/0.0.8/+download/libopenshot-0.0.8.tar.gz
mkdir -p libopenshot-0.0.8
cd libopenshot-0.0.8
tar -xzf ../libopenshot-0.0.8.tar.gz
echo 'set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-PIE")' >> src/CMakeLists.txt
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make # Doesn't mind -j#
make install