org.gnome.Sdk.json.in 29.2 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 21
    "metadata": "metadata.sdk",
    "metadata-platform": "metadata.platform",
    "cleanup": [ "/cache",
                 "/man",
                 "/share/man",
                 "/share/gtk-doc",
                 "/share/devhelp",
                 "/lib/systemd",
                 "*.la", "*.a"],
    "cleanup-commands": [ "touch -d @0 /usr/share/fonts",
Alexander Larsson's avatar
Alexander Larsson committed
22
                          "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 101 102
                     "type": "archive",
                     "url": "https://download.gnome.org/sources/glib/2.48/glib-2.48.0.tar.xz",
                     "sha256": "744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34"
103 104 105 106 107
                }
            ]
        },
        {
            "name": "gobject-introspection",
108 109 110 111
            "config-opts": ["--disable-gtk-doc", "--disable-static" ],
            "cleanup-platform": ["/lib/gobject-introspection/giscanner",
                                 "/share/gobject-introspection/giscanner",
                                 "/bin"],
112 113
            "sources": [
                {
114 115 116
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz",
                    "sha256": "fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877"
117 118 119 120 121 122 123 124
                }
            ]
        },
        {
            "name": "glib-networking",
            "config-opts": ["--disable-static", "--with-libproxy"],
            "sources": [
                {
125 126 127
                     "type": "archive",
                     "url": "https://download.gnome.org/sources/glib-networking/2.48/glib-networking-2.48.0.tar.xz",
                     "sha256": "7a1f3312e757b97af94e2db8a1f14eb9cc018c983931ecdf3b0c54acece39024"
128 129 130 131 132 133 134 135 136
                }
            ]
        },
        {
            "name": "vala",
            "cleanup-platform": [ "*" ],
            "config-opts": [ "--enable-vapigen", "--enable-unversioned" ],
            "sources": [
                {
137 138 139
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/vala/0.32/vala-0.32.0.tar.xz",
                    "sha256": "07a2aa4ede040789b4b5af817a42249d703bfe8affccb7732ca2b53d00c1fb6e"
140 141 142 143 144 145 146 147 148
                }
            ]
        },
        {
            "name": "dconf",
            "config-opts": ["--disable-static", "--disable-man"],
            "cleanup": [ "/libexec/dconf-service", "/share/dbus-1/services/*" ],
            "sources": [
                {
149 150 151
                    "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
152 153 154 155
                },
                {
                    "type": "patch",
                    "path": "dconf-override.patch"
156 157 158 159 160 161 162 163
                }
            ]
        },
        {
            "name": "libsoup",
            "config-opts": ["--disable-static"],
            "sources": [
                {
164 165 166
                     "type": "archive",
                     "url": "https://download.gnome.org/sources/libsoup/2.54/libsoup-2.54.0.tar.xz",
                     "sha256": "fbf1038efb10d2ffbbb88bb46e7ce32b683fde8e566f36bcf26f7f69a550ec56"
167 168 169 170 171 172 173
                }
            ]
        },
        {
            "name": "gsettings-desktop-schemas",
            "sources": [
                {
174 175 176
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gsettings-desktop-schemas/3.20/gsettings-desktop-schemas-3.20.0.tar.xz",
                    "sha256": "55a41b533c0ab955e0a36a84d73829451c88b027d8d719955d8f695c35c6d9c1"
177 178 179 180 181 182 183 184
                }
            ]
        },
        {
            "name": "dbus-glib",
            "config-opts": [ "--disable-static", "--disable-gtk-doc" ],
            "sources": [
                {
185 186 187
                    "type": "archive",
                    "url": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.106.tar.gz",
                    "sha256": "b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046"
188 189 190 191 192
                }
            ]
        },
        {
            "name": "json-glib",
193 194
            "config-opts": [ "--disable-static",
                             "--disable-gtk-doc" ],
195 196
            "sources": [
                {
197 198 199
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/json-glib/1.2/json-glib-1.2.0.tar.xz",
                    "sha256": "99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3"
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
                }
            ]
        },
        {
            "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": [
                {
229
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
230 231
                    "url": "https://download.gnome.org/sources/pango/1.40/pango-1.40.1.tar.xz",
                    "sha256": "e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40"
232 233 234 235 236 237 238
                }
            ]
        },
        {
            "name": "atk",
            "sources": [
                {
239 240 241
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/atk/2.20/atk-2.20.0.tar.xz",
                    "sha256": "493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0"
242 243 244 245 246 247 248
                }
            ]
        },
        {
            "name": "at-spi2-core",
            "sources": [
                {
249 250 251
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/at-spi2-core/2.20/at-spi2-core-2.20.0.tar.xz",
                    "sha256": "dcc49fb7c08e582910b21ff1e4110b22ab66068a4c6f0db52b098d66794c609b"
252 253 254 255 256 257 258
                }
            ]
        },
        {
            "name": "at-spi2-atk",
            "sources": [
                {
259 260 261
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/at-spi2-atk/2.20/at-spi2-atk-2.20.0.tar.xz",
                    "sha256": "a24b142b6e8f1dd2d57a657447dde3e0ae29df481968c88673a58d4ce44f3ad2"
262 263 264 265 266 267 268 269 270 271 272 273
                }
            ]
        },
        {
            "name": "gdk-pixbuf",
            "config-opts": ["--disable-static",
                            "--disable-gtk-doc",
                            "--without-x11",
                            "--without-libjasper",
                            "--with-included-loaders=png,jpeg" ],
            "sources": [
                {
274
                    "type": "archive",
275 276
                    "url": "https://download.gnome.org/sources/gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz",
                    "sha256": "d55e5b383ee219bd0e23bf6ed4427d56a7db5379729a6e3e0a0e0eba9a8d8879"
277 278 279 280 281 282 283 284
                }
            ]
        },
        {
            "name": "libcroco",
            "config-opts": ["--disable-static"],
            "sources": [
                {
285 286 287
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libcroco/0.6/libcroco-0.6.11.tar.xz",
                    "sha256": "132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056"
288 289 290 291 292 293 294 295
                }
            ]
        },
        {
            "name": "librsvg",
            "config-opts": ["--disable-static"],
            "sources": [
                {
296
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
297 298
                    "url": "https://download.gnome.org/sources/librsvg/2.40/librsvg-2.40.15.tar.xz",
                    "sha256": "d9cac4a123eec6e553a26e120979bab7425def9ae7ce7c079eba5e4a45db05f4"
299 300 301 302 303 304 305 306 307 308
                }
            ]
        },
        {
            "name": "gtk2",
            "config-opts": ["--disable-gtk-doc",
                            "--disable-man",
                            "--with-xinput=xfree"],
            "sources": [
                {
309 310 311
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.30.tar.xz",
                    "sha256": "0d15cec3b6d55c60eac205b1f3ba81a1ed4eadd9d0f8e7c508bc7065d0c4ca50"
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
                }
            ]
        },
        {
            "name": "gtk3",
            "config-opts": [ "--enable-xkb",
                             "--enable-xinerama",
                             "--enable-xrandr",
                             "--enable-xfixes",
                             "--enable-xcomposite",
                             "--enable-xdamage",
                             "--enable-x11-backend",
                             "--enable-wayland-backend" ],
            "sources": [
                {
327
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
328 329
                    "url": "https://download.gnome.org/sources/gtk+/3.20/gtk+-3.20.5.tar.xz",
                    "sha256": "9790b0267384904ad8a08e7f16e5f9ff1c4037de57788d48d1eaf528355b1564"
330 331 332 333 334 335 336
                }
            ]
        },
        {
            "name": "adwaita-icon-theme",
            "sources": [
                {
337 338 339
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/adwaita-icon-theme/3.20/adwaita-icon-theme-3.20.tar.xz",
                    "sha256": "7a0a887349f340dd644032f89d81264b694c4b006bd51af1c2c368d431e7ae35"
340 341 342 343 344 345 346
                }
            ]
        },
        {
            "name": "gstreamer",
            "config-opts": ["--disable-gtk-doc", "--enable-debug", "--disable-examples" ],
            "sources": [
347 348 349 350 351
                 {
                     "type": "archive",
                     "url": "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.8.0.tar.xz",
                     "sha256": "947a314a212b5d94985d89b43440dbe66b696e12bbdf9a2f78967b98d74abedc"
                 }
352 353 354 355 356 357
            ]
        },
        {
            "name": "gstreamer-plugins-base",
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ],
            "sources": [
358 359 360 361 362
                 {
                     "type": "archive",
                     "url": "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.8.0.tar.xz",
                     "sha256": "abc0acc1d15b4b9c97c65cd9689bd6400081853b9980ea428d3c8572dd791522"
                 }
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
            ]
        },
        {
            "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": [
                {
380 381 382
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/cogl/1.22/cogl-1.22.0.tar.xz",
                    "sha256": "689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91"
383 384 385 386 387 388 389 390 391 392
                }
            ]
        },
        {
            "name": "clutter",
            "config-opts": ["--enable-gdk-backend",
                            "--enable-xinput",
                            "--enable-evdev-input" ],
            "sources": [
                {
393 394 395
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter/1.26/clutter-1.26.0.tar.xz",
                    "sha256": "67514e7824b3feb4723164084b36d6ce1ae41cb3a9897e9f1a56c8334993ce06"
396 397 398 399 400 401 402
                }
            ]
        },
        {
            "name": "clutter-gst",
            "sources": [
                {
403 404 405
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter-gst/3.0/clutter-gst-3.0.18.tar.xz",
                    "sha256": "0aec0d0c6020cd19a5bb0dab1165a92748f81a9a3acdfabb0f966d5f53bc8093"
406 407 408 409 410 411 412
                }
            ]
        },
        {
            "name": "clutter-gtk",
            "sources": [
                {
413 414 415
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-1.6.6.tar.xz",
                    "sha256": "9440a68600f58d00fe0af35383738943e8ead9907f4cf507a102d96822434a28"
416 417 418 419 420
                }
            ]
        },
        {
            "name": "gstreamer-plugins-good",
421 422 423 424 425 426 427 428 429 430 431 432 433 434
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--build=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--build=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
435 436 437 438 439 440 441 442 443
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ,
                            "--disable-monoscope",
                            "--disable-aalib",
                            "--enable-cairo",
                            "--disable-libcaca",
                            "--disable-jack",
                            "--with-default-visualizer=autoaudiosink" ],
            "sources": [
                {
444 445 446
                    "type": "archive",
                    "url": "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.8.0.tar.xz",
                    "sha256": "c20c134d47dbc238d921707a3b66da709c2b4dd89f9d267cec13d1ddf16e9f4d"
447 448 449 450 451
                }
            ]
        },
        {
            "name": "gstreamer-plugins-bad",
452 453 454 455 456 457 458 459 460 461 462 463 464 465
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--build=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--build=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
466 467 468
            "config-opts": ["--disable-gtk-doc", "--enable-experimental", "--enable-orc" ],
            "sources": [
                {
469 470 471
                    "type": "archive",
                    "url": "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.8.0.tar.xz",
                    "sha256": "116376dd1085082422e0b21b0ecd3d1cb345c469c58e32463167d4675f4ca90e"
472 473 474 475 476 477 478
                }
            ]
        },
        {
            "name": "libcanberra",
            "sources": [
                {
479 480 481
                    "type": "archive",
                    "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
                    "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
482 483 484 485 486 487 488 489
                }
            ]
        },
        {
            "name": "libsecret",
            "config-opts": ["--disable-static", "--disable-gtk-doc", "--disable-manpages"],
            "sources": [
                {
490 491 492 493 494 495 496
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libsecret/0.18/libsecret-0.18.4.tar.xz",
                    "sha256": "0f29b51698198e6999c91f4adce3119c8c457f546b133a85baea5ea9010a19ed"
                },
                {
                    "type": "shell",
                    "commands": ["autoreconf -f"]
497 498 499 500 501 502 503 504
                }
            ]
        },
        {
            "name": "libnotify",
            "config-opts": ["--disable-static"],
            "sources": [
                {
505 506 507
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.6.tar.xz",
                    "sha256": "0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837"
508 509 510 511 512 513 514 515 516 517
                }
            ]
        },
        {
            "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": [
                {
518 519 520
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gvfs/1.28/gvfs-1.28.0.tar.xz",
                    "sha256": "cf72fc0adf0ca702ead5b3fab3c1fa46b09678eb7c1290de7e30bb7cbaf5f704"
521 522 523 524 525 526 527 528 529 530 531
                }
            ]
        },
        {
            "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"
532 533 534 535 536 537 538
                },
                {
                    "type": "shell",
                    "commands": [
                        "cp -f /usr/share/gnu-config/config.sub .",
                        "cp -f /usr/share/gnu-config/config.guess ."
                    ]
539 540 541 542 543 544 545 546
                }
            ]
        },
        {
            "name": "gcab",
            "config-opts": ["--disable-static", "--enable-fast-install"],
            "sources": [
                {
547 548 549
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gcab/0.7/gcab-0.7.tar.xz",
                    "sha256": "a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef"
550 551 552 553 554 555 556
                }
            ]
        },
        {
            "name": "gnome-themes-standard",
            "sources": [
                {
557 558 559
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gnome-themes-standard/3.20/gnome-themes-standard-3.20.tar.xz",
                    "sha256": "1cde84b34da310e6f2d403bfdbe9abb0798e5f07a1d1b4fde82af8e97edd3bdc"
560 561 562 563 564
                }
            ]
        },
        {
            "name": "mozjs24",
565 566 567 568 569 570 571 572 573 574 575 576 577 578
            "build-options" : {
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "--host=i586-unknown-linux-gnu"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "--host=arm-unknown-linux-gnueabi"
			]
		    }
                }
            },
579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
            "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"
594 595 596 597
                },
                {
                    "type": "patch",
                    "path": "mozjs-double-conversion-aarch64.patch"
598 599 600 601 602 603 604
                },
                {
                    "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/"
                    ]
605 606 607 608 609 610 611
                }
            ]
        },
        {
            "name": "gjs",
            "sources": [
                {
612 613 614
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gjs/1.45/gjs-1.45.3.tar.xz",
                    "sha256": "2807c8137e84ee8e5e461e1481870236778504089dbda39ba683f035adfb4d2a"
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
                }
            ]
        },
        {
            "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": [
                {
635 636 637
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/vte/0.44/vte-0.44.0.tar.xz",
                    "sha256": "93a3b1a71a885f416a119a5a8fb27b8f36bb176b8d0bec5e48188d1db5ef12aa"
638 639 640 641 642
                }
            ]
        },
        {
            "name": "webkitgtk4",
643
            "cmake": true,
644 645
            "build-options" : {
                "cflags": "-O2 -g1",
646 647 648 649 650 651 652 653 654 655 656 657 658
                "cxxflags": "-O2 -g1",
                "arch" : {
                    "i386" : {
                        "config-opts" : [
                            "-DCMAKE_SYSTEM_PROCESSOR=i586"
                        ]
                    },
		    "arm" : {
                        "config-opts" : [
                            "-DCMAKE_SYSTEM_PROCESSOR=arm"
			]
		    }
                }
659
            },
660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677
            "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": [
678 679
                {
                    "type": "archive",
Alexander Larsson's avatar
Alexander Larsson committed
680 681
                    "url": "http://www.webkitgtk.org/releases/webkitgtk-2.12.1.tar.xz",
                    "sha256": "5b1a2d5227553f3cecbdb258c68b384f9235747b2c07c15afb555fe4fa6ae896"
682 683 684 685 686 687 688 689 690 691 692 693 694
                },
                {
                    "type": "patch",
                    "path": "webkitgtk-cmake-buildapi.patch"
                }
            ]
        },
        {
            "name": "zenity",
            "cleanup": [ "/share/help" ],
            "config-opts": ["--disable-webkitgtk" ],
            "sources": [
                {
695 696 697
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/zenity/3.20/zenity-3.20.0.tar.xz",
                    "sha256": "02e8759397f813c0a620b93ebeacdab9956191c9dc0d0fcba1815c5ea3f15a48"
698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742
                }
            ]
        },
        {
            "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": [
                {
743 744 745
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/pygobject/3.20/pygobject-3.20.0.tar.xz",
                    "sha256": "31ab4701f40490082aa98af537ccddba889577abe66d242582f28577e8807f46"
746 747 748 749 750 751 752 753 754 755 756 757
                }
            ]
        },
        {
            "name": "python-gstreamer",
            "build-options" : {
                "env": {
                    "PYTHON": "/usr/bin/python3"
                }
            },
            "sources": [
                {
758 759 760
                    "type": "archive",
                    "url": "https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.8.0.tar.xz",
                    "sha256": "ce45ff17c59f86a3a525685e37b95e6a78a019e709f66a5c4b462a7f7a22f6ea"
761 762 763 764 765 766 767 768 769
                }
            ]
        },
        {
            "name": "gcr",
            "cleanup": [ "/share/GConf" ],
            "cleanup-platform": [ "/libexec", "/bin", "/share/applications", "/share/dbus-1/services" ],
            "sources": [
                {
770
                    "type": "archive",
771 772
                    "url": "https://download.gnome.org/sources/gcr/3.20/gcr-3.20.0.tar.xz",
                    "sha256": "90572c626d8a708225560c42b4421f7941315247fa1679d4ef569bde7f4bb379"
773 774 775 776
                },
                {
                    "type": "shell",
                    "commands": ["autoreconf -f"]
777 778 779 780 781
                }
            ]
        }
    ]
}