| 1 | { |
| 2 | "app-id": "org.freac.freac", |
| 3 | "runtime": "org.freedesktop.Platform", |
| 4 | "runtime-version": "25.08", |
| 5 | "sdk": "org.freedesktop.Sdk", |
| 6 | "command": "freac", |
| 7 | "finish-args": [ |
| 8 | "--device=all", |
| 9 | "--filesystem=host", |
| 10 | "--share=ipc", |
| 11 | "--share=network", |
| 12 | "--socket=pulseaudio", |
| 13 | "--socket=x11", |
| 14 | "--metadata=X-DConf=migrate-path=/org/freac/freac/" |
| 15 | ], |
| 16 | "cleanup": [ |
| 17 | "/bin/mac", |
| 18 | "/include", |
| 19 | "/lib/pkgconfig", |
| 20 | "/share/aclocal", |
| 21 | "/share/info", |
| 22 | "/share/man", |
| 23 | "*.a", |
| 24 | "*.la" |
| 25 | ], |
| 26 | "modules": [ |
| 27 | "shared-modules/mac/mac.json", |
| 28 | { |
| 29 | "name": "libcdio", |
| 30 | "config-opts": [ |
| 31 | "--disable-cxx", |
| 32 | "--disable-example-progs", |
| 33 | "--without-cd-drive", |
| 34 | "--without-cd-info", |
| 35 | "--without-cd-read", |
| 36 | "--without-cdda-player", |
| 37 | "--without-iso-info", |
| 38 | "--without-iso-read" |
| 39 | ], |
| 40 | "cleanup": [ |
| 41 | "/bin/mmc-tool", |
| 42 | "/lib/libiso9660.*", |
| 43 | "/lib/libudf.*" |
| 44 | ], |
| 45 | "sources": [ |
| 46 | { |
| 47 | "type": "archive", |
| 48 | "url": "https://github.com/libcdio/libcdio/archive/refs/tags/2.3.0.tar.gz", |
| 49 | "sha256": "f5eb6fb2a9141d200b4e5a88bca16f29d1c7b0d9fe7da2d0c4135c2d95f18268", |
| 50 | "x-checker-data": { |
| 51 | "type": "anitya", |
| 52 | "project-id": 1573, |
| 53 | "url-template": "https://github.com/libcdio/libcdio/archive/refs/tags/$version.tar.gz" |
| 54 | } |
| 55 | } |
| 56 | ] |
| 57 | }, |
| 58 | { |
| 59 | "name": "libcdio-paranoia", |
| 60 | "config-opts": [ |
| 61 | "--disable-cxx", |
| 62 | "--disable-example-progs" |
| 63 | ], |
| 64 | "cleanup": [ |
| 65 | "/bin/cd-paranoia" |
| 66 | ], |
| 67 | "sources": [ |
| 68 | { |
| 69 | "type": "archive", |
| 70 | "url": "https://github.com/libcdio/libcdio-paranoia/archive/refs/tags/release-10.2+2.0.2.tar.gz", |
| 71 | "sha256": "fe35208811f3edfcb79ae7b4ad1984f3188aea42c4c8ba4d009efafb36734a8b", |
| 72 | "x-checker-data": { |
| 73 | "type": "anitya", |
| 74 | "project-id": 21751, |
| 75 | "url-template": "https://github.com/libcdio/libcdio-paranoia/archive/refs/tags/release-10.2+$version.tar.gz" |
| 76 | } |
| 77 | } |
| 78 | ] |
| 79 | }, |
| 80 | { |
| 81 | "name": "libfdk-aac", |
| 82 | "sources": [ |
| 83 | { |
| 84 | "type": "archive", |
| 85 | "url": "https://github.com/mstorsjo/fdk-aac/archive/v2.0.3.tar.gz", |
| 86 | "sha256": "e25671cd96b10bad896aa42ab91a695a9e573395262baed4e4a2ff178d6a3a78", |
| 87 | "x-checker-data": { |
| 88 | "type": "anitya", |
| 89 | "project-id": 16208, |
| 90 | "url-template": "https://github.com/mstorsjo/fdk-aac/archive/v$version.tar.gz" |
| 91 | } |
| 92 | } |
| 93 | ] |
| 94 | }, |
| 95 | { |
| 96 | "name": "libmp3lame", |
| 97 | "//": "Performance-enhancing patch, not part of runtime libmp3lame", |
| 98 | "config-opts": [ |
| 99 | "--enable-nasm", |
| 100 | "--disable-frontend" |
| 101 | ], |
| 102 | "cleanup": [ |
| 103 | "/share/doc/lame" |
| 104 | ], |
| 105 | "sources": [ |
| 106 | { |
| 107 | "type": "archive", |
| 108 | "url": "https://sourceforge.net/projects/lame/files/lame/3.100/lame-3.100.tar.gz", |
| 109 | "sha256": "ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e", |
| 110 | "x-checker-data": { |
| 111 | "type": "anitya", |
| 112 | "project-id": 12523, |
| 113 | "url-template": "https://sourceforge.net/projects/lame/files/lame/$version/lame-$version.tar.gz" |
| 114 | } |
| 115 | }, |
| 116 | { |
| 117 | "only-arches": [ "x86_64" ], |
| 118 | "type": "patch", |
| 119 | "path": "patches/lame-3.100-sse-20171014.patch", |
| 120 | "strip-components": 0 |
| 121 | } |
| 122 | ] |
| 123 | }, |
| 124 | { |
| 125 | "name": "libmp4v2", |
| 126 | "cleanup": [ |
| 127 | "/bin/mp4*" |
| 128 | ], |
| 129 | "sources": [ |
| 130 | { |
| 131 | "type": "archive", |
| 132 | "url": "https://github.com/enzo1982/mp4v2/releases/download/v2.1.3/mp4v2-2.1.3.tar.bz2", |
| 133 | "sha256": "033185c17bf3c5fdd94020c95f8325be2e5356558e3913c3d6547a85dd61f7f1", |
| 134 | "x-checker-data": { |
| 135 | "type": "anitya", |
| 136 | "project-id": 98413, |
| 137 | "url-template": "https://github.com/enzo1982/mp4v2/releases/download/v$version/mp4v2-$version.tar.bz2" |
| 138 | } |
| 139 | } |
| 140 | ] |
| 141 | }, |
| 142 | { |
| 143 | "name": "liburiparser", |
| 144 | "buildsystem": "cmake-ninja", |
| 145 | "config-opts": [ |
| 146 | "-DURIPARSER_BUILD_DOCS=OFF", |
| 147 | "-DURIPARSER_BUILD_TESTS=OFF" |
| 148 | ], |
| 149 | "cleanup": [ |
| 150 | "/bin/uriparse" |
| 151 | ], |
| 152 | "sources": [ |
| 153 | { |
| 154 | "type": "archive", |
| 155 | "url": "https://github.com/uriparser/uriparser/releases/download/uriparser-1.0.0/uriparser-1.0.0.tar.xz", |
| 156 | "sha256": "154a3f649d80a78d5095fc461ec032ffb45f5ed3619edec923ac68cff29a088d", |
| 157 | "x-checker-data": { |
| 158 | "type": "anitya", |
| 159 | "project-id": 10160, |
| 160 | "url-template": "https://github.com/uriparser/uriparser/releases/download/uriparser-$version/uriparser-$version.tar.xz" |
| 161 | } |
| 162 | } |
| 163 | ] |
| 164 | }, |
| 165 | { |
| 166 | "name": "libvorbis", |
| 167 | "//": "Performance-enhancing patches, not part of runtime libvorbis", |
| 168 | "cleanup": [ |
| 169 | "/share/doc/libvorbis*" |
| 170 | ], |
| 171 | "sources": [ |
| 172 | { |
| 173 | "type": "archive", |
| 174 | "url": "https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.xz", |
| 175 | "sha256": "b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b", |
| 176 | "x-checker-data": { |
| 177 | "type": "anitya", |
| 178 | "project-id": 1758, |
| 179 | "url-template": "https://downloads.xiph.org/releases/vorbis/libvorbis-$version.tar.xz" |
| 180 | } |
| 181 | }, |
| 182 | { |
| 183 | "type": "patch", |
| 184 | "path": "patches/libvorbis-1.3.7-aotuv-b6.03.patch" |
| 185 | }, |
| 186 | { |
| 187 | "only-arches": [ |
| 188 | "x86_64" |
| 189 | ], |
| 190 | "type": "patch", |
| 191 | "path": "patches/libvorbis-1.3.7-aotuv-b6.03-lancer.patch" |
| 192 | } |
| 193 | ] |
| 194 | }, |
| 195 | { |
| 196 | "name": "musepack", |
| 197 | "build-options": { |
| 198 | "cflags": "-Wno-incompatible-pointer-types" |
| 199 | }, |
| 200 | "config-opts": [ |
| 201 | "--disable-shared" |
| 202 | ], |
| 203 | "cleanup": [ |
| 204 | "/bin/mpc2sv8", |
| 205 | "/bin/mpccut", |
| 206 | "/bin/wavcmp" |
| 207 | ], |
| 208 | "sources": [ |
| 209 | { |
| 210 | "type": "archive", |
| 211 | "url": "https://files.musepack.net/source/musepack_src_r475.tar.gz", |
| 212 | "sha256": "a4b1742f997f83e1056142d556a8c20845ba764b70365ff9ccf2e3f81c427b2b", |
| 213 | "x-checker-data": { |
| 214 | "type": "anitya", |
| 215 | "project-id": 21865, |
| 216 | "url-template": "https://files.musepack.net/source/musepack_src_r$version.tar.gz" |
| 217 | } |
| 218 | }, |
| 219 | { |
| 220 | "type": "patch", |
| 221 | "path": "patches/musepack_src_r475-const.patch" |
| 222 | }, |
| 223 | { |
| 224 | "type": "shell", |
| 225 | "commands": [ |
| 226 | "touch include/config.h.in", |
| 227 | "head -n 34 configure.in >> configure.ac", |
| 228 | "echo \"AM_CONDITIONAL([HAVE_VISIBILITY], [false])\" >> configure.ac", |
| 229 | "echo \"AC_CHECK_LIB([m],[cos])\" >> configure.ac", |
| 230 | "tail -n 18 configure.in >> configure.ac", |
| 231 | "rm configure.in", |
| 232 | "autoreconf -i" |
| 233 | ] |
| 234 | } |
| 235 | ] |
| 236 | }, |
| 237 | { |
| 238 | "name": "rnnoise", |
| 239 | "cleanup": [ |
| 240 | "/share/doc/rnnoise" |
| 241 | ], |
| 242 | "sources": [ |
| 243 | { |
| 244 | "type": "git", |
| 245 | "url": "https://github.com/xiph/rnnoise.git", |
| 246 | "commit": "9acc1e5a633e0961a5895a73204df24744f199b6" |
| 247 | } |
| 248 | ] |
| 249 | }, |
| 250 | { |
| 251 | "name": "rubberband", |
| 252 | "buildsystem": "meson", |
| 253 | "config-opts": [ |
| 254 | "-Dfft=builtin", |
| 255 | "-Dresampler=builtin", |
| 256 | "-Djni=disabled", |
| 257 | "-Dladspa=disabled", |
| 258 | "-Dlv2=disabled", |
| 259 | "-Dvamp=disabled", |
| 260 | "-Dcmdline=disabled", |
| 261 | "-Dtests=disabled" |
| 262 | ], |
| 263 | "sources": [ |
| 264 | { |
| 265 | "type": "archive", |
| 266 | "url": "https://breakfastquay.com/files/releases/rubberband-4.0.0.tar.bz2", |
| 267 | "sha256": "af050313ee63bc18b35b2e064e5dce05b276aaf6d1aa2b8a82ced1fe2f8028e9" |
| 268 | } |
| 269 | ] |
| 270 | }, |
| 271 | { |
| 272 | "name": "smooth", |
| 273 | "no-autogen": true, |
| 274 | "make-install-args": [ |
| 275 | "prefix=/app" |
| 276 | ], |
| 277 | "sources": [ |
| 278 | { |
| 279 | "type": "git", |
| 280 | "url": "https://github.com/enzo1982/smooth.git" |
| 281 | } |
| 282 | ] |
| 283 | }, |
| 284 | { |
| 285 | "name": "BoCA", |
| 286 | "no-autogen": true, |
| 287 | "make-install-args": [ |
| 288 | "prefix=/app" |
| 289 | ], |
| 290 | "sources": [ |
| 291 | { |
| 292 | "type": "git", |
| 293 | "url": "https://github.com/enzo1982/BoCA.git" |
| 294 | } |
| 295 | ] |
| 296 | }, |
| 297 | { |
| 298 | "name": "freac", |
| 299 | "no-autogen": true, |
| 300 | "make-install-args": [ |
| 301 | "prefix=/app" |
| 302 | ], |
| 303 | "build-options": { |
| 304 | "cxxflags": "-DFREAC_DATE=\\\"$(shell date +\"%Y%m%d\")\\\"" |
| 305 | }, |
| 306 | "sources": [ |
| 307 | { |
| 308 | "type": "git", |
| 309 | "url": "https://github.com/enzo1982/freac.git" |
| 310 | }, |
| 311 | { |
| 312 | "type": "patch", |
| 313 | "path": "patches/freac-1.1-beta-noudev.patch" |
| 314 | } |
| 315 | ] |
| 316 | } |
| 317 | ] |
| 318 | } |