Flatpak: Build libzip

This commit is contained in:
Stenzek 2024-10-26 16:09:52 +10:00
parent 7782bb9845
commit 62de181e97
No known key found for this signature in database
9 changed files with 45 additions and 7 deletions

View File

@ -0,0 +1,37 @@
# 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: "9c8b818a1de143a4a8ee445351fb8f92115e33e1"
cleanup:
- /bin
- /include
- /lib/*.a
- /lib/*.la
- /lib/cmake
- /lib/pkgconfig
- /share

View File

@ -30,14 +30,15 @@ finish-args:
modules:
# Dependencies.
- "modules/10-libbacktrace.yaml"
- "modules/11-libzip.yaml"
- "modules/20-sdl2.yaml"
- "modules/21-libbacktrace.yaml"
- "modules/22-shaderc.yaml"
- "modules/23-spirv-cross.yaml"
- "modules/24-cpuinfo.yaml"
- "modules/25-discord-rpc.yaml"
- "modules/26-soundtouch.yaml"
- "modules/27-lunasvg.yaml"
- "modules/21-shaderc.yaml"
- "modules/22-spirv-cross.yaml"
- "modules/23-cpuinfo.yaml"
- "modules/24-discord-rpc.yaml"
- "modules/25-soundtouch.yaml"
- "modules/26-lunasvg.yaml"
# Main module.
- name: duckstation