2020-01-17 14:33:45 -07:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2020-01-25 07:25:25 -07:00
|
|
|
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"
|