Files
HamPack/compile.conf
T
2026-10-20 06:21:18 -06:00

80 lines
3.7 KiB
Plaintext

# compile.conf - Applications to build from source and install
#
# Fields:
# version= - version string for update checking
# git= - git repository URL to clone (mutually exclusive with wget). Builds the
# tag named after the version (1.2.3 or v1.2.3), or the default branch
# if the repo has no tags
# ref= - commit to build instead of the version's tag, for repos whose tags are wrong
# wget= - URL of a zip/tar archive to download and extract (mutually exclusive with git)
# install= - path to the installed binary, used to detect if already installed
# steps= - comma-separated build commands, run in order from the source directory
# $HOME is expanded; use sudo for steps that require elevated privileges
# gui=true - set if a .desktop file should be installed
# desktop= - path to the .desktop file to install (required when gui=true)
[direwolf]
version=1.8.1
git=https://github.com/wb2osz/direwolf.git
install=$HOME/.local/bin/direwolf
steps=mkdir build, cd build, cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/.local, make -j4, sudo make install, sudo udevadm control --reload-rules, mkdir -p $HOME/.local/state/HamPack/conf.d, cp -n $HAMPACK_DIR/conf.d/direwolf.conf $HOME/.local/state/HamPack/conf.d/
[QtTermTCP]
version=0.81
git=https://github.com/g8bpq/QtTermTCP.git
# Upstream tags are one release behind: tag 0.81 is the 0.0.0.79 commit
ref=00ca15573c4653882265d6bfc884fca619556c30
install=$HOME/.local/bin/QtTermTCP
gui=true
steps=rm -f *.o .qmake.stash Makefile, qmake-qt5, make, mv QtTermTCP $HOME/.local/bin/
[kiwix-desktop]
version=2.5.1
git=https://github.com/kiwix/kiwix-desktop.git
install=$HOME/.local/bin/kiwix-desktop
gui=true
steps=/usr/lib/qt6/bin/qmake PREFIX=$HOME/.local "QMAKE_CXXFLAGS+=-Wno-error=sfinae-incomplete", make, make install
[kiwix-tools]
version=3.8.2
git=https://github.com/kiwix/kiwix-tools.git
install=$HOME/.local/bin/kiwix-lib
steps=sudo chown -R $USER:$USER $HOME/.local/share/man, meson setup build --prefix=$HOME/.local, ninja -C build, ninja -C build install
[Dump1090]
version=1.0.0
git=https://github.com/antirez/dump1090.git
install=$HOME/.local/bin/dump1090
steps=make, mv dump1090 $HOME/.local/bin/dump1090
[yaac]
version=1.0-beta229
wget=https://www.ka2ddo.org/ka2ddo/YAAC.zip
install=$HOME/.local/bin/yaac/YAAC.jar
desktop=$HAMPACK_DIR/desktop/yaac.desktop
gui=true
steps=rm -rf $HOME/.local/bin/yaac, mkdir -p $HOME/.local/bin/yaac, mv /tmp/hampack-build/yaac/* $HOME/.local/bin/yaac/
[potacat]
version=1.11.7
git=https://github.com/Waffleslop/POTACAT.git
install=$HOME/.local/bin/POTACAT.AppImage
desktop=$HAMPACK_DIR/desktop/potacat.desktop
gui=true
steps=bash $HAMPACK_DIR/patch-potacat.sh, npm install, npm run dist:linux, mv dist/*.AppImage $HOME/.local/bin/POTACAT.AppImage
[js8call-improved]
name=JS8Call
version=3.0.3
git=https://github.com/JS8Call-improved/JS8Call-improved.git
install=$HOME/.local/bin/JS8Call
desktop=$HAMPACK_DIR/desktop/js8call.desktop
gui=true
steps=mkdir build, cd build, cmake -D CMAKE_INSTALL_PREFIX=/opt/JS8Call-improved .., cmake --build . -- -j 4, mv JS8Call $HOME/.local/bin/JS8Call
[graywolf]
version=0.14.14
git=https://github.com/chrissnell/graywolf.git
install=$HOME/.local/bin/graywolf
steps=getent group dialout || sudo groupadd dialout, make all, install -m 755 bin/graywolf $HOME/.local/bin/graywolf, install -m 755 bin/graywolf-modem $HOME/.local/bin/graywolf-modem, mkdir -p $HOME/.local/share/graywolf, sed "s|HAMPACK_USER|$USER|g; s|HAMPACK_HOME|$HOME|g" $HAMPACK_DIR/systemd/graywolf.service > /tmp/graywolf.service, sudo install -m 644 /tmp/graywolf.service /etc/systemd/system/graywolf.service, sudo systemctl daemon-reload, sudo systemctl enable graywolf