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 (vitaly@xxxxxxxxxxxxxx) _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure