Warning, /libraries/xdg-portal-test-kde/flatpak-build/qtbase.json is written in an unsupported language. File is not indexed.

0001 {
0002     "name": "qt5-qtbase",
0003     "cleanup": [ "/man",
0004                  "/share/man",
0005                  "/lib/systemd",
0006                  "*.la"],
0007     "cleanup-platform": [ "/share/runtime/docs",
0008                           "/include",
0009                           "/share/aclocal",
0010                           "/share/pkgconfig",
0011                           "/lib/pkgconfig",
0012                           "/lib/*/pkgconfig",
0013                           "*.a",
0014                           "*.cmake",
0015                           "/lib/*/cmake",
0016                           "/mkspecs",
0017                           "/lib/mkspecs",
0018                           "*.prl"
0019                         ],
0020     "build-options" : {
0021         "arch" : {
0022             "x86_64" : {
0023                 "config-opts" : [
0024                     "-reduce-relocations", "-force-debug-info"
0025                 ]
0026             },
0027             "aarch64" : {
0028                 "config-opts" : [
0029                     "-no-reduce-relocations", "-opengl es2"
0030                 ]
0031             }
0032         }
0033     },
0034     "config-opts": [ "-confirm-license", "-opensource",
0035                     "-shared",
0036                     "-platform", "linux-g++",
0037                     "-optimized-qmake",
0038                     "-nomake", "examples",
0039                     "-nomake", "tests",
0040                     "-system-harfbuzz",
0041                     "-system-sqlite",
0042                     "-accessibility",
0043                     "-dbus-linked",
0044                     "-fontconfig",
0045                     "-glib",
0046                     "-icu",
0047                     "-openssl-linked",
0048                     "-no-pch",
0049                     "-no-rpath",
0050                     "-no-directfb",
0051                     "-no-linuxfb",
0052                     "-no-kms",
0053                     "-system-proxies",
0054                     "-gtk",
0055                     "-no-use-gold-linker",
0056 
0057                     "-archdatadir", "/app/lib/"
0058                 ],
0059     "sources": [
0060         { "type": "dir", "path": "/path/to/qtbase" },
0061         {
0062             "type": "patch",
0063             "path": "patch/qtbase-avoid-hardcoding-kernel-version.patch"
0064         },
0065         {
0066             "//TODO": "Temporary fix for https://github.com/flatpak/flatpak/issues/3397.",
0067             "type": "patch",
0068             "path": "patch/qtbase-revert-qstandardpaths-dont-change-permissions-on-xdg-runtime-dir.patch"
0069         },
0070         {
0071             "type": "patch",
0072             "path": "patch/qtbase-use-wayland-on-gnome.patch"
0073         },
0074         {
0075             "type": "shell",
0076             "commands": [ "mv configure configure.qt" ]
0077         },
0078         {
0079             "type": "script",
0080             "commands": [
0081                 "processed=`sed -e 's/--/-/g ; s/=/ /g' <<< $@`",
0082                 "./configure.qt $processed"
0083             ],
0084             "dest-filename": "configure"
0085         }
0086     ]
0087 }