Flatpak packaging for WinBox, MikroTik's RouterOS administration tool.
Install Flatpak Builder if needed:
flatpak install -y flathub org.flatpak.BuilderBuild with AppStream screenshot mirroring enabled. This rewrites the compiled
AppStream catalogue's screenshot URLs to https://dl.flathub.org/media; without
these flags, flatpak-builder-lint reports appstream-external-screenshot-url.
flatpak run --command=flatpak-builder org.flatpak.Builder \
--force-clean --repo=repo \
--compose-url-policy=full \
--mirror-screenshots-url=https://dl.flathub.org/media \
build-dir com.mikrotik.WinBox.ymlThen run the linter against the manifest, metainfo, build directory, and exported repository:
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest com.mikrotik.WinBox.yml
flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream com.mikrotik.WinBox.metainfo.xml
flatpak run --command=flatpak-builder-lint org.flatpak.Builder builddir build-dir
flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo