Building the basic program should only require a recent version of golang.
make
go get -u && go mod tidy
rm assets/modules.txt && make assets/modules.txt
- Cross-reference
assets/modules.txt
withflatpak/radio.k0swe.Kel_Agent.yml
- Cross-reference
go.mod
withMakefile
- Cross-reference
go.mod
withdebian/control
Build-Depends
- Run
make deb-package
on Linux amd64 and Linux arm to make surechroot
s are set up - Run
make flatpak
on Linux amd64 to make sure that's building - Add changelog entries in
debian/changelog
andassets/radio.k0swe.Kel_Agent.metainfo.xml
- Bump versions in
macos/kel-agent.pkgproj
andwin/kel-agent.wxs
sudo apt install build-essential debhelper dh-golang sbuild autorevision
export ARCH=$(dpkg --print-architecture)
sudo sbuild-createchroot stable /srv/chroot/stable-"$ARCH" http://deb.debian.org/debian
make deb-package
sudo apt install flatpak flatpak-builder appstream-util desktop-file-validate
flatpak install flathub runtime/org.freedesktop.Sdk.Extension.golang/x86_64/20.08
make flatpak