Skip to content

Commit

Permalink
CI,build-aux: Add Libqrcodegencpp on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tytan652 committed Jul 13, 2023
1 parent 8a62c69 commit 8d847b5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CI/linux/01_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ install_dependencies() {
"cef ${LINUX_CEF_BUILD_VERSION:-${CI_LINUX_CEF_VERSION}}"
"plugin-deps libasound2-dev libfdk-aac-dev libfontconfig-dev libfreetype6-dev libjack-jackd2-dev \
libpulse-dev libsndio-dev libspeexdsp-dev libudev-dev libv4l-dev libva-dev libvlc-dev libdrm-dev \
nlohmann-json3-dev libwebsocketpp-dev libasio-dev"
nlohmann-json3-dev libwebsocketpp-dev libasio-dev libqrcodegencpp-dev"
)

sudo apt-get -qq update
Expand Down
1 change: 1 addition & 0 deletions build-aux/com.obsproject.Studio.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"modules/40-usrsctp.json",
"modules/50-jansson.json",
"modules/50-libdatachannel.json",
"modules/50-libqrcodegencpp.json",
"modules/50-ntv2.json",
"modules/50-pipewire.json",
"modules/50-swig.json",
Expand Down
26 changes: 26 additions & 0 deletions build-aux/modules/50-libqrcodegencpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "libqrcodegencpp",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DBUILD_SHARED_LIBS=ON"
],
"post-install": [
"rm -rf /app/include/qrcodegen",
"rm -rf /app/lib/cmake/qrcodegen",
"rm -rf /app/lib/pkgconfig/qrcodegen.pc",
"rm -rf /app/lib/libqrcodegen.*"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/nayuki/QR-Code-generator/archive/refs/tags/v1.8.0.tar.gz",
"sha256": "2ec0a4d33d6f521c942eeaf473d42d5fe139abcfa57d2beffe10c5cf7d34ae60"
},
{
"type": "archive",
"url": "https://github.com/EasyCoding/qrcodegen-cmake/archive/refs/tags/v1.8.0-cmake2.tar.gz",
"sha256": "04e0dc2d7b19457928172e338b5b22216ad23a9dee8d26be4fb05fc39ea59904"
}
]
}

0 comments on commit 8d847b5

Please sign in to comment.