2022-08-31 16:27:46 +00:00
|
|
|
#!/bin/bash
|
|
|
|
LINUX_DIRECTORY=$(pwd)
|
|
|
|
mkdir build
|
|
|
|
|
|
|
|
# Build JsonCPP
|
|
|
|
cd build
|
|
|
|
git clone https://github.com/open-source-parsers/jsoncpp.git
|
|
|
|
cd jsoncpp
|
2022-09-01 08:51:06 +00:00
|
|
|
git checkout 1.7.4
|
2022-08-31 16:27:46 +00:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2022-09-01 04:29:33 +00:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=ON -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ..
|
2022-08-31 16:27:46 +00:00
|
|
|
make -j$(nproc)
|
|
|
|
|
|
|
|
cd $LINUX_DIRECTORY
|
|
|
|
# Build libSecret
|
2022-09-01 04:29:33 +00:00
|
|
|
# sudo apt install meson libgirepository1.0-dev valac xsltproc gi-docgen docbook-xsl
|
2022-09-01 08:51:06 +00:00
|
|
|
# sudo apt install python3-pip
|
2022-09-01 04:29:33 +00:00
|
|
|
#pip3 install --user meson --upgrade
|
2022-08-31 16:27:46 +00:00
|
|
|
# pip3 install --user gi-docgen
|
|
|
|
cd build
|
|
|
|
git clone https://gitlab.gnome.org/GNOME/libsecret.git
|
|
|
|
cd libsecret
|
|
|
|
meson _build
|
|
|
|
ninja -C _build
|