| 1 |
# Script to build sane backends for digiKam bundle. |
| 2 |
# |
| 3 |
# SPDX-FileCopyrightText: 2015-2026 by Gilles Caulier <caulier dot gilles at gmail dot com> |
| 4 |
# |
| 5 |
# SPDX-License-Identifier: BSD-3-Clause |
| 6 |
# |
| 7 |
# |
| 8 |
|
| 9 |
SET(EXTPREFIX_sane "${EXTPREFIX}") |
| 10 |
|
| 11 |
ExternalProject_Add(ext_sane |
| 12 |
DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR} |
| 13 |
|
| 14 |
GIT_REPOSITORY https://gitlab.com/sane-project/backends.git |
| 15 |
GIT_TAG 1.4.0 |
| 16 |
|
| 17 |
INSTALL_DIR ${EXTPREFIX_sane} |
| 18 |
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix ${EXTPREFIX_sane} --with-gphoto2=no --with-v4l=no |
| 19 |
|
| 20 |
UPDATE_COMMAND "" |
| 21 |
BUILD_IN_SOURCE 1 |
| 22 |
ALWAYS 0 |
| 23 |
) |