mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-04 23:55:27 +02:00

This patch moves already existing packaging scripts from jami-project into client-qt. Introduced changes are: + WITH_SUBMODULE must search in system lib too because for packaging client-qt (for rpm) will be built separately, and will depend on jami-daemon. + Fix appdata.xml (replace old wiki with docs.jami.net) + path changes (because we build in client-qt not jami-project). GitLab: #853 Change-Id: I1313830d85c8094fcbcc52e22033a2add7b1e89f
15 lines
No EOL
471 B
Bash
Executable file
15 lines
No EOL
471 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if command -v apt-get &> /dev/null
|
|
then
|
|
apt-get remove cmake cmake-data -y
|
|
fi
|
|
|
|
wget https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-x86_64.sh \
|
|
-q -O /tmp/cmake-install.sh
|
|
echo "aa5a0e0dd5594b7fd7c107a001a2bfb5f83d9b5d89cf4acabf423c5d977863ad /tmp/cmake-install.sh" | sha256sum --check
|
|
chmod u+x /tmp/cmake-install.sh
|
|
/tmp/cmake-install.sh --skip-license --prefix=/usr/local/
|
|
rm /tmp/cmake-install.sh |