From 864cd0565e158a9e8ce4c397c651438a07cb58f3 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Sun, 13 Sep 2026 15:12:30 +0800 Subject: [PATCH] New translations dependency-commands.mdx (Ukrainian) [ci skip] --- .../uk-UA/docs/commands/dependency-commands.mdx.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs-crowdin-export/uk-UA/docs/commands/dependency-commands.mdx.mdx b/docs-crowdin-export/uk-UA/docs/commands/dependency-commands.mdx.mdx index db0d904..0d4cf11 100644 --- a/docs-crowdin-export/uk-UA/docs/commands/dependency-commands.mdx.mdx +++ b/docs-crowdin-export/uk-UA/docs/commands/dependency-commands.mdx.mdx @@ -15,6 +15,8 @@ dcr add mylib path:./lib # explicit path prefix dcr add mylib git:https://github.com/user/repo # explicit git prefix dcr add mylib github:user/repo # GitHub shorthand dcr add mylib gitlab:user/repo # GitLab shorthand +dcr add fmt pkg-config:fmt # system package via pkg-config +dcr add openssl pkg:openssl,libcrypto # multiple pkg-config packages ``` Source prefixes: @@ -23,6 +25,7 @@ Source prefixes: * `git:` — generic git URL * `github:` — expands to `https://github.com/\/\` * `gitlab:` — expands to `https://gitlab.com/\/\` +* `pkg-config:` / `pkg:` — one or more packages resolved by `pkg-config` * `http://` / `https://` / `git@` — full URL Flags: @@ -33,6 +36,11 @@ Flags: If source is omitted — DCR searches connected registries. A bare relative or absolute path is accepted as a path dependency. +For `pkg-config` dependencies, the referenced packages must already be installed +and provide `.pc` files. DCR invokes `pkg-config` during the build (using +`PATH` and `PKG_CONFIG_PATH`) and forwards the returned compiler and linker +flags; it does not download or build these packages. + ## `dcr tree` Displays the project dependency tree.