{
 "app_id": "io.github.spacefreak18.simd",
 "source_url": "https://raw.githubusercontent.com/Spacefreak18/simapi/master/tools/distro/flatpak/io.github.spacefreak18.simd.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--talk-name=org.freedesktop.Flatpak",
  "--device=shm",
  "--filesystem=xdg-config/simd:create",
  "--filesystem=home",
  "--share=network"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-20T12:57:30.709921+00:00",
 "manifest": {
  "app-id": "io.github.spacefreak18.simd",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "simd",
  "finish-args": [
   "--talk-name=org.freedesktop.Flatpak",
   "--device=shm",
   "--filesystem=xdg-config/simd:create",
   "--filesystem=home",
   "--share=network"
  ],
  "modules": [
   {
    "name": "libconfig",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DBUILD_TESTS=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "post-install": [
     {
      "sh -c 'f=$(ls -1 COPYING COPYING.txt COPYING.LIB LICENSE LICENSE.txt LICENSE.md LICENCE licence.txt 2>/dev/null | head -1); if [ -n \"$f\" ]; then install -Dm644 \"$f\" /app/share/licenses/libconfig/$(basename \"$f\"); else echo \"WARNING": "no licence file found for libconfig\"; fi'"
     }
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/hyperrealm/libconfig/archive/refs/tags/v1.7.3.tar.gz",
      "sha256": "68757e37c567fd026330c8a8449aa5f9cac08a642f213f2687186b903bd7e94e"
     }
    ]
   },
   {
    "name": "argtable2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "build-commands": [
     "ninja",
     "install -Dm644 src/argtable2.h /app/include/argtable2.h",
     "for f in src/libargtable2.so* src/libargtable2.a; do\n  if [ -e \"$f\" ]; then cp -P \"$f\" /app/lib/; fi\ndone\ntrue\n"
    ],
    "post-install": [
     {
      "sh -c 'f=$(ls -1 COPYING COPYING.txt COPYING.LIB LICENSE LICENSE.txt LICENSE.md LICENCE licence.txt 2>/dev/null | head -1); if [ -n \"$f\" ]; then install -Dm644 \"$f\" /app/share/licenses/argtable2/$(basename \"$f\"); else echo \"WARNING": "no licence file found for argtable2\"; fi'"
     }
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/argtable/files/argtable/argtable-2.13/argtable2-13.tar.gz/download",
      "sha256": "8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf",
      "dest-filename": "argtable2-13.tar.gz"
     }
    ]
   },
   {
    "name": "libuv",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DBUILD_TESTING=OFF"
    ],
    "post-install": [
     {
      "sh -c 'f=$(ls -1 COPYING COPYING.txt COPYING.LIB LICENSE LICENSE.txt LICENSE.md LICENCE licence.txt 2>/dev/null | head -1); if [ -n \"$f\" ]; then install -Dm644 \"$f\" /app/share/licenses/libuv/$(basename \"$f\"); else echo \"WARNING": "no licence file found for libuv\"; fi'"
     }
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libuv/libuv/archive/refs/tags/v1.49.2.tar.gz",
      "sha256": "388ffcf3370d4cf7c4b3a3205504eea06c4be5f9e80d2ab32d19f8235accc1cf"
     }
    ]
   },
   {
    "name": "orcania",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_C_FLAGS_RELEASE=-O2 -DNDEBUG -Wno-error",
     "-DBUILD_ORCANIA_TESTING=OFF"
    ],
    "post-install": [
     {
      "sh -c 'f=$(ls -1 COPYING COPYING.txt COPYING.LIB LICENSE LICENSE.txt LICENSE.md LICENCE licence.txt 2>/dev/null | head -1); if [ -n \"$f\" ]; then install -Dm644 \"$f\" /app/share/licenses/orcania/$(basename \"$f\"); else echo \"WARNING": "no licence file found for orcania\"; fi'"
     }
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/babelouest/orcania",
      "commit": "ffc8b55d09a3488f4f6be38034b33bc64bf8b0ce"
     }
    ]
   },
   {
    "name": "yder",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_INSTALL_LIBDIR=lib",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_C_FLAGS_RELEASE=-O2 -DNDEBUG -Wno-error",
     "-DWITH_JOURNALD=OFF",
     "-DBUILD_YDER_TESTING=OFF"
    ],
    "post-install": [
     {
      "sh -c 'f=$(ls -1 COPYING COPYING.txt COPYING.LIB LICENSE LICENSE.txt LICENSE.md LICENCE licence.txt 2>/dev/null | head -1); if [ -n \"$f\" ]; then install -Dm644 \"$f\" /app/share/licenses/yder/$(basename \"$f\"); else echo \"WARNING": "no licence file found for yder\"; fi'"
     }
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/babelouest/yder",
      "commit": "dffe82c0483bb95d0d518ba1e36c568e63a24628"
     }
    ]
   },
   {
    "name": "simd",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_SIMD=ON",
     "-DINSTALL_SYSTEMD_SERVICE=off",
     "-DSIMD_CONFIG_DIR=/app/share/simd",
     "-DCMAKE_INSTALL_LIBDIR=lib"
    ],
    "build-options": {
     "env": {
      "LIBRARY_PATH": "/app/lib"
     }
    },
    "post-install": [
     "install -Dm644 LICENSE.rst /app/share/licenses/simd/LICENSE.rst",
     "install -Dm644 tools/distro/flatpak/io.github.spacefreak18.simd.desktop /app/share/applications/io.github.spacefreak18.simd.desktop",
     "install -Dm644 tools/distro/flatpak/io.github.spacefreak18.simd.metainfo.xml /app/share/metainfo/io.github.spacefreak18.simd.metainfo.xml",
     "install -Dm644 tools/distro/simd-128.png /app/share/icons/hicolor/128x128/apps/io.github.spacefreak18.simd.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../..",
      "skip": [
       "build",
       "stage"
      ]
     }
    ]
   }
  ]
 }
}