pitivi.template.json 11.4 KB
Newer Older
1 2 3 4
{
    "app-id": "org.pitivi.Pitivi",
    "version": "master",
    "runtime": "org.gnome.Platform",
5
    "runtime-version": "3.20",
6
    "finish-args": ["--command=pitivi",
7
                    "--share=ipc", "--socket=x11", "--socket=session-bus", "--socket=pulseaudio",
8
                    "--talk-name=ca.desrt.dconf",
9
                    "--filesystem=host"],
10
    "sdk": "org.gnome.Sdk",
11
    "rename-appdata-file": "pitivi.appdata.xml",
12 13
    "rename-desktop-file": "pitivi.desktop",
    "rename-icon": "pitivi",
14
    "copy-icon": true,
15
    "build-options" : {
16 17
        "cflags": "-O0 -g",
        "cxxflags": "-O0 -g",
18
        "env": {
19 20
          "PYTHON": "python3",
          "GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/"
21 22 23
        },
        "strip": false,
        "no-debuginfo": true
24 25 26 27 28 29 30 31 32 33 34 35 36
    },
    "modules": [
        {
            "name": "yasm",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz",
                    "sha256": "3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f"
                }
            ]
        },
        {
37
            "name": "ninja",
38 39
            "sources": [
                {
40
                    "type": "archive",
41 42
                    "url": "https://github.com/ninja-build/ninja/releases/download/v1.7.1/ninja-linux.zip",
                    "sha256": "eb541331792ac75ade60a7c0d7737a4851f2a131e0143b38c059dbfe731fb5a4"
43 44 45 46 47
                },
                {
                    "type": "file",
                    "path": "ninja-configure",
                    "dest-filename": "configure"
48 49 50 51
                }
            ]
        },
        {
52 53
            "name": "x264",
            "config-opts": ["--enable-shared", "--enable-static", "--enable-pic", "--disable-lavf"],
54 55
            "sources": [
                {
56 57 58
                    "type": "archive",
                    "url": "http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2",
                    "sha256": "5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18"
59 60 61 62
                }
            ]
        },
        {
63
            "name": "numpy",
64 65 66 67 68 69
            "build-options" : {
              "build-args": ["--share=network"],
              "cflags": "-O0 -g  -L/usr/lib -Lbuild/temp.linux-x86_64-3.4 -I/usr/include -I/usr/include/python3.4m/",
              "env": {"ARCHFLAGS": "-arch x86_64"}
            },
            "config-opts": ["--module=numpy==1.10.1"],
70
            "sources": [
71 72
                {
                    "type": "file",
73
                    "path": "py-configure",
74
                    "dest-filename": "configure"
75 76 77
                }
            ]
        },
78 79
        {
            "name": "setuptools",
80 81 82 83
            "build-options" : {
              "build-args": ["--share=network"]
            },
            "config-opts": ["--module=setuptools==19.7"],
84 85 86
            "sources": [
                {
                    "type": "file",
87
                    "path": "py-configure",
88 89 90 91
                    "dest-filename": "configure"
                }
            ]
        },
92
        {
93 94 95 96
            "name": "ipdb",
            "build-options" : {
              "build-args": ["--share=network"]
            },
97
            "config-opts": ["--module=ipdb==0.8.1"],
98 99 100
            "sources": [
                {
                    "type": "file",
101
                    "path": "py-configure",
102 103 104 105
                    "dest-filename": "configure"
                }
            ]
        },
106 107 108 109 110
        {
            "name": "pre-commit",
            "build-options" : {
              "build-args": ["--share=network"]
            },
111
            "config-opts": ["--module=pre-commit==0.8.0"],
112 113 114
            "sources": [
                {
                    "type": "file",
115
                    "path": "py-configure",
116 117 118 119
                    "dest-filename": "configure"
                }
            ]
        },
120 121 122 123 124
        {
            "name": "matplotlib",
            "build-options" : {
              "build-args": ["--share=network"]
            },
125
            "config-opts": ["--module=matplotlib==1.5.1"],
126
            "sources": [
127 128
                {
                    "type": "file",
129
                    "path": "py-configure",
130
                    "dest-filename": "configure"
131 132 133 134
                }
            ]
        },
        {
135
            "name": "nose",
136
            "config-opts": ["--module=nose==1.3.7"],
137 138 139
            "build-options" : {
              "build-args": ["--share=network"]
            },
140
            "sources": [
141 142
                {
                    "type": "file",
143
                    "path": "py-configure",
144
                    "dest-filename": "configure"
145 146 147 148
                }
            ]
        },
        {
149 150 151 152
            "name": "pep8",
            "build-options" : {
              "build-args": ["--share=network"]
            },
153
            "config-opts": ["--module=pep8==1.6.2"],
154
            "sources": [
155 156 157 158
                {
                    "type": "file",
                    "path": "py-configure",
                    "dest-filename": "configure"
159 160 161
                }
            ]
        },
162 163 164 165 166 167 168 169 170 171 172 173 174 175
        {
            "name": "python-dbus",
            "build-options" : {
              "build-args": ["--share=network"]
            },
            "config-opts": ["--module=dbus-python==1.2.4"],
            "sources": [
                {
                    "type": "file",
                    "path": "py-configure",
                    "dest-filename": "configure"
                }
            ]
        },
176
        {
177
            "name": "libopus",
178 179
            "sources": [
                {
180 181 182
                    "type": "archive",
                    "url": "http://downloads.xiph.org/releases/opus/opus-1.1.2.tar.gz",
                    "sha256": "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
183 184 185
                }
            ]
        },
186
        {
187
            "name": "frei0r-plugin",
188 189 190
            "sources": [
                {
                    "type": "archive",
191 192
                    "url": "https://files.dyne.org/frei0r/releases/frei0r-plugins-1.4.tar.gz",
                    "sha256": "8470fcabde9f341b729be3be16385ffc8383d6f3328213907a43851b6e83be57"
193 194 195
                }
            ]
        },
196
        {
197 198 199 200 201 202 203 204 205
            "name": "libsoundtouch",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://www.surina.net/soundtouch/soundtouch-1.8.0.tar.gz",
                    "sha256": "3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b"
                }
            ]
        },
206 207 208 209 210 211 212 213 214 215
        {
            "name": "lame",
            "sources": [
                {
                    "type": "archive",
                    "url": "http://downloads.sourceforge.net/lame/lame-3.99.5.tar.gz",
                    "sha256": "24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff"
                }
            ]
        },
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
        {
            "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"
                }
            ]
        },
238 239 240 241 242 243
        {

            "name": "meson",
            "build-options" : {
              "build-args": ["--share=network"]
            },
244
            "config-opts": ["--module=meson==0.33"],
245 246 247 248 249 250 251 252
            "sources": [
                {
                    "type": "file",
                    "path": "py-configure",
                    "dest-filename": "configure"
                }
            ]
        },
Thibault Saunier's avatar
Thibault Saunier committed
253 254 255 256 257 258 259 260 261 262 263 264
        {
            "name": "yelp-xsl",
            "cleanup-platform": [ "*"  ],
            "config-opts": ["--disable-doc"],
            "sources": [
                {
                    "type": "git",
                    "url": "git://git.gnome.org/yelp-xsl",
                    "branch": "3.20.1"
                }
            ]
        },
265 266
        {
            "name": "yelp",
267 268 269
            "sources": [
                {
                    "type": "git",
270 271
                    "url": "https://git.gnome.org/browse/yelp",
                    "branch": "3.20.1"
272 273 274 275
                }
            ]
        },
        {
276
            "name": "gstreamer",
277 278 279
            "sources": [
                {
                    "type": "git",
280
                    "url": "git://anongit.freedesktop.org/gstreamer/gstreamer"
281 282 283 284
                }
            ]
        },
        {
285
            "name": "gst-plugins-base",
286 287
            "sources": [
                {
288
                    "type": "git",
289
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-base"
290 291 292
                }
            ]
        },
293
        {
294
            "name": "gst-plugins-good",
295 296
            "sources": [
                {
297 298
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-good"
299 300 301
                }
            ]
        },
302
        {
303
            "name": "gst-plugins-ugly",
304 305
            "sources": [
                {
306 307
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly"
308 309 310
                }
            ]
        },
311 312 313
        {
            "name": "gst-plugins-bad",
            "sources": [
314
                {
315 316
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
317 318 319 320
                }
            ]
        },
        {
321
            "name": "gst-libav",
322 323
            "sources": [
                {
324 325 326 327 328 329 330
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-libav"
                }
            ]
        },
        {
            "name": "gst-python",
331
            "config-opts": ["--with-pygi-overrides-dir=/app/lib/python3.4/site-packages/gi/overrides/"],
332
            "sources": [
333
                {
334 335
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-python"
336 337 338 339
                }
            ]
        },
        {
340
            "name": "gst-devtools",
341
            "config-opts": ["--validate", "--disable-gtk-doc"],
342 343
            "sources": [
                {
344 345 346 347 348 349 350 351
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-devtools"
                }
            ]
        },
        {
            "name": "gst-editing-services",
            "sources": [
352
                {
353 354
                    "type": "git",
                    "url": "git://anongit.freedesktop.org/gstreamer/gst-editing-services"
355 356 357 358 359
                }
            ]
        },
        {
            "name": "pitivi",
360
            "config-opts": ["--libdir=lib", "--prefix=/app"],
Thibault Saunier's avatar
Thibault Saunier committed
361 362 363
            "build-options" : {
              "build-args": ["--share=network"]
            },
364 365 366
            "sources": [
                {
                    "type": "git",
367
                    "url": "https://git.gnome.org/browse/pitivi",
Thibault Saunier's avatar
Thibault Saunier committed
368
                    "branch": "master"
369 370 371 372 373
                }
            ]
        }
    ]
}