diff --git a/.SRCINFO b/.SRCINFO index 0e049df..e87349e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,9 @@ pkgbase = jellyfin-mpv-shim pkgdesc = Cast media from Jellyfin Mobile and Web apps to MPV - pkgver = 1.9.0 + pkgver = 1.10.1 pkgrel = 1 url = https://github.com/jellyfin/jellyfin-desktop + install = jellyfin-mpv-shim.install arch = any license = MIT makedepends = python-setuptools @@ -12,7 +13,7 @@ pkgbase = jellyfin-mpv-shim depends = python-pydantic depends = python-mpv depends = python-mpv-jsonipc>=1.1.9 - depends = python-jellyfin-apiclient>=1.7.0 + depends = python-jellyfin-apiclient>=1.7.2 depends = tk optdepends = python-pystray: systray support optdepends = python-jinja: display mirroring support @@ -23,8 +24,8 @@ pkgbase = jellyfin-mpv-shim optdepends = svp: SmoothVideo Project server optdepends = mpv-shim-default-shaders: default shader pack optdepends = python-pypresence: Discord Rich Presence integration - source = jellyfin-mpv-shim-1.9.0.tar.gz::https://github.com/jellyfin/jellyfin-desktop/archive/v1.9.0.tar.gz - sha256sums = e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + source = jellyfin-mpv-shim-1.10.1.tar.gz::https://github.com/jellyfin/jellyfin-desktop/archive/v1.10.1.tar.gz + sha256sums = be52ef70f717d4834690bddb2037e78b7656590c326df005261892dd64eb6fe3 pkgname = jellyfin-mpv-shim diff --git a/PKGBUILD b/PKGBUILD index 3adc483..bd0d27d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: Marius Lindvall <(firstname) {cat} varden {dog} info> pkgname=jellyfin-mpv-shim -pkgver='1.9.0' +pkgver='1.10.1' pkgrel=1 pkgdesc="Cast media from Jellyfin Mobile and Web apps to MPV" arch=('any') url='https://github.com/jellyfin/jellyfin-desktop' license=('MIT') -depends=('mpv' 'python>=3.6' 'python-pydantic' 'python-mpv' 'python-mpv-jsonipc>=1.1.9' 'python-jellyfin-apiclient>=1.7.0' 'tk') +depends=('mpv' 'python>=3.6' 'python-pydantic' 'python-mpv' 'python-mpv-jsonipc>=1.1.9' 'python-jellyfin-apiclient>=1.7.2' 'tk') makedepends=('python-setuptools' 'gettext') optdepends=('python-pystray: systray support' 'python-jinja: display mirroring support' @@ -19,7 +19,8 @@ optdepends=('python-pystray: systray support' 'mpv-shim-default-shaders: default shader pack' 'python-pypresence: Discord Rich Presence integration') source=("$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-desktop/archive/v$pkgver.tar.gz") -sha256sums=('e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963') +sha256sums=('be52ef70f717d4834690bddb2037e78b7656590c326df005261892dd64eb6fe3') +install="$pkgname.install" build() { cd "${srcdir}/jellyfin-desktop-${pkgver}" diff --git a/jellyfin-mpv-shim.install b/jellyfin-mpv-shim.install new file mode 100755 index 0000000..c0eacb4 --- /dev/null +++ b/jellyfin-mpv-shim.install @@ -0,0 +1,10 @@ +post_upgrade() { + if [ $(vercmp "$2" 1.10.0) -lt 0 ]; then + cat << EOF +You are upgrading from Jellyfin MPV Shim v1.9 or older. To ensure that the player works properly, please log out and back in the first time you launch Jellyfin MPV Shim after upgrading. +For more information, please refer to the release notes: +https://github.com/jellyfin/jellyfin-desktop/releases/tag/v1.10.1 +EOF + + fi +}