{
 "app_id": "ca.hamaluik.Timecop",
 "source_url": "https://raw.githubusercontent.com/flathub/ca.hamaluik.Timecop/master/ca.hamaluik.Timecop.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:06:37.755078+00:00",
 "manifest": {
  "app-id": "ca.hamaluik.Timecop",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "timecop",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "modules": [
   {
    "name": "timecop",
    "buildsystem": "simple",
    "build-commands": [
     "cp -R timecop/bin/ /app/timecop",
     "chmod +x /app/timecop/timecop",
     "mkdir /app/bin/",
     "mkdir /app/lib/",
     "ln -s /app/timecop/timecop /app/bin/timecop",
     "ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so",
     "if [ ! -e '/app/lib/libsqlite3.so' ]; then ln -s -f /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so; fi",
     "if [ $(arch)=\"aarch64\"  ]; then sed -si \"/Exec=/cExec=env LIBGL_ALWAYS_SOFTWARE=1 timecop\" timecop/ca.hamaluik.Timecop.desktop; fi",
     "install -Dm644 timecop/ca.hamaluik.Timecop.svg /app/share/icons/hicolor/scalable/apps/ca.hamaluik.Timecop.svg",
     "install -Dm644 timecop/ca.hamaluik.Timecop-symbolic.svg /app/share/icons/hicolor/symbolic/apps/ca.hamaluik.Timecop-symbolic.svg",
     "install -Dm644 timecop/ca.hamaluik.Timecop.desktop /app/share/applications/ca.hamaluik.Timecop.desktop",
     "install -Dm644 timecop/ca.hamaluik.Timecop.appdata.xml /app/share/appdata/ca.hamaluik.Timecop.appdata.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/hamaluik/timecop/releases/download/v1.8.0/timecop-linux-x86_64.tar.xz",
      "sha256": "c2a00bdcb9a32eeaa566d0f1de4d1253460761abe358767209b441748818233c",
      "dest": "timecop"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/hamaluik/timecop/releases/download/v1.8.0/timecop-linux-aarch64.tar.xz",
      "sha256": "cf376f25cde81d5299c4f543eee15380450470512630ae28697557ddea77bd47",
      "dest": "timecop"
     },
     {
      "type": "patch",
      "path": "ca.hamaluik.Timecop.appdata.patch"
     }
    ]
   }
  ]
 }
}