| 1 |
{ |
| 2 |
"app-id": "io.github.celluloid_player.Celluloid", |
| 3 |
"runtime": "org.gnome.Platform", |
| 4 |
"runtime-version": "master", |
| 5 |
"sdk": "org.gnome.Sdk", |
| 6 |
"command": "celluloid", |
| 7 |
"finish-args": [ |
| 8 |
"--share=ipc", |
| 9 |
"--socket=fallback-x11", |
| 10 |
"--socket=wayland", |
| 11 |
"--device=all", |
| 12 |
"--share=network", |
| 13 |
"--socket=pulseaudio", |
| 14 |
"--filesystem=xdg-pictures", |
| 15 |
"--talk-name=org.gtk.vfs", |
| 16 |
"--talk-name=org.gtk.vfs.*", |
| 17 |
"--env=LC_NUMERIC=C" |
| 18 |
], |
| 19 |
"modules": [ |
| 20 |
{ |
| 21 |
"name": "luajit", |
| 22 |
"no-autogen": true, |
| 23 |
"cleanup": [ "/bin", "/lib/*.a", "/include", "/lib/pkgconfig", "/share/man" ], |
| 24 |
"sources": [ |
| 25 |
{ |
| 26 |
"type": "archive", |
| 27 |
"url": "http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz", |
| 28 |
"sha256": "1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"type": "shell", |
| 32 |
"commands": [ "sed -i 's|/usr/local|/app|' ./Makefile" ] |
| 33 |
} |
| 34 |
] |
| 35 |
}, |
| 36 |
{ |
| 37 |
"name": "libv4l2", |
| 38 |
"cleanup": [ "/sbin", "/bin", "/include", "/lib/*.la", "/lib/*/*.la", "/lib*/*/*/*.la", "/lib/pkgconfig", "/share/man" ], |
| 39 |
"config-opts": [ "--disable-static", "--disable-bpf", "--with-udevdir=/app/lib/udev" ], |
| 40 |
"sources": [ |
| 41 |
{ |
| 42 |
"type": "archive", |
| 43 |
"url": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.20.0.tar.bz2", |
| 44 |
"sha256": "956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7" |
| 45 |
} |
| 46 |
] |
| 47 |
}, |
| 48 |
{ |
| 49 |
"name": "nv-codec-headers", |
| 50 |
"cleanup": ["*"], |
| 51 |
"no-autogen": true, |
| 52 |
"make-install-args": ["PREFIX=/app"], |
| 53 |
"sources": [ |
| 54 |
{ |
| 55 |
"type": "git", |
| 56 |
"url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git", |
| 57 |
"commit": "cf8b0b2bb70b59068b06f1d5610627c8aa6d5652" |
| 58 |
} |
| 59 |
] |
| 60 |
}, |
| 61 |
{ |
| 62 |
"name": "ffmpeg", |
| 63 |
"cleanup": [ "/include", "/lib/pkgconfig", "/share/ffmpeg/examples" ], |
| 64 |
"config-opts": [ |
| 65 |
"--enable-shared", |
| 66 |
"--disable-static", |
| 67 |
"--enable-gnutls", |
| 68 |
"--disable-doc", |
| 69 |
"--disable-programs", |
| 70 |
"--disable-encoders", |
| 71 |
"--disable-muxers", |
| 72 |
"--enable-encoder=png", |
| 73 |
"--enable-libv4l2", |
| 74 |
"--enable-libdav1d" |
| 75 |
], |
| 76 |
"sources": [ |
| 77 |
{ |
| 78 |
"type": "git", |
| 79 |
"url": "https://git.ffmpeg.org/ffmpeg.git" |
| 80 |
} |
| 81 |
] |
| 82 |
}, |
| 83 |
{ |
| 84 |
"name": "libass", |
| 85 |
"cleanup": [ "/include", "/lib/*.la", "/lib/pkgconfig" ], |
| 86 |
"config-opts": [ "--disable-static" ], |
| 87 |
"sources": [ |
| 88 |
{ |
| 89 |
"type": "archive", |
| 90 |
"url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz", |
| 91 |
"sha256": "881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2" |
| 92 |
} |
| 93 |
] |
| 94 |
}, |
| 95 |
{ |
| 96 |
"name": "uchardet", |
| 97 |
"buildsystem": "cmake-ninja", |
| 98 |
"config-opts": [ |
| 99 |
"-DCMAKE_BUILD_TYPE=Release", |
| 100 |
"-DBUILD_STATIC=0" |
| 101 |
], |
| 102 |
"cleanup": [ |
| 103 |
"/bin", |
| 104 |
"/include", |
| 105 |
"/lib/pkgconfig", |
| 106 |
"/share/man" |
| 107 |
], |
| 108 |
"sources": [ |
| 109 |
{ |
| 110 |
"type": "archive", |
| 111 |
"url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz", |
| 112 |
"sha256": "8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61" |
| 113 |
} |
| 114 |
] |
| 115 |
}, |
| 116 |
{ |
| 117 |
"name": "libplacebo", |
| 118 |
"buildsystem": "meson", |
| 119 |
"config-opts": [ |
| 120 |
"-Dvulkan=enabled", |
| 121 |
"-Dshaderc=enabled" |
| 122 |
], |
| 123 |
"cleanup": [ |
| 124 |
"/include", |
| 125 |
"/lib/pkgconfig" |
| 126 |
], |
| 127 |
"sources": [ |
| 128 |
{ |
| 129 |
"type": "git", |
| 130 |
"url": "https://github.com/haasn/libplacebo.git", |
| 131 |
"mirror-urls": [ |
| 132 |
"https://code.videolan.org/videolan/libplacebo.git" |
| 133 |
], |
| 134 |
"tag": "v6.338.2", |
| 135 |
"commit": "64c1954570f1cd57f8570a57e51fb0249b57bb90", |
| 136 |
"x-checker-data": { |
| 137 |
"type": "git", |
| 138 |
"tag-pattern": "^v([\\d.]+)$" |
| 139 |
} |
| 140 |
} |
| 141 |
], |
| 142 |
"modules": [ |
| 143 |
{ |
| 144 |
"name": "shaderc", |
| 145 |
"buildsystem": "cmake-ninja", |
| 146 |
"builddir": true, |
| 147 |
"config-opts": [ |
| 148 |
"-DSHADERC_SKIP_COPYRIGHT_CHECK=ON", |
| 149 |
"-DSHADERC_SKIP_EXAMPLES=ON", |
| 150 |
"-DSHADERC_SKIP_TESTS=ON", |
| 151 |
"-DSPIRV_SKIP_EXECUTABLES=ON", |
| 152 |
"-DENABLE_GLSLANG_BINARIES=OFF" |
| 153 |
], |
| 154 |
"cleanup": [ |
| 155 |
"/bin", |
| 156 |
"/include", |
| 157 |
"/lib/cmake", |
| 158 |
"/lib/pkgconfig" |
| 159 |
], |
| 160 |
"sources": [ |
| 161 |
{ |
| 162 |
"type": "git", |
| 163 |
"url": "https://github.com/google/shaderc.git", |
| 164 |
"commit": "40bced4e1e205ecf44630d2dfa357655b6dabd04" |
| 165 |
}, |
| 166 |
{ |
| 167 |
"type": "git", |
| 168 |
"url": "https://github.com/KhronosGroup/SPIRV-Tools.git", |
| 169 |
"tag": "v2024.1", |
| 170 |
"commit": "04896c462d9f3f504c99a4698605b6524af813c1", |
| 171 |
"dest": "third_party/spirv-tools" |
| 172 |
}, |
| 173 |
{ |
| 174 |
"type": "git", |
| 175 |
"url": "https://github.com/KhronosGroup/SPIRV-Headers.git", |
| 176 |
"commit": "4f7b471f1a66b6d06462cd4ba57628cc0cd087d7", |
| 177 |
"dest": "third_party/spirv-headers" |
| 178 |
}, |
| 179 |
{ |
| 180 |
"type": "git", |
| 181 |
"url": "https://github.com/KhronosGroup/glslang.git", |
| 182 |
"tag": "14.2.0", |
| 183 |
"commit": "e8dd0b6903b34f1879520b444634c75ea2deedf5", |
| 184 |
"dest": "third_party/glslang", |
| 185 |
"x-checker-data": { |
| 186 |
"type": "git", |
| 187 |
"tag-pattern": "^(\\d{1,2}\\.\\d{1,2}\\.\\d{1,4})$" |
| 188 |
} |
| 189 |
} |
| 190 |
] |
| 191 |
} |
| 192 |
] |
| 193 |
}, |
| 194 |
{ |
| 195 |
"name": "libcdio", |
| 196 |
"config-opts": [ |
| 197 |
"--disable-static", |
| 198 |
"--disable-example-progs" |
| 199 |
], |
| 200 |
"cleanup": [ |
| 201 |
"/include", |
| 202 |
"/lib/pkgconfig" |
| 203 |
], |
| 204 |
"sources": [ |
| 205 |
{ |
| 206 |
"type": "archive", |
| 207 |
"url": "https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2", |
| 208 |
"mirror-urls": [ |
| 209 |
"https://mirrors.kernel.org/gnu/libcdio/libcdio-2.1.0.tar.bz2", |
| 210 |
"https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-2.1.0.tar.bz2", |
| 211 |
"https://ftpmirror.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2" |
| 212 |
], |
| 213 |
"sha256": "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b", |
| 214 |
"x-checker-data": { |
| 215 |
"type": "html", |
| 216 |
"url": "https://ftp.gnu.org/gnu/libcdio/", |
| 217 |
"version-pattern": "libcdio-(\\d\\.\\d+\\.?\\d*).tar.bz2", |
| 218 |
"url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-$version.tar.bz2" |
| 219 |
} |
| 220 |
} |
| 221 |
] |
| 222 |
}, |
| 223 |
{ |
| 224 |
"name": "libcdio-paranoia", |
| 225 |
"config-opts": [ |
| 226 |
"--disable-static", |
| 227 |
"--disable-example-progs" |
| 228 |
], |
| 229 |
"cleanup": [ |
| 230 |
"/include", |
| 231 |
"/lib/pkgconfig" |
| 232 |
], |
| 233 |
"sources": [ |
| 234 |
{ |
| 235 |
"type": "archive", |
| 236 |
"url": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", |
| 237 |
"mirror-urls": [ |
| 238 |
"https://mirrors.kernel.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", |
| 239 |
"https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2", |
| 240 |
"https://ftpmirror.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2" |
| 241 |
], |
| 242 |
"sha256": "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a", |
| 243 |
"x-checker-data": { |
| 244 |
"type": "html", |
| 245 |
"url": "https://ftp.gnu.org/gnu/libcdio/", |
| 246 |
"version-pattern": "libcdio-paranoia-([\\d\\.\\+-]+).tar.bz2", |
| 247 |
"url-template": "https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-$version.tar.bz2" |
| 248 |
} |
| 249 |
} |
| 250 |
] |
| 251 |
}, |
| 252 |
{ |
| 253 |
"name": "libdvdread", |
| 254 |
"config-opts": [ |
| 255 |
"--disable-static" |
| 256 |
], |
| 257 |
"cleanup": [ |
| 258 |
"/include", |
| 259 |
"/lib/pkgconfig" |
| 260 |
], |
| 261 |
"sources": [ |
| 262 |
{ |
| 263 |
"type": "archive", |
| 264 |
"url": "https://download.videolan.org/pub/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2", |
| 265 |
"mirror-urls": [ |
| 266 |
"https://videolan.mirror.ba/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2", |
| 267 |
"https://videolan.c3sl.ufpr.br/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2" |
| 268 |
], |
| 269 |
"sha256": "ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369", |
| 270 |
"x-checker-data": { |
| 271 |
"type": "html", |
| 272 |
"url": "https://www.videolan.org/developers/libdvdnav.html", |
| 273 |
"version-pattern": "The latest version of <code>libdvdread</code> is <b>([\\d\\-\\.]+)<", |
| 274 |
"url-template": "https://download.videolan.org/pub/videolan/libdvdread/$version/libdvdread-$version.tar.bz2" |
| 275 |
} |
| 276 |
} |
| 277 |
] |
| 278 |
}, |
| 279 |
{ |
| 280 |
"name": "libdvdnav", |
| 281 |
"config-opts": [ |
| 282 |
"--disable-static" |
| 283 |
], |
| 284 |
"cleanup": [ |
| 285 |
"/include", |
| 286 |
"/lib/pkgconfig" |
| 287 |
], |
| 288 |
"sources": [ |
| 289 |
{ |
| 290 |
"type": "archive", |
| 291 |
"url": "https://download.videolan.org/pub/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2", |
| 292 |
"mirror-urls": [ |
| 293 |
"https://videolan.mirror.ba/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2", |
| 294 |
"https://videolan.c3sl.ufpr.br/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2" |
| 295 |
], |
| 296 |
"sha256": "c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48", |
| 297 |
"x-checker-data": { |
| 298 |
"type": "html", |
| 299 |
"url": "https://www.videolan.org/developers/libdvdnav.html", |
| 300 |
"version-pattern": "The latest version of <code>libdvdnav</code> is <b>([\\d\\-\\.]+)</b>\\.", |
| 301 |
"url-template": "https://download.videolan.org/pub/videolan/libdvdnav/$version/libdvdnav-$version.tar.bz2" |
| 302 |
} |
| 303 |
} |
| 304 |
] |
| 305 |
}, |
| 306 |
{ |
| 307 |
"name": "libmpv", |
| 308 |
"cleanup": [ |
| 309 |
"/include", |
| 310 |
"/lib/pkgconfig", |
| 311 |
"/share/man" |
| 312 |
], |
| 313 |
"buildsystem": "meson", |
| 314 |
"config-opts": [ |
| 315 |
"-Dbuild-date=false", |
| 316 |
"-Dlibmpv=true", |
| 317 |
"-Dmanpage-build=disabled", |
| 318 |
"-Dcdda=enabled", |
| 319 |
"-Ddvbin=enabled", |
| 320 |
"-Ddvdnav=enabled", |
| 321 |
"-Dlibarchive=enabled", |
| 322 |
"-Dsdl2=enabled", |
| 323 |
"-Dvulkan=enabled", |
| 324 |
"-Dvulkan-interop=enabled" |
| 325 |
], |
| 326 |
"sources": [ |
| 327 |
{ |
| 328 |
"type": "git", |
| 329 |
"url": "https://github.com/mpv-player/mpv.git" |
| 330 |
} |
| 331 |
] |
| 332 |
}, |
| 333 |
{ |
| 334 |
"name": "youtube-dl", |
| 335 |
"no-autogen": true, |
| 336 |
"no-make-install": true, |
| 337 |
"make-args": ["youtube-dl", "PYTHON=/usr/bin/python3"], |
| 338 |
"post-install": ["install youtube-dl /app/bin"], |
| 339 |
"sources": [{ |
| 340 |
"type": "git", |
| 341 |
"url": "https://github.com/rg3/youtube-dl.git", |
| 342 |
"tag": "2020.05.29", |
| 343 |
"commit": "228c1d685bb6d35b2c1a73e1adbc085c76da6b75" |
| 344 |
}] |
| 345 |
}, |
| 346 |
{ |
| 347 |
"name": "celluloid", |
| 348 |
"buildsystem": "meson", |
| 349 |
"cleanup": ["/share/man"], |
| 350 |
"sources": [ |
| 351 |
{ |
| 352 |
"type": "git", |
| 353 |
"url": "https://github.com/celluloid-player/celluloid.git" |
| 354 |
} |
| 355 |
] |
| 356 |
} |
| 357 |
] |
| 358 |
} |