flatpak: Trivial style update

This commit is contained in:
Georges Basile Stavracas Neto
2018-02-18 19:01:24 +00:00
parent 7c911d93a3
commit bd0b16c58f
+82 -62
View File
@@ -1,12 +1,14 @@
{ {
"app-id": "org.gnome.Calendar", "app-id" : "org.gnome.Calendar",
"runtime": "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version": "master", "runtime-version" : "master",
"sdk": "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
"command": "gnome-calendar", "command" : "gnome-calendar",
"tags": ["devel"], "tags" : [
"desktop-file-name-prefix": "(Development) ", "devel"
"finish-args": [ ],
"desktop-file-name-prefix" : "(Development) ",
"finish-args" : [
"--share=ipc", "--share=ipc",
"--share=network", "--share=network",
"--socket=x11", "--socket=x11",
@@ -26,14 +28,16 @@
"--env=DCONF_USER_CONFIG_DIR=.config/dconf" "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
], ],
"build-options" : { "build-options" : {
"cflags": "-O2 -g", "cflags" : "-O2 -g",
"cxxflags": "-O2 -g", "cxxflags" : "-O2 -g",
"env": { "env" : {
"V": "1" "V" : "1"
} }
}, },
"x-run-args" : [ "--debug" ], "x-run-args" : [
"cleanup": [ "--debug"
],
"cleanup" : [
"/include", "/include",
"/lib/pkgconfig", "/lib/pkgconfig",
"/share/pkgconfig", "/share/pkgconfig",
@@ -44,64 +48,76 @@
"*.la", "*.la",
"*.a" "*.a"
], ],
"modules": [ "modules" : [
{ {
"name": "gnome-online-accounts", "name" : "gnome-online-accounts",
"config-opts": ["--disable-telepathy", "--disable-documentation", "--disable-backend"], "config-opts" : [
"sources": [ "--disable-telepathy",
"--disable-documentation",
"--disable-backend"
],
"sources" : [
{ {
"type": "git", "type" : "git",
"url": "git://git.gnome.org/gnome-online-accounts" "url" : "git://git.gnome.org/gnome-online-accounts"
} }
] ]
}, },
{ {
"name": "libical", "name" : "libical",
"cleanup": [ "/lib/cmake"], "cleanup" : [
"buildsystem": "cmake", "/lib/cmake"
"config-opts": [ "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib", ],
"-DBUILD_SHARED_LIBS:BOOL=ON" ], "buildsystem" : "cmake",
"sources": [ "config-opts" : [
"-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
"-DBUILD_SHARED_LIBS:BOOL=ON"
],
"sources" : [
{ {
"type": "archive", "type" : "archive",
"url": "https://github.com/libical/libical/releases/download/v3.0.1/libical-3.0.1.tar.gz", "url" : "https://github.com/libical/libical/releases/download/v3.0.1/libical-3.0.1.tar.gz",
"sha256": "7f32a889df542592a357a73ff5f3bd7b5058450c1a3fb272b1c9a69e32d9ed10" "sha256" : "7f32a889df542592a357a73ff5f3bd7b5058450c1a3fb272b1c9a69e32d9ed10"
} }
] ]
}, },
{ {
"name": "geocode-glib", "name" : "geocode-glib",
"buildsystem": "meson", "buildsystem" : "meson",
"builddir": true, "builddir" : true,
"config-opts": [ "--libdir=/app/lib" ], "config-opts" : [
"sources": [ "--libdir=/app/lib"
],
"sources" : [
{ {
"type": "git", "type" : "git",
"url": "git://git.gnome.org/geocode-glib" "url" : "git://git.gnome.org/geocode-glib"
} }
] ]
}, },
{ {
"name": "libgweather", "name" : "libgweather",
"buildsystem": "meson", "buildsystem" : "meson",
"config-opts": ["--libdir=/app/lib"], "config-opts" : [
"sources": [ "--libdir=/app/lib"
],
"sources" : [
{ {
"type": "git", "type" : "git",
"url": "https://gitlab.gnome.org/GNOME/libgweather.git" "url" : "https://gitlab.gnome.org/GNOME/libgweather.git"
} }
] ]
}, },
{ {
"name": "evolution-data-server", "name" : "evolution-data-server",
"cleanup": [ "cleanup" : [
"/lib/cmake", "/lib/cmake",
"/lib/evolution-data-server/*-backends", "/lib/evolution-data-server/*-backends",
"/libexec", "/libexec",
"/share/dbus-1/services" "/share/dbus-1/services"
], ],
"buildsystem": "cmake", "buildsystem" : "cmake",
"config-opts": [ "config-opts" : [
"-DENABLE_GTK=ON", "-DENABLE_GTK=ON",
"-DENABLE_GOOGLE_AUTH=OFF", "-DENABLE_GOOGLE_AUTH=OFF",
"-DENABLE_UOA=OFF", "-DENABLE_UOA=OFF",
@@ -114,35 +130,39 @@
"-DENABLE_GTK_DOC=OFF", "-DENABLE_GTK_DOC=OFF",
"-DENABLE_EXAMPLES=OFF" "-DENABLE_EXAMPLES=OFF"
], ],
"sources": [ "sources" : [
{ {
"type": "git", "type" : "git",
"url": "git://git.gnome.org/evolution-data-server" "url" : "git://git.gnome.org/evolution-data-server"
} }
] ]
}, },
{ {
"name": "libdazzle", "name" : "libdazzle",
"config-opts": [ "--libdir=/app/lib", "config-opts" : [
"--buildtype=debugoptimized" ], "--libdir=/app/lib",
"buildsystem": "meson", "--buildtype=debugoptimized"
"builddir": true, ],
"sources": [ "buildsystem" : "meson",
"builddir" : true,
"sources" : [
{ {
"type": "git", "type" : "git",
"url": "https://git.gnome.org/browse/libdazzle" "url" : "https://git.gnome.org/browse/libdazzle"
} }
] ]
}, },
{ {
"name": "gnome-calendar", "name" : "gnome-calendar",
"sources": [ "sources" : [
{ {
"type": "git", "type" : "git",
"url": "https://gitlab.gnome.org/GNOME/gnome-calendar.git" "url" : "https://gitlab.gnome.org/GNOME/gnome-calendar.git"
} }
], ],
"config-opts": ["-Dtracing=true"] "config-opts" : [
"-Dtracing=true"
]
} }
] ]
} }