org.gnome.Sdk.json.in 31 KB
Newer Older
1 2 3 4
{
    "build-runtime": true,
    "id": "org.gnome.Sdk",
    "id-platform": "org.gnome.Platform",
5
    "branch": "@@SDK_BRANCH@@",
6 7
    "runtime": "org.freedesktop.Platform",
    "sdk": "org.freedesktop.Sdk",
8
    "runtime-version": "@@SDK_RUNTIME_VERSION@@",
9
    "writable-sdk": true,
10 11
    "sdk-extensions": ["org.freedesktop.Sdk.Debug", "org.freedesktop.Sdk.Locale"],
    "platform-extensions": [ "org.freedesktop.Platform.Locale"],
12 13 14 15 16 17 18 19 20
    "metadata": "metadata.sdk",
    "metadata-platform": "metadata.platform",
    "cleanup": [ "/cache",
                 "/man",
                 "/share/man",
                 "/share/gtk-doc",
                 "/share/devhelp",
                 "/lib/systemd",
                 "*.la", "*.a"],
21 22
    "cleanup-commands": [ "touch -d @0 /usr/share/fonts",
                          "touch -d @0 /usr/share/fonts/*",
23 24 25 26 27 28
                          "fc-cache -fs"
                        ],
    "cleanup-platform": [ "/include",
                          "/share/aclocal",
                          "/share/pkgconfig",
                          "/lib/pkgconfig",
29
                          "/share/gir-1.0",
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
                          "/share/vala"
                        ],
    "build-options" : {
        "cflags": "-O2 -g",
        "cxxflags": "-O2 -g",
        "env": {
            "V": "1"
        }
    },
    "modules": [
        {
            "name": "gnome-common",
            "cleanup-platform": [ "*" ],
            "sources": [
                {
45 46 47
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gnome-common/3.18/gnome-common-3.18.0.tar.xz",
                    "sha256": "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf"
48 49 50 51 52 53 54 55 56
                }
            ]
        },
        {
            "name": "yelp-xsl",
            "cleanup-platform": [ "*" ],
            "config-opts": ["--disable-doc"],
            "sources": [
                {
57 58 59
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/yelp-xsl/3.20/yelp-xsl-3.20.0.tar.xz",
                    "sha256": "9f327887853c40d7332dde8789ee58c0cf678186719cb905e57ae175b8434848"
60 61 62 63 64 65 66 67
                }
            ]
        },
        {
            "name": "yelp-tools",
            "cleanup-platform": [ "*" ],
            "sources": [
                {
68 69 70
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/yelp-tools/3.18/yelp-tools-3.18.0.tar.xz",
                    "sha256": "c6c1d65f802397267cdc47aafd5398c4b60766e0a7ad2190426af6c0d0716932"
71 72 73 74 75 76 77 78 79 80 81
                }
            ]
        },
        {
            "name": "cantarell-fonts",
            "config-opts": [ "--disable-source-rebuild"],
            "post-install": [
                "ln -s /usr/share/fontconfig/conf.avail/31-cantarell.conf /etc/fonts/conf.d/31-cantarell.conf"
            ],
            "sources": [
                {
82 83 84
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/cantarell-fonts/0.0/cantarell-fonts-0.0.24.tar.xz",
                    "sha256": "9cad649ae84f7e4ca1be637c27e2fa19e1fbf00d4bf6480171ccfad405b39264"
85 86 87 88 89 90
                }
            ]
        },
        {
            "name": "glib",
            "config-opts": [ "--with-pcre=system" ],
91 92 93 94 95 96 97
            "cleanup-platform": [ "/share/glib-2.0/codegen",
                                  "/bin/gdbus-codegen",
                                  "/bin/glib-*",
                                  "/bin/gobject-query",
                                  "/bin/gresource",
                                  "/bin/gtester*"
                               ],
98 99
            "sources": [
                {
100
                     "type": "archive",
101 102
                     "url": "https://download.gnome.org/sources/glib/2.48/glib-2.48.2.tar.xz",
                     "sha256": "f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4"
103 104 105 106 107
                },
                {
                    "type": "shell",
                    /* Work around the .pyc files being in the base, and python compilation editin them in-place */
                    "commands": [ "rm -rf /usr/share/glib-2.0/codegen/*.pyc" ]
108 109 110 111 112
                }
            ]
        },
        {
            "name": "gobject-introspection",
113 114 115 116
            "config-opts": ["--disable-gtk-doc", "--disable-static" ],
            "cleanup-platform": ["/lib/gobject-introspection/giscanner",
                                 "/share/gobject-introspection/giscanner",
                                 "/bin"],
117 118
            "sources": [
                {
119 120 121
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz",
                    "sha256": "fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877"
122 123 124 125 126
                },
                {
                    "type": "shell",
                    /* Work around the .pyc files being in the base, and python compilation editin them in-place */
                    "commands": [ "rm -rf /usr/lib/gobject-introspection/giscanner/*.pyc /usr/lib/gobject-introspection/giscanner/*/*.pyc" ]
127 128 129 130 131 132 133 134
                }
            ]
        },
        {
            "name": "glib-networking",
            "config-opts": ["--disable-static", "--with-libproxy"],
            "sources": [
                {
135
                     "type": "archive",
136 137
                     "url": "https://download.gnome.org/sources/glib-networking/2.48/glib-networking-2.48.2.tar.xz",
                     "sha256": "925c0c49d6b2b8b5695f2e33cd952d1dbb7d18d3f2f796413577719315bb3a84"
138 139 140 141 142 143 144 145 146
                }
            ]
        },
        {
            "name": "vala",
            "cleanup-platform": [ "*" ],
            "config-opts": [ "--enable-vapigen", "--enable-unversioned" ],
            "sources": [
                {
147
                    "type": "archive",
148 149
                    "url": "https://download.gnome.org/sources/vala/0.32/vala-0.32.1.tar.xz",
                    "sha256": "dd0d47e548a34cfb1e4b04149acd082a86414c49057ffb79902eb9a508a161a9"
150 151 152 153 154 155 156 157 158
                }
            ]
        },
        {
            "name": "dconf",
            "config-opts": ["--disable-static", "--disable-man"],
            "cleanup": [ "/libexec/dconf-service", "/share/dbus-1/services/*" ],
            "sources": [
                {
159 160 161
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/dconf/0.26/dconf-0.26.0.tar.xz",
                    "sha256": "8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9"
Alexander Larsson's avatar
Alexander Larsson committed
162 163 164 165
                },
                {
                    "type": "patch",
                    "path": "dconf-override.patch"
166 167 168 169 170 171 172 173
                }
            ]
        },
        {
            "name": "libsoup",
            "config-opts": ["--disable-static"],
            "sources": [
                {
174 175 176
                     "type": "archive",
                     "url": "https://download.gnome.org/sources/libsoup/2.54/libsoup-2.54.0.tar.xz",
                     "sha256": "fbf1038efb10d2ffbbb88bb46e7ce32b683fde8e566f36bcf26f7f69a550ec56"
177 178 179 180 181 182 183
                }
            ]
        },
        {
            "name": "gsettings-desktop-schemas",
            "sources": [
                {
184 185 186
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gsettings-desktop-schemas/3.20/gsettings-desktop-schemas-3.20.0.tar.xz",
                    "sha256": "55a41b533c0ab955e0a36a84d73829451c88b027d8d719955d8f695c35c6d9c1"
187 188 189 190 191 192 193 194
                }
            ]
        },
        {
            "name": "dbus-glib",
            "config-opts": [ "--disable-static", "--disable-gtk-doc" ],
            "sources": [
                {
195 196 197
                    "type": "archive",
                    "url": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.106.tar.gz",
                    "sha256": "b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046"
198 199 200 201 202
                }
            ]
        },
        {
            "name": "json-glib",
203 204
            "config-opts": [ "--disable-static",
                             "--disable-gtk-doc" ],
205 206
            "sources": [
                {
207 208 209
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/json-glib/1.2/json-glib-1.2.0.tar.xz",
                    "sha256": "99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3"
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
                }
            ]
        },
        {
            "name": "libdatrie",
            "config-opts": ["--disable-static"],
            "sources": [
                {
                    "type": "archive",
                    "url": "http://linux.thai.net/pub/thailinux/software/libthai/libdatrie-0.2.9.tar.xz",
                    "sha256": "d980713e7ad8e19cf3b54ee0173782b94332af8e7e4e936dde01d2cd72e1da1d"
                }
            ]
        },
        {
            "name": "libthai",
            "config-opts": ["--disable-static"],
            "sources": [
                {
                    "type": "archive",
                    "url": "http://linux.thai.net/pub/thailinux/software/libthai/libthai-0.1.22.tar.xz",
                    "sha256": "bdb291dcc3a6784e86b1b342ec75005e9ab487f8c1decc7c3e7d18d1bbc9b7b7"
                }
            ]
        },
        {
            "name": "pango",
            "sources": [
                {
239
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
240 241
                    "url": "https://download.gnome.org/sources/pango/1.40/pango-1.40.1.tar.xz",
                    "sha256": "e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40"
242 243 244 245 246 247 248
                }
            ]
        },
        {
            "name": "atk",
            "sources": [
                {
249 250 251
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/atk/2.20/atk-2.20.0.tar.xz",
                    "sha256": "493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0"
252 253 254 255 256 257 258
                }
            ]
        },
        {
            "name": "at-spi2-core",
            "sources": [
                {
259 260 261
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/at-spi2-core/2.20/at-spi2-core-2.20.0.tar.xz",
                    "sha256": "dcc49fb7c08e582910b21ff1e4110b22ab66068a4c6f0db52b098d66794c609b"
262 263 264 265 266 267 268
                }
            ]
        },
        {
            "name": "at-spi2-atk",
            "sources": [
                {
269 270 271
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/at-spi2-atk/2.20/at-spi2-atk-2.20.0.tar.xz",
                    "sha256": "a24b142b6e8f1dd2d57a657447dde3e0ae29df481968c88673a58d4ce44f3ad2"
272 273 274 275 276 277 278 279 280 281 282 283
                }
            ]
        },
        {
            "name": "gdk-pixbuf",
            "config-opts": ["--disable-static",
                            "--disable-gtk-doc",
                            "--without-x11",
                            "--without-libjasper",
                            "--with-included-loaders=png,jpeg" ],
            "sources": [
                {
284
                    "type": "archive",
285 286
                    "url": "https://download.gnome.org/sources/gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz",
                    "sha256": "d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879"
287 288 289 290 291
                },
                {
                    "type": "shell",
                    /* Work around the loader files being in the base,install editing it in-place */
                    "commands": [ "rm -rf /usr/lib/gdk-pixbuf-2.0/*/loaders.cache" ]
292 293 294 295 296 297 298 299
                }
            ]
        },
        {
            "name": "libcroco",
            "config-opts": ["--disable-static"],
            "sources": [
                {
300 301 302
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libcroco/0.6/libcroco-0.6.11.tar.xz",
                    "sha256": "132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056"
303 304 305 306 307 308 309 310
                }
            ]
        },
        {
            "name": "librsvg",
            "config-opts": ["--disable-static"],
            "sources": [
                {
311
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
312 313
                    "url": "https://download.gnome.org/sources/librsvg/2.40/librsvg-2.40.15.tar.xz",
                    "sha256": "d9cac4a123eec6e553a26e120979bab7425def9ae7ce7c079eba5e4a45db05f4"
314 315 316 317 318
                },
                {
                    "type": "shell",
                    /* Work around the loader files being in the base,install editing it in-place */
                    "commands": [ "rm -rf /usr/lib/gdk-pixbuf-2.0/*/loaders.cache" ]
319 320 321 322 323 324 325 326 327 328
                }
            ]
        },
        {
            "name": "gtk2",
            "config-opts": ["--disable-gtk-doc",
                            "--disable-man",
                            "--with-xinput=xfree"],
            "sources": [
                {
329 330 331
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.30.tar.xz",
                    "sha256": "0d15cec3b6d55c60eac205b1f3ba81a1ed4eadd9d0f8e7c508bc7065d0c4ca50"
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
                }
            ]
        },
        {
            "name": "gtk3",
            "config-opts": [ "--enable-xkb",
                             "--enable-xinerama",
                             "--enable-xrandr",
                             "--enable-xfixes",
                             "--enable-xcomposite",
                             "--enable-xdamage",
                             "--enable-x11-backend",
                             "--enable-wayland-backend" ],
            "sources": [
                {
347
                    "type": "archive",
348 349
                    "url": "https://download.gnome.org/sources/gtk+/3.20/gtk+-3.20.8.tar.xz",
                    "sha256": "9841bd9b4d23c045c474b10fdde9da958af904b63783701e796391d55d4396f3"
350 351 352 353 354 355 356
                }
            ]
        },
        {
            "name": "adwaita-icon-theme",
            "sources": [
                {
357 358 359
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/adwaita-icon-theme/3.20/adwaita-icon-theme-3.20.tar.xz",
                    "sha256": "7a0a887349f340dd644032f89d81264b694c4b006bd51af1c2c368d431e7ae35"
360 361 362 363 364 365 366
                }
            ]
        },
        {
            "name": "gstreamer",
            "config-opts": ["--disable-gtk-doc", "--enable-debug", "--disable-examples" ],
            "sources": [
367 368
                 {
                     "type": "archive",
369 370
                     "url": "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.8.3.tar.xz",
                     "sha256": "66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f"
371
                 }
372 373 374 375 376 377
            ]
        },
        {
            "name": "gstreamer-plugins-base",
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ],
            "sources": [
378 379
                 {
                     "type": "archive",
380 381
                     "url": "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.8.3.tar.xz",
                     "sha256": "114871d4d63606b4af424a8433cd923e4ff66896b244bb7ac97b9da47f71e79e"
382
                 }
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
            ]
        },
        {
            "name": "cogl",
            "config-opts": [  "--enable-cairo=yes",
                              "--enable-cogl-pango=yes",
                              "--enable-gdk-pixbuf=yes",
                              "--enable-glx=yes",
                              "--disable-gtk-doc",
                              "--enable-introspection=yes",
                              "--enable-kms-egl-platform",
                              "--enable-wayland-egl-platform",
                              "--enable-wayland-egl-server",
                              "--enable-xlib-egl-platform",
                              "--enable-cogl-gst" ],
            "sources": [
                {
400 401 402
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/cogl/1.22/cogl-1.22.0.tar.xz",
                    "sha256": "689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91"
403 404 405 406 407 408 409 410 411 412
                }
            ]
        },
        {
            "name": "clutter",
            "config-opts": ["--enable-gdk-backend",
                            "--enable-xinput",
                            "--enable-evdev-input" ],
            "sources": [
                {
413 414 415
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter/1.26/clutter-1.26.0.tar.xz",
                    "sha256": "67514e7824b3feb4723164084b36d6ce1ae41cb3a9897e9f1a56c8334993ce06"
416 417 418 419 420 421 422
                }
            ]
        },
        {
            "name": "clutter-gst",
            "sources": [
                {
423 424 425
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter-gst/3.0/clutter-gst-3.0.18.tar.xz",
                    "sha256": "0aec0d0c6020cd19a5bb0dab1165a92748f81a9a3acdfabb0f966d5f53bc8093"
426 427 428 429
                },
                {
                    "type": "patch",
                    "path": "clutter-gst-gi-build-fix.patch"
430 431 432 433 434 435 436
                }
            ]
        },
        {
            "name": "clutter-gtk",
            "sources": [
                {
437 438 439
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-1.6.6.tar.xz",
                    "sha256": "9440a68600f58d00fe0af35383738943e8ead9907f4cf507a102d96822434a28"
440 441 442 443 444
                }
            ]
        },
        {
            "name": "gstreamer-plugins-good",
445 446 447 448 449 450 451 452 453 454 455 456 457 458
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--build=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--build=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
459 460 461 462 463 464 465 466
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ,
                            "--disable-monoscope",
                            "--disable-aalib",
                            "--enable-cairo",
                            "--disable-libcaca",
                            "--disable-jack",
                            "--with-default-visualizer=autoaudiosink" ],
            "sources": [
467 468
                 {
                     "type": "archive",
469 470
                     "url": "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.8.3.tar.xz",
                     "sha256": "a1d6579ba203a7734927c24b90bf6590d846c5a5fcec01a48201018c8ad2827a"
471
                 }
472 473 474 475
            ]
        },
        {
            "name": "gstreamer-plugins-bad",
476 477 478 479 480 481 482 483 484 485 486 487 488 489
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--build=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--build=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
490 491
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ],
            "sources": [
492 493
                 {
                     "type": "archive",
494 495
                     "url": "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.3.tar.xz",
                     "sha256": "7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b"
496
                 }
497 498 499 500 501 502
            ]
        },
        {
            "name": "libcanberra",
            "sources": [
                {
503 504 505
                    "type": "archive",
                    "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
                    "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
506 507 508 509 510 511 512 513
                }
            ]
        },
        {
            "name": "libsecret",
            "config-opts": ["--disable-static", "--disable-gtk-doc", "--disable-manpages"],
            "sources": [
                {
514 515 516 517 518 519 520
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libsecret/0.18/libsecret-0.18.4.tar.xz",
                    "sha256": "0f29b51698198e6999c91f4adce3119c8c457f546b133a85baea5ea9010a19ed"
                },
                {
                    "type": "shell",
                    "commands": ["autoreconf -f"]
521 522 523 524 525 526 527 528
                }
            ]
        },
        {
            "name": "libnotify",
            "config-opts": ["--disable-static"],
            "sources": [
                {
529 530 531
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.6.tar.xz",
                    "sha256": "0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837"
532 533 534 535 536 537 538 539 540 541
                }
            ]
        },
        {
            "name": "gvfs",
            "cleanup": [ "/libexec/*", "/share/dbus-1/services/*", "/share/gvfs/mounts" ],
            "config-opts": [ "--disable-hal", "--disable-gdu", "--disable-gcr", "--disable-obexftp",
                             "--disable-avahi", "--disable-documentation" ],
            "sources": [
                {
542 543 544
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gvfs/1.28/gvfs-1.28.0.tar.xz",
                    "sha256": "cf72fc0adf0ca702ead5b3fab3c1fa46b09678eb7c1290de7e30bb7cbaf5f704"
545 546 547 548 549 550 551 552 553 554 555
                }
            ]
        },
        {
            "name": "enchant",
            "config-opts": ["--disable-static"],
            "sources": [
                {
                    "type": "archive",
                    "url": "http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz",
                    "sha256": "2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f"
556 557 558 559 560 561 562
                },
                {
                    "type": "shell",
                    "commands": [
                        "cp -f /usr/share/gnu-config/config.sub .",
                        "cp -f /usr/share/gnu-config/config.guess ."
                    ]
563 564 565 566 567 568 569 570
                }
            ]
        },
        {
            "name": "gcab",
            "config-opts": ["--disable-static", "--enable-fast-install"],
            "sources": [
                {
571 572 573
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gcab/0.7/gcab-0.7.tar.xz",
                    "sha256": "a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef"
574 575 576 577 578 579 580
                }
            ]
        },
        {
            "name": "gnome-themes-standard",
            "sources": [
                {
581 582 583
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gnome-themes-standard/3.20/gnome-themes-standard-3.20.tar.xz",
                    "sha256": "1cde84b34da310e6f2d403bfdbe9abb0798e5f07a1d1b4fde82af8e97edd3bdc"
584 585 586 587 588
                }
            ]
        },
        {
            "name": "mozjs24",
589 590 591 592 593 594 595 596 597 598 599 600 601 602
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--host=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--host=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
603 604 605 606 607 608 609 610 611 612 613 614 615 616 617
            "config-opts": [  "--disable-static",
                              "--with-system-nspr",
                              "--enable-threadsafe",
                              "--enable-readline",
                              "--enable-xterm-updates"],
            "subdir": "js/src",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://ftp.mozilla.org/pub/mozilla.org/js/mozjs-24.2.0.tar.bz2",
                    "sha256": "e62f3f331ddd90df1e238c09d61a505c516fe9fd8c5c95336611d191d18437d8"
                },
                {
                    "type": "patch",
                    "path": "mozjs-perl-fix.patch"
618 619 620 621
                },
                {
                    "type": "patch",
                    "path": "mozjs-double-conversion-aarch64.patch"
622 623 624 625 626 627 628
                },
                {
                    "type": "shell",
                    "commands": [
                        "cp -f /usr/share/gnu-config/config.sub ./js/src/build/autoconf/",
                        "cp -f /usr/share/gnu-config/config.guess ./js/src/build/autoconf/"
                    ]
629 630 631 632 633 634 635
                }
            ]
        },
        {
            "name": "gjs",
            "sources": [
                {
636 637 638
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gjs/1.45/gjs-1.45.3.tar.xz",
                    "sha256": "2807c8137e84ee8e5e461e1481870236778504089dbda39ba683f035adfb4d2a"
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
                }
            ]
        },
        {
            "name": "vte",
            "build-options" : {
                "cflags": "-O2 -g  -fPIE -DPIE",
                "cxxflags": "-O2 -g  -fPIE -DPIE",
                "env": {
                    "LDFLAGS": "-Wl,-z,relro -Wl,-z,now -pie -lssp"
                }
            },
            "config-opts": ["--disable-gtk-doc",
                            "--disable-gnome-pty-helper",
                            "--disable-static",
                            "--with-gtk=3.0",
                            "--enable-introspection",
                            "--without-pcre2"],
            "sources": [
                {
659 660 661
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/vte/0.44/vte-0.44.0.tar.xz",
                    "sha256": "93a3b1a71a885f416a119a5a8fb27b8f36bb176b8d0bec5e48188d1db5ef12aa"
662 663 664 665 666
                }
            ]
        },
        {
            "name": "webkitgtk4",
667
            "cmake": true,
668 669
            "build-options" : {
                "cflags": "-O2 -g1",
670 671 672 673 674 675 676 677 678 679 680 681 682
                "cxxflags": "-O2 -g1",
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "-DCMAKE_SYSTEM_PROCESSOR=i586"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "-DCMAKE_SYSTEM_PROCESSOR=arm"
			]
		    }
                }
683
            },
684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
            "config-opts": [
		"-DPORT=GTK",
		"-DCMAKE_BUILD_TYPE=Release",
		"-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG",
		"-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG",
		"-DENABLE_ACCELERATED_2D_CANVAS=OFF",
		"-DCMAKE_INSTALL_PREFIX:PATH=/usr",
		"-DLIB_INSTALL_DIR:PATH=/usr/lib",
		"-DSYSCONF_INSTALL_DIR:PATH=/usr/etc",
		"-DSHARE_INSTALL_PREFIX:PATH=/usr/share",
		"-DINCLUDE_INSTALL_DIR:PATH=/usr/include",
		"-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON",
		"-DBUILD_SHARED_LIBS:BOOL=ON",
		"-DENABLE_GTKDOC=OFF",
		"-DENABLE_VIDEO=ON",
		"-DENABLE_WEB_AUDIO=ON"
	    ],
	    "sources": [
702 703
                {
                    "type": "archive",
704 705
                    "url": "http://www.webkitgtk.org/releases/webkitgtk-2.12.3.tar.xz",
                    "sha256": "173cbb9a2eca23eee52e99965483ab25aa9c0569ef5b57041fc0c129cc26c307"
706 707 708 709 710 711 712 713 714 715 716 717 718
                },
                {
                    "type": "patch",
                    "path": "webkitgtk-cmake-buildapi.patch"
                }
            ]
        },
        {
            "name": "zenity",
            "cleanup": [ "/share/help" ],
            "config-opts": ["--disable-webkitgtk" ],
            "sources": [
                {
719 720 721
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/zenity/3.20/zenity-3.20.0.tar.xz",
                    "sha256": "02e8759397f813c0a620b93ebeacdab9956191c9dc0d0fcba1815c5ea3f15a48"
722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
                }
            ]
        },
        {
            "name": "pycairo",
            "build-options" : {
                "env": {
                    "PYTHON": "/usr/bin/python3"
                }
            },
            "sources": [
                {
                    "type": "archive",
                    "url": "http://cairographics.org/releases/pycairo-1.10.0.tar.bz2",
                    "sha256": "9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be"
                },
                {
                    "type": "shell",
                    "commands": [ "python3 ./waf --version" ]
                },
                {
                    "type": "patch",
                    "strip-components": 0,
                    "path": "cairo-waf-use-python-config-as-shell-script.patch"
                },
                {
                    "type": "file",
                    "path": "pycairo-1.10.0-pickle-python3.patch"
                },
                {
                    "type": "file",
                    "path": "waf-configure",
                    "dest-filename": "configure"
                }
            ]
        },
        {
            "name": "pygobject",
            "build-options" : {
                "env": {
                    "PYTHON": "/usr/bin/python3"
                }
            },
            "sources": [
                {
767 768 769
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/pygobject/3.20/pygobject-3.20.0.tar.xz",
                    "sha256": "31ab4701f40490082aa98af537ccddba889577abe66d242582f28577e8807f46"
770 771 772 773 774 775 776 777 778 779 780 781
                }
            ]
        },
        {
            "name": "python-gstreamer",
            "build-options" : {
                "env": {
                    "PYTHON": "/usr/bin/python3"
                }
            },
            "sources": [
                {
782 783 784
                    "type": "archive",
                    "url": "https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.8.0.tar.xz",
                    "sha256": "ce45ff17c59f86a3a525685e37b95e6a78a019e709f66a5c4b462a7f7a22f6ea"
785 786 787 788 789 790 791 792 793
                }
            ]
        },
        {
            "name": "gcr",
            "cleanup": [ "/share/GConf" ],
            "cleanup-platform": [ "/libexec", "/bin", "/share/applications", "/share/dbus-1/services" ],
            "sources": [
                {
794
                    "type": "archive",
795 796
                    "url": "https://download.gnome.org/sources/gcr/3.20/gcr-3.20.0.tar.xz",
                    "sha256": "90572c626d8a708225560c42b4421f7941315247fa1679d4ef569bde7f4bb379"
797 798 799 800
                },
                {
                    "type": "shell",
                    "commands": ["autoreconf -f"]
801 802
                }
            ]
Matthias Clasen's avatar
Matthias Clasen committed
803 804 805 806 807 808 809 810
        },
        {
            "name": "os-release",
            "sources": [
                {
                    "type": "file",
                    "path": "os-release"
                },
Alexander Larsson's avatar
Alexander Larsson committed
811 812 813 814 815 816 817 818
                {
                    "type": "file",
                    "path": "org.gnome.Sdk.appdata.xml"
                },
                {
                    "type": "file",
                    "path": "org.gnome.Platform.appdata.xml"
                },
Matthias Clasen's avatar
Matthias Clasen committed
819 820 821 822 823 824
                {
                    "type": "file",
                    "path": "os-release-configure",
                    "dest-filename": "configure"
                }
            ]
825 826 827
        }
    ]
}