diff --git a/ALL_README.md b/ALL_README.md index 77b7509..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -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) diff --git a/README.md b/README.md index 3421975..4a8d23d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_eu.md b/README_eu.md index 75aef9d..9700d41 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. -**Paketatutako bertsioa:** 4.3.2009~ynh11 +**Paketatutako bertsioa:** 4.3.2323~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 490aecc..1e308e1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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 diff --git a/README_gl.md b/README_gl.md index 15dc672..6d32551 100644 --- a/README_gl.md +++ b/README_gl.md @@ -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 diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..16faf0f --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,47 @@ + + +# 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) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`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 +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index 8fc59b4..1fc7352 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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", - ] diff --git a/scripts/_common.sh b/scripts/_common.sh index c647035..8cf9a8f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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 -#=================================================