diff options
author | Ayoub Zaki <ayoub.zaki@embetrix.com> | 2025-01-22 15:38:00 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-24 18:20:05 -0800 |
commit | eadf631fe0215f72ace6b9a70b62d389f69b6e94 (patch) | |
tree | 6f1f696ceac3803532853828a04a6e08bf91e22a /meta-oe/recipes-devtools | |
parent | 93a9d4862caae44c1254a67ab9bdc6f547313b59 (diff) | |
download | meta-openembedded-eadf631fe0215f72ace6b9a70b62d389f69b6e94.tar.gz |
pistache: fix package config dependencies
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb b/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb index 953c249664..feffff623d 100644 --- a/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb +++ b/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb | |||
@@ -9,22 +9,24 @@ SRCREV = "ddffda861aa49012dcda28f1362d0339e718cd52" | |||
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | 11 | ||
12 | DEPENDS = "openssl brotli zlib zstd rapidjson" | 12 | DEPENDS = "rapidjson" |
13 | 13 | ||
14 | inherit pkgconfig meson | 14 | inherit pkgconfig meson |
15 | 15 | ||
16 | PACKAGECONFIG ?= "openssl brotli deflate zstd examples" | 16 | PACKAGECONFIG ?= "openssl brotli deflate zstd examples" |
17 | PACKAGECONFIG[openssl] = "-DPISTACHE_USE_SSL=true, -DPISTACHE_USE_SSL=false" | 17 | PACKAGECONFIG[openssl] = "-DPISTACHE_USE_SSL=true, -DPISTACHE_USE_SSL=false, openssl" |
18 | PACKAGECONFIG[brotli] = "-DPISTACHE_USE_CONTENT_ENCODING_BROTLI=true, -DPISTACHE_USE_CONTENT_ENCODING_BROTLI=false" | 18 | PACKAGECONFIG[brotli] = "-DPISTACHE_USE_CONTENT_ENCODING_BROTLI=true, -DPISTACHE_USE_CONTENT_ENCODING_BROTLI=false, brotli" |
19 | PACKAGECONFIG[deflate] = "-DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=true, -DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=false" | 19 | PACKAGECONFIG[deflate] = "-DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=true, -DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=false, zlib" |
20 | PACKAGECONFIG[zstd] = "-DPISTACHE_USE_CONTENT_ENCODING_ZSTD=true, -DPISTACHE_USE_CONTENT_ENCODING_ZSTD=false" | 20 | PACKAGECONFIG[zstd] = "-DPISTACHE_USE_CONTENT_ENCODING_ZSTD=true, -DPISTACHE_USE_CONTENT_ENCODING_ZSTD=false, zstd" |
21 | PACKAGECONFIG[examples] = "-DPISTACHE_BUILD_EXAMPLES=true, -DPISTACHE_BUILD_EXAMPLES=false" | 21 | PACKAGECONFIG[examples] = "-DPISTACHE_BUILD_EXAMPLES=true, -DPISTACHE_BUILD_EXAMPLES=false" |
22 | PACKAGECONFIG[test] = "-DPISTACHE_BUILD_TESTS=true, -DPISTACHE_BUILD_TESTS=false" | 22 | PACKAGECONFIG[test] = "-DPISTACHE_BUILD_TESTS=true, -DPISTACHE_BUILD_TESTS=false, gtest curl" |
23 | 23 | ||
24 | do_install:append () { | 24 | do_install:append () { |
25 | install -d ${D}${bindir} | 25 | if ${@bb.utils.contains("PACKAGECONFIG", "examples", "true", "false", d)}; then |
26 | rm -rf ${B}/examples/*.p/ | 26 | install -d ${D}${bindir} |
27 | install -m 0755 ${B}/examples/run* ${D}${bindir}/ | 27 | rm -rf ${B}/examples/*.p/ |
28 | install -m 0755 ${B}/examples/run* ${D}${bindir}/ | ||
29 | fi | ||
28 | } | 30 | } |
29 | 31 | ||
30 | PACKAGES += "${PN}-examples" | 32 | PACKAGES += "${PN}-examples" |