Giter VIP home page Giter VIP logo

stremio-install-scripts's Introduction

Stremio appears to now support builds for major distros so I advise you to download the official builds here if you are using Fedora or an Arch system

Stremio Install Scripts

A repository containing scripts that are meant to install Stremio and its dependencies on systems that do not provide an official installation for Stremio.

Disclaimer:

You probably need the proprietary media codecs in order to be able to play any online content with stremio, so before running the script I advise you to search for how to install them on your speciffic distribution as the setps may vary.

Solus users: you have the codecs preinstalled out of the box.

Fedora users: you shoud see how to install rpmfusion repos (both free and non-free) then install all the codecs through the software center. RPMFUSION Free is required for mpv media player libs which are a dependency for Stremio

Arch users: if not already installed, then you shoud probably install gstreamer and ffmpeg

Clear Linux users: https://community.clearlinux.org/t/how-to-h264-etc-support-for-firefox-including-ffmpeg-install/195

Install on Fedora 31

  1. sudo dnf install git <-- Installs git so you can download my scripts
  2. git clone https://github.com/alexandru-balan/Stremio-Install-Scripts.git <-- Downloads the script
  3. cd Stremio-Install-Scripts <-- Moves into the downloaded folder
  4. chmod 755 installStremioFedora.sh <-- Makes the script executable
  5. ./installStremioFedora.sh <-- Installs Stremio (will ask for password to install dependencies and Stremio itself)

Install on Solus 4.1

  1. sudo eopkg it git <-- Installs git so you can download my scripts
  2. git clone https://github.com/alexandru-balan/Stremio-Install-Scripts.git <-- Downloads the script
  3. cd Stremio-Install-Scripts <-- Moves into the downloaded folder
  4. chmod 755 installStremioSolus.sh <-- Makes the script executable
  5. ./installStremioSolus.sh <-- Installs Stremio (will ask for password to install dependencies and Stremio itself)

Install on Clear Linux (this one might take a lot to complete)

Clear linux installs a lot of other things beside the necessary deps (around 2GB worth of bundles) due to the way swupd works

  1. sudo swupd bundle-add git <-- Installs git so you can download my scripts (Probably already installed)
  2. git clone https://github.com/alexandru-balan/Stremio-Install-Scripts.git <-- Downloads the script
  3. cd Stremio-Install-Scripts <-- Moves into the downloaded folder
  4. chmod 755 installStremioClear.sh <-- Makes the script executable
  5. ./installStremioClear.sh <-- Installs Stremio (will ask for password to install dependencies and Stremio itself)

Install on Arch Linux

  1. sudo pacman -S git <-- Installs git so you can download my scripts
  2. git clone https://github.com/alexandru-balan/Stremio-Install-Scripts.git <-- Downloads the script
  3. cd Stremio-Install-Scripts <-- Moves into the downloaded folder
  4. chmod 755 installStremioArch.sh <-- Makes the script executable
  5. ./installStremioArch.sh <-- Installs Stremio (will ask for password to install dependencies and Stremio itself)

stremio-install-scripts's People

Contributors

alexandru-balan avatar cadenar avatar realprongsdark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

stremio-install-scripts's Issues

Can't install on Fedora 31

I tried to install stremio on Fedora 31 but it kept showing an error saying:
"Can't set the project up. QMAKE error !"

I installed all the dependencies and also the qt5 libs but still the same error

[enhancement] Script for Tumbleweed

Hi ! I just tried your script on OpenSuse Tumbleweed, it works !

I took the Fedora script, and replaced:

sudo dnf install nodejs wget librsvg2-devel librsvg2-tools mpv-libs-devel qt5-qtbase-devel qt5-qtwebengine-devel qt5-qtquickcontrols qt5-qtquickcontrols2 openssl-devel gcc g++ make glibc-devel kernel-headers binutils -y

with:

sudo zypper install nodejs wget librsvg-devel librsvg-2-2 mpv-devel libqt5-qtbase-devel libqt5-qtwebengine-devel libqt5-qtquickcontrols libqt5-qtquickcontrols2 libopenssl-devel gcc make gcc-c++ glibc-devel linux-glibc-devel binutils rsvg-convert

Add scripts that install media codecs

It will be helpful to create another batch of scripts that install (optionally) the proprietary media codecs. That way the users that opt in will be able to watch and stream media with the mp4, mkv, etc extension.

Mainly they will need to install gstreamer and ffmpeg. At this moment all distros that I made scripts for have precompiled packages with the codecs and ffmpeg, except Clear Linux.

Main focus :

  1. Fedora rpmfusion installation and media codecs installation through terminal
  2. Clear Linux ffmpeg building and installing (maybe I will provide a precompiled binary because this acript already takes forever to finish). Building ffmpeg wold take maybe 5 times more than it already takes.
  3. Solus is straight forward, everything is packaged
  4. Arch is arch.

Installation error on Fedora 31


Compiling and Installing Stremio to your system

installStremioFedora.sh: linha 26: qmake-qt5: comando não encontrado
mkdir -p build
cd build && qmake-qt5 PREFIX="" ..
/bin/sh: qmake-qt5: comando não encontrado
make: *** [release.makefile:32: build/stremio] Error 127
which: no node in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
make -C build install
make[1]: Entering directory '/home/gaya/Documentos/Stremio-Install-Scripts/stremio-shell/build'
make[1]: *** No rule to make target 'install'. Pare.
make[1]: Leaving directory '/home/gaya/Documentos/Stremio-Install-Scripts/stremio-shell/build'
make: *** [release.makefile:14: install] Error 2
xdg-desktop-menu: file '/opt/stremio/smartcode-stremio.desktop' does not exist
./dist-utils/common/postinstall: linha 7: cd: /opt/stremio/icons: Arquivo ou diretório inexistente

Fedora 31 : message for nonfree/free repo missing

You can add a message when a package is missing and hosted by rpmfusion free/nonfree or make a warning with solution :

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Can't install on Solus4.1

i'm given error:

In file included from ../verifysig.c:1: ../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory 4 | #include <openssl/evp.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:703: verifysig.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../../stremio-shell/autoupdater.h:21, from ../autoupdater.cpp:1: ../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory 4 | #include <openssl/evp.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:690: autoupdater.o] Error 1 In file included from ../autoupdater.h:21, from ../mainapplication.h:4, from ../main.cpp:22: ../../stremio-shell/verifysig.h:4:10: fatal error: openssl/evp.h: No such file or directory 4 | #include <openssl/evp.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:672: main.o] Error 1 ../deps/singleapplication/singleapplication.cpp: In member function ‘void SingleApplicationPrivate::genBlockServerName(int)’: ../deps/singleapplication/singleapplication.cpp:110:33: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] 110 | process.start( "whoami" ); | ^ In file included from /usr/include/QtCore/QProcess:1, from ../deps/singleapplication/singleapplication.cpp:26: /usr/include/QtCore/qprocess.h:168:10: note: declared here 168 | void start(const QString &command, OpenMode mode = ReadWrite); | ^~~~~ ../deps/singleapplication/singleapplication.cpp: In member function ‘void SingleApplicationPrivate::slotConnectionEstablished()’: ../deps/singleapplication/singleapplication.cpp:285:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 285 | break; // Otherwise set to invalid connection (next line) | ^ ../deps/singleapplication/singleapplication.cpp:287:13: note: here 287 | default: | ^~~~~~~ make[1]: Leaving directory '/home/weacomeout/Stremio-Install-Scripts/stremio-shell/build' make: *** [release.makefile:36: build/stremio] Error 2 Can't compile project. MAKE error !

Openssl is installed

Build with another version of mpv instead of the builtin mpv?

Describe the bug
Since Stremio 4.0, Stremio comes with its own builtin version of libmpv. This prevents using a custom built version of mpv, for instance to allow extra ffmpeg audio filters or video interpolation with vapoursynth.

This was possible in the past: one could just edit /opt/stremio/server.js to edit the path to the mpv binary, and then write-protect server.js to prevent it from auto-updating. This allowed me to use libmysofa and 60 FPS interpolation with Stremio when opening the streamed file in mpv, which was really awesome.

It does not work anymore with later Stremio versions, probably due to the inclusion of the builtin libmpv. I can no longer enforce Stremio to use a different mpv binary. Even when stremio.js is edited accordingly, whenever I launch Stremio from terminal, I can see that it is using another mpv version built at an "UNKNOWN" date, and it is not /usr/bin/mpv nor /usr/local/bin/mpv.

The inability to use custom mpv version with its own mpv.conf and additional libraries is a major regression, it defeats the point of the whole external player feature. I reported the issue months ago on the Stremio subreddit but didn't get any answer, so I am wondering if you would know if it can be modified when compiling using your scripts?

To Reproduce
Steps to reproduce the behavior:

  1. Start streaming a file
  2. Open it in mpv as external player
  3. Alternatively, alter stremio.js to use the path to another version of mpv (for instance, mpv-git built from the the mpv-git repository)
  4. See Stremio either failing to open mpv or using its builtin version

Expected behavior
Stremio should be able to use a real external player, not a builtin external player that cannot be customized or even configured with mpv.conf.

Please include the following:

  • Solus 4.1
  • Mater branch, but I am not reporting a Stremiio-Install-Scripts bug, rather asking if this can be enhanced to support custom mpv installations

Got an error trying to install on Solus

I use Solus 4.1, KDE Plasma version, in the budgie version i could install normally, but now a got:

fatal: cannot use Perl-compatible regexes when not compiled with USE_LIBPCRE
wget "https://s3-eu-west-1.amazonaws.com/stremio-artifacts/four/v/server.js" -qO server.js || rm server.js
mkdir -p "icons"
cd "icons" && 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'
make -C build install
make[1]: Entrando no diretório '/home/gnomo/Stremio-Install-Scripts/stremio-shell/build'`
/usr/bin/qmake -install qinstall /home/gnomo/Stremio-Install-Scripts/stremio-shell/smartcode-stremio.desktop /opt/stremio/smartcode-stremio.desktop
/usr/bin/qmake -install qinstall -exe stremio /opt/stremio/stremio
make[1]: Saindo do diretório '/home/gnomo/Stremio-Install-Scripts/stremio-shell/build'
install -Dm 644 server.js "/opt/stremio/server.js"
install: não foi possível obter estado de 'server.js': Arquivo ou diretório inexistente
make: *** [release.makefile:15: install] Erro 1
Can't install the project. MAKE error !

How can i fix it ? For now i'm trying a flatpak version, the link is https://github.com/bilelmoussaoui/stremio-flatpak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.