2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/extra/falkon/build

27 lines
538 B
Plaintext
Raw Normal View History

2020-01-17 14:33:45 -07:00
#!/bin/sh -e
export DESTDIR="$1"
for patch in *.patch; do
patch -p1 < "$patch"
done
2020-01-17 14:33:45 -07:00
# 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 \
2020-01-18 05:16:35 -07:00
-DBUILD_TESTING=OFF \
2020-01-17 14:33:45 -07:00
-DDISABLE_DBUS=ON
cmake --build build
cmake --install build
2020-01-18 04:32:27 -07:00
install -Dm755 falkon-privacy "$1/usr/bin/falkon-privacy"