-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
97 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/sh | ||
|
||
# SPDX-FileCopyrightText: 2014 Boris Pek <[email protected]> | ||
# SPDX-FileCopyrightText: 2018 Jeremy Lainé <[email protected]> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
set -e | ||
|
||
install_cmake() { | ||
NAME=$1 | ||
URL=$2 | ||
OPTS=$3 | ||
CURRENT_DIR=$(pwd) | ||
|
||
cd | ||
git clone $URL $NAME | ||
mkdir -p $NAME-build | ||
cmake $NAME -B./$NAME-build/ -DCMAKE_BUILD_TYPE=Release $OPTS | ||
cmake --build $NAME-build --parallel | ||
sudo cmake --build $NAME-build --target install | ||
|
||
cd $CURRENT_DIR | ||
} | ||
|
||
sudo apt-get update -qq | ||
sudo apt-get install -qq clang cmake git | ||
|
||
case "$CONFIG" in | ||
full*) | ||
sudo apt-get install -qq \ | ||
doxygen graphviz \ | ||
libgstreamer1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly \ | ||
libprotobuf-c-dev \ | ||
libssl-dev | ||
|
||
# Enable OMEMO for Qt > 5.15 (including Qt 6) | ||
# Build and install qca and libomemo-c | ||
case "$QT_VERSION" in | ||
5.15* | 6) | ||
install_cmake libomemo-c https://github.com/dino/libomemo-c "-DBUILD_SHARED_LIBS=ON" | ||
install_cmake qca https://invent.kde.org/libraries/qca "-DBUILD_TESTS=OFF -DBUILD_TOOLS=OFF -DBUILD_WITH_QT6=OFF" | ||
;; | ||
esac | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
|
||
# SPDX-FileCopyrightText: 2014 Boris Pek <[email protected]> | ||
# SPDX-FileCopyrightText: 2018 Jeremy Lainé <[email protected]> | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
set -e | ||
|
||
brew update | ||
brew unlink python@3 | ||
brew install python@3 || true | ||
brew link --overwrite python@3 | ||
|
||
case "$CONFIG" in | ||
full*) | ||
brew install doxygen \ | ||
gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly | ||
;; | ||
esac |