Add install rules and CPack settings so cpack produces an installable .deb. Dependencies are derived with dpkg-shlibdeps, so they follow the binaries. The sherpa-onnx runtime the streaming backend needs is bundled because no distro package provides it. The fetch-models script now also locates its registry when installed system-wide. 增加 CPack 配置,可直接用 cpack 打出 deb:安装规则含桌面入口、应用图标、 模型注册表与下载脚本、用户文档;依赖由 dpkg-shlibdeps 自动推导;流式后端 需要的 sherpa-onnx 运行时(发行版无对应包)随包携带;fetch-models 脚本 装到系统后也能找到注册表。
28 lines
1016 B
XML
28 lines
1016 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
live-caption 图标。
|
|
|
|
刻意不用文字(字形)而画成「字幕面板」:SVG 里的 <text> 依赖渲染环境有对应字体,
|
|
而这条图标要跟着主题一起渲染。所以画成和悬浮窗一样的样子 ——
|
|
深色圆角面板 + 一行已稳定文本(白)+ 一行不稳定尾部(灰)。
|
|
-->
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
|
|
<defs>
|
|
<clipPath id="panel">
|
|
<rect x="2" y="11" width="60" height="42" rx="10"/>
|
|
</clipPath>
|
|
</defs>
|
|
|
|
<!-- 面板 -->
|
|
<rect x="2" y="11" width="60" height="42" rx="10" fill="#1b1b1b"/>
|
|
<rect x="2" y="11" width="60" height="42" rx="10" fill="none"
|
|
stroke="#3a3a3a" stroke-width="1.5"/>
|
|
|
|
<!-- 已稳定文本 -->
|
|
<g clip-path="url(#panel)">
|
|
<rect x="11" y="24" width="42" height="6" rx="3" fill="#f5f5f5"/>
|
|
<!-- 不稳定尾部 -->
|
|
<rect x="11" y="35" width="26" height="6" rx="3" fill="#8d8d8d"/>
|
|
</g>
|
|
</svg>
|