|
| 1 | +{ |
| 2 | + "id": "org.lbry.cli", |
| 3 | + "runtime": "org.freedesktop.Platform", |
| 4 | + "runtime-version": "25.08", |
| 5 | + "sdk": "org.freedesktop.Sdk", |
| 6 | + "sdk-extensions": [ |
| 7 | + "org.freedesktop.Sdk.Extension.golang" |
| 8 | + ], |
| 9 | + "build-options": { |
| 10 | + "append-path": "/usr/lib/sdk/golang/bin" |
| 11 | + }, |
| 12 | + "command": "lbry-cli", |
| 13 | + "finish-args": [ |
| 14 | + "--share=network" |
| 15 | + ], |
| 16 | + "cleanup": [ |
| 17 | + "/go" |
| 18 | + ], |
| 19 | + "modules": [ |
| 20 | + { |
| 21 | + "name": "lbry-cli", |
| 22 | + "buildsystem": "simple", |
| 23 | + "build-commands": [ |
| 24 | + "go build -mod=vendor -o lbry-cli", |
| 25 | + "install -Dm00755 lbry-cli $FLATPAK_DEST/bin/lbry-cli", |
| 26 | + "install -Dm00644 $FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml", |
| 27 | + "install -Dm00644 $FLATPAK_ID.appdata.xml $FLATPAK_DEST/share/appdata/$FLATPAK_ID.appdata.xml" |
| 28 | + ], |
| 29 | + "sources": [ |
| 30 | + { |
| 31 | + "type": "git", |
| 32 | + "url": "https://github.com/LBRYFoundation/lbry-cli.git", |
| 33 | + "commit": "0d3cb17ace4b29495f4a03b72d375257ba910837" |
| 34 | + }, |
| 35 | + { |
| 36 | + "type": "file", |
| 37 | + "dest": "vendor", |
| 38 | + "path": "modules.txt" |
| 39 | + }, |
| 40 | + { |
| 41 | + "type": "archive", |
| 42 | + "url": "https://proxy.golang.org/github.com/ivanpirog/coloredcobra/@v/v1.0.1.zip", |
| 43 | + "dest": "vendor/github.com/ivanpirog/coloredcobra", |
| 44 | + "sha256": "417b2b8f75ea20cbfd6b0ddd339a16642a389247b4ad2884e0445753468f443b", |
| 45 | + "strip-components": 3 |
| 46 | + }, |
| 47 | + { |
| 48 | + "type": "archive", |
| 49 | + "url": "https://proxy.golang.org/github.com/spf13/cobra/@v/v1.10.1.zip", |
| 50 | + "dest": "vendor/github.com/spf13/cobra", |
| 51 | + "sha256": "00955783267c9ced54274df456377a15bc1b658362f93f85dfda0708b54f9a28", |
| 52 | + "strip-components": 3 |
| 53 | + }, |
| 54 | + { |
| 55 | + "type": "archive", |
| 56 | + "url": "https://proxy.golang.org/github.com/spf13/pflag/@v/v1.0.10.zip", |
| 57 | + "dest": "vendor/github.com/spf13/pflag", |
| 58 | + "sha256": "a246b8c9d3daa87d6c634cdfee1bdf7fa53d5817eeef4fa0c6da43edd12de4ca", |
| 59 | + "strip-components": 3 |
| 60 | + }, |
| 61 | + { |
| 62 | + "type": "archive", |
| 63 | + "url": "https://proxy.golang.org/github.com/ybbus/jsonrpc/v3/@v/v3.1.6.zip", |
| 64 | + "dest": "vendor/github.com/ybbus/jsonrpc/v3", |
| 65 | + "sha256": "6cdf58411d99029e42a13e4bd4a2d427cbf44e5a650cc0082ac31a46fc7fe0ef", |
| 66 | + "strip-components": 4 |
| 67 | + }, |
| 68 | + { |
| 69 | + "type": "archive", |
| 70 | + "url": "https://proxy.golang.org/github.com/fatih/color/@v/v1.18.0.zip", |
| 71 | + "dest": "vendor/github.com/fatih/color", |
| 72 | + "sha256": "4dc6907b7f6807b37c21ad527d966437d398f03472115f471eaa8fe5875363d3", |
| 73 | + "strip-components": 3 |
| 74 | + }, |
| 75 | + { |
| 76 | + "type": "archive", |
| 77 | + "url": "https://proxy.golang.org/github.com/inconshreveable/mousetrap/@v/v1.1.0.zip", |
| 78 | + "dest": "vendor/github.com/inconshreveable/mousetrap", |
| 79 | + "sha256": "526674de624d7db108cfe7653ef110ccdfd97bc85026254224815567928ed243", |
| 80 | + "strip-components": 3 |
| 81 | + }, |
| 82 | + { |
| 83 | + "type": "archive", |
| 84 | + "url": "https://proxy.golang.org/github.com/mattn/go-colorable/@v/v0.1.14.zip", |
| 85 | + "dest": "vendor/github.com/mattn/go-colorable", |
| 86 | + "sha256": "5e0e7925a070bb5bd11b4097e1a7b608167f0217ee83901b44c135f6e5e85c78", |
| 87 | + "strip-components": 3 |
| 88 | + }, |
| 89 | + { |
| 90 | + "type": "archive", |
| 91 | + "url": "https://proxy.golang.org/github.com/mattn/go-isatty/@v/v0.0.20.zip", |
| 92 | + "dest": "vendor/github.com/mattn/go-isatty", |
| 93 | + "sha256": "f2d5f89ca451577e17464b9bb596dc0d0ecececb5eaa63622c41b57cd0b7b8cc", |
| 94 | + "strip-components": 3 |
| 95 | + }, |
| 96 | + { |
| 97 | + "type": "archive", |
| 98 | + "url": "https://proxy.golang.org/golang.org/x/sys/@v/v0.36.0.zip", |
| 99 | + "dest": "vendor/golang.org/x/sys", |
| 100 | + "sha256": "894ee9a48e191265cd3d2200ddd81b8d75c554a0eabe9fc1a9afbab25a4b29c4", |
| 101 | + "strip-components": 3 |
| 102 | + } |
| 103 | + ] |
| 104 | + } |
| 105 | + ] |
| 106 | +} |
0 commit comments