From a5270bb11d68369f975789ad41fd65db696f8e1d Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Mon, 14 Mar 2022 19:47:22 +0100 Subject: [PATCH] Add boost lib and moved into with cpplibs --- .../com.vscodium.codium.tool.catch2.yaml | 26 ------------- .../com.vscodium.codium.tool.cpplibs.yaml | 37 +++++++++++++++++++ 2 files changed, 37 insertions(+), 26 deletions(-) delete mode 100644 com.vscodium.codium/tool.catch2/com.vscodium.codium.tool.catch2.yaml create mode 100644 com.vscodium.codium/tool.cpplibs/com.vscodium.codium.tool.cpplibs.yaml diff --git a/com.vscodium.codium/tool.catch2/com.vscodium.codium.tool.catch2.yaml b/com.vscodium.codium/tool.catch2/com.vscodium.codium.tool.catch2.yaml deleted file mode 100644 index b501866..0000000 --- a/com.vscodium.codium/tool.catch2/com.vscodium.codium.tool.catch2.yaml +++ /dev/null @@ -1,26 +0,0 @@ -id: "com.vscodium.codium.tool.catch2" -build-extension: true -branch: "21.08" - -runtime: com.vscodium.codium -sdk: org.freedesktop.Sdk//21.08 -runtime-version: stable - -separate-locales: false -build-options: - prefix: /app/tools/catch2 - env: - - SOURCE_DATE_EPOCH=1 - -modules: - - name: catch2 - sources: - - type: archive - url: https://github.com/catchorg/Catch2/archive/refs/tags/v2.13.7.tar.gz - sha256: 3cdb4138a072e4c0290034fe22d9f0a80d3bcfb8d7a8a5c49ad75d3a5da24fae - buildsystem: cmake-ninja - builddir: true - config-opts: - - -DCMAKE_INSTALL_PREFIX=/app/tools/catch2 - post-install: - - find /app/tools/catch2 -type f | xargs -I{} strip -g {} || true diff --git a/com.vscodium.codium/tool.cpplibs/com.vscodium.codium.tool.cpplibs.yaml b/com.vscodium.codium/tool.cpplibs/com.vscodium.codium.tool.cpplibs.yaml new file mode 100644 index 0000000..c51543c --- /dev/null +++ b/com.vscodium.codium/tool.cpplibs/com.vscodium.codium.tool.cpplibs.yaml @@ -0,0 +1,37 @@ +id: "com.vscodium.codium.tool.cpplibs" +build-extension: true +branch: "21.08" + +runtime: com.vscodium.codium +sdk: org.freedesktop.Sdk//21.08 +runtime-version: stable + +separate-locales: false +build-options: + prefix: /app/tools/cpplibs + env: + - SOURCE_DATE_EPOCH=1 + +modules: + - name: catch2 + sources: + - type: git + url: https://github.com/catchorg/Catch2.git + tag: v2.13.8 + commit: 216713a4066b79d9803d374f261ccb30c0fb451f + buildsystem: cmake-ninja + builddir: true + config-opts: + - -DCMAKE_INSTALL_PREFIX=/app/tools/cpplibs + - name: boost + sources: + - type: git + url: https://github.com/boostorg/boost.git + tag: boost-1.78.0 + commit: a07c63c9e56f4d3b5bc904e25a7ad6f900728dbf + buildsystem: cmake-ninja + - name: fixes + buildsystem: simple + build-commands: + - find /app/tools/cpplibs -type f | xargs -I{} strip -g {} || true + - cd /app/tools/cpplibs && if [ -d "share/pkgconfig" ]; then mv share/pkgconfig lib/pkgconfig; else exit 1; fi