Skip to content

Commit

Permalink
Various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
p1u3o committed Dec 9, 2019
1 parent a7a3ffa commit 144d623
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "shared-modules"]
path = shared-modules
url = https://github.com/flathub/shared-modules.git
20 changes: 20 additions & 0 deletions com.stremio.Stremio.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>com.stremio.Stremio</id>
<name>Stremio</name>
<summary>Watch videos, movies, TV series and TV channels instantly.</summary>
<metadata_license>CC0-1.0</metadata_license>
<description>
<p>
Watch videos, movies, TV series and TV channels instantly.
</p>
</description>
<url type="homepage">https://www.stremio.com/</url>

<project_license>GPL-3.0+</project_license>

<releases>
<release version="4.4.77" date="2019-07-02" />
</releases>
</component>

21 changes: 13 additions & 8 deletions com.stremio.Stremio.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"finish-args":[
"--share=ipc",
"--share=network",
"--device=all",
"--socket=x11",
"--device=dri",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--filesystem=home",
"--persist=.pki/nssdb:rw",
"--talk-name=org.a11y.Bus",
"--talk-name=org.freedesktop.Notifications"
"--talk-name=org.freedesktop.Notifications",
"--env=TMPDIR=/var/cache/tmp"
],
"cleanup":[
"/include",
Expand Down Expand Up @@ -49,9 +49,10 @@
}
},
"post-install":[
"install -Dm 755 server.js /app/opt/stremio/server.js",
"install -Dm 644 com.stremio.Stremio.desktop /app/share/applications/com.stremio.Stremio.desktop",
"install -Dm 644 com.stremio.Stremio.svg /app/share/icons/hicolor/scalable/apps/com.stremio.Stremio.svg",
"install -Dm755 server.js /app/opt/stremio/server.js",
"install -Dm644 com.stremio.Stremio.desktop /app/share/applications/com.stremio.Stremio.desktop",
"install -Dm644 com.stremio.Stremio.svg /app/share/icons/hicolor/scalable/apps/com.stremio.Stremio.svg",
"install -Dm644 com.stremio.Stremio.appdata.xml /app/share/metainfo/com.stremio.Stremio.appdata.xml",
"ln -s /app/bin/node /app/opt/stremio/node"
],
"sources":[
Expand All @@ -76,6 +77,10 @@
"type":"file",
"path":"com.stremio.Stremio.svg"
},
{
"type":"file",
"path":"com.stremio.Stremio.appdata.xml"
},
{
"type":"patch",
"path":"dontruninbackground.patch"
Expand Down
1 change: 1 addition & 0 deletions shared-modules
Submodule shared-modules added at 769d28

0 comments on commit 144d623

Please sign in to comment.