summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2020-06-04 22:11:56 +0000
committerDaniel Bermond2020-06-04 22:11:56 +0000
commitb4db53f38f2e562a1136be0f56e530280a4227d6 (patch)
tree87fe6d722e4ae5225b94e31b19c0929ca636b767
parent5c714f341fac99ce1dff9d231f8cc9dfdc438339 (diff)
downloadaur-b4db53f38f2e562a1136be0f56e530280a4227d6.tar.gz
Updated to version 4.4.107
-rw-r--r--.SRCINFO16
-rw-r--r--010-stremio-do-not-download-server-js.patch (renamed from stremio-do-not-download-server-js.patch)7
-rw-r--r--PKGBUILD20
3 files changed, 22 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b279e5d0363f..da5bee485469 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = stremio
pkgdesc = A one-stop hub for video content aggregation (Movies, TV shows, series, live television or web channels)
- pkgver = 4.4.106
+ pkgver = 4.4.107
pkgrel = 1
url = https://www.stremio.com/
arch = x86_64
@@ -17,20 +17,20 @@ pkgbase = stremio
depends = qt5-quickcontrols2
depends = qt5-translations
depends = qt5-webchannel
- source = git+https://github.com/Stremio/stremio-shell.git#tag=4.4.106
+ source = git+https://github.com/Stremio/stremio-shell.git#tag=4.4.107
source = git+https://github.com/Ivshti/libmpv.git
source = git+https://github.com/itay-grudev/SingleApplication.git
source = git+https://github.com/Ivshti/razerchroma.git
- source = stremio-4.4.106-server.js::https://dl.strem.io/four/v4.4.106/server.js
- source = stremio-4.4.106-stremio.asar::https://dl.strem.io/four/v4.4.106/stremio.asar
- source = stremio-do-not-download-server-js.patch
+ source = stremio-4.4.107-server.js::https://dl.strem.io/four/v4.4.107/server.js
+ source = stremio-4.4.107-stremio.asar::https://dl.strem.io/four/v4.4.107/stremio.asar
+ source = 010-stremio-do-not-download-server-js.patch
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
- sha256sums = 4b5a091b936ad324c58a57fe635c0dc3a93f851092535f4f92163cddcb143517
- sha256sums = 2775741ca73537ece1f7d528c8778246eb738efc4a1942c86e9e8d475fd0ec2e
- sha256sums = b1febe31374eaceefc1f869d574a00f7f5414eafa8b5d0a92a5f511078ba3add
+ sha256sums = 23abaeba95b162adcec4fd8109d3865fa43aafd5ac3f74c0e4f3645667993006
+ sha256sums = 09ef380e54478362bf073e11eb26cdaa39198bf22b511d2e55c62e408cba7330
+ sha256sums = 931c14dbc0df3f3bfcf6a6b1e54718b180f703ca65528039698f44c3ae1e8fec
pkgname = stremio
diff --git a/stremio-do-not-download-server-js.patch b/010-stremio-do-not-download-server-js.patch
index 21705fd3be63..15cdd05d901a 100644
--- a/stremio-do-not-download-server-js.patch
+++ b/010-stremio-do-not-download-server-js.patch
@@ -1,6 +1,5 @@
-diff -Naurp a/release.makefile b/release.makefile
---- a/release.makefile 2019-06-01 17:55:19.000000000 +0000
-+++ b/release.makefile 2019-06-01 17:58:39.254503016 +0000
+--- a/release.makefile
++++ b/release.makefile
@@ -8,7 +8,7 @@ SERVER_JS := server.js
STREMIO_BIN := ${BUILD_DIR}/stremio
@@ -10,7 +9,7 @@ diff -Naurp a/release.makefile b/release.makefile
install:
make -C ${BUILD_DIR} install
-@@ -24,14 +24,11 @@ icons:
+@@ -27,14 +27,11 @@ icons:
mkdir -p "$@"
cd "$@" && printf 16,22,24,32,64,128 | xargs -I^ -d, sh -c 'rsvg-convert ../images/stremio.svg -w ^ -o smartcode-stremio_^.png && rsvg-convert ../images/stremio_tray_white.svg -w ^ -o smartcode-stremio-tray_^.png'
diff --git a/PKGBUILD b/PKGBUILD
index 1a2364c6bcfc..8330a3f090dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=stremio
-pkgver=4.4.106
+pkgver=4.4.107
pkgrel=1
pkgdesc='A one-stop hub for video content aggregation (Movies, TV shows, series, live television or web channels)'
arch=('x86_64')
@@ -16,14 +16,14 @@ source=("git+https://github.com/Stremio/stremio-shell.git#tag=${pkgver}"
'git+https://github.com/Ivshti/razerchroma.git'
"stremio-${pkgver}-server.js"::"https://dl.strem.io/four/v${pkgver}/server.js"
"stremio-${pkgver}-stremio.asar"::"https://dl.strem.io/four/v${pkgver}/stremio.asar"
- 'stremio-do-not-download-server-js.patch')
+ '010-stremio-do-not-download-server-js.patch')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- '4b5a091b936ad324c58a57fe635c0dc3a93f851092535f4f92163cddcb143517'
- '2775741ca73537ece1f7d528c8778246eb738efc4a1942c86e9e8d475fd0ec2e'
- 'b1febe31374eaceefc1f869d574a00f7f5414eafa8b5d0a92a5f511078ba3add')
+ '23abaeba95b162adcec4fd8109d3865fa43aafd5ac3f74c0e4f3645667993006'
+ '09ef380e54478362bf073e11eb26cdaa39198bf22b511d2e55c62e408cba7330'
+ '931c14dbc0df3f3bfcf6a6b1e54718b180f703ca65528039698f44c3ae1e8fec')
prepare() {
git -C stremio-shell submodule init
@@ -33,8 +33,8 @@ prepare() {
git -C stremio-shell submodule update
# do not download server.js during 'make'
- ln -s "${srcdir}/stremio-${pkgver}-server.js" stremio-shell/server.js
- patch -d stremio-shell -Np1 -i "${srcdir}/stremio-do-not-download-server-js.patch"
+ ln -s "../stremio-${pkgver}-server.js" stremio-shell/server.js
+ patch -d stremio-shell -Np1 -i "${srcdir}/010-stremio-do-not-download-server-js.patch"
}
build() {
@@ -54,13 +54,15 @@ package() {
ln -s ../../../opt/stremio/smartcode-stremio.desktop "${pkgdir}/usr/share/applications/smartcode-stremio.desktop"
# icons
+ local _file
local _res
- for _res in 16 22 24 32 64 128
+ while read -r -d '' _file
do
+ _res="$(printf '%s' "$_file" | sed 's/\.png$//;s/^.*_//')"
mkdir -p "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps"
ln -s ../../../../../../opt/stremio/icons/smartcode-stremio_${_res}.png \
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/smartcode-stremio.png"
ln -s ../../../../../../opt/stremio/icons/smartcode-stremio-tray_${_res}.png \
"${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/smartcode-stremio-tray.png"
- done
+ done < <(find "${pkgdir}/opt/stremio/icons" -maxdepth 1 -type f -name 'smartcode-stremio_*.png' -print0)
}