More changes for Flathub submission

This commit is contained in:
Stephen Horvath
2025-09-27 18:21:11 +10:00
parent 70d3788dd6
commit a31f851707
3 changed files with 18 additions and 12 deletions

View File

@@ -22,6 +22,7 @@
"*.a" "*.a"
], ],
"modules" : [ "modules" : [
"python3-cros_ec_python.json",
{ {
"name" : "yafi", "name" : "yafi",
"builddir" : true, "builddir" : true,
@@ -32,18 +33,6 @@
"path" : "." "path" : "."
} }
] ]
},
{
"name": "cros_ec_python",
"buildsystem": "simple",
"build-options": {
"build-args": [
"--share=network"
]
},
"build-commands": [
"pip3 install --prefix=${FLATPAK_DEST} --no-cache-dir \"cros_ec_python>=0.2.0\""
]
} }
] ]
} }

3
flathub.json Normal file
View File

@@ -0,0 +1,3 @@
{
"only-arches": ["x86_64"]
}

View File

@@ -0,0 +1,14 @@
{
"name": "python3-cros_ec_python",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cros_ec_python\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/33/11/c23a7acaa333589921a2f524517eb719dfb72628153ae22fcdf2e9052ac6/cros_ec_python-0.2.0-py3-none-any.whl",
"sha256": "d38e493fbcaf23bc4b613d1342a036cecc6506284afc74f37013a3eac85a01b9"
}
]
}