Gimp/build/flatpak/org.gimp.GIMP-nightly.json
2018-05-27 16:23:00 +02:00

97 lines
3.6 KiB
JSON

{
"id": "org.gimp.GIMP",
"branch": "master",
"base": "org.gimp.BaseApp",
"base-version": "stable",
"runtime": "org.gnome.Platform",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"command": "gimp-2.10",
"rename-desktop-file": "gimp.desktop",
"rename-icon": "gimp",
"finish-args": ["--share=ipc", "--socket=x11", "--share=network",
"--filesystem=host", "--filesystem=xdg-config/GIMP",
"--filesystem=xdg-config/gtk-3.0",
"--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*" ],
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
}
},
"cleanup": ["/include", "/lib/pkgconfig", "/share/pkgconfig",
"/share/aclocal", "/man", "/share/man", "/share/gtk-doc",
"/share/vala", "*.la", "*.a", "/bin/wmf*", "/bin/libwmf-*",
"/bin/pygtk*", "/bin/pygobject*", "/bin/pygobject-codegen-2.0"],
"modules": [
{
"name" : "libheif",
"modules": [
{
"name": "libde265",
"config-opts": [ "--disable-sherlock265" ],
"sources": [
{
"type": "archive",
"url": "https://github.com/strukturag/libde265/releases/download/v1.0.3/libde265-1.0.3.tar.gz",
"sha256": "e4206185a7c67d3b797d6537df8dcaa6e5fd5a5f93bd14e65a755c33cd645f7a"
}
]
}
],
"sources" : [
{
"url" : "https://github.com/strukturag/libheif/releases/download/v1.1.0/libheif-1.1.0.tar.gz",
"sha256" : "3f8e62e5481b38965b05d44cddc522b15c4820ee635205f826a6b15c0d4040cb",
"type" : "archive"
}
]
},
{
"name": "babl",
"config-opts": [ "--disable-docs" ],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/babl.git",
"branch": "master"
}
]
},
{
"name": "gegl",
"config-opts": [ "--disable-docs", "--disable-introspection" ],
"cleanup": [ "/bin" ],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gegl.git",
"branch": "master"
}
]
},
{
"name": "gimp",
"config-opts": [ "--disable-docs", "--disable-gtk-doc", "--disable-gtk-doc-html", "--enable-vector-icons" ],
"cleanup": [ "/bin/gimptool-2.0", "/bin/gimp-console-2.10" ],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gimp.git",
"branch": "master"
}
],
"post-install": [
"rm -fr /app/include /app/lib/pkgconfig /app/share/pkgconfig",
"rm -fr /app/share/gtk-doc/ /app/share/man/",
"rm -fr /app/lib/*.la /app/lib/*.a",
"rm -fr /app/share/ghostscript/9.20/doc/",
"rm -fr /app/bin/wmf* /app/bin/libwmf-*",
"rm -fr /app/bin/pygtk* /app/bin/pygobject* /app/bin/pygobject-codegen-2.0"
]
}
]
}