2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 12:10:12 -07:00
repo/testing/falkon/build
2020-01-18 10:42:22 +02:00

22 lines
440 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
patch -p1 < 0001-falkon-no-execinfo.patch
# Get rid of i18n.
rm -rf po poqm
# Fix missing include in latest Qt.
sed -i 's/\(Settings>\)/\1\n#include <QFile>/' \
src/plugins/VerticalTabs/verticaltabsplugin.cpp
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DDISABLE_DBUS=ON
cmake --build build
cmake --install build