summarylogtreecommitdiffstats
path: root/010-stremio-do-not-download-server-js.patch
diff options
context:
space:
mode:
authorDaniel Bermond2020-06-04 22:11:56 +0000
committerDaniel Bermond2020-06-04 22:11:56 +0000
commitb4db53f38f2e562a1136be0f56e530280a4227d6 (patch)
tree87fe6d722e4ae5225b94e31b19c0929ca636b767 /010-stremio-do-not-download-server-js.patch
parent5c714f341fac99ce1dff9d231f8cc9dfdc438339 (diff)
downloadaur-b4db53f38f2e562a1136be0f56e530280a4227d6.tar.gz
Updated to version 4.4.107
Diffstat (limited to '010-stremio-do-not-download-server-js.patch')
-rw-r--r--010-stremio-do-not-download-server-js.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/010-stremio-do-not-download-server-js.patch b/010-stremio-do-not-download-server-js.patch
new file mode 100644
index 000000000000..15cdd05d901a
--- /dev/null
+++ b/010-stremio-do-not-download-server-js.patch
@@ -0,0 +1,27 @@
+--- a/release.makefile
++++ b/release.makefile
+@@ -8,7 +8,7 @@ SERVER_JS := server.js
+
+ STREMIO_BIN := ${BUILD_DIR}/stremio
+
+-ALL: ${STREMIO_BIN} ${SERVER_JS} icons
++ALL: ${STREMIO_BIN} icons
+
+ install:
+ make -C ${BUILD_DIR} install
+@@ -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'
+
+-${SERVER_JS}:
+- wget "https://s3-eu-west-1.amazonaws.com/stremio-artifacts/four/master/server.js" -qO ${SERVER_JS} || rm ${SERVER_JS}
+-
+ ${STREMIO_BIN}:
+ mkdir -p ${BUILD_DIR}
+ cd ${BUILD_DIR} && qmake PREFIX="${PREFIX}" ..
+ make -j -C ${BUILD_DIR}
+
+ clean:
+- rm -rf ${BUILD_DIR} ${SERVER_JS} icons
++ rm -rf ${BUILD_DIR} icons
+