Caution
This plugin is incomplete, experimental and unstable. Use at own your risk.
This is a plugin that allows users to update their systems using GNOME Software.
It's a rewrite of the unmantained gnome-software-plugin-apk in Vala.
Building the app is currently fairly complex, partly due to some Meson issues, and partly due to my skill issues.
Using my APKBUILD
s for GNOME Software v48 and the latest apk-polkit-rs is probably the easiest way.
Then do:
apk install -t .gs-plugin-apk2 gnome-software-dev gnome-software-dbg apk-polkit-rs-dev apk-polkit-rs-dbg meson ninja
Then make sure the apk-polkit-server
is running
service apk-polkit-server start
meson setup build
cd build
# please input these line by line (you only need to do this once)
ninja src/vapi/Gs-48.gir
ninja src/vapi/ApkPolkit2-0.gir
ninja src/vapi/gnome-software.vapi
ninja src/vapi/apk-polkit-client-2.vapi
ninja
ninja install
PS: you can later uninstall by doing
ninja uninstall
gnome-software --quit && gnome-software