diff --git a/srcpkgs/jellyfin-tui/template b/srcpkgs/jellyfin-tui/template new file mode 100644 index 00000000000000..16f6720a908cfa --- /dev/null +++ b/srcpkgs/jellyfin-tui/template @@ -0,0 +1,23 @@ +# Template file for 'jellyfin-tui' +pkgname=jellyfin-tui +version=1.4.2 +revision=1 +build_style=cargo +hostmakedepends="pkg-config sqlite-devel" +makedepends="openssl-devel sqlite-devel mpv-devel" +short_desc="TUI streaming client for the Jellyfin media server" +maintainer="xJayMorex " +license="GPL-3.0-or-later" +homepage="https://github.com/dhonus/jellyfin-tui" +changelog="https://github.com/dhonus/jellyfin-tui/releases" +distfiles="https://github.com/dhonus/jellyfin-tui/archive/refs/tags/v${version}.tar.gz" +checksum=2ed20b9f8da2f713684e516688fc8f4b688c0ef12540ea8893baedc4cbde9961 + +if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then + broken="Cannot compile libmpv2-sys on 32-bit systems because of overflow" +fi + +pre_build() { + cargo remove souvlaki --target 'cfg(target_os = "linux")' + cargo add souvlaki@0.8.3 --target 'cfg(target_os = "linux")' +}