org.pitivi.Pitivi.json 20.6 KB
Newer Older
1 2
{
    "app-id": "org.pitivi.Pitivi",
3
    "branch": "master",
4
    "runtime": "org.gnome.Platform",
5
    "runtime-version": "3.28",
6
    "command": "pitivi",
7 8 9 10 11 12 13 14 15 16 17 18 19
    "finish-args": [
        "--socket=x11",
        "--share=ipc",
        "--socket=pulseaudio",
        "--socket=wayland",
        "--filesystem=xdg-run/dconf",
        "--filesystem=~/.config/dconf:ro",
        "--talk-name=ca.desrt.dconf",
        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
        "--talk-name=org.freedesktop.Notifications",
        "--filesystem=host",
        "--device=dri"
    ],
20
    "sdk": "org.gnome.Sdk",
21
    "copy-icon": true,
22
    "build-options": {
23 24
        "cflags": "-O0 -g",
        "cxxflags": "-O0 -g",
25
        "env": {
26 27 28
            "PYTHON": "python3",
            "GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/",
            "FREI0R_PATH": "/app/lib/frei0r-1/"
29 30 31
        },
        "strip": false,
        "no-debuginfo": true
32 33 34
    },
    "modules": [
        {
35 36
            "name": "numpy",
            "buildsystem": "simple",
37 38 39
            "ensure-writable": [
                "easy-install.pth"
            ],
40
            "build-commands": [
41 42
                "mkdir -p /app/lib/python3.5/site-packages",
                "CFLAGS='-L/usr/lib -Lbuild/temp.linux-x86_64-3.4 -I/usr/include -I/usr/include/python3.5m/' CXX=/usr/bin/g++ CC=/usr/bin/gcc PYTHONUSERBASE=/app/ python3 setup.py install --prefix=/app # Working around linking issues"
43
            ],
44 45 46
            "sources": [
                {
                    "type": "archive",
47 48
                    "url": "https://files.pythonhosted.org/packages/d5/6e/f00492653d0fdf6497a181a1c1d46bbea5a2383e7faf4c8ca6d6f3d2581d/numpy-1.14.5.zip",
                    "sha256": "a4a433b3a264dbc9aa9c7c241e87c0358a503ea6394f8737df1683c7c9a102ac"
49 50 51
                }
            ]
        },
52
        {
53 54
            "name": "pyparsing",
            "buildsystem": "simple",
55 56 57
            "ensure-writable": [
                "easy-install.pth"
            ],
58
            "build-commands": [
59
                "python3 setup.py install --prefix=/app"
60
            ],
61 62
            "sources": [
                {
63 64 65
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz#md5=0214e42d63af850256962b6744c948d9",
                    "sha256": "0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04"
66 67 68 69
                }
            ]
        },
        {
70 71
            "name": "pytz",
            "buildsystem": "simple",
72 73 74
            "ensure-writable": [
                "easy-install.pth"
            ],
75
            "build-commands": [
76
                "python3 setup.py install --prefix=/app"
77
            ],
78 79
            "sources": [
                {
80 81 82
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/a4/09/c47e57fc9c7062b4e83b075d418800d322caa87ec0ac21e6308bd3a2d519/pytz-2017.2.zip#md5=",
                    "sha256": "f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589"
83 84 85
                }
            ]
        },
86
        {
87 88
            "name": "six",
            "buildsystem": "simple",
89 90 91
            "ensure-writable": [
                "easy-install.pth"
            ],
92
            "build-commands": [
93
                "python3 setup.py install --prefix=/app"
94
            ],
95 96
            "sources": [
                {
97
                    "type": "archive",
98 99
                    "url": "https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
                    "sha256": "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
100 101 102 103
                }
            ]
        },
        {
104 105
            "name": "Cycler",
            "buildsystem": "simple",
106 107 108
            "ensure-writable": [
                "easy-install.pth"
            ],
109
            "build-commands": [
110
                "python3 setup.py install --prefix=/app"
111
            ],
112
            "sources": [
113
                {
114 115 116
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz#md5=4cb42917ac5007d1cdff6cccfe2d016b",
                    "sha256": "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"
117 118 119 120
                }
            ]
        },
        {
121 122
            "name": "python-dateutil",
            "buildsystem": "simple",
123 124 125
            "ensure-writable": [
                "easy-install.pth"
            ],
126
            "build-commands": [
127
                "python3 setup.py install --prefix=/app"
128
            ],
129 130
            "sources": [
                {
131 132 133
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/51/fc/39a3fbde6864942e8bb24c93663734b74e281b984d1b8c4f95d64b0c21f6/python-dateutil-2.6.0.tar.gz#md5=6e38f91e8c94c15a79ce22768dfeca87",
                    "sha256": "62a2f8df3d66f878373fd0072eacf4ee52194ba302e00082828e0d263b0418d2"
134 135 136
                }
            ]
        },
137
        {
138 139
            "name": "matplotlib",
            "buildsystem": "simple",
140 141 142
            "ensure-writable": [
                "easy-install.pth"
            ],
143
            "build-commands": [
144
                "CXX=/usr/bin/g++ CC=/usr/bin/gcc PYTHONUSERBASE=/app/ python3 setup.py install --prefix=/app"
145
            ],
146 147
            "sources": [
                {
148 149 150
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/matplotlib-2.0.2.tar.gz",
                    "sha256": "0ffbc44faa34a8b1704bc108c451ecf87988f900ef7ce757b8e2e84383121ff1"
151 152 153
                }
            ]
        },
154
        {
155
            "name": "ipdb",
156 157 158 159
            "build-options": {
                "build-args": [
                    "--share=network"
                ]
160
            },
161 162 163
            "config-opts": [
                "--module=ipdb==0.8.1"
            ],
164
            "sources": [
165 166
                {
                    "type": "file",
167
                    "path": "py-configure",
168
                    "dest-filename": "configure"
169 170 171 172
                }
            ]
        },
        {
173
            "name": "nose2",
174 175 176 177
            "build-options": {
                "build-args": [
                    "--share=network"
                ]
178
            },
179 180 181
            "config-opts": [
                "--module=nose2==0.6.5"
            ],
182
            "sources": [
183 184
                {
                    "type": "file",
185
                    "path": "py-configure",
186 187 188 189 190 191
                    "dest-filename": "configure"
                }
            ]
        },
        {
            "name": "meson",
192 193 194 195 196
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "mkdir -p /app/lib/python3.5/site-packages",
               "PYTHONUSERBASE=/app/ python3 setup.py install --prefix=/app"
197 198 199
            ],
            "sources": [
                {
200
                    "type": "archive",
201 202
                    "url": "https://files.pythonhosted.org/packages/f6/3f/4cc08fcfb1f6615279a3fbdf48720c77eeed8427aef37d28830f35548427/meson-0.47.1.tar.gz",
                    "sha256": "97f72573ec6c7a761ff04cc544e828178b434c95c548542679944eb6d0551b24"
203 204 205 206
                }
            ]
        },
        {
207
            "name": "sound-theme-freedesktop",
208 209 210
            "ensure-writable": [
                "easy-install.pth"
            ],
211
            "sources": [
212
                {
213 214 215
                    "type": "git",
                    "url": "https://anongit.freedesktop.org/git/sound-theme-freedesktop.git",
                    "branch": "0.8"
216 217 218
                }
            ]
        },
219
        {
220
            "name": "gsound",
221 222 223
            "ensure-writable": [
                "easy-install.pth"
            ],
224 225
            "sources": [
                {
226 227 228 229 230 231 232 233
                    "type": "git",
                    "url": "https://git.gnome.org/browse/gsound",
                    "branch": "1.0.2"
                }
            ]
        },
        {
            "name": "x264",
234 235 236 237 238 239
            "config-opts": [
                "--enable-shared",
                "--enable-static",
                "--enable-pic",
                "--disable-lavf"
            ],
240 241 242 243 244
            "sources": [
                {
                    "type": "archive",
                    "url": "http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2",
                    "sha256": "5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18"
245 246 247
                }
            ]
        },
248
        {
249
            "name": "libopus",
250 251
            "sources": [
                {
252 253 254
                    "type": "archive",
                    "url": "http://downloads.xiph.org/releases/opus/opus-1.1.2.tar.gz",
                    "sha256": "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
255 256 257
                }
            ]
        },
258 259
        {
            "name": "gavl",
260 261 262
            "config-opts": [
                "--without-doxygen"
            ],
263 264 265
            "sources": [
                {
                    "type": "archive",
266
                    "url": "https://github.com/pitivi/projects/releases/download/mirror/gavl-1.4.0.tar.gz",
267 268 269 270
                    "sha256": "51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce"
                }
            ]
        },
271
        {
272
            "name": "frei0r-plugin",
273 274 275
            "sources": [
                {
                    "type": "archive",
276 277
                    "url": "https://github.com/dyne/frei0r/archive/v1.6.1.tar.gz",
                    "sha256": "dae0ca623c83173788ce4fc74cb67ac7e50cf33a4412ee3d33bed284da1a8437"
278 279 280
                }
            ]
        },
281
        {
282 283 284 285 286 287 288 289 290
            "name": "libsoundtouch",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://www.surina.net/soundtouch/soundtouch-1.8.0.tar.gz",
                    "sha256": "3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b"
                }
            ]
        },
291 292 293 294 295
        {
            "name": "lame",
            "sources": [
                {
                    "type": "archive",
296
                    "url": "https://github.com/pitivi/projects/releases/download/mirror/lame-3.99.5.tar.gz",
297 298 299 300
                    "sha256": "24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff"
                }
            ]
        },
301 302 303 304 305
        {
            "name": "vo-aacenc",
            "sources": [
                {
                    "type": "archive",
306
                    "url": "https://github.com/pitivi/projects/releases/download/mirror/vo-aacenc-0.1.3.tar.gz",
307 308 309 310 311 312 313
                    "sha256": "e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36"
                }
            ]
        },
        {
            "name": "x265",
            "cmake": true,
314
            "subdir": "source",
315 316 317 318 319 320 321 322
            "sources": [
                {
                    "type": "archive",
                    "url": "https://bitbucket.org/multicoreware/x265/downloads/x265_1.9.tar.gz",
                    "sha256": "3e4654133ed957a98708fdb4cb9a154d9e80922b84e26e43fc462a101c5b15c8"
                }
            ]
        },
323 324 325 326 327 328 329
        {
            "name": "opencv",
            "buildsystem": "cmake",
            "builddir": true,
            "sources": [
                {
                    "type": "git",
330
                    "branch": "2.4.13.6",
331 332 333 334
                    "url": "https://github.com/opencv/opencv"
                }
            ]
        },
335 336
        {
            "name": "ffmpeg",
337
            "config-opts": [
338
                "--disable-static",
339 340
                "--enable-shared",
                "--enable-pic",
341 342
                "--disable-avdevice",
                "--disable-postproc",
343
                "--disable-swscale",
344 345 346 347 348 349 350 351 352 353 354 355
                "--disable-programs",
                "--disable-ffplay",
                "--disable-ffprobe",
                "--disable-ffmpeg",
                "--disable-encoder=flac",
                "--disable-protocols",
                "--disable-devices",
                "--disable-network",
                "--disable-hwaccels",
                "--disable-dxva2",
                "--disable-vdpau",
                "--disable-filters",
356
                "--enable-filter=yadif",
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
                "--disable-doc",
                "--disable-d3d11va",
                "--disable-dxva2",
                "--disable-audiotoolbox",
                "--disable-videotoolbox",
                "--disable-vaapi",
                "--disable-crystalhd",
                "--disable-mediacodec",
                "--disable-nvenc",
                "--disable-mmal",
                "--disable-omx",
                "--disable-omx-rpi",
                "--disable-cuda",
                "--disable-cuvid",
                "--disable-libmfx",
                "--disable-libnpp",
                "--disable-iconv",
                "--disable-jni",
375
                "--disable-v4l2_m2m",
376
                "--enable-gpl",
377
                "--enable-optimizations"
378 379 380 381
            ],
            "sources": [
                {
                    "type": "git",
382
                    "url": "https://github.com/FFmpeg/FFmpeg.git",
383
                    "branch": "3ef38c414e7908b2f66552081efe485bce52037c"
384 385 386
                }
            ]
        },
387 388
        {
            "name": "fdkaac",
389 390 391
            "config-opts": [
                "--disable-static"
            ],
392 393 394 395 396 397 398 399 400
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/mstorsjo/fdk-aac.git",
                    "branch": "v0.1.5",
                    "commit": "74c1a2a4f831285cbd93ec1427f1670d3c5c5e52"
                }
            ]
        },
401 402 403 404 405 406 407 408 409 410
        {
            "name": "libunwind",
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/libunwind/libunwind.git",
                    "commit": "v1.2.1"
                }
            ]
        },
411
        {
412
            "name": "gstreamer",
413 414
            "buildsystem": "meson",
            "builddir": true,
415
            "config-opts": [
416
                "-Dgtkdoc=false",
417 418
                "--libdir=lib"
            ],
419 420 421
            "sources": [
                {
                    "type": "git",
422
                    "branch": "master",
423
                    "url": "https://gitlab.freedesktop.org/gstreamer/gstreamer.git"
424 425 426 427
                }
            ]
        },
        {
428
            "name": "gst-plugins-base",
429
            "buildsystem": "meson",
430
            "config-opts": [
431
                "-Dgtkdoc=false",
432
                "-Dorc=enabled",
433 434
                "--libdir=lib"
            ],
435
            "builddir": true,
436 437
            "sources": [
                {
438
                    "type": "git",
439
                    "branch": "master",
440
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git"
441 442 443
                }
            ]
        },
444
        {
445
            "name": "gst-plugins-good",
446 447
            "buildsystem": "meson",
            "builddir": true,
448
            "config-opts": [
449
                "-Dgtkdoc=false",
450 451
                "--libdir=lib"
            ],
452 453
            "sources": [
                {
454
                    "type": "git",
455
                    "branch": "master",
456
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git"
457 458 459
                }
            ]
        },
460
        {
461
            "name": "gst-plugins-ugly",
462 463
            "buildsystem": "meson",
            "builddir": true,
464
            "config-opts": [
465
                "-Dgtkdoc=false",
466 467
                "--libdir=lib"
            ],
468 469
            "sources": [
                {
470
                    "type": "git",
471
                    "branch": "master",
472
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git"
473 474 475
                }
            ]
        },
476 477
        {
            "name": "gst-plugins-bad",
478 479
            "buildsystem": "meson",
            "builddir": true,
480
            "config-opts": [
481
                "-Dgtkdoc=false",
482 483
                "--libdir=lib"
            ],
484
            "sources": [
485
                {
486
                    "type": "git",
487
                    "branch": "master",
488
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git"
489 490 491 492
                }
            ]
        },
        {
493
            "name": "gst-libav",
494 495
            "buildsystem": "meson",
            "builddir": true,
496
            "config-opts": [
497
                "-Dgtkdoc=false",
498 499
                "--libdir=lib"
            ],
500
            "sources": [
501 502 503
                {
                    "type": "git",
                    "branch": "master",
504
                    "disable-shallow-clone": true,
505
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-libav.git"
506
                },
507
                {
508 509
                    "type": "git",
                    "url": "https://git.ffmpeg.org/ffmpeg.git",
510
                    "disable-shallow-clone": true,
511
                    "branch": "master"
512 513
                },
                {
514 515
                    "type": "git",
                    "url": "git://git.libav.org/gas-preprocessor.git",
516
                    "disable-shallow-clone": true,
517
                    "branch": "master"
518 519 520 521 522
                }
            ]
        },
        {
            "name": "gst-python",
523 524
            "buildsystem": "meson",
            "builddir": true,
525 526 527 528
            "config-opts": [
                "-Dpygi-overrides-dir=/app/lib/python3.5/site-packages/gi/overrides/",
                "--libdir=lib"
            ],
529
            "sources": [
530
                {
531
                    "type": "git",
532
                    "branch": "master",
533
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-python.git"
534 535 536 537
                }
            ]
        },
        {
538
            "name": "gst-devtools",
539 540 541
            "config-opts": [],
            "buildsystem": "meson",
            "builddir": true,
542
            "config-opts": [
543
                "-Dgtkdoc=false",
544 545
                "--libdir=lib"
            ],
546 547
            "sources": [
                {
548
                    "type": "git",
549
                    "branch": "master",
550
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-devtools.git"
551 552 553
                }
            ]
        },
554 555 556 557
        {
            "name": "gstreamer-vaapi",
            "buildsystem": "meson",
            "builddir": true,
558
            "config-opts": [
559
                "-Dgtkdoc=false",
560 561
                "--libdir=lib"
            ],
562 563 564
            "sources": [
                {
                    "type": "git",
565
                    "branch": "master",
566
                    "url": "https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi.git"
567 568 569
                }
            ]
        },
570 571
        {
            "name": "gst-editing-services",
572 573
            "buildsystem": "meson",
            "builddir": true,
574
            "config-opts": [
575
                "-Dgtkdoc=false",
576 577
                "--libdir=lib"
            ],
578
            "sources": [
579
                {
580
                    "type": "git",
581
                    "branch": "master",
582
                    "url": "https://gitlab.freedesktop.org/gstreamer/gst-editing-services.git"
583 584 585
                }
            ]
        },
586 587 588 589
        {
            "name": "gst-transcoder",
            "buildsystem": "meson",
            "builddir": true,
590 591 592 593
            "config-opts": [
                "-Ddisable_doc=true",
                "--libdir=lib"
            ],
594 595 596
            "sources": [
                {
                    "type": "git",
597
                    "branch": "master",
598 599 600 601
                    "url": "https://github.com/pitivi/gst-transcoder"
                }
            ]
        },
602 603 604 605 606
        {
            "name": "libpeas",
            "sources": [
                {
                    "type": "git",
607
                    "url": "https://git.gnome.org/browse/libpeas"
608 609 610 611 612 613 614
                },
                {
                    "type": "patch",
                    "path": "patches/bugzilla-bug-660014-patch-355096.patch"
                }
            ]
        },
615 616
        {
            "name": "pitivi",
617 618
            "buildsystem": "meson",
            "builddir": true,
619 620 621
            "config-opts": [
                "--libdir=lib"
            ],
622
            "build-options": {
623 624 625
                "build-args": [
                    "--share=network"
                ]
Thibault Saunier's avatar
Thibault Saunier committed
626
            },
627 628 629
            "sources": [
                {
                    "type": "git",
630
                    "url": "https://git.gnome.org/browse/pitivi",
Thibault Saunier's avatar
Thibault Saunier committed
631
                    "branch": "master"
632 633 634 635 636
                }
            ]
        }
    ]
}