File indexing completed on 2024-06-16 04:06:50

0001 #!/bin/bash
0002 
0003 # SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier  <caulier dot gilles at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 
0008 ########################################################################
0009 
0010 # About short pathes to use with VCPKG, see https://github.com/microsoft/vcpkg/issues/24751
0011 # /c/ is C:/ drive
0012 # /e/ is E:/ drive
0013 
0014 # Absolute path where are installed VCPKG scripts, portfiles, and configurations.
0015 VCPKG_DIR="/c/vcpkg"
0016 
0017 # Absolute path where are installed all compiled targets.
0018 INSTALL_DIR="/e/dk"
0019 
0020 # Absolute path where are downloaded all tarballs to compile.
0021 DOWNLOAD_DIR="/e/d"
0022 
0023 # Absolute path where are compiled all tarballs
0024 BUILDING_DIR="/e/b"
0025 
0026 VCPKG_TRIPLET="x64-windows"
0027 
0028 VCPKG_COMMON_OPTIONS=(
0029 "--disable-metrics"
0030 "--no-print-usage"
0031 "--triplet ${VCPKG_TRIPLET}"
0032 "--x-buildtrees-root=${BUILDING_DIR}"
0033 "--x-install-root=${INSTALL_DIR}"
0034 "--downloads-root=${DOWNLOAD_DIR}"
0035 "--vcpkg-root=${VCPKG_DIR}"
0036 )
0037 
0038 VCPKG_INSTALL_PREFIX=$INSTALL_DIR/$VCPKG_TRIPLET
0039 
0040 #-------------------------------------------------------------------------------------------
0041 
0042 # URL to git repository to checkout digiKam source code
0043 # git protocol version which require a developer account with ssh keys.
0044 DK_GITURL="git@invent.kde.org:graphics/digikam.git"
0045 # https protocol version which give annonyous access.
0046 #DK_GITURL="https://invent.kde.org/graphics/digikam.git"
0047 
0048 # digiKam tarball information.
0049 DK_URL="http://download.kde.org/stable/digikam"
0050 
0051 # Location to build source code.
0052 DK_BUILDTEMP=$BUILDING_DIR/dktemp
0053 
0054 # KDE Plasma version.
0055 # See official release here: https://download.kde.org/stable/plasma/
0056 DK_KP_VERSION="5.27.8"
0057 
0058 # KDE Application version.
0059 # See official release here: https://download.kde.org/stable/release-service/
0060 DK_KA_VERSION="23.08.1"
0061 
0062 # KDE KF5 frameworks version.
0063 # See official release here: https://download.kde.org/stable/frameworks/
0064 DK_KDE_VERSION="master"
0065 
0066 # Qt version to use in bundle and provided by VCPKG.
0067 DK_QTVERSION="6"
0068 
0069 # digiKam tag version from git. Official tarball do not include extra shared libraries.
0070 # The list of tags can be listed with this url: https://invent.kde.org/graphics/digikam/-/tags
0071 # If you want to package current implementation from git, use "master" as tag.
0072 #DK_VERSION=v7.6.0
0073 DK_VERSION=master
0074 #DK_VERSION=qt5-maintenance
0075 
0076 # Installer sub version to differentiates newer updates of the installer itself, even if the underlying application hasn’t changed.
0077 #DK_SUBVER="-01"
0078 
0079 # Installer will include or not digiKam debug symbols
0080 DK_DEBUG=0
0081 
0082 # Sign bundles with GPG. Passphrase must be hosted in ~/.gnupg/dkorg-gpg-pwd.txt
0083 DK_SIGN=0
0084 
0085 # Upload automatically bundle to files.kde.org (pre-release only).
0086 DK_UPLOAD=1
0087 DK_UPLOADURL="digikam@tinami.kde.org"
0088 DK_UPLOADDIR="/srv/archives/files/digikam"