Skip to content

Instantly share code, notes, and snippets.

@cpba
Last active February 22, 2018 15:52
Show Gist options
  • Save cpba/c761b80c51154997cdd374d63c66aee2 to your computer and use it in GitHub Desktop.
Save cpba/c761b80c51154997cdd374d63c66aee2 to your computer and use it in GitHub Desktop.
flatpak manifest for Srain
{
"app-id": "im.srain.Srain",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"command": "srain",
"rename-desktop-file": "Srain.desktop",
"rename-icon": "srain",
"finish-args": [
"--device=all",
"--filesystem=host:ro",
"--socket=pulseaudio",
"--share=network",
"--socket=x11"
],
"modules": [
{
"name": "libconfig",
"buildsystem": "simple",
"build-commands": [
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "archive",
"url": "https://hyperrealm.github.io/libconfig/dist/libconfig-1.7.2.tar.gz",
"sha256": "7c3c7a9c73ff3302084386e96f903eb62ce06953bb1666235fac74363a16fad9"
}
]
},
{
"name": "imagemagick",
"buildsystem": "simple",
"build-commands": [
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "archive",
"url": "https://www.imagemagick.org/download/releases/ImageMagick-7.0.6-10.tar.xz",
"sha256": "5a9889c87dc351cf4b57ca3ae418c9cdcefc77aaa9a3b16044ae8a4eecf3aeed"
}
]
},
{
"name": "srain",
"buildsystem": "simple",
"build-commands": [
"./configure --prefix=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/SilverRainZ/srain.git"
}
]
}
]
}
@SilverRainZ
Copy link

Could you please specify a version for imagemagick?

@cpba
Copy link
Author

cpba commented Feb 22, 2018

Done! I feel a bit stupid now

@cpba
Copy link
Author

cpba commented Feb 22, 2018

Also added network access, an irc client isn't very useful without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment