{
 "app_id": "org.kde.krename",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.krename/master/org.kde.krename.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:15:44.708793+00:00",
 "manifest": {
  "id": "org.kde.krename",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "krename",
  "rename-icon": "krename",
  "rename-appdata-file": "org.kde.krename.appdata.xml",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=host",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/mkspecs",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/releases/download/v0.27.6/exiv2-0.27.6-Source.tar.gz",
      "sha256": "4c192483a1125dc59a3d70b30d30d32edace9e14adf52802d2f853abf72db8a6"
     }
    ]
   },
   {
    "name": "utfcpp",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/share/utf8cpp"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.1.1.tar.gz",
      "sha256": "1ca68016f0abc24172998e39ce0d8f8e2b7a26f7579a0ff85d4e1b9a7aea56f8",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 20545,
       "url-template": "https://github.com/nemtrif/utfcpp/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "pcre",
    "config-opts": [
     "--enable-unicode-properties"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://prdownloads.sourceforge.net/pcre/pcre-8.45.tar.bz2",
      "sha256": "4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8"
     }
    ]
   },
   {
    "name": "kjs",
    "config-opts": [
     "-DENABLE_TESTING=OFF"
    ],
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.111/portingAids/kjs-5.111.0.tar.xz",
      "sha256": "0f947fb59a418362ac7bde8c4183775353c31544213c4ee45c0e3d779831cf23",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8762,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/frameworks/$major.$minor/portingAids/kjs-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "podofo",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DPODOFO_BUILD_LIB_ONLY=1",
     "-DPODOFO_BUILD_SHARED=1",
     "-DPODOFO_BUILD_STATIC=0"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/podofo/podofo/0.9.8/podofo-0.9.8.tar.gz",
      "sha256": "5de607e15f192b8ad90738300759d88dea0f5ccdce3bf00048a0c932bc645154",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10527,
       "url-template": "https://downloads.sourceforge.net/project/podofo/podofo/$version/podofo-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "krename",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "post-install": [
     "install -Dm644 krename.png -t ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/krename/5.0.2/src/krename-5.0.2.tar.xz",
      "sha256": "b23c60a7ddd9f6db4dd7f55ac55fcca8a558fa68aaf8fa5cb89e1eaf692f23ed",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1521,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/krename/$version/src/krename-$version.tar.xz"
      }
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     },
     {
      "type": "file",
      "path": "krename.png"
     }
    ]
   }
  ]
 }
}