1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tvheadend_ynh.git synced 2024-10-01 13:34:50 +02:00

Merge pull request #18 from YunoHost-Apps/testing

Testing / 4.3.2323 / Fix bookworm
This commit is contained in:
Alexandre Aubin 2024-05-02 01:56:19 +02:00 committed by GitHub
commit 1faf434cbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 66 additions and 60 deletions

View file

@ -4,3 +4,4 @@
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -18,7 +18,7 @@ It shall NOT be edited by hand.
TV streaming server and recorder
**Shipped version:** 4.3.2009~ynh11
**Shipped version:** 4.3.2323~ynh1
## Screenshots

View file

@ -18,7 +18,7 @@ EZ editatu eskuz.
**Paketatutako bertsioa:** 4.3.2009~ynh11
**Paketatutako bertsioa:** 4.3.2323~ynh1
## Pantaila-argazkiak

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Serveur de streaming et d'enregistrement TV
**Version incluse:** 4.3.2009~ynh11
**Version incluse:** 4.3.2323~ynh1
## Captures décran

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
**Versión proporcionada:** 4.3.2009~ynh11
**Versión proporcionada:** 4.3.2323~ynh1
## Capturas de pantalla

47
README_zh_Hans.md Normal file
View file

@ -0,0 +1,47 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 Tvheadend
[![集成程度](https://dash.yunohost.org/integration/tvheadend.svg)](https://dash.yunohost.org/appci/app/tvheadend) ![工作状态](https://ci-apps.yunohost.org/ci/badges/tvheadend.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/tvheadend.maintain.svg)
[![使用 YunoHost 安装 Tvheadend](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tvheadend)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Tvheadend。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
**分发版本:** 4.3.2323~ynh1
## 截图
![Tvheadend 的截图](./doc/screenshots/overall_screenshot.png)
## 文档与资源
- 官方应用网站: <https://tvheadend.org>
- 官方用户文档: <https://tvheadend.org/projects/tvheadend/wiki>
- 上游应用代码库: <https://github.com/tvheadend/tvheadend>
- YunoHost 商店: <https://apps.yunohost.org/app/tvheadend>
- 报告 bug <https://github.com/YunoHost-Apps/tvheadend_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/tvheadend_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/tvheadend_ynh/tree/testing --debug
sudo yunohost app upgrade tvheadend -u https://github.com/YunoHost-Apps/tvheadend_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -7,7 +7,7 @@ name = "Tvheadend"
description.en = "TV streaming server and recorder"
description.fr = "Serveur de streaming et d'enregistrement TV"
version = "4.3.2009~ynh11"
version = "4.3.2323~ynh1"
maintainers = ["Sylvain Cecchetto"]
@ -50,14 +50,15 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
[resources]
[resources.sources.main_bullseye]
amd64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2192~gc9b38a81a~bullseye/tvheadend_4.3-2192~gc9b38a81a~bullseye_amd64.deb"
amd64.sha256 = "e8f027620c5af52a805809ff6b42ee321db775f92fb161a6e5875f936f577782"
arm64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2192~gc9b38a81a~bullseye/tvheadend_4.3-2192~gc9b38a81a~bullseye_arm64.deb"
arm64.sha256 = "f672912eb67fe3ac9d469c55d87ce2dde097d441413c862eef758e49b140c5a8"
armhf.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2192~gc9b38a81a~bullseye/tvheadend_4.3-2192~gc9b38a81a~bullseye_armhf.deb"
armhf.sha256 = "2b34f372c6272e47880555dd67a1aba23b0410d4b69d5aee41483829bcb3ef89"
rename = "tvheadend.deb"
amd64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2323~g73a6bd00d~bullseye/tvheadend_4.3-2323~g73a6bd00d~bullseye_amd64.deb"
amd64.sha256 = "71f4ee6ad921bbb41b77964b3022f6bb1463d32ca9d0cd401a446c029fa6651a"
arm64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2192~gc9b38a81a~bullseye/tvheadend_4.3-2323~g73a6bd00d~bullseye_arm64.deb"
arm64.sha256 = "cfc808ff03c1b2eb4fc7486fa7c1c5bd7b789f1d5d110a75cc8ef9b47b013004"
armhf.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bullseye/main/t/tv/tvheadend_4.3-2192~gc9b38a81a~bullseye/tvheadend_4.3-2323~g73a6bd00d~bullseye_armhf.deb"
armhf.sha256 = "48b75586c8117a46ef2cabbeb5b4b3e018b716c159851ad617ace1b9cabfdc91"
rename = "tvheadend.deb"
format = "whatever"
extract = false
prefetch = false
@ -67,10 +68,11 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
autoupdate.asset.armhf = "tarball"
[resources.sources.main_bookworm]
amd64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bookworm/main/t/tv/tvheadend_4.3-2098~g44bf691ac~bookworm/tvheadend_4.3-2098~g44bf691ac~bookworm_amd64.deb"
amd64.sha256 = "18a95b1d9c0556590a3089f48cf95d851069eaaba2f4066ea52da2b9d27f5920"
rename = "tvheadend.deb"
amd64.url = "https://dl.cloudsmith.io/public/tvheadend/tvheadend/deb/debian/pool/bookworm/main/t/tv/tvheadend_4.3-2323~g73a6bd00d~bookworm/tvheadend_4.3-2323~g73a6bd00d~bookworm_amd64.deb"
amd64.sha256 = "656e0883952f3b797008133083c322e135c3ba0fc0d2d60dc14c6955f892f574"
# Upstream has no arm64 / armhf build for bookworm ? :|
rename = "tvheadend.deb"
format = "whatever"
extract = false
prefetch = false
@ -92,18 +94,3 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
main.default = 9981
stream.default = 9982
stream.exposed = "TCP"
[resources.apt]
packages = [
"libavahi-client3",
"libavahi-common3",
"libc6",
"libdbus-1-3",
"libdvbcsa1",
"libpcre3",
"libssl1.1",
"libstdc++6",
"liburiparser1",
"zlib1g",
"bzip2",
]

View file

@ -1,24 +1,9 @@
#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
debian=$(lsb_release --codename --short)
pkg_version_bullseye="4.3-2192~gc9b38a81a~bullseye"
pkg_version_bookworm="4.3-2098~g44bf691ac~bookworm"
pkg_version_name=pkg_version_$debian
pkg_version="${!pkg_version_name}"
#=================================================
# PERSONAL HELPERS
#=================================================
_install_tvheadend_package() {
# Download the package
if [ ! -f "$install_dir/tvheadend.deb" ]; then
ynh_setup_source --dest_dir="$install_dir" --source_id="main_$debian"
ynh_setup_source --dest_dir="$install_dir" --source_id="main_$YNH_DEBIAN_VERSION"
fi
# Pre-seed debconf database with answers of the interactive dpkg
@ -32,12 +17,6 @@ _install_tvheadend_package() {
chown -R "hts:video" "$data_dir"
# The doc says it should be called only once,
# but the code says multiple calls are supported.
# Also, they're already installed so that should be quasi instantaneous.
ynh_install_app_dependencies \
tvheadend="$pkg_version"
# Mark packages as dependencies, to allow automatic removal
apt-mark auto tvheadend
@ -53,11 +32,3 @@ _uninstall_tvheadend_package() {
# Delete the system user created by the package
deluser hts --remove-home
}
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================