{
 "app_id": "org.videolan.VLC",
 "source_url": "https://raw.githubusercontent.com/flathub/org.videolan.VLC/master/org.videolan.VLC.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.kde.kwalletd5",
  "--talk-name=org.kde.kwalletd",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.freedesktop.PowerManagement",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.mpris.MediaPlayer2.Player",
  "--own-name=org.mpris.MediaPlayer2.vlc"
 ],
 "module_count": 44,
 "fetched_at": "2026-09-17T16:16:57.237290+00:00",
 "manifest": {
  "app-id": "org.videolan.VLC",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "vlc",
  "finish-args": [
   "--require-version=0.11.4",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=host",
   "--talk-name=org.freedesktop.PowerManagement",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.kde.kwalletd5",
   "--talk-name=org.kde.kwalletd",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.mpris.MediaPlayer2.Player",
   "--own-name=org.mpris.MediaPlayer2.vlc",
   "--device=all",
   "--filesystem=xdg-run/gvfs"
  ],
  "add-extensions": {
   "org.videolan.VLC.Plugin": {
    "versions": "3-5.15-25.08;3-25.08",
    "directory": "share/vlc/extra",
    "subdirectories": true,
    "merge-dirs": "plugins",
    "add-ld-path": "lib",
    "no-autodownload": true,
    "autodelete": true
   }
  },
  "rename-appdata-file": "org.videolan.vlc.appdata.xml",
  "rename-desktop-file": "vlc.desktop",
  "rename-icon": "vlc",
  "copy-icon": true,
  "cleanup": [
   "/share/doc",
   "/share/gtk-doc",
   "/share/info",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "mkdir -p /app/share/vlc/extra",
   "ln -s /app/share/vlc/extra/plugins /app/lib/vlc/plugins/extra",
   "rm -f /app/lib/vlc/plugins/plugins.dat",
   "/app/lib/vlc/vlc-cache-gen /app/lib/vlc/plugins"
  ],
  "build-options": {
   "env": {
    "V": "1"
   }
  },
  "modules": [
   "shared-modules/intltool/intltool-0.51.json",
   "shared-modules/SDL/SDL-1.2.15.json",
   "shared-modules/SDL/SDL_image-1.2.12.json",
   "shared-modules/lua5.3/lua-5.3.5.json",
   "shared-modules/glu/glu-9.json",
   {
    "name": "libraw1394",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-2.1.2.tar.xz",
      "sha256": "03ccc69761d22c7deb1127fc301010dd13e70e44bb7134b8ff0d07590259a55e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1710,
       "url-template": "https://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-$version.tar.xz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libavc1394",
    "rm-configure": true,
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/libavc1394/libavc1394-0.5.4.tar.gz",
      "sha256": "7cb1ff09506ae911ca9860bef4af08c2403f3e131f6c913a2cbd6ddca4215b53",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1562,
       "url-template": "https://downloads.sourceforge.net/sourceforge/libavc1394/libavc1394-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "zvbi",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/zapping/zvbi/0.2.35/zvbi-0.2.35.tar.bz2",
      "sha256": "fc883c34111a487c4a783f91b1b2bb5610d8d8e58dcba80c7ab31e67e4765318",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13803,
       "url-template": "https://downloads.sourceforge.net/sourceforge/zapping/zvbi/$version/zvbi-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libdc1394",
    "rm-configure": true,
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/libdc1394/libdc1394-2/2.2.7/libdc1394-2.2.7.tar.gz",
      "sha256": "537ceb78dd3cef271a183f4a176191d1cecf85f025520e6bd3758b0e19e6609f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1591,
       "url-template": "https://downloads.sourceforge.net/sourceforge/libdc1394/libdc1394-2/$version/libdc1394-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libshout",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/libshout/libshout-2.4.6.tar.gz",
      "sha256": "39cbd4f0efdfddc9755d88217e47f8f2d7108fa767f9d58a2ba26a16d8f7c910",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11084,
       "url-template": "https://downloads.xiph.org/releases/libshout/libshout-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libupnp",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/pupnp/libupnp-1.14.31.tar.bz2",
      "sha256": "e72c7690d5df862c07e9014f99513f5a94b55f80d916120655f73e11863edf3f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 21315,
       "versions": {
        "<": "1.18"
       },
       "url-template": "https://downloads.sourceforge.net/sourceforge/pupnp/libupnp-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "taglib",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DWITH_MP4=ON",
     "-DWITH_ASF=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://taglib.org/releases/taglib-1.13.1.tar.gz",
      "sha256": "c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1982,
       "versions": {
        ">=": "1",
        "<": "2"
       },
       "url-template": "https://taglib.org/releases/taglib-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libdvbpsi",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/libdvbpsi/1.3.3/libdvbpsi-1.3.3.tar.bz2",
      "sha256": "02b5998bcf289cdfbd8757bedd5987e681309b0a25b3ffe6cebae599f7a00112",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 21684,
       "url-template": "https://download.videolan.org/pub/libdvbpsi/$version/libdvbpsi-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libkate",
    "rm-configure": true,
    "config-opts": [
     "--disable-static",
     "--disable-doc"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libkate/libkate-0.4.1.tar.gz",
      "sha256": "c40e81d5866c3d4bf744e76ce0068d8f388f0e25f7e258ce0c8e76d7adc87b68"
     },
     {
      "type": "patch",
      "path": "libkate.patch"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libass",
    "config-opts": [
     "--enable-harfbuzz",
     "--enable-fontconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libass/libass/releases/download/0.17.5/libass-0.17.5.tar.xz",
      "sha256": "2dca25c0e0c837ddf00b52011b3f82cac1e4ddd3ad018227806b0c2288864acc",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1560,
       "url-template": "https://github.com/libass/libass/releases/download/$version/libass-$version.tar.xz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libebml",
    "builddir": true,
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.matroska.org/downloads/libebml/libebml-1.4.5.tar.xz",
      "sha256": "4971640b0592da29c2d426f303e137a9b0b3d07e1b81d069c1e56a2f49ab221b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7879,
       "url-template": "https://dl.matroska.org/downloads/libebml/libebml-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libmatroska",
    "builddir": true,
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.matroska.org/downloads/libmatroska/libmatroska-1.7.1.tar.xz",
      "sha256": "572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1657,
       "url-template": "https://dl.matroska.org/downloads/libmatroska/libmatroska-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libssh2",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libssh2.org/download/libssh2-1.11.1.tar.gz",
      "sha256": "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1730,
       "url-template": "https://www.libssh2.org/download/libssh2-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libvncserver",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DWITH_FFMPEG=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-0.9.15.tar.gz",
      "sha256": "62352c7795e231dfce044beb96156065a05a05c974e5de9e023d688d8ff675d7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1756,
       "url-template": "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libdvdread",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2",
      "sha256": "ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5614,
       "url-template": "https://download.videolan.org/videolan/libdvdread/$version/libdvdread-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libdvdnav",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2",
      "sha256": "c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5615,
       "url-template": "https://download.videolan.org/videolan/libdvdnav/$version/libdvdnav-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libdvdcss",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2",
      "sha256": "233cc92f5dc01c5d3a96f5b3582be7d5cee5a35a52d3a08158745d3d86070079",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5568,
       "url-template": "https://download.videolan.org/videolan/libdvdcss/$version/libdvdcss-$version.tar.bz2"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libmodplug",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/modplug-xmms/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz",
      "sha256": "457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5669,
       "url-template": "https://downloads.sourceforge.net/sourceforge/modplug-xmms/libmodplug/$version/libmodplug-$version.tar.gz"
      }
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "x264",
    "config-opts": [
     "--enable-pic",
     "--enable-shared"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.videolan.org/videolan/x264.git",
      "commit": "a8b68ebfaa68621b5ac8907610d3335971839d52"
     }
    ]
   },
   {
    "name": "x265",
    "builddir": true,
    "subdir": "source",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.2.tar.gz",
      "sha256": "40b1ea0453e0309f0eba934e0ddf533f8f6295966679e8894e8f1c1c8d5e1210",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7275,
       "url-template": "https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "dav1d",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/dav1d/1.5.3/dav1d-1.5.3.tar.xz",
      "sha256": "732010aa5ef461fa93355ed2c6c5fedb48ddc4b74e697eaabe8907eaeb943011",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 18920,
       "url-template": "https://download.videolan.org/videolan/dav1d/$version/dav1d-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-pic",
     "--enable-shared",
     "--disable-doc",
     "--disable-static",
     "--enable-gpl",
     "--enable-libx264",
     "--enable-libx265",
     "--enable-libvpx",
     "--enable-libmp3lame",
     "--enable-libvorbis",
     "--enable-libopus"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-4.4.8.tar.xz",
      "sha256": "c73848c4ae283d9eaee7be3b276affbc3543380483555500d0dd2c9b7e1c39c3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5405,
       "versions": {
        ">=": "4",
        "<": "5"
       },
       "url-template": "https://ffmpeg.org/releases/ffmpeg-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libaacs",
    "config-opts": [
     "--with-pic",
     "--enable-shared",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libaacs/0.11.1/libaacs-0.11.1.tar.bz2",
      "sha256": "a88aa0ebe4c98a77f7aeffd92ab3ef64ac548c6b822e8248a8b926725bea0a39",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5562,
       "url-template": "https://download.videolan.org/videolan/libaacs/$version/libaacs-$version.tar.bz2"
      }
     },
     {
      "type": "shell",
      "commands": [
       "rm --force --verbose m4/libgcrypt.m4",
       "autoreconf --force --install --verbose",
       "libtoolize"
      ]
     }
    ]
   },
   {
    "name": "libbdplus",
    "rm-configure": true,
    "config-opts": [
     "--with-pic",
     "--enable-shared",
     "--disable-static"
    ],
    "build-options": {
     "append-path": "/app/share/vlc/extra/bluray/ant/bin"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libbdplus/0.2.0/libbdplus-0.2.0.tar.bz2",
      "sha256": "b93eea3eaef33d6e9155d2c34b068c505493aa5a4936e63274f4342ab0f40a58",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5563,
       "url-template": "https://download.videolan.org/videolan/libbdplus/$version/libbdplus-$version.tar.bz2"
      }
     },
     {
      "type": "patch",
      "path": "libbdplus-gpg-error.patch"
     },
     {
      "type": "patch",
      "path": "gcrypt.diff"
     }
    ]
   },
   {
    "name": "libbluray",
    "buildsystem": "meson",
    "config-opts": [
     "-Dfontconfig=enabled",
     "-Dfreetype=enabled",
     "-Dlibxml2=enabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/libbluray/1.4.1/libbluray-1.4.1.tar.xz",
      "sha256": "76b5dc40097f28dca4ebb009c98ed51321b2927453f75cc72cf74acd09b9f449",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1565,
       "url-template": "https://download.videolan.org/videolan/libbluray/$version/libbluray-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "libmtp",
    "config-opts": [
     "--disable-static",
     "--with-udev=/app/lib/udev"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libmtp/libmtp/releases/download/v1.1.23/libmtp-1.1.23.tar.gz",
      "sha256": "74a2b6e8cb4a0304e95b995496ea3ac644c29371649b892b856e22f12a0bdeed",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10017,
       "url-template": "https://github.com/libmtp/libmtp/releases/download/v$version/libmtp-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "chromaprint",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DFFT_LIB=kissfft",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz",
      "sha256": "a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 286,
       "url-template": "https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz",
       "versions": {
        "<": "1.6"
       }
      }
     }
    ]
   },
   {
    "name": "fluidlite",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DENABLE_SF3=YES",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/divideconcept/FluidLite.git",
      "commit": "d59d2328818f913b7d1a6a59aed695c47a8ce388"
     }
    ]
   },
   {
    "name": "libcaca",
    "config-opts": [
     "--disable-static",
     "--disable-python",
     "--disable-ruby"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://deb.debian.org/debian/pool/main/libc/libcaca/libcaca_0.99.beta19.orig.tar.gz",
      "sha256": "128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4"
     }
    ]
   },
   {
    "name": "libplacebo",
    "buildsystem": "meson",
    "config-opts": [
     "-Dvulkan=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/haasn/libplacebo/archive/refs/tags/v0.2.1.tar.gz",
      "sha256": "d5d920a1745e4209287d32e8b96a85127b61b843304813980e11104cd9f15e82",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 20101,
       "versions": {
        ">=": "0.2",
        "<": "0.3"
       },
       "url-template": "https://github.com/haasn/libplacebo/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "lmdb",
    "sources": [
     {
      "sha256": "dd70a8c67807b3b8532b3e987b0a4e998962ecc28643e1af5ec77696b081c9b0",
      "type": "archive",
      "url": "https://github.com/LMDB/lmdb/archive/LMDB_0.9.31.tar.gz"
     }
    ],
    "make-install-args": [
     "prefix=/app"
    ],
    "no-autogen": true,
    "subdir": "libraries/liblmdb"
   },
   {
    "name": "parse-yapp",
    "buildsystem": "simple",
    "build-commands": [
     "perl Makefile.PL INSTALL_BASE=/app",
     "make",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz",
      "sha256": "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5"
     }
    ]
   },
   {
    "name": "smbclient",
    "config-opts": [
     "--without-json",
     "--without-ad-dc",
     "--without-ldap",
     "--without-ads",
     "--without-pam",
     "--disable-python",
     "--disable-cups",
     "--disable-iprint",
     "--without-systemd",
     "--bindir=.",
     "--sbindir=.",
     "--sysconfdir=."
    ],
    "cleanup": [
     "/lib/perl5"
    ],
    "build-options": {
     "env": {
      "PERL5LIB": "/app/lib/perl5"
     }
    },
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://download.samba.org/pub/samba/stable/samba-4.24.4.tar.gz",
      "sha256": "df2c51ab4361ec626ab9988e5946efcca8465bc7afae834291d5558468265ff8",
      "x-checker-data": {
       "type": "html",
       "url": "https://download.samba.org/pub/samba/stable/?C=M;O=D",
       "version-pattern": "samba-(\\d+\\.\\d+\\.\\d+).tar.gz",
       "url-template": "https://download.samba.org/pub/samba/stable/samba-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "microdns",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/videolabs/libmicrodns/releases/download/0.2.0/microdns-0.2.0.tar.xz",
      "sha256": "2da28e7dda4861d76f797f92ac3e6c3e048333b95f9e4fc3a6548ad8afd8c446",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 275561,
       "url-template": "https://github.com/videolabs/libmicrodns/releases/download/$version/microdns-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "spatialaudio",
    "builddir": true,
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/videolabs/libspatialaudio/releases/download/0.3.0/spatialaudio-0.3.0.tar.bz2",
      "sha256": "284c1dbd8efd46c03be84ac7070bc87cae81b7125352b143a70be3e2b96988e3"
     }
    ]
   },
   {
    "name": "srt",
    "builddir": true,
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Haivision/srt/archive/v1.5.5.tar.gz",
      "sha256": "c3518bc43a71b5289032395b2db4c3e09e73d78b54247d56c14553a503b491cf",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 236296,
       "url-template": "https://github.com/Haivision/srt/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "live555",
    "buildsystem": "simple",
    "build-commands": [
     "CXXFLAGS=`sed \"s/'/\\\"/g\" /etc/flatpak-builder/defaults.json | jq -r .cxxflags` ; sed -i -e \"s|-O2|$CXXFLAGS|\" config.linux-with-shared-libraries",
     "./genMakefiles linux-with-shared-libraries",
     "LDFLAGS=`sed \"s/'/\\\"/g\" /etc/flatpak-builder/defaults.json | jq -r .ldflags` ; make -j4 PREFIX=/app LIBDIR=/app/lib install",
     "chmod +x /app/lib/libliveMedia.so* /app/lib/libUsageEnvironment.so* /app/lib/libBasicUsageEnvironment.so* /app/lib/libgroupsock.so*"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/contrib/live555/live.2020.11.05.tar.gz",
      "sha256": "89bdfba7fd215e16be2c9d46a797bf85c5f7f7c46b53dc8af2d1171a658da5b7"
     },
     {
      "type": "patch",
      "path": "live555-add-pkgconfig-file.patch"
     },
     {
      "type": "patch",
      "path": "live555-nosignal.patch"
     }
    ]
   },
   {
    "name": "protobuf",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protobuf-cpp-3.21.12.tar.gz",
      "sha256": "4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3715,
       "versions": {
        ">=": "21",
        "<": "22"
       },
       "url-template": "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-cpp-3.$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "vlc",
    "rm-configure": true,
    "config-opts": [
     "BUILDCC=/usr/bin/gcc -std=gnu99",
     "--disable-a52"
    ],
    "cleanup": [
     "/share/macosx"
    ],
    "post-install": [
     "mv /app/bin/vlc /app/bin/vlc.bin",
     "mv vlc.sh /app/bin/vlc",
     "chmod +x /app/bin/vlc",
     "echo \"StartupWMClass=VLC\" >> /app/share/applications/vlc.desktop",
     "sed -i -e 's/Icon=vlc/Icon=org.videolan.VLC/g' /app/share/applications/vlc-*.desktop",
     "for s in openbd opendvd opencda openvcd; do mv /app/share/applications/vlc-$s.desktop /app/share/applications/org.videolan.VLC-$s.desktop; done",
     "rm /app/share/icons/hicolor/16x16/apps/vlc.xpm /app/share/icons/hicolor/32x32/apps/vlc.xpm",
     "tar xf chrpath-0.16.tar.gz && cd chrpath-0.16 && ./configure && make",
     "./chrpath-0.16/chrpath -d /app/lib/vlc/plugins/access/liblibbluray_plugin.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/videolan/vlc/3.0.23/vlc-3.0.23.tar.xz",
      "sha256": "e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6504,
       "versions": {
        ">=": "3",
        "<": "4"
       },
       "url-template": "https://download.videolan.org/videolan/vlc/$version/vlc-$version.tar.xz"
      }
     },
     {
      "type": "patch",
      "path": "vlc-fix-appdata.patch"
     },
     {
      "type": "patch",
      "path": "vlc-disc-shortcuts.patch"
     },
     {
      "type": "patch",
      "path": "vlc-ignore-time-for-cache.patch"
     },
     {
      "type": "file",
      "path": "vlc.sh"
     },
     {
      "type": "file",
      "url": "https://src.fedoraproject.org/lookaside/extras/chrpath/chrpath-0.16.tar.gz/2bf8d1d1ee345fc8a7915576f5649982/chrpath-0.16.tar.gz",
      "sha256": "bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b"
     }
    ]
   }
  ]
 }
}