{
 "app_id": "com.nsrosenqvist.Riplika",
 "source_url": "https://raw.githubusercontent.com/nsrosenqvist/riplika/main/packaging/com.nsrosenqvist.Riplika.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--device=all",
  "--share=network",
  "--system-talk-name=org.freedesktop.UDisks2",
  "--env=TESSDATA_PREFIX=/app/share/tessdata",
  "--talk-name=org.gtk.vfs.*",
  "--filesystem=xdg-videos",
  "--filesystem=xdg-music",
  "--filesystem=~/Games",
  "--filesystem=xdg-download"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T17:40:27.245905+00:00",
 "manifest": {
  "app-id": "com.nsrosenqvist.Riplika",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "riplika-gui",
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/riplika/cargo"
   }
  },
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--device=all",
   "--share=network",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--env=TESSDATA_PREFIX=/app/share/tessdata",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-videos",
   "--filesystem=xdg-music",
   "--filesystem=~/Games",
   "--filesystem=xdg-download"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/aclocal",
   "/share/man",
   "/share/doc",
   "/share/gtk-doc",
   "/bin/*-config",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "libdvdcss",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/libdvdcss/1.6.0/libdvdcss-1.6.0.tar.xz",
      "sha256": "7ea556c846b7bfc32d47b41cae56d1863a6b6d5f706bb162778d6f298490977c"
     }
    ]
   },
   {
    "name": "libdvdread",
    "buildsystem": "meson",
    "config-opts": [
     "-Dlibdvdcss=enabled",
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/libdvdread/7.1.1/libdvdread-7.1.1.tar.xz",
      "sha256": "a0d47876548bec806774bbf8dbf20bb19ba139464383156b32eb8e59915b90a9"
     }
    ]
   },
   {
    "name": "libdvdnav",
    "buildsystem": "meson",
    "config-opts": [
     "--libdir=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/libdvdnav/7.0.0/libdvdnav-7.0.0.tar.xz",
      "sha256": "a2a18f5ad36d133c74bf9106b6445806fa253b09141a46392550394b647b221e"
     }
    ]
   },
   {
    "name": "x264",
    "config-opts": [
     "--enable-shared",
     "--disable-cli"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "b35605ace3ddf7c1a5d67a2eb553f034aef41d55"
     }
    ]
   },
   {
    "name": "lame",
    "config-opts": [
     "--enable-shared",
     "--disable-static",
     "--disable-frontend"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz",
      "sha256": "ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i '/lame_init_old/d' include/libmp3lame.sym"
      ]
     }
    ]
   },
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-gpl",
     "--enable-version3",
     "--enable-shared",
     "--disable-static",
     "--disable-doc",
     "--disable-programs",
     "--enable-ffmpeg",
     "--enable-ffprobe",
     "--enable-libdvdnav",
     "--enable-libdvdread",
     "--enable-libx264",
     "--enable-libmp3lame"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-7.1.5.tar.xz",
      "sha256": "de668509caf9e35e3cd162473441fdb29538c6d96ed080292b3cf9e6fc5d558f"
     }
    ]
   },
   {
    "name": "cdparanoia",
    "buildsystem": "simple",
    "build-commands": [
     "cp /usr/share/automake-*/config.sub /usr/share/automake-*/config.guess .",
     "./configure --prefix=/app",
     "make -j1 OPT=\"$CFLAGS -fPIC\"",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz",
      "sha256": "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
     }
    ]
   },
   {
    "name": "leptonica",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static",
     "--without-jpeg",
     "--without-giflib",
     "--without-libwebp",
     "--without-libopenjpeg"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/DanBloomberg/leptonica/releases/download/1.85.0/leptonica-1.85.0.tar.gz",
      "sha256": "3745ae3bf271a6801a2292eead83ac926e3a9bc1bf622e9cd4dd0f3786e17205"
     }
    ]
   },
   {
    "name": "tesseract",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_TRAINING_TOOLS=OFF",
     "-DDISABLE_ARCHIVE=ON",
     "-DDISABLE_CURL=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.0.tar.gz",
      "sha256": "f2fb34ca035b6d087a42875a35a7a5c4155fa9979c6132365b1e5a28ebc3fc11"
     }
    ]
   },
   {
    "name": "tessdata",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 eng.traineddata /app/share/tessdata/eng.traineddata",
     "install -Dm644 swe.traineddata /app/share/tessdata/swe.traineddata",
     "install -Dm644 deu.traineddata /app/share/tessdata/deu.traineddata",
     "install -Dm644 fra.traineddata /app/share/tessdata/fra.traineddata",
     "install -Dm644 spa.traineddata /app/share/tessdata/spa.traineddata",
     "install -Dm644 ita.traineddata /app/share/tessdata/ita.traineddata",
     "install -Dm644 nld.traineddata /app/share/tessdata/nld.traineddata",
     "install -Dm644 dan.traineddata /app/share/tessdata/dan.traineddata",
     "install -Dm644 nor.traineddata /app/share/tessdata/nor.traineddata",
     "install -Dm644 fin.traineddata /app/share/tessdata/fin.traineddata",
     "install -Dm644 isl.traineddata /app/share/tessdata/isl.traineddata",
     "install -Dm644 por.traineddata /app/share/tessdata/por.traineddata",
     "install -Dm644 pol.traineddata /app/share/tessdata/pol.traineddata",
     "install -Dm644 ces.traineddata /app/share/tessdata/ces.traineddata",
     "install -Dm644 hun.traineddata /app/share/tessdata/hun.traineddata",
     "install -Dm644 ell.traineddata /app/share/tessdata/ell.traineddata",
     "install -Dm644 rus.traineddata /app/share/tessdata/rus.traineddata",
     "install -Dm644 tur.traineddata /app/share/tessdata/tur.traineddata"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/eng.traineddata",
      "sha256": "7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/swe.traineddata",
      "sha256": "f7304988d41f833efebcc2d529df54b1903ecebbc3da1faabd19a0fddd4fe586"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/deu.traineddata",
      "sha256": "19d219bbb6672c869d20a9636c6816a81eb9a71796cb93ebe0cb1530e2cdb22d"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/fra.traineddata",
      "sha256": "ced037562e8c80c13122dece28dd477d399af80911a28791a66a63ac1e3445ca"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/spa.traineddata",
      "sha256": "6f2e04d02774a18f01bed44b1111f2cd7f3ba7ac9dc4373cd3f898a40ea6b464"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/ita.traineddata",
      "sha256": "b8f89e1e785118dac4d51ae042c029a64edb5c3ee42ef73027a6d412748d8827"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/nld.traineddata",
      "sha256": "ced0e5e046a84c908a6aa7accbef9a232c4a5d9a8276691b81c6ee64d02963f6"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/dan.traineddata",
      "sha256": "acb1fd074487a31d1294fcdfd7d7c673467ffd8aeacb2ccd61ebcbf04eb4e2fa"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/nor.traineddata",
      "sha256": "0451eb4f8049ae78196806bf878a389a2f40f1386fe038568cf4441226ba6ef2"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/fin.traineddata",
      "sha256": "61a04cd62b507c3d9ae0e1cda399e6715ebf49dea9df47897c8acdcd3bd3e13c"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/isl.traineddata",
      "sha256": "5ec828c363f3f0062c3caf08216677cf5f3c0c981b05fab445123a16b98f10a9"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/por.traineddata",
      "sha256": "c4932b937207a9514b7514d518b931a99938c02a28a5a5a553f8599ed58b7deb"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/pol.traineddata",
      "sha256": "c4476cdbc0e33d898d32345122b7be1cbf85ace15f920f06c7714756e1ef79b2"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/ces.traineddata",
      "sha256": "934bcaf97ef3348413263331131c9fa7f55f30db333c711929c124fb635f7e1b"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/hun.traineddata",
      "sha256": "35067e7cfe102dcdc953f9a758fdfaa6296b17a1ee6d874ee780fa306430b9fb"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/ell.traineddata",
      "sha256": "4fba8a0b461038d51f1c20d043d4f2ac38c4e778f1b90830847f7bd8fa3ba726"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/rus.traineddata",
      "sha256": "e16e5e036cce1d9ec2b00063cf8b54472625b9e14d893a169e2b0dedeb4df225"
     },
     {
      "type": "file",
      "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/tur.traineddata",
      "sha256": "7393381111e1152420fc4092cb44eef4237580d21b92bf30d7d221aad192c6b7"
     }
    ]
   },
   {
    "name": "riplika",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "cargo --offline build --release",
     "install -Dm755 target/release/riplika-gui /app/bin/riplika-gui",
     "install -Dm755 target/release/riplika /app/bin/riplika",
     "install -Dm644 data/com.nsrosenqvist.Riplika.desktop /app/share/applications/com.nsrosenqvist.Riplika.desktop",
     "install -Dm644 data/icons/hicolor/scalable/apps/com.nsrosenqvist.Riplika.svg /app/share/icons/hicolor/scalable/apps/com.nsrosenqvist.Riplika.svg",
     "install -Dm644 data/com.nsrosenqvist.Riplika.metainfo.xml /app/share/metainfo/com.nsrosenqvist.Riplika.metainfo.xml",
     "./po/install.sh /app/share"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}