Files
RedBear-OS/recipes/wip/tools/espanso/recipe.toml
T
vasilito 637da791ff fix: rename cxx → gcc13/gcc-native (resolve package name conflict)
recipes/dev/gcc13 was claiming name='cxx' — conflicted with
local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match
directory names for unique package identification by the cookbook.
2026-07-12 19:15:26 +03:00

33 lines
788 B
TOML

[package]
name = "espanso"
version = "0.1.0"
#TODO not compiled or tested
# build instructions: https://espanso.org/docs/install/linux/#x11-compile
[source]
git = "https://github.com/espanso/espanso"
[build]
template = "custom"
dependencies = [
"libxkbcommon",
"dbus",
"wxwidgets-gtk3",
"openssl3",
"libx11",
"libxtst",
]
script = """
DYNAMIC_INIT
package=espanso
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release \
--no-default-features \
--features=vendored-tls,modulo
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${package}"
"""