1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-11 22:15:27 +00:00

flatpak: Don't use boost

See https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/186

This moves also the dependencies for libphonenumber to submodules of it.
This commit is contained in:
Julian Sparber 2022-09-22 09:27:28 +02:00 committed by Evangelos Ribeiro Tzaras
parent c4b07c7294
commit 09498b44b4

View file

@ -68,24 +68,28 @@
] ]
}, },
{ {
"name" : "boost", "name" : "libphonenumber",
"buildsystem" : "simple", "buildsystem" : "cmake",
"config-opts" : [
"-DCMAKE_CXX_STANDARD=17",
"-DREGENERATE_METADATA=OFF",
"-DUSE_BOOST=OFF"
],
"sources" : [ "sources" : [
{ {
"type" : "archive", "type" : "archive",
"url" : "https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.tar.bz2", "url" : "https://github.com/google/libphonenumber/archive/refs/tags/v8.12.54.tar.gz",
"sha256" : "83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1" "sha256" : "cf3d531a6b097cad508c475888bcf042ff15fabc6be05e3f817224ae8512ce63"
},
{
"type" : "shell",
"commands" : [
"sed -i -e 's/\${\${NAME}_BIN}-NOTFOUND/\${NAME}_BIN-NOTFOUND/' cpp/CMakeLists.txt"
]
} }
], ],
"build-commands" : [ "subdir" : "cpp",
"./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=date_time,thread,system", "modules" : [
"./b2 -j ${FLATPAK_BUILDER_N_JOBS} install"
],
"cleanup" : [
"/share",
"/bin"
]
},
{ {
"name" : "GTest", "name" : "GTest",
"buildsystem" : "cmake-ninja", "buildsystem" : "cmake-ninja",
@ -128,28 +132,9 @@
"sha256" : "91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8" "sha256" : "91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8"
} }
] ]
},
{
"name" : "libphonenumber",
"buildsystem" : "cmake",
"config-opts" : [
"-DCMAKE_CXX_STANDARD=17",
"-DREGENERATE_METADATA=OFF"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/google/libphonenumber/archive/refs/tags/v8.12.54.tar.gz",
"sha256" : "cf3d531a6b097cad508c475888bcf042ff15fabc6be05e3f817224ae8512ce63"
},
{
"type" : "shell",
"commands" : [
"sed -i -e 's/\${\${NAME}_BIN}-NOTFOUND/\${NAME}_BIN-NOTFOUND/' cpp/CMakeLists.txt"
]
} }
], ]
"subdir" : "cpp"
}, },
{ {
"name" : "libical", "name" : "libical",
@ -206,7 +191,8 @@
"-DENABLE_GTK_DOC=OFF", "-DENABLE_GTK_DOC=OFF",
"-DENABLE_EXAMPLES=OFF", "-DENABLE_EXAMPLES=OFF",
"-DENABLE_OAUTH2=OFF", "-DENABLE_OAUTH2=OFF",
"-DWITH_PHONENUMBER:PATH=/" "-DWITH_PHONENUMBER:PATH=/",
"-DPHONENUMBER_DEFINITIONS=",
"-DENABLE_CANBERRA=OFF", "-DENABLE_CANBERRA=OFF",
"-DENABLE_DOT_LOCKING=OFF" "-DENABLE_DOT_LOCKING=OFF"
], ],