Skip to content

Commit

Permalink
Merge pull request #24 from vchernin/master
Browse files Browse the repository at this point in the history
Build with PipeWire support (stable branch)
  • Loading branch information
SemaiCZE authored Jun 28, 2021
2 parents ace196a + ce8a555 commit a0668e1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 10 deletions.
6 changes: 3 additions & 3 deletions com.mattermost.Desktop.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://ga0.imgix.net/screenshot/o/111417-mattermost-1513705902-5351114</image>
<image type="source">https://i.ibb.co/r0pgQMC/111417-mattermost-1513705902-5351114.png</image>
</screenshot>
<screenshot>
<image type="source">https://ga0.imgix.net/screenshot/o/111417-mattermost-1513706072-6569283</image>
<image type="source">https://i.ibb.co/bsLJ7D6/com-mattermost-Desktop-52afcc85d8efb3f60a3e99ee297042e2.png</image>
</screenshot>
<screenshot>
<image type="source">https://ga0.imgix.net/screenshot/o/111417-mattermost-1513705838-1315444</image>
<image type="source">https://i.ibb.co/x71fXYQ/com-mattermost-Desktop-a4b0e543c523f07a83028d9c2dc9bd6a.png</image>
</screenshot>
</screenshots>
<releases>
Expand Down
38 changes: 31 additions & 7 deletions com.mattermost.Desktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"--share=network",
"--device=dri",
"--filesystem=home",
"--filesystem=xdg-run/pipewire-0",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.kde.StatusNotifierWatcher",
"--talk-name=com.canonical.AppMenu.Registrar"
Expand All @@ -28,7 +29,8 @@
"install mattermost.sh /app/bin/mattermost-flatpak",
"install -Dm644 com.mattermost.Desktop.desktop /app/share/applications/com.mattermost.Desktop.desktop",
"install -Dm644 com.mattermost.Desktop.appdata.xml /app/share/appdata/com.mattermost.Desktop.appdata.xml",
"install -Dm644 /app/main/icon.svg /app/share/icons/hicolor/scalable/apps/com.mattermost.Desktop.svg"
"install -Dm644 icon.svg /app/share/icons/hicolor/scalable/apps/com.mattermost.Desktop.svg",
"desktop-file-edit --set-key=\"Exec\" --set-value=\"mattermost-flatpak --enable-features=WebRTCPipeWireCapturer %U\" ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
],
"sources" : [
{
Expand All @@ -42,15 +44,15 @@
{
"type": "archive",
"only-arches": ["x86_64"],
"url": "https://releases.mattermost.com/desktop/4.6.2/mattermost-desktop-4.6.2-linux-x64.tar.gz",
"sha256": "7d30bab49b1755e19aed589a1ffa857f8049d0eb8d89ea922a67f407d8320345",
"url": "https://releases.mattermost.com/desktop/4.7.0/mattermost-desktop-4.7.0-linux-x64.tar.gz",
"sha256": "9bde569a8cdc49851a8bc879f741272f03984477166c46034cf7ed59a7ceeb9c",
"dest": "main"
},
{
"type": "archive",
"only-arches": ["i386"],
"url": "https://releases.mattermost.com/desktop/4.6.2/mattermost-desktop-4.6.2-linux-ia32.tar.gz",
"sha256": "752c556eb5950711b5375039c086db72d659aecdb74907f68d12c059274c5b12",
"url": "https://releases.mattermost.com/desktop/4.7.0/mattermost-desktop-4.7.0-linux-ia32.tar.gz",
"sha256": "8329f6ae2efcc07592f4fcf917163de85c08b798bee223ffdc471a4a1424ebe0",
"dest": "main"
},
{
Expand All @@ -63,10 +65,32 @@
},
{
"type": "file",
"url": "https://github.com/mattermost/desktop/archive/v4.6.2.tar.gz",
"sha256": "620ff64ec2c04bfe1005c25988a5d4cb20e376bc9dca9e3ce3e11dbd59ad0b47"
"path": "icon.svg"
},
{
"type": "file",
"url": "https://github.com/mattermost/desktop/archive/v4.7.0.tar.gz",
"sha256": "f327d8560bebeb2075c7369898c3ed6c2d11be952a44853822a663ba42144055"
}
]

},

{
"name": "pipewire",
"buildsystem": "meson",
"config-opts": [
"-Dgstreamer=disabled",
"-Dman=false",
"-Dsystemd=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.freedesktop.org/pipewire/pipewire.git",
"tag": "0.2.7"
}
]
}
]
}
Expand Down
19 changes: 19 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a0668e1

Please sign in to comment.