28 lines
915 B
Bash
28 lines
915 B
Bash
# Template file for 'hobbits'
|
|
pkgname=hobbits
|
|
version=0.52.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake python3"
|
|
makedepends="fftw-devel libusb-devel libpcap-devel python3-devel qt5-devel"
|
|
short_desc="Multi-platform GUI for bit-based analysis, processing and visualization"
|
|
maintainer="classabbyamp <dev@kb6.ee>"
|
|
license="MIT, GPL-2.0-or-later"
|
|
homepage="https://mahlet-inc.github.io"
|
|
distfiles="https://github.com/Mahlet-Inc/hobbits/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=3332e02380ab46649f0ec2066b63b6e0fb04b55cdca973d28880f1607ebbf27e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*|aarch64*|ppc*) CXXFLAGS+=" -fsigned-char"
|
|
esac
|
|
|
|
pre_configure() {
|
|
# upstream provides no way to set the version through configure_args
|
|
echo "${version}" > .version
|
|
}
|
|
|
|
post_install() {
|
|
vinstall src/hobbits-gui/images/icons/HobbitsRingSmall.png 644 usr/share/pixmaps
|
|
vlicense LICENSE.txt
|
|
}
|