{
 "app_id": "org.viking.Viking",
 "source_url": "https://raw.githubusercontent.com/flathub/org.viking.Viking/master/org.viking.Viking.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--filesystem=host"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-21T13:34:51.835713+00:00",
 "manifest": {
  "app-id": "org.viking.Viking",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "viking",
  "rename-icon": "viking",
  "copy-icon": true,
  "rename-desktop-file": "viking.desktop",
  "finish-args": [
   "--share=network",
   "--system-talk-name=org.freedesktop.GeoClue2",
   "--share=ipc",
   "--socket=x11",
   "--filesystem=host"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/man",
   "/share/help",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "libzip",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://libzip.org/download/libzip-1.11.4.tar.xz",
      "sha256": "8a247f57d1e3e6f6d11413b12a6f28a9d388de110adc0ec608d893180ed7097b"
     }
    ]
   },
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DEXIV2_ENABLE_BMFF=ON",
     "-DEXIV2_ENABLE_INIH=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.7.tar.gz",
      "sha256": "5e292b02614dbc0cee40fe1116db2f42f63ef6b2ba430c77b614e17b8d61a638"
     }
    ]
   },
   {
    "name": "gexiv2",
    "buildsystem": "meson",
    "config-opts": [
     "-Dintrospection=false",
     "-Dpython3=false",
     "-Dvapi=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gexiv2/0.14/gexiv2-0.14.6.tar.xz",
      "sha256": "606c28aaae7b1f3ef5c8eabe5e7dffd7c5a1c866d25b7671fb847fe287a72b8b"
     }
    ]
   },
   {
    "name": "scons",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST};"
    ],
    "cleanup": [
     "/lib",
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://download.sourceforge.net/scons/scons-3.1.2.tar.gz",
      "sha256": "7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb"
     }
    ]
   },
   {
    "name": "gpsd",
    "buildsystem": "simple",
    "build-commands": [
     "scons gpsd{,clients}=no python=no shared=yes prefix=${FLATPAK_DEST}",
     "scons install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-3.27.tar.xz",
      "sha256": "aaddd19f7b67fb410178f3f8e27a8b40d434d5921d1c50272ddb3d6b9ca65ea9"
     }
    ]
   },
   {
    "name": "liboauth",
    "buildsystem": "simple",
    "build-commands": [
     "aclocal",
     "autoheader",
     "libtoolize --copy",
     "autoconf",
     "automake --gnu --add-missing --copy",
     "./configure --enable-nss --prefix=${FLATPAK_DEST}",
     "make && make install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/x42/liboauth.git",
      "tag": "v1.0.3",
      "commit": "07fc30bf6d44f5b431a943452f6083fbaf22bc8f"
     }
    ]
   },
   {
    "name": "libnova",
    "buildsystem": "simple",
    "build-commands": [
     "./autogen.sh",
     "./configure --prefix=${FLATPAK_DEST}",
     "make && make install"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.code.sf.net/p/libnova/libnova",
      "tag": "v0.16",
      "commit": "edbf65abe27ef1a2520eb9e839daaf58f15a6941"
     }
    ]
   },
   {
    "name": "vim",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=${FLATPAK_DEST} --disable-gui",
     "make && make install"
    ],
    "cleanup": [
     "/share",
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/vim/vim",
      "tag": "v9.1.2050",
      "commit": "6625ba359e33f8223d146f3ae87a880c446b5470"
     }
    ]
   },
   {
    "name": "viking",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-mapnik"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/viking-gps/viking",
      "tag": "viking-1.11",
      "commit": "6447dc4dbe685308ee8276e8ebdbc1ec1e88291f"
     }
    ]
   },
   {
    "name": "metainfo",
    "buildsystem": "simple",
    "build-commands": [
     "install -D org.viking.Viking.appdata.xml /app/share/metainfo/org.viking.Viking.metainfo.xml",
     "install -Dm644 viking-128.png /app/share/icons/hicolor/128x128/apps/viking.png"
    ],
    "sources": [
     {
      "type": "file",
      "path": "org.viking.Viking.appdata.xml"
     },
     {
      "type": "file",
      "path": "viking-128.png"
     }
    ]
   }
  ]
 }
}