[build,nightly] add cjson to build dependencies

This commit is contained in:
Armin Novak 2023-03-11 11:56:37 +01:00 committed by Martin Fleisz
parent 2ddd82338a
commit 6bf42366a9
3 changed files with 173 additions and 152 deletions

View File

@ -43,6 +43,7 @@ Build-Depends:
libpam0g-dev,
uuid-dev,
libxml2-dev,
libcjson-dev,
libsdl2-2.0-0,
libsdl2-dev,
Standards-Version: 3.9.5

View File

@ -100,7 +100,7 @@
"build-commands": [
"./config --prefix=/app",
"make -j $FLATPAK_BUILDER_N_JOBS",
"make install"
"make install_sw"
],
"cleanup": [
"/share/doc",
@ -110,8 +110,27 @@
"sources": [
{
"type": "archive",
"url": "https://www.openssl.org/source/openssl-1.1.1q.tar.gz",
"sha256": "d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca"
"url": "https://www.openssl.org/source/openssl-1.1.1t.tar.gz",
"sha256": "8dee9b24bdb1dcbf0c3d1e9b02fb8f6bf22165e807f45adeb7c9677536859d3b"
}
]
},
{
"name": "cjson",
"buildsystem": "cmake-ninja",
"cleanup": [
],
"config-opts": [
"-DCMAKE_VERBOSE_MAKEFILE=ON",
"-DCMAKE_BUILD_TYPE:STRING=Release",
"-DCMAKE_INSTALL_LIBDIR:PATH=lib",
"-DWITH_PULSE:BOOL=ON"
],
"sources": [
{
"type": "git",
"url": "https://github.com/DaveGamble/cJSON.git",
"tag": "v1.7.15"
}
]
},

View File

@ -46,6 +46,7 @@ BuildRequires: uuid-devel
BuildRequires: libxml2-devel
BuildRequires: zlib-devel
BuildRequires: krb5-devel
BuildRequires: cjson-devel
# (Open)Suse
%if %{defined suse_version}