gimp/build/flatpak/org.gimp.GIMP-nightly.json

130 lines
4.5 KiB
JSON

{
"id": "org.gimp.GIMP",
"branch": "master",
"base": "org.gimp.BaseApp",
"base-version": "stable",
"runtime": "org.gnome.Platform",
"runtime-version": "3.24",
"sdk": "org.gnome.Sdk",
"command": "gimp-2.9",
"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",
"/share/glib-2.0/codegen", "/bin/gdbus-codegen", "/bin/glib-*",
"/bin/gobject-query", "/bin/gresource", "/bin/gtester*"],
"modules": [
{
"name" : "glib2",
"config-opts" : [
"--with-pcre=system"
],
"ensure-writable" : [
"/share/glib-2.0/codegen/*.pyc"
],
"sources" : [
{
"url": "https://download.gnome.org/sources/glib/2.54/glib-2.54.2.tar.xz",
"sha256": "bb89e5c5aad33169a8c7f28b45671c7899c12f74caf707737f784d7102758e6c",
"type": "archive"
}
]
},
{
"name" : "glib-networking",
"config-opts" : [
"--disable-static"
],
"sources" : [
{
"url": "http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.54/glib-networking-2.54.1.tar.xz",
"sha256": "eaa787b653015a0de31c928e9a17eb57b4ce23c8cf6f277afaec0d685335012f",
"type": "archive"
}
]
},
{
"name": "mypaint-brushes",
"sources": [
{
"type": "git",
"url": "https://github.com/Jehan/mypaint-brushes.git",
"branch": "v1.3.0",
"commit": "fce9b5f23f658f15f8168ef5cb2fee69cf90addb"
}
]
},
{
"name": "lcms2",
"config-opts": [ "--disable-static" ],
"cleanup": [ "/bin", "/share" ],
"sources": [
{
"type": "archive",
"url": "http://download.sourceforge.net/lcms/lcms2-2.8.tar.gz",
"sha256": "66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22"
}
]
},
{
"name": "babl",
"config-opts": [ "--disable-docs" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/babl",
"branch": "master"
}
]
},
{
"name": "gegl",
"config-opts": [ "--disable-docs", "--disable-introspection" ],
"cleanup": [ "/bin" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gegl",
"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.9" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gimp",
"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"
]
}
]
}