{
 "app_id": "io.github.mfat.tvhplayer",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.mfat.tvhplayer/master/io.github.mfat.tvhplayer.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:11:36.588895+00:00",
 "manifest": {
  "app-id": "io.github.mfat.tvhplayer",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-25.08",
  "command": "tvhplayer",
  "separate-locales": false,
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/share/doc",
   "/share/ffmpeg",
   "/share/kde4",
   "/share/man",
   "/share/vlc",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "modules": [
   "tkinter.json",
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-pic",
     "--enable-shared",
     "--disable-doc",
     "--disable-static",
     "--enable-gpl",
     "--enable-libvpx",
     "--enable-libmp3lame",
     "--enable-libvorbis",
     "--enable-libopus",
     "--enable-openssl",
     "--enable-nonfree"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-4.4.5.tar.xz",
      "sha256": "f9514e0d3515aee5a271283df71636e1d1ff7274b15853bcd84e144be416ab07"
     }
    ]
   },
   {
    "name": "libdvbpsi",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/libdvbpsi/1.3.3/libdvbpsi-1.3.3.tar.bz2",
      "sha256": "02b5998bcf289cdfbd8757bedd5987e681309b0a25b3ffe6cebae599f7a00112"
     }
    ]
   },
   {
    "name": "libmpeg2",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/contrib/libmpeg2/libmpeg2-0.5.1.tar.gz",
      "sha256": "dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 21490,
       "url-template": "https://download.videolan.org/contrib/libmpeg2/libmpeg2-$version.tar.gz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "cp /usr/share/automake-*/config.{guess,sub} .auto/"
      ]
     }
    ]
   },
   {
    "name": "libvlc",
    "config-opts": [
     "BUILDCC=gcc",
     "--disable-a52",
     "--disable-lua",
     "--disable-qt",
     "--disable-ncurses",
     "--disable-udev",
     "--enable-dvbpsi",
     "--enable-libmpeg2"
    ],
    "post-install": [
     "/app/lib/vlc/vlc-cache-gen /app/lib/vlc/plugins"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://get.videolan.org/vlc/3.0.23/vlc-3.0.23.tar.xz",
      "sha256": "e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6504,
       "stable-only": true,
       "url-template": "https://get.videolan.org/vlc/$version/vlc-$version.tar.xz"
      }
     }
    ]
   },
   "pypi-dependencies.yaml",
   {
    "name": "tvhplayer",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/tvhplayer/icons",
     "cp -r tvhplayer/* /app/share/tvhplayer/",
     "cp -r icons/* /app/share/tvhplayer/icons/",
     "install -D -m755 tvhplayer.sh /app/bin/tvhplayer",
     "install -D -m644 io.github.mfat.tvhplayer.desktop -t /app/share/applications/",
     "install -D icons/tvhplayer.svg /app/share/icons/hicolor/scalable/apps/io.github.mfat.tvhplayer.svg",
     "install -D -m644 io.github.mfat.tvhplayer.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/mfat/tvhplayer.git",
      "tag": "v3.5.5",
      "commit": "80331fbf774557c45c391741c4058f1cae93ee69"
     }
    ]
   }
  ]
 }
}