{
 "app_id": "io.github.bkbilly.lnxlink",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.bkbilly.lnxlink/master/io.github.bkbilly.lnxlink.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=/tmp/lnxlink:create",
  "--filesystem=/run/reboot-required",
  "--filesystem=/run/docker.sock",
  "--filesystem=~/Documents/LNXlink:create",
  "--allow=bluetooth",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.gnome.Mutter.IdleMonitor",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--system-talk-name=org.freedesktop.login1",
  "--system-talk-name=org.freedesktop.UPower",
  "--system-talk-name=org.freedesktop.systemd1"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T11:49:47.161732+00:00",
 "manifest": {
  "id": "io.github.bkbilly.lnxlink",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "runlnxlink",
  "build-options": {
   "env": {
    "CPATH": "/app/include:/app/include/libdrm"
   }
  },
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--system-talk-name=org.freedesktop.login1",
   "--system-talk-name=org.freedesktop.UPower",
   "--system-talk-name=org.freedesktop.systemd1",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.gnome.Mutter.IdleMonitor",
   "--talk-name=org.mpris.MediaPlayer2.*",
   "--share=network",
   "--socket=pulseaudio",
   "--allow=bluetooth",
   "--filesystem=~/Documents/LNXlink:create",
   "--filesystem=/tmp/lnxlink:create",
   "--filesystem=/run/reboot-required",
   "--filesystem=/run/docker.sock",
   "--device=all"
  ],
  "modules": [
   {
    "name": "libdrm",
    "buildsystem": "meson",
    "config-opts": [
     "-Dintel=disabled",
     "-Dradeon=disabled",
     "-Damdgpu=enabled",
     "-Dnouveau=disabled",
     "-Dvmwgfx=disabled",
     "-Dfreedreno=disabled",
     "-Detnaviv=disabled",
     "-Dcairo-tests=disabled",
     "-Dman-pages=disabled",
     "-Dtests=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/mesa/drm.git",
      "tag": "libdrm-2.4.134"
     }
    ]
   },
   "flatpak-modules-lnxlink.yaml",
   {
    "name": "xdotool",
    "buildsystem": "simple",
    "build-commands": [
     "make -j4 && PREFIX=./build make install",
     "cp -r ./build/*  /app/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jordansissel/xdotool/releases/download/v3.20211022.1/xdotool-3.20211022.1.tar.gz",
      "sha256": "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada"
     }
    ]
   },
   {
    "name": "xrandr",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.x.org/archive/individual/app/xrandr-1.5.0.tar.gz",
      "sha256": "ddfe8e7866149c24ccce8e6aaa0623218ae19130c2859cadcaa4228d8bb4a46d"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .;",
       "autoreconf -vfi;"
      ]
     }
    ]
   },
   {
    "name": "libXmu",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.x.org/archive/individual/lib/libXmu-1.2.1.tar.gz",
      "sha256": "bf0902583dd1123856c11e0a5085bd3c6e9886fbbd44954464975fd7d52eb599"
     }
    ],
    "cleanup": [
     "/include",
     "/share"
    ]
   },
   {
    "name": "xset",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.x.org/archive/individual/app/xset-1.2.5.tar.gz",
      "sha256": "2068d1356d80c29ce283f0fff5895667b38f24ea95df363d3dde7b8c8a92fffe"
     }
    ]
   },
   {
    "name": "metadata",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 io.github.bkbilly.lnxlink.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo",
     "install -Dm644 io.github.bkbilly.lnxlink.png -t $FLATPAK_DEST/share/icons/hicolor/512x512/apps",
     "install -Dm755 runlnxlink.sh /app/bin/runlnxlink"
    ],
    "sources": [
     {
      "type": "file",
      "path": "io.github.bkbilly.lnxlink.metainfo.xml"
     },
     {
      "type": "file",
      "path": "io.github.bkbilly.lnxlink.png"
     },
     {
      "type": "file",
      "path": "runlnxlink.sh"
     }
    ]
   }
  ]
 }
}