On 16/02/2022 21:57, Diego Herrera wrote:
I was checking if the scrcpy software [1] could get packaged, but to continue I need to know how to package an APK package file.
All Fedora packages must be build from sources. You can't package and redistribute precompiled APK/JAR files.
It must be removed.
Another idea that I thought of was to patch the program or add a script that downloads the APK on the first run and save it on userspace. Technically you are not packaging the binary, but in my opinion it's just a roundabout way to get the same result.
You can upload this APK to one of the Android marketplaces like F-Droid and patch your package to show the download link.
-- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure