Updating to Qt 6.6, readding aarch64 builds, improvements for new metadata requirements (including new icon!)

This commit is contained in:
Adsooi 2024-01-09 04:53:06 +01:00
parent 8435761220
commit b8604ff8e3
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
4 changed files with 87 additions and 14 deletions

View file

@ -9,11 +9,11 @@
<name>LogarithmPlotter</name>
<icon type="remote">http://apps.ad5001.eu/icons/apps/svg/logarithmplotter.svg</icon>
<summary>2D logarithmic-scaled plotter software to make Bode plots, sequences and distribution functions</summary>
<summary xml:lang="de">2D-Grafiksoftware mit logarithmischer Skalierung zur Erstellung von Bode-Diagramms, Folgen und Verteilungsfunktionen</summary>
<summary xml:lang="fr">Logiciel de traçage 2D pour les diagrammes de Bode, les suites et les fonctions de répartition</summary>
<summary xml:lang="hu">Síkbeli ábrázolásszoftver Bode-ábrák, sorozatok és eloszlási funkciók készítéséhez</summary>
<summary xml:lang="no">2D-plotterprogramvare laget for opprettelse av Bode-diagram, sekvenser, og distribusjonsfunksjoner</summary>
<summary>Create and edit Bode plots</summary>
<summary xml:lang="de">Erstellen und Bearbeiten von Bode-Diagrammen</summary>
<summary xml:lang="fr">Créez et éditez des diagrammes de Bode</summary>
<summary xml:lang="hu">Bode-diagramok létrehozása és szerkesztése</summary>
<summary xml:lang="no">Opprette og redigere Bode-diagrammer</summary>
<description>
<p>

View file

@ -1,7 +1,7 @@
---
app-id: eu.ad5001.LogarithmPlotter
runtime: org.kde.Platform
runtime-version: '6.5'
runtime-version: '6.6'
sdk: org.kde.Sdk
finish-args:
- "--share=ipc"
@ -38,8 +38,11 @@ modules:
- rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/{lib,libexec}
sources:
- type: file
url: https://files.pythonhosted.org/packages/d0/de/9a089e91c2e0fe4f122218bba4f9dbde46338659f412739bd9db1ed9df4f/PySide6_Essentials-6.5.2-cp37-abi3-manylinux_2_28_x86_64.whl
sha256: 1620e82b38714a1570b142c01694d0415a25526517b24620ff9b00c9f76cfca9
url: https://files.pythonhosted.org/packages/56/65/50d0ced768b717f709a5ab224b648eb533a862efd0cde67d19c2727200b0/PySide6_Essentials-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl
sha256: c7185616083eab6f42eaed598d97d49fac4f60ae2e7415194140d54f58c2b42c
- type: file
url: https://files.pythonhosted.org/packages/73/28/1313720f3e30304b1fd13aab139ec21f30a01f237e70e631663ddad21fd1/PySide6_Essentials-6.6.1-cp38-abi3-manylinux_2_31_aarch64.whl
sha256: a383c3d60298392cfb621ec1a0cf24b4799321e6c5bbafc021d4cc8076ea1315
modules:
- name: shiboken6
buildsystem: simple
@ -48,8 +51,11 @@ modules:
--prefix=${FLATPAK_DEST} shiboken6 --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/55/44/d8c366dd4f069166ab9890acb44d004c5e6122714e44c169273dcbbca897/shiboken6-6.5.2-cp37-abi3-manylinux_2_28_x86_64.whl
sha256: 3fbc35ff3c19e7d39433671bfc1be3d7fa9d071bfdd0ffe1c2a4d27acd6cf6a5
url: https://files.pythonhosted.org/packages/47/f0/334bb65c0bf9ed61df642d10722ddb30562bcf7c3b514bec4e51b32dd6ab/shiboken6-6.6.1-cp38-abi3-manylinux_2_31_aarch64.whl
sha256: a605960e72af5eef915991cee7eef4cc72f5cabe63b9ae1a955ceb3d3b0a00b9
- type: file
url: https://files.pythonhosted.org/packages/bb/72/e54f758e49e8da0dcd9490d006c41a814b0e56898ce4ca054d60cdba97bd/shiboken6-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl
sha256: fb102e4bc210006f0cdd0ce38e1aaaaf792bd871f02a2b3f01d07922c5cf4c59
- name: texlive
buildsystem: simple
@ -72,9 +78,13 @@ modules:
build-commands:
- rm -rf .git
- cd LogarithmPlotter/i18n && bash release.sh
- mkdir -p /app/share/metainfo/
# Add metainfo file from current repository.
- mkdir -p /app/share/metainfo/
- mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml
# Use new icon (temporary)
- cp icon_flatpak.svg logplotter.svg
- cp icon_flatpak.svg ./LogarithmPlotter/logarithmplotter.svg
# Install
- PREFIX="/app/share" FLATPAK_INSTALL=1 pip3 install --verbose --no-index --prefix=${FLATPAK_DEST} --no-build-isolation --no-deps .
# Copy changelog into the directory needed for it to be cached.
- cp CHANGELOG.md /app/lib/python3.*/site-packages/LogarithmPlotter/util/
@ -90,5 +100,7 @@ modules:
commit: 19e403ce9883e8debd2905e0773b0dba370bffca
- type: file
path: eu.ad5001.LogarithmPlotter.metainfo.xml
- type: file
path: icon_flatpak.svg
- type: file
path: logarithmplotter.desktop

View file

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

64
icon_flatpak.svg Normal file
View file

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24.0px"
height="24.0px"
viewBox="0 0 24.0 24.0"
version="1.1"
id="SVGRoot"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><title
id="title836">LogarithmPlotter Icon v1.0</title><defs
id="defs833" /><metadata
id="metadata836"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>LogarithmPlotter Icon v1.0</dc:title><cc:license
rdf:resource="http://creativecommons.org/licenses/by-nc-sa/4.0/" /><dc:date>2021</dc:date><dc:creator><cc:Agent><dc:title>Ad5001</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>(c) Ad5001 2021 - All rights reserved</dc:title></cc:Agent></dc:rights></cc:Work><cc:License
rdf:about="http://creativecommons.org/licenses/by-nc-sa/4.0/"><cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:prohibits
rdf:resource="http://creativecommons.org/ns#CommercialUse" /><cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g
id="layer2"
transform="matrix(1,0,0,0.94444444,0,1.1666667)"
style="fill:#666666"><rect
style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1546"
width="18"
height="18"
x="3"
y="3"
ry="2.25" /></g><g
id="layer2-6"
transform="matrix(1,0,0,0.94444444,0,0.16666668)"
style="fill:#f9f9f9"><rect
style="fill:#f9f9f9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1546-7"
width="18"
height="18"
x="3"
y="3"
ry="2.25" /></g><g
id="layer1"
style="stroke-width:2;stroke-dasharray:none"><rect
style="fill:#000000;fill-rule:evenodd;stroke-width:1.86898;stroke-dasharray:none;stroke-opacity:0"
id="rect1410"
width="14"
height="2"
x="5"
y="15.5" /><rect
style="fill:#000000;fill-rule:evenodd;stroke-width:2;stroke-dasharray:none;stroke-opacity:0"
id="rect1412"
width="2"
height="15"
x="9"
y="3.9768662" /><path
style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1529"
d="M 18,4 C 18,10.017307 13.40948,15.5 5,15.5" /></g></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB