dynobo / normcap

OCR powered screen-capture tool to capture information instead of images
https://dynobo.github.io/normcap/
Other
1.91k stars 88 forks source link

[Linux, FlatPak] provide aarch64/arm64 package #567

Open stuaxo opened 10 months ago

stuaxo commented 10 months ago

Describe your problem:

Hi, I tried installing from flathub but it said: Failed to install file: not supported this is probably because there is not a build for this architecture yet.

Cheers

Solution you'd like to see:

A build for aarch64

Alternatives you considered:

No response

Additional information or remarks:

No response

dynobo commented 10 months ago

Thanks, @stuaxo , for bringing this up!

If someone wants to look into this, here's the repo for the NormCap FlatPak build.

stuaxo commented 10 months ago

It may be a matter of adding aarch64 to https://github.com/flathub/com.github.dynobo.normcap/edit/master/flathub.json I'm not sure I have the space to install all the SDKs etc right now.

dynobo commented 9 months ago

As suggested, I added aarch64 support in this PR: https://github.com/flathub/com.github.dynobo.normcap/pull/61 . Unfortunately, the build failed:

Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)
Looking in links: file:///run/build/python3-pyside6
ERROR: Could not find a version that satisfies the requirement PySide6-Essentials (from versions: none)
ERROR: No matching distribution found for PySide6-Essentials

Without digging deeper, it looks like there are no PySide6 builds available for this platform. It might be possible to build it from source, but it's totally possible that even if this works, the build will just fail with the next dependency.

If someone with such a device can figure our a working build recipe and PR it to the repo for the NormCap FlatPak build, that would be great!