tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1572Shell 203Rust 109Markdown 993728 Definiciones

⎇ main recipes/incoming-kde/kpty.toml TOML · 41 líneas · 1.4 KB Historia crudo

licencias: campo `license` en la receta — de 0 a 228 de 1141, sin re-hashear nada 346cd5970 · sergio ·

1# kpty 6.27.0 — KDE Frameworks 6: interfaz a pseudo-terminales (pty). Dep de konsole. Patrón KF6.
2name    = "kpty"
3version = "6.27.0"
4license = "LGPL-2.1-or-later OR LGPL-3.0-or-later"
5
6[source]
7tarball = "https://download.kde.org/stable/frameworks/6.27/kpty-6.27.0.tar.xz"
8sha256  = "ad06bfda8df019bb2b33567ce3df539bcc107e0dfe004281e5ff9ae4617c6ecc"
9
10[build]
11compiler = "zig-cc"
12target   = "x86_64-linux-musl"
13link     = "dynamic"
14flags    = []
15
16[build.phases]
17configure = '''
18rm -rf po
19ZW="$PWD/.zwrap"; mkdir -p "$ZW"
20cat > "$ZW/cc"  <<'W'
21#!/bin/sh
22a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
23exec /opt/zig/zig cc -mcpu=baseline $a
24W
25cat > "$ZW/cxx" <<'W'
26#!/bin/sh
27a=""; for x in "$@"; do [ "$x" = "-Wl,--fatal-warnings" ] && continue; a="$a $x"; done
28exec /opt/zig/zig c++ -mcpu=baseline $a
29W
30chmod +x "$ZW/cc" "$ZW/cxx"
31cmake -B build -G Ninja -Wno-dev \
32  -DCMAKE_C_COMPILER="$ZW/cc" -DCMAKE_CXX_COMPILER="$ZW/cxx" -DCMAKE_ASM_COMPILER="$ZW/cc" \
33  -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr \
34  -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF -DBUILD_TESTING=OFF
35'''
36compile = "cmake --build build"
37install = "DESTDIR=/out cmake --install build"
38
39[deps]
40build = ["cmake", "samurai", "python3", "pkgconf", "qtbase", "dbus", "extra-cmake-modules", "qttools",
41  "gettext-tiny", "kcoreaddons", "ki18n"]