pitivi.template.json 19.1 KB
Newer Older
1 2
{
    "app-id": "org.pitivi.Pitivi",
3
    "branch": "master",
4
    "runtime": "org.gnome.Platform",
5
    "runtime-version": "3.24",
6 7
    "command": "pitivi",
    "finish-args": ["--socket=x11", "--share=ipc",
8 9
                    "--socket=pulseaudio",
                    "--socket=wayland",
10 11
                    "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
                    "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
12
                    "--talk-name=org.freedesktop.Notifications",
13 14
                    "--filesystem=host",
                    "--device=dri"],
15
    "sdk": "org.gnome.Sdk",
16
    "rename-appdata-file": "pitivi.appdata.xml",
17 18
    "rename-desktop-file": "pitivi.desktop",
    "rename-icon": "pitivi",
19
    "copy-icon": true,
20
    "build-options": {
21 22
        "cflags": "-O0 -g",
        "cxxflags": "-O0 -g",
23
        "env": {
24
          "PYTHON": "python3",
25 26
          "GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/",
          "FREI0R_PATH": "/app/lib/frei0r-1/"
27 28 29
        },
        "strip": false,
        "no-debuginfo": true
30 31 32
    },
    "modules": [
        {
33 34 35 36 37 38 39
            "name": "numpy",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "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"
            ],
40 41 42
            "sources": [
                {
                    "type": "archive",
43 44
                    "url": "https://pypi.python.org/packages/05/84/0feb999c05f252af50a5fbc463268044feda92cdaad8cb0d0a6073d76057/numpy-1.13.0.zip#md5=fd044f0b8079abeaf5e6d2e93b2c1d03",
                    "sha256": "dcff367b725586830ff0e20b805c7654c876c2d4585c0834a6049502b9d6cf7e"
45 46 47
                }
            ]
        },
48
        {
49 50 51 52 53 54
            "name": "pyparsing",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "python3 setup.py install --prefix=/app"
            ],
55 56
            "sources": [
                {
57 58 59
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz#md5=0214e42d63af850256962b6744c948d9",
                    "sha256": "0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04"
60 61 62 63
                }
            ]
        },
        {
64 65 66 67 68 69
            "name": "pytz",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "python3 setup.py install --prefix=/app"
            ],
70 71
            "sources": [
                {
72 73 74
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/a4/09/c47e57fc9c7062b4e83b075d418800d322caa87ec0ac21e6308bd3a2d519/pytz-2017.2.zip#md5=",
                    "sha256": "f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589"
75 76 77
                }
            ]
        },
78
        {
79 80 81 82 83 84
            "name": "six",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "python3 setup.py install --prefix=/app"
            ],
85 86
            "sources": [
                {
87
                    "type": "archive",
88 89
                    "url": "https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55",
                    "sha256": "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
90 91 92 93
                }
            ]
        },
        {
94 95 96 97 98 99
            "name": "Cycler",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "python3 setup.py install --prefix=/app"
            ],
100
            "sources": [
101
                {
102 103 104
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488/cycler-0.10.0.tar.gz#md5=4cb42917ac5007d1cdff6cccfe2d016b",
                    "sha256": "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"
105 106 107 108
                }
            ]
        },
        {
109 110 111 112 113 114
            "name": "python-dateutil",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "python3 setup.py install --prefix=/app"
            ],
115 116
            "sources": [
                {
117 118 119
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/51/fc/39a3fbde6864942e8bb24c93663734b74e281b984d1b8c4f95d64b0c21f6/python-dateutil-2.6.0.tar.gz#md5=6e38f91e8c94c15a79ce22768dfeca87",
                    "sha256": "62a2f8df3d66f878373fd0072eacf4ee52194ba302e00082828e0d263b0418d2"
120 121 122
                }
            ]
        },
123
        {
124 125 126 127 128 129
            "name": "matplotlib",
            "buildsystem": "simple",
            "ensure-writable": ["easy-install.pth"],
            "build-commands": [
               "CXX=/usr/bin/g++ CC=/usr/bin/gcc PYTHONUSERBASE=/app/ python3 setup.py install --prefix=/app"
            ],
130 131
            "sources": [
                {
132 133 134
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/matplotlib-2.0.2.tar.gz",
                    "sha256": "0ffbc44faa34a8b1704bc108c451ecf87988f900ef7ce757b8e2e84383121ff1"
135 136 137
                }
            ]
        },
138
        {
139
            "name": "ipdb",
140 141 142
            "build-options" : {
              "build-args": ["--share=network"]
            },
143
            "config-opts": ["--module=ipdb==0.8.1"],
144
            "sources": [
145 146
                {
                    "type": "file",
147
                    "path": "py-configure",
148
                    "dest-filename": "configure"
149 150 151 152
                }
            ]
        },
        {
153
            "name": "nose2",
154 155 156
            "build-options" : {
              "build-args": ["--share=network"]
            },
157
            "config-opts": ["--module=nose2==0.6.5"],
158
            "sources": [
159 160
                {
                    "type": "file",
161
                    "path": "py-configure",
162
                    "dest-filename": "configure"
163 164 165 166
                }
            ]
        },
        {
167 168
            "name": "sound-theme-freedesktop",
            "ensure-writable": ["easy-install.pth"],
169
            "sources": [
170
                {
171 172 173
                    "type": "git",
                    "url": "https://anongit.freedesktop.org/git/sound-theme-freedesktop.git",
                    "branch": "0.8"
174 175 176
                }
            ]
        },
177
        {
178 179
            "name": "gsound",
            "ensure-writable": ["easy-install.pth"],
180 181
            "sources": [
                {
182 183 184 185 186 187 188 189 190 191 192 193 194 195
                    "type": "git",
                    "url": "https://git.gnome.org/browse/gsound",
                    "branch": "1.0.2"
                }
            ]
        },
        {
            "name": "x264",
            "config-opts": ["--enable-shared", "--enable-static", "--enable-pic", "--disable-lavf"],
            "sources": [
                {
                    "type": "archive",
                    "url": "http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2",
                    "sha256": "5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18"
196 197 198
                }
            ]
        },
199
        {
200
            "name": "libopus",
201 202
            "sources": [
                {
203 204 205
                    "type": "archive",
                    "url": "http://downloads.xiph.org/releases/opus/opus-1.1.2.tar.gz",
                    "sha256": "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
206 207 208
                }
            ]
        },
209 210 211 212 213 214 215 216 217 218 219
        {
            "name": "gavl",
            "config-opts": ["--without-doxygen"],
            "sources": [
                {
                    "type": "archive",
                    "url": "http://downloads.sourceforge.net/sourceforge/gmerlin/gavl-1.4.0.tar.gz",
                    "sha256": "51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce"
                }
            ]
        },
220
        {
221
            "name": "frei0r-plugin",
222 223 224
            "sources": [
                {
                    "type": "archive",
225 226
                    "url": "https://files.dyne.org/frei0r/releases/frei0r-plugins-1.4.tar.gz",
                    "sha256": "8470fcabde9f341b729be3be16385ffc8383d6f3328213907a43851b6e83be57"
227 228 229
                }
            ]
        },
230
        {
231 232 233 234 235 236 237 238 239
            "name": "libsoundtouch",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://www.surina.net/soundtouch/soundtouch-1.8.0.tar.gz",
                    "sha256": "3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b"
                }
            ]
        },
240 241 242 243 244 245 246 247 248 249
        {
            "name": "lame",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://downloads.sourceforge.net/lame/lame-3.99.5.tar.gz",
                    "sha256": "24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff"
                }
            ]
        },
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
        {
            "name": "vo-aacenc",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://downloads.sourceforge.net/project/opencore-amr/vo-aacenc/vo-aacenc-0.1.3.tar.gz",
                    "sha256": "e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36"
                }
            ]
        },
        {
            "name": "x265",
            "cmake": true,
            "subdir":"source",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://bitbucket.org/multicoreware/x265/downloads/x265_1.9.tar.gz",
                    "sha256": "3e4654133ed957a98708fdb4cb9a154d9e80922b84e26e43fc462a101c5b15c8"
                }
            ]
        },
272 273
        {
            "name": "ffmpeg",
Thibault Saunier's avatar
Thibault Saunier committed
274
            "config-opts": [ /* From https://phabricator.freedesktop.org/diffusion/GSTLIBAV/browse/master/configure.ac;6d7192bcb7bbab17dc194e8dbb56c208bced0a92*/
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
                "--disable-static",
                "--disable-avdevice",
                "--disable-postproc",
                "--disable-programs",
                "--disable-ffserver",
                "--disable-ffplay",
                "--disable-ffprobe",
                "--disable-ffmpeg",
                "--disable-encoder=flac",
                "--disable-protocols",
                "--disable-devices",
                "--disable-network",
                "--disable-hwaccels",
                "--disable-dxva2",
                "--disable-vdpau",
                "--disable-filters",
                "--disable-doc",
                "--disable-vda",
                "--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",
                "--enable-optimizations",
                "--enable-gpl",
                "--enable-shared"
            ],
            "sources": [
                {
                    "type": "git",
317
                    "url": "https://github.com/FFmpeg/FFmpeg.git",
Thibault Saunier's avatar
Thibault Saunier committed
318
                    "branch": "6d7192bcb7bbab17dc194e8dbb56c208bced0a92" /* From submodule https://github.com/GStreamer/gst-libav/tree/master/gst-libs/ext */
319 320 321
                }
            ]
        },
322 323 324 325 326 327 328 329 330 331 332 333
        {
            "name": "fdkaac",
            "config-opts": ["--disable-static"],
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/mstorsjo/fdk-aac.git",
                    "branch": "v0.1.5",
                    "commit": "74c1a2a4f831285cbd93ec1427f1670d3c5c5e52"
                }
            ]
        },
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
        {
            "name": "meson",
            "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"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/6d/32/a474702fcba1144aef89e7ec5d8a33d49be8389a0f983d11aab486c8392b/meson-0.41.2.tar.gz#md5=3b4a99beb09a0286ca1307449570c689",
                    "sha256": "ad1707717987fe8b7b65392b8327580105fcbdd5f2032bf3b7232b647284c95c"
                }
            ]
        },
350 351 352 353 354 355 356 357 358 359 360 361
        {
            "name": "opencv",
            "buildsystem": "cmake",
            "builddir": true,
            "sources": [
                {
                    "type": "git",
                    "branch": "2.4.13.3",
                    "url": "https://github.com/opencv/opencv"
                }
            ]
        },
362
        {
363
            "name": "gstreamer",
364 365 366
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
367 368 369
            "sources": [
                {
                    "type": "git",
370
                    "branch": "master",
371
                    "url": "git://anongit.freedesktop.org/gstreamer/gstreamer"
372 373 374 375
                }
            ]
        },
        {
376
            "name": "gst-plugins-base",
377 378 379
            "buildsystem": "meson",
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
            "builddir": true,
380 381
            "sources": [
                {
382
                    "type": "git",
383
                    "branch": "master",
384
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-base"
385 386 387
                }
            ]
        },
388
        {
389
            "name": "gst-plugins-good",
390 391 392
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
393 394
            "sources": [
                {
395
                    "type": "git",
396
                    "branch": "master",
397
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-good"
398 399 400
                }
            ]
        },
401
        {
402
            "name": "gst-plugins-ugly",
403 404 405
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
406 407
            "sources": [
                {
408
                    "type": "git",
409
                    "branch": "master",
410
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly"
411 412 413
                }
            ]
        },
414 415
        {
            "name": "gst-plugins-bad",
416 417 418
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
419
            "sources": [
420
                {
421
                    "type": "git",
422
                    "branch": "master",
423
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
424 425 426 427
                }
            ]
        },
        {
428
            "name": "gst-libav",
429 430 431
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
432 433
            "sources": [
                {
434
                    "type": "git",
435
                    "branch": "master",
436 437
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-libav",
                    "disable-shallow-clone": true
438 439 440 441 442
                }
            ]
        },
        {
            "name": "gst-python",
443 444
            "buildsystem": "meson",
            "builddir": true,
445
            "config-opts": ["-Dpygi-overrides-dir=/app/lib/python3.5/site-packages/gi/overrides/", "--libdir=lib"],
446
            "sources": [
447
                {
448
                    "type": "git",
449
                    "branch": "master",
450
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-python"
451 452 453 454
                }
            ]
        },
        {
455
            "name": "gst-devtools",
456 457 458 459
            "config-opts": [],
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
460 461
            "sources": [
                {
462
                    "type": "git",
463
                    "branch": "master",
464 465 466 467
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-devtools"
                }
            ]
        },
468 469 470 471 472 473 474 475
        {
            "name": "gstreamer-vaapi",
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
            "sources": [
                {
                    "type": "git",
476
                    "branch": "master",
477 478 479 480
                    "url": "git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi"
                }
            ]
        },
481 482
        {
            "name": "gst-editing-services",
483 484 485
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_gtkdoc=true", "--libdir=lib"],
486
            "sources": [
487
                {
488
                    "type": "git",
489
                    "branch": "master",
490
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-editing-services"
491 492 493
                }
            ]
        },
494 495 496 497 498 499 500 501
        {
            "name": "gst-transcoder",
            "buildsystem": "meson",
            "builddir": true,
            "config-opts": ["-Ddisable_doc=true", "--libdir=lib"],
            "sources": [
                {
                    "type": "git",
502
                    "branch": "master",
503 504 505 506
                    "url": "https://github.com/pitivi/gst-transcoder"
                }
            ]
        },
507 508 509 510 511 512 513 514 515 516 517 518 519
        {
            "name": "libpeas",
            "sources": [
                {
                    "type": "git",
                    "url": "git://git.gnome.org/libpeas"
                },
                {
                    "type": "patch",
                    "path": "patches/bugzilla-bug-660014-patch-355096.patch"
                }
            ]
        },
520 521
        {
            "name": "pitivi",
522 523
            "buildsystem": "meson",
            "builddir": true,
524
            "config-opts": ["--libdir=lib"],
525
            "build-options": {
Thibault Saunier's avatar
Thibault Saunier committed
526 527
              "build-args": ["--share=network"]
            },
528 529 530
            "sources": [
                {
                    "type": "git",
531
                    "url": "https://git.gnome.org/browse/pitivi",
Thibault Saunier's avatar
Thibault Saunier committed
532
                    "branch": "master"
533 534 535 536 537
                }
            ]
        }
    ]
}