org.gimp.GIMP-nightly.json 3.57 KB
Newer Older
1 2 3
{
    "id": "org.gimp.GIMP",
    "branch": "master",
4 5
    "base": "org.gimp.BaseApp",
    "base-version": "stable",
6
    "runtime": "org.gnome.Platform",
7
    "runtime-version": "3.28",
8
    "sdk": "org.gnome.Sdk",
9
    "command": "gimp-2.10",
10 11
    "rename-desktop-file": "gimp.desktop",
    "rename-icon": "gimp",
12 13 14 15
    "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.*" ],
16
    "tags": ["nightly"],
17
    "desktop-file-name-prefix": "(Nightly) ",
18 19 20 21 22 23 24
    "build-options" : {
        "cflags": "-O2 -g",
        "cxxflags": "-O2 -g",
        "env": {
            "V": "1"
        }
    },
25 26 27
    "cleanup": ["/include", "/lib/pkgconfig", "/share/pkgconfig",
                "/share/aclocal", "/man", "/share/man", "/share/gtk-doc",
                "/share/vala", "*.la", "*.a", "/bin/wmf*", "/bin/libwmf-*",
28
                "/bin/pygtk*", "/bin/pygobject*", "/bin/pygobject-codegen-2.0"],
29
    "modules": [
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
        {
            "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"
                }
            ]
        },
53 54 55 56 57 58
        {
            "name": "babl",
            "config-opts": [ "--disable-docs" ],
            "sources": [
                {
                    "type": "git",
59
                    "url": "https://gitlab.gnome.org/GNOME/babl.git",
60
                    "branch": "master"
61 62 63 64 65
                }
            ]
        },
        {
            "name": "gegl",
66
            "config-opts": [ "--disable-docs", "--disable-introspection" ],
67 68 69 70
            "cleanup": [ "/bin" ],
            "sources": [
                {
                    "type": "git",
71
                    "url": "https://gitlab.gnome.org/GNOME/gegl.git",
72
                    "branch": "master"
73 74 75 76 77 78
                }
            ]
        },
        {
            "name": "gimp",
            "config-opts": [ "--disable-docs", "--disable-gtk-doc", "--disable-gtk-doc-html", "--enable-vector-icons" ],
79
            "cleanup": [ "/bin/gimptool-2.0", "/bin/gimp-console-2.10" ],
80 81 82
            "sources": [
                {
                    "type": "git",
83
                    "url": "https://gitlab.gnome.org/GNOME/gimp.git",
84
                    "branch": "master"
85
                }
86 87 88 89 90 91 92 93
            ],
	    "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"
94 95 96 97
            ]
        }
    ]
}