/precompiled-kf5-linux

Precompiled KDE frameworks 5 for linux

Primary LanguageShellThe UnlicenseUnlicense

precompiled-kf5-linux

Precompiled KDE frameworks 5 for linux. Good for use in travis.

A bunch of scripts for generating precompiled KF5 tarballs/directories

build_frameworks.sh

Generates a tar.XX file and/or a directory with KF5 installed in it. Example:

./build_frameworks.sh -i ~/my-kf5-install -g Ninja -t Debug -o ~/my-kf5-tarball.tar.xz

usage

In your travis script, find a good place to download and extract the tarball:

cd ~
mkdir kf5-release && cd kf5-release
wget https://github.com/chigraph/precompiled-kf5-linux/releases/download/precompiled/kf5-gcc6-linux64-release.tar.xz -O kf5.tar.xz

then extract it:

tar xf kf5.tar.xz

Then pass -DCMAKE_PREFIX_PATH=~/kf5-release to your cmake command. This makes sure your find_package calls can succeed:

cmake <path to src directory> -DCMAKE_PREFIX_PATH=~/kf5-release