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