Warning, /packaging/flatpak-kde-applications/org.kde.kpat.json is written in an unsupported language. File is not indexed.

0001 {
0002     "id": "org.kde.kpat",
0003     "branch": "master",
0004     "runtime": "org.kde.Platform",
0005     "runtime-version": "5.15-21.08",
0006     "sdk": "org.kde.Sdk",
0007     "command": "kpat",
0008     "rename-icon": "kpat",
0009     "tags": ["nightly"],
0010     "desktop-file-name-suffix": " (Nightly)",
0011     "finish-args": [
0012         "--device=dri",
0013         "--share=ipc",
0014         "--socket=x11",
0015         "--socket=wayland",
0016         "--share=network"
0017     ],
0018 
0019     "modules": [
0020         "libkdegames.json",
0021         {
0022             "name": "freecell-solver",
0023             "buildsystem": "cmake",
0024             "config-opts": [ "-DFCS_WITH_TEST_SUITE=OFF", "-DFCS_BUILD_DOCS=OFF" ],
0025             "build-options" : {
0026                 "env": {
0027                     "PERLLIB": "/app/lib/perl5/site_perl/5.32.0:/app/lib/perl5/site_perl/5.32.0/arch"
0028                 }
0029             },
0030             "sources": [
0031                 {
0032                     "type": "archive",
0033                     "url": "https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-6.6.0.tar.xz",
0034                     "sha256": "16b58e78d44d95d0ff1b10496dd2d8bd27de592a26f8f874e95a1d841309048c",
0035                     "x-checker-data": {
0036                         "type": "html",
0037                         "url": "https://fc-solve.shlomifish.org/download.html",
0038                         "version-pattern": "freecell-solver-([\\d\\.-]+)\\.tar\\.xz",
0039                         "url-template": "https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-$version.tar.xz"
0040                     }
0041                 }
0042             ],
0043             "modules": [
0044                 {
0045                     "name": "rinutils",
0046                     "buildsystem": "cmake",
0047                     "config-opts": [ "-DWITH_TEST_SUITE=OFF" ],
0048                     "sources": [
0049                         {
0050                             "type": "archive",
0051                             "url": "https://github.com/shlomif/rinutils/releases/download/0.10.0/rinutils-0.10.0.tar.xz",
0052                             "sha256": "70d89f0a8464f8f494f33704b7c9396e7fca392e8aafaa4465710c1a389e9806",
0053                             "x-checker-data": {
0054                                 "type": "anitya",
0055                                 "project-id": 230526,
0056                                 "stable-only": true,
0057                                 "url-template": "https://github.com/shlomif/rinutils/releases/download/$version/rinutils-$version.tar.xz"
0058                             }
0059                         }
0060                     ]
0061                 },
0062                 {
0063                     "name": "random2",
0064                     "buildsystem": "simple",
0065                     "build-commands": [
0066                         "pip3 install --prefix=/app --no-deps ."
0067                     ],
0068                     "sources": [
0069                         {
0070                             "type": "archive",
0071                             "url": "https://files.pythonhosted.org/packages/ee/b5/5aca5217501fbd06b1e5aed6d5986baa0da5380880e6bb6f421ed18e3a32/random2-1.0.1.zip",
0072                             "sha256": "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007"
0073                         }
0074                     ]
0075                 },
0076                 {
0077                     "name": "pbr",
0078                     "buildsystem": "simple",
0079                     "build-commands": [
0080                         "pip3 install --prefix=/app --no-deps ."
0081                     ],
0082                     "sources": [
0083                         {
0084                             "type": "git",
0085                             "url": "https://github.com/openstack/pbr.git",
0086                             "tag": "5.6.0",
0087                             "x-checker-data": {
0088                                 "type": "git",
0089                                 "tag-pattern": "^([\\d.]+)$"
0090                             }
0091                         }
0092                     ]
0093                 },
0094                 {
0095                     "name": "pysol_cards",
0096                     "buildsystem": "simple",
0097                     "build-commands": [
0098                         "pip3 install --prefix=/app --no-deps ."
0099                     ],
0100                     "sources": [
0101                         {
0102                             "type": "archive",
0103                             "url": "https://pypi.io/packages/source/p/pysol_cards/pysol_cards-0.10.1.tar.gz",
0104                             "sha256": "ea6ac7e5849d0002cc880868f3a82a84332d5bbb79eb6496ed9676a104046297"
0105                         }
0106                     ]
0107                 },
0108                 {
0109                     "name": "perl-modules",
0110                     "buildsystem": "simple",
0111                     "build-commands": [
0112                         "echo 'this is a workaround for a flatpak+perl limitation'",
0113                         "tar xhf Path-Tiny-0.114.tar.gz",
0114                         "tar xhf Template-Toolkit-3.009.tar.gz",
0115                         "tar xhf Moo-2.003006.tar.gz",
0116                         "tar xhf Module-Runtime-0.016.tar.gz",
0117                         "tar xhf Sub-Quote-2.006003.tar.gz",
0118                         "cd Path-Tiny-0.114 && perl Makefile.PL PREFIX=/app && make && make install",
0119                         "cd Template-Toolkit-3.009 && perl Makefile.PL PREFIX=/app && make && make install",
0120                         "cd Moo-2.003006 && perl Makefile.PL PREFIX=/app && make && make install",
0121                         "cd Module-Runtime-0.016 && perl Makefile.PL PREFIX=/app && make && make install",
0122                         "cd Sub-Quote-2.006003 && perl Makefile.PL PREFIX=/app && make && make install",
0123                         "ln -s /app/lib/perl5/site_perl/5.32.0/$(basename `ls -d /usr/lib/perl5/5.32.0/*-linux`) /app/lib/perl5/site_perl/5.32.0/arch"
0124                     ],
0125                     "post-install": [
0126                         "chmod -R u+w /app/lib/perl5/site_perl"
0127                     ],
0128                     "sources": [
0129                         {
0130                             "type": "file",
0131                             "url": "https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-0.114.tar.gz",
0132                             "sha256": "cd0f88f37a58fc3667ec065767fe01e73ee6efa18a112bfd3508cf6579ca00e1"
0133                         },
0134                         {
0135                             "type": "file",
0136                             "url": "https://search.cpan.org/CPAN/authors/id/A/AT/ATOOMIC/Template-Toolkit-3.009.tar.gz",
0137                             "sha256": "d6ad23bbf637a59b5dfd1ac006460dfcb185982e4852cde77150fbd085f1f5b6"
0138                         },
0139                         {
0140                             "type": "file",
0141                             "url": "https://cpan.metacpan.org/authors/id/H/HA/HAARG/Moo-2.003006.tar.gz",
0142                             "sha256": "bcb2092ab18a45005b5e2e84465ebf3a4999d8e82a43a09f5a94d859ae7f2472"
0143                         },
0144                         {
0145                             "type": "file",
0146                             "url": "https://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.016.tar.gz",
0147                             "sha256": "68302ec646833547d410be28e09676db75006f4aa58a11f3bdb44ffe99f0f024"
0148                         },
0149                         {
0150                             "type": "file",
0151                             "url": "https://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Sub-Quote-2.006003.tar.gz",
0152                             "sha256": "be1f3a6f773f351f203cdc8f614803ac492b77d15fd68d5b1f0cd3884be18176"
0153                         }
0154                     ]
0155                 }
0156             ]
0157         },
0158         {
0159             "name": "black-hole-solver",
0160             "buildsystem": "cmake",
0161             "build-options" : {
0162                 "env": {
0163                     "PERLLIB": "/app/lib/perl5/site_perl/5.32.0:/app/lib/perl5/site_perl/5.32.0/arch"
0164                 }
0165             },
0166             "sources": [
0167                 {
0168                     "type": "archive",
0169                     "url": "https://fc-solve.shlomifish.org/downloads/fc-solve/black-hole-solver-1.10.1.tar.xz",
0170                     "sha256": "36e1953a99e02e82489a3cb109fb590bcab307b4ddaec34cb0e67347668511e2"
0171                 }
0172             ]
0173         },
0174         {
0175             "name": "kpat",
0176             "buildsystem": "cmake-ninja",
0177             "sources": [
0178                 { "type": "git", "url": "https://invent.kde.org/kde/kpat.git" }
0179             ]
0180         }
0181     ]
0182 }