duckstation/scripts/packaging/flatpak/modules/11-libzip.yaml

38 lines
876 B
YAML

# SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
# SPDX-License-Identifier: CC-BY-NC-ND-4.0
name: libzip
buildsystem: cmake-ninja
builddir: true
config-opts:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DBUILD_SHARED_LIBS=ON"
- "-DENABLE_COMMONCRYPTO=OFF"
- "-DENABLE_GNUTLS=OFF"
- "-DENABLE_MBEDTLS=OFF"
- "-DENABLE_OPENSSL=OFF"
- "-DENABLE_WINDOWS_CRYPTO=OFF"
- "-DENABLE_BZIP2=OFF"
- "-DENABLE_LZMA=OFF"
- "-DENABLE_ZSTD=ON"
- "-DLIBZIP_DO_INSTALL=ON"
- "-DBUILD_TOOLS=OFF"
- "-DBUILD_REGRESS=OFF"
- "-DBUILD_OSSFUZZ=OFF"
- "-DBUILD_EXAMPLES=OFF"
- "-DBUILD_DOC=OFF"
build-options:
strip: true
sources:
- type: git
url: "https://github.com/nih-at/libzip.git"
commit: "64b62d6b1a686a1b0bac1b6b9dcb635be0499afb"
cleanup:
- /bin
- /include
- /lib/*.a
- /lib/*.la
- /lib/cmake
- /lib/pkgconfig
- /share