repo/extra/falkon/build

29 lines
658 B
Plaintext
Raw Normal View History

2020-01-17 14:33:45 -07:00
#!/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
2020-01-18 05:16:35 -07:00
# Remove unused xcb-util dependency.
sed -i 's/XCB UTIL/XCB/' CMakeLists.txt
sed -i '/xcb_atom.h/d' src/lib/app/browserwindow.cpp
2020-01-17 14:33:45 -07:00
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"