CI/Flatpak: Switch from JSON -> YAML
Actually lets me have comments...
This commit is contained in:
@ -1,30 +0,0 @@
|
||||
{
|
||||
"name": "sdl2",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DBUILD_SHARED_LIBS=ON",
|
||||
"-DSDL_SHARED=ON",
|
||||
"-DSDL_STATIC=OFF",
|
||||
"-DSDL_TESTS=OFF"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6.tar.gz",
|
||||
"sha256": "c6ef64ca18a19d13df6eb22df9aff19fb0db65610a74cc81dae33a82235cacd4"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share/aclocal"
|
||||
]
|
||||
}
|
||||
23
scripts/flatpak/modules/20-sdl2.yaml
Normal file
23
scripts/flatpak/modules/20-sdl2.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: sdl2
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DBUILD_SHARED_LIBS=ON"
|
||||
- "-DSDL_SHARED=ON"
|
||||
- "-DSDL_STATIC=OFF"
|
||||
- "-DSDL_TESTS=OFF"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: archive
|
||||
url: "https://github.com/libsdl-org/SDL/releases/download/release-2.30.6/SDL2-2.30.6.tar.gz"
|
||||
sha256: "c6ef64ca18a19d13df6eb22df9aff19fb0db65610a74cc81dae33a82235cacd4"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share/aclocal
|
||||
@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "libbacktrace",
|
||||
"buildsystem": "autotools",
|
||||
"no-autogen": true,
|
||||
"build-options": {
|
||||
"strip": false,
|
||||
"no-debuginfo": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/ianlancetaylor/libbacktrace.git",
|
||||
"commit": "ad106d5fdd5d960bd33fae1c48a351af567fd075"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la"
|
||||
]
|
||||
}
|
||||
14
scripts/flatpak/modules/21-libbacktrace.yaml
Normal file
14
scripts/flatpak/modules/21-libbacktrace.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
name: libbacktrace
|
||||
buildsystem: autotools
|
||||
no-autogen: true
|
||||
build-options:
|
||||
strip: false
|
||||
no-debuginfo: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/ianlancetaylor/libbacktrace.git"
|
||||
commit: "ad106d5fdd5d960bd33fae1c48a351af567fd075"
|
||||
cleanup:
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
@ -1,29 +0,0 @@
|
||||
{
|
||||
"name": "shaderc",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DSHADERC_SKIP_TESTS=ON",
|
||||
"-DSHADERC_SKIP_EXAMPLES=ON",
|
||||
"-DSHADERC_SKIP_COPYRIGHT_CHECK=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/stenzek/shaderc.git",
|
||||
"commit": "feb2460bf3a504d67011246edeb810c45ea58826"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig"
|
||||
]
|
||||
}
|
||||
21
scripts/flatpak/modules/22-shaderc.yaml
Normal file
21
scripts/flatpak/modules/22-shaderc.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
name: shaderc
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DSHADERC_SKIP_TESTS=ON"
|
||||
- "-DSHADERC_SKIP_EXAMPLES=ON"
|
||||
- "-DSHADERC_SKIP_COPYRIGHT_CHECK=ON"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/stenzek/shaderc.git"
|
||||
commit: "feb2460bf3a504d67011246edeb810c45ea58826"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
@ -1,39 +0,0 @@
|
||||
{
|
||||
"name": "spirv-cross",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DSPIRV_CROSS_SHARED=ON",
|
||||
"-DSPIRV_CROSS_STATIC=OFF",
|
||||
"-DSPIRV_CROSS_CLI=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_TESTS=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_GLSL=ON",
|
||||
"-DSPIRV_CROSS_ENABLE_HLSL=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_MSL=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_CPP=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_REFLECT=OFF",
|
||||
"-DSPIRV_CROSS_ENABLE_C_API=ON",
|
||||
"-DSPIRV_CROSS_ENABLE_UTIL=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/KhronosGroup/SPIRV-Cross.git",
|
||||
"tag": "vulkan-sdk-1.3.290.0",
|
||||
"commit": "5d127b917f080c6f052553c47170ec0ba702e54f"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
}
|
||||
31
scripts/flatpak/modules/23-spirv-cross.yaml
Normal file
31
scripts/flatpak/modules/23-spirv-cross.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
name: spirv-cross
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DSPIRV_CROSS_SHARED=ON"
|
||||
- "-DSPIRV_CROSS_STATIC=OFF"
|
||||
- "-DSPIRV_CROSS_CLI=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_TESTS=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_GLSL=ON"
|
||||
- "-DSPIRV_CROSS_ENABLE_HLSL=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_MSL=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_CPP=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_REFLECT=OFF"
|
||||
- "-DSPIRV_CROSS_ENABLE_C_API=ON"
|
||||
- "-DSPIRV_CROSS_ENABLE_UTIL=ON"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/KhronosGroup/SPIRV-Cross.git"
|
||||
tag: "vulkan-sdk-1.3.290.0"
|
||||
commit: "5d127b917f080c6f052553c47170ec0ba702e54f"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
||||
@ -1,36 +0,0 @@
|
||||
{
|
||||
"name": "cpuinfo",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DCPUINFO_LIBRARY_TYPE=shared",
|
||||
"-DCPUINFO_RUNTIME_TYPE=shared",
|
||||
"-DCPUINFO_LOG_LEVEL=error",
|
||||
"-DCPUINFO_LOG_TO_STDIO=ON",
|
||||
"-DCPUINFO_BUILD_TOOLS=OFF",
|
||||
"-DCPUINFO_BUILD_UNIT_TESTS=OFF",
|
||||
"-DCPUINFO_BUILD_MOCK_TESTS=OFF",
|
||||
"-DCPUINFO_BUILD_BENCHMARKS=OFF",
|
||||
"-DUSE_SYSTEM_LIBS=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/stenzek/cpuinfo.git",
|
||||
"commit": "7524ad504fdcfcf75a18a133da6abd75c5d48053"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
}
|
||||
28
scripts/flatpak/modules/24-cpuinfo.yaml
Normal file
28
scripts/flatpak/modules/24-cpuinfo.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
name: cpuinfo
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DCPUINFO_LIBRARY_TYPE=shared"
|
||||
- "-DCPUINFO_RUNTIME_TYPE=shared"
|
||||
- "-DCPUINFO_LOG_LEVEL=error"
|
||||
- "-DCPUINFO_LOG_TO_STDIO=ON"
|
||||
- "-DCPUINFO_BUILD_TOOLS=OFF"
|
||||
- "-DCPUINFO_BUILD_UNIT_TESTS=OFF"
|
||||
- "-DCPUINFO_BUILD_MOCK_TESTS=OFF"
|
||||
- "-DCPUINFO_BUILD_BENCHMARKS=OFF"
|
||||
- "-DUSE_SYSTEM_LIBS=ON"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/stenzek/cpuinfo.git"
|
||||
commit: "7524ad504fdcfcf75a18a133da6abd75c5d48053"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
||||
@ -1,28 +0,0 @@
|
||||
{
|
||||
"name": "discord-rpc",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/stenzek/discord-rpc.git",
|
||||
"commit": "144f3a3f1209994d8d9e8a87964a989cb9911c1e"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
}
|
||||
20
scripts/flatpak/modules/25-discord-rpc.yaml
Normal file
20
scripts/flatpak/modules/25-discord-rpc.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
name: discord-rpc
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
- "-DBUILD_SHARED_LIBS=ON"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/stenzek/discord-rpc.git"
|
||||
commit: "144f3a3f1209994d8d9e8a87964a989cb9911c1e"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
||||
@ -1,28 +0,0 @@
|
||||
{
|
||||
"name": "soundtouch",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
|
||||
],
|
||||
"build-options": {
|
||||
"strip": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/stenzek/soundtouch.git",
|
||||
"commit": "463ade388f3a51da078dc9ed062bf28e4ba29da7"
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
"/bin",
|
||||
"/include",
|
||||
"/lib/*.a",
|
||||
"/lib/*.la",
|
||||
"/lib/cmake",
|
||||
"/lib/pkgconfig",
|
||||
"/share"
|
||||
]
|
||||
}
|
||||
27
scripts/flatpak/modules/26-soundtouch.yaml
Normal file
27
scripts/flatpak/modules/26-soundtouch.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
name: soundtouch
|
||||
buildsystem: cmake-ninja
|
||||
builddir: true
|
||||
config-opts:
|
||||
- "-DCMAKE_BUILD_TYPE=Release"
|
||||
|
||||
# Use clang with LTO for speed.
|
||||
- "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
|
||||
- "-DCMAKE_C_COMPILER=/usr/lib/sdk/llvm17/bin/clang"
|
||||
- "-DCMAKE_CXX_COMPILER=/usr/lib/sdk/llvm17/bin/clang++"
|
||||
- "-DCMAKE_EXE_LINKER_FLAGS_INIT=-fuse-ld=lld"
|
||||
- "-DCMAKE_MODULE_LINKER_FLAGS_INIT=-fuse-ld=lld"
|
||||
- "-DCMAKE_SHARED_LINKER_FLAGS_INIT=-fuse-ld=lld"
|
||||
build-options:
|
||||
strip: true
|
||||
sources:
|
||||
- type: git
|
||||
url: "https://github.com/stenzek/soundtouch.git"
|
||||
commit: "463ade388f3a51da078dc9ed062bf28e4ba29da7"
|
||||
cleanup:
|
||||
- /bin
|
||||
- /include
|
||||
- /lib/*.a
|
||||
- /lib/*.la
|
||||
- /lib/cmake
|
||||
- /lib/pkgconfig
|
||||
- /share
|
||||
Reference in New Issue
Block a user