-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: Be more selective about Qt image format plugins.
- Loading branch information
Showing
6 changed files
with
123 additions
and
91 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT | ||
# Copyright © 2017-2021 Maxim Biro <nurupo.contributions@gmail.com> | ||
# Copyright © 2021 by The qTox Project Contributors | ||
# Copyright © 2024-2025 The TokTok team | ||
|
||
set -euxo pipefail | ||
|
||
readonly SCRIPT_DIR="$(dirname "$(realpath "$0")")" | ||
|
||
source "$SCRIPT_DIR/build_utils.sh" | ||
|
||
parse_arch --dep "qt" --supported "win32 win64" "$@" | ||
|
||
"$SCRIPT_DIR/download/download_qtimageformats.sh" | ||
|
||
mkdir qtimageformats/_build && pushd qtimageformats/_build | ||
"$DEP_PREFIX/bin/qt-configure-module" .. \ | ||
-- \ | ||
-DCMAKE_CXX_FLAGS="-DQT_MESSAGELOGCONTEXT" \ | ||
-Wno-dev | ||
cmake --build . | ||
cmake --install . | ||
popd |
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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT | ||
# Copyright © 2017-2021 Maxim Biro <nurupo.contributions@gmail.com> | ||
# Copyright © 2021 by The qTox Project Contributors | ||
# Copyright © 2024-2025 The TokTok team | ||
|
||
set -euxo pipefail | ||
|
||
readonly SCRIPT_DIR="$(dirname "$(realpath "$0")")" | ||
|
||
source "$SCRIPT_DIR/build_utils.sh" | ||
|
||
parse_arch --dep "qt" --supported "win32 win64" "$@" | ||
|
||
"$SCRIPT_DIR/download/download_qtsvg.sh" | ||
|
||
mkdir qtsvg/_build && pushd qtsvg/_build | ||
"$DEP_PREFIX/bin/qt-configure-module" .. \ | ||
-- \ | ||
-DCMAKE_CXX_FLAGS="-DQT_MESSAGELOGCONTEXT" \ | ||
-Wno-dev | ||
cmake --build . | ||
cmake --install . | ||
popd |
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,35 @@ | ||
#!/usr/bin/env bash | ||
|
||
# SPDX-License-Identifier: GPL-3.0-or-later AND MIT | ||
# Copyright © 2017-2021 Maxim Biro <nurupo.contributions@gmail.com> | ||
# Copyright © 2021 by The qTox Project Contributors | ||
# Copyright © 2024-2025 The TokTok team | ||
|
||
set -euxo pipefail | ||
|
||
readonly SCRIPT_DIR="$(dirname "$(realpath "$0")")" | ||
|
||
source "$SCRIPT_DIR/build_utils.sh" | ||
|
||
parse_arch --dep "qt" --supported "win32 win64" "$@" | ||
|
||
"$SCRIPT_DIR/download/download_qttools.sh" | ||
|
||
mkdir qttools/_build && pushd qttools/_build | ||
"$DEP_PREFIX/bin/qt-configure-module" .. \ | ||
-no-feature-assistant \ | ||
-no-feature-designer \ | ||
-no-feature-kmap2qmap \ | ||
-no-feature-pixeltool \ | ||
-no-feature-qdbus \ | ||
-no-feature-qdoc \ | ||
-no-feature-qev \ | ||
-no-feature-qtattributionsscanner \ | ||
-no-feature-qtdiag \ | ||
-no-feature-qtplugininfo \ | ||
-- \ | ||
-DCMAKE_CXX_FLAGS="-DQT_MESSAGELOGCONTEXT" \ | ||
-Wno-dev | ||
cmake --build . | ||
cmake --install . | ||
popd |
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.