Source: ltk
Section: libdevel
Priority: optional
Maintainer: Pedro M. de Echanove Pasquin <pedro.echanove@liberux.net>
Build-Depends: debhelper-compat (= 13), libxkbcommon-dev, pkg-config
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://liberux.net

Package: libltk-dev
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Suggests: libltk-doc
Description: Liberux ToolKit — Rust UI toolkit (development files)
 ltk is the UI toolkit for the Liberux desktop. It provides widgets
 (buttons, text inputs, labels, images), layout containers (column, row,
 stack) and a Wayland event loop built on smithay-client-toolkit,
 tiny-skia and fontdue.
 .
 This package contains the Rust crate sources required to build projects
 that depend on ltk.

Package: libltk-doc
Architecture: all
Multi-Arch: foreign
Section: doc
Depends: ${misc:Depends}
Description: Liberux ToolKit — API documentation
 HTML reference documentation for the ltk Rust crate, generated by
 cargo doc. Covers the App trait, all widgets, layout containers and
 primitive types.
 .
 Browse the docs at /usr/share/doc/libltk-doc/html/ltk/index.html.

Package: ltk-theme-default
Architecture: all
Multi-Arch: foreign
Section: misc
Provides: ltk-theme
Depends: ${misc:Depends}, fonts-sora, fonts-noto-core, fonts-noto-cjk
Description: Liberux ToolKit — default Eydos theme assets
 Wallpapers, lockscreen images and theme.json shipped as the Eydos
 shell's default theme. Installed under /usr/share/ltk/themes/default/
 where the Liberux shells (crustace, loginmanager, …) pick them up at
 startup via ltk::ThemeDocument::find("default"). Override the search
 root with the LTK_THEMES_DIR environment variable for in-tree
 development.
 .
 Depends on fonts-sora rather than re-shipping the Sora typeface so we
 stay aligned with Debian policy on duplicate file content. The
 theme.json references the OTFs at their system-wide install path
 (/usr/share/fonts/opentype/sora/Sora-{Light,Regular,SemiBold,Bold}.otf);
 fontdue reads them directly so widgets get the four canonical weights
 (300, 400, 600, 700) without going through fontconfig.
 .
 Provides the virtual package ltk-theme, so any Liberux app that
 Depends on ltk-theme can be satisfied by installing this package (or
 any other implementer, e.g. ltk-theme-<alternative>).
