New package: hobbits-0.52.0

This commit is contained in:
classabbyamp 2021-10-25 22:56:25 -04:00 committed by Andrew Benson
parent 75a9392c83
commit 8bc5c83437
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2021-10-07 11:31:22.000000000 -0400
+++ b/CMakeLists.txt 2021-10-25 21:16:59.429406408 -0400
@@ -124,7 +124,7 @@
set ( Python3_ROOT_DIR "${MANUAL_PYTHON_PATH}" )
endif()
-find_package (Python3 3.9 EXACT COMPONENTS Interpreter Development REQUIRED)
+find_package (Python3 3.9 COMPONENTS Interpreter Development REQUIRED)
message("Python3 Libs: ${Python3_LIBRARIES}")
#

27
srcpkgs/hobbits/template Normal file
View File

@ -0,0 +1,27 @@
# 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
}