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

View file

@ -1,28 +1,28 @@
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port='qt6-qtbase' port='qt6-qtbase'
version='6.4.0' version='6.4.0'
workdir='qtbase-everywhere-src-${version}' workdir="qtbase-everywhere-src-${version}"
useconfigure='true' 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" 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' auth_type='sha256'
configopts=( configopts=(
"-GNinja" '-GNinja'
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_CROSSCOMPILING=ON" '-DCMAKE_CROSSCOMPILING=ON'
"-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON" '-DQT_FORCE_BUILD_TOOLS=ON'
"-DQT_FEATURE_cxx20=ON" '-DQT_FEATURE_cxx20=ON'
"-DQT_FEATURE_ssl=ON" '-DQT_FEATURE_ssl=ON'
"-DQT_FEATURE_zstd=ON" '-DQT_FEATURE_zstd=ON'
"-DINPUT_opengl=no" '-DINPUT_opengl=no'
) )
depends=( depends=(
"double-conversion" 'double-conversion'
"md4c" 'md4c'
"openssl" 'openssl'
"zstd" 'zstd'
) )
QT_DISABLED_FEATURES="sql opengl dbus systemsemaphore sharedmemory dnslookup" QT_DISABLED_FEATURES='sql opengl dbus systemsemaphore sharedmemory dnslookup'
configure() { configure() {
@ -51,16 +51,16 @@ build() {
install() { install() {
run ninja install run ninja install
echo "================================================================================" echo '================================================================================'
echo "| NOTICE |" echo '| NOTICE |'
echo "================================================================================" echo '================================================================================'
echo -e "You have just installed a testing build of Qt $version.\n" echo -e "You have just installed a testing build of Qt $version.\n"
echo -e "GUI applications won't work without QSerenityPlatform!" echo -e $'GUI applications won\'t work without QSerenityPlatform!'
echo -e "\t" "It's packaged as qt6-serenity" echo -e $'\tIt\'s packaged as qt6-serenity'
echo "The following Qt modules are disabled for now:" echo 'The following Qt modules are disabled for now:'
echo -e "\t" "$QT_DISABLED_FEATURES" echo -e $"\t$QT_DISABLED_FEATURES"
echo "Work on enabling Qt modules will be happening here:" echo 'Work on enabling Qt modules will be happening here:'
echo -e "\t" "https://github.com/SerenityOS/serenity/tree/master/Ports/qt6-qtbase" 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 '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 $'\thttps://github.com/SerenityPorts/QSerenityPlatform'
} }