Ports: Use double quotes for a string literal in qtbase port

This commit is contained in:
Clemens Wasser 2022-12-12 19:16:10 +01:00 committed by Linus Groh
parent e225c7b0de
commit 7cd99572be
Notes: sideshowbarker 2024-07-17 03:14:06 +09:00

View file

@ -1,28 +1,28 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='qt6-qtbase'
version='6.4.0'
workdir='qtbase-everywhere-src-${version}'
workdir="qtbase-everywhere-src-${version}"
useconfigure='true'
files="https://download.qt.io/official_releases/qt/$(cut -d. -f1,2 <<< ${version})/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz qt6-qtbase-${version}.tar.xz cb6475a0bd8567c49f7ffbb072a05516ee6671171bed55db75b22b94ead9b37d"
auth_type='sha256'
configopts=(
"-GNinja"
'-GNinja'
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_CROSSCOMPILING=ON"
"-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON"
"-DQT_FEATURE_cxx20=ON"
"-DQT_FEATURE_ssl=ON"
"-DQT_FEATURE_zstd=ON"
"-DINPUT_opengl=no"
'-DCMAKE_CROSSCOMPILING=ON'
'-DQT_FORCE_BUILD_TOOLS=ON'
'-DQT_FEATURE_cxx20=ON'
'-DQT_FEATURE_ssl=ON'
'-DQT_FEATURE_zstd=ON'
'-DINPUT_opengl=no'
)
depends=(
"double-conversion"
"md4c"
"openssl"
"zstd"
'double-conversion'
'md4c'
'openssl'
'zstd'
)
QT_DISABLED_FEATURES="sql opengl dbus systemsemaphore sharedmemory dnslookup"
QT_DISABLED_FEATURES='sql opengl dbus systemsemaphore sharedmemory dnslookup'
configure() {
@ -51,16 +51,16 @@ build() {
install() {
run ninja install
echo "================================================================================"
echo "| NOTICE |"
echo "================================================================================"
echo '================================================================================'
echo '| NOTICE |'
echo '================================================================================'
echo -e "You have just installed a testing build of Qt $version.\n"
echo -e "GUI applications won't work without QSerenityPlatform!"
echo -e "\t" "It's packaged as qt6-serenity"
echo "The following Qt modules are disabled for now:"
echo -e "\t" "$QT_DISABLED_FEATURES"
echo "Work on enabling Qt modules will be happening here:"
echo -e "\t" "https://github.com/SerenityOS/serenity/tree/master/Ports/qt6-qtbase"
echo "The development of the Qt Serenity platform plugin is happening here. Fixes for things like input handling, window management and theme integration should go here:"
echo -e "\t" "https://github.com/SerenityPorts/QSerenityPlatform"
echo -e $'GUI applications won\'t work without QSerenityPlatform!'
echo -e $'\tIt\'s packaged as qt6-serenity'
echo 'The following Qt modules are disabled for now:'
echo -e $"\t$QT_DISABLED_FEATURES"
echo 'Work on enabling Qt modules will be happening here:'
echo -e $'\thttps://github.com/SerenityOS/serenity/tree/master/Ports/qt6-qtbase'
echo 'The development of the Qt Serenity platform plugin is happening here. Fixes for things like input handling, window management and theme integration should go here:'
echo -e $'\thttps://github.com/SerenityPorts/QSerenityPlatform'
}