{ "app-id": "com.github.loteran.DS5DongleConfig", "runtime": "org.kde.Platform", "runtime-version": "6.8", "sdk": "org.kde.Sdk", "command": "ds5dongle-config", "finish-args": [ "--device=all", "--socket=wayland", "--socket=fallback-x11", "--share=ipc" ], "cleanup": [ "/include", "/lib/pkgconfig", "/lib/cmake", "/share/man", "*.a", "*.la" ], "modules": [ { "name": "libhidapi", "buildsystem": "cmake-ninja", "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DHIDAPI_WITH_HIDRAW=ON", "-DHIDAPI_WITH_LIBUSB=OFF", "-DHIDAPI_BUILD_HIDTEST=OFF" ], "sources": [ { "type": "git", "url": "https://github.com/libusb/hidapi.git", "tag": "hidapi-0.15.0", "commit": "d6b2a974608dec3b76fb1e36c189f22b9cf3650c" } ] }, { "name": "python3-hid", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --no-build-isolation --prefix=${FLATPAK_DEST} ." ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/e9/f8/0357a8aa8874a243e96d08a8568efaf7478293e1a3441ddca18039b690c1/hid-1.0.9.tar.gz", "sha256": "f4471f11f0e176d1b0cb1b243e55498cc90347a3aede735655304395694ac182" } ] }, { "name": "python3-sip", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --no-build-isolation --prefix=${FLATPAK_DEST} ." ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/02/b1/79bff1c49a9e19ffe0211cb8905cc514c3f6b8f3f7ae55a40403d346c076/sip-6.15.3.tar.gz", "sha256": "bb2516983f9f716d321e5157c00d0de0c12422eba73b8f43a44610a0f6622438" } ] }, { "name": "python3-pyqt-builder", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --no-build-isolation --prefix=${FLATPAK_DEST} ." ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/61/f6/f3b504b4d55a7c4d3393cb90378501f1f5fc7f233bd85c0375674f84d2af/pyqt_builder-1.19.1.tar.gz", "sha256": "6af6646ba29668751b039bfdced51642cb510e300796b58a4d68b7f956a024d8" } ] }, { "name": "python3-pyqt6-sip", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --no-build-isolation --prefix=${FLATPAK_DEST} ." ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/90/24/a753e1af94b9ae5b2da63d4598457308da3cdbf0838c959381db086ccc86/pyqt6_sip-13.11.1.tar.gz", "sha256": "869c5b48afe38e55b1ee0dd72182b0886e968cc509b98023ff50010b013ce1be" } ] }, { "name": "python3-pyqt6", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --no-build-isolation --prefix=${FLATPAK_DEST} --config-settings --confirm-license= --verbose ." ], "sources": [ { "type": "archive", "url": "https://files.pythonhosted.org/packages/ce/bf/ff284a136b39cb1873c18e4fca4a40a8847c84a1910c5fb38c6a77868968/pyqt6-6.8.1.tar.gz", "sha256": "91d937d6166274fafd70f4dee11a8da6dbfdb0da53de05f5d62361ddf775e256" } ] }, { "name": "ds5dongle-config", "buildsystem": "simple", "build-commands": [ "install -Dm755 main.py /app/share/com.github.loteran.DS5DongleConfig/main.py", "install -Dm755 hid_bridge.py /app/share/com.github.loteran.DS5DongleConfig/hid_bridge.py", "install -Dm755 com.github.loteran.DS5DongleConfig.sh /app/bin/ds5dongle-config", "install -Dm644 com.github.loteran.DS5DongleConfig.desktop /app/share/applications/com.github.loteran.DS5DongleConfig.desktop", "install -Dm644 com.github.loteran.DS5DongleConfig.metainfo.xml /app/share/metainfo/com.github.loteran.DS5DongleConfig.metainfo.xml" ], "sources": [ { "type": "dir", "path": "." } ] } ] }