void-packages/srcpkgs/hugin/template

28 lines
1.0 KiB
Bash

# Template file for 'hugin'
pkgname=hugin
version=2021.0.0
revision=1
wrksrc="${pkgname}-${version}"
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates"
hostmakedepends="pkg-config exiftool swig gettext"
makedepends="wxWidgets-gtk3-devel tiff-devel libpng-devel libopenexr-devel libgomp-devel
exiv2-devel libfreeglut-devel libpano13-devel boost-devel vigra-devel sqlite-devel
lensfun-devel python3-devel glew-devel libXmu-devel libXi-devel glu-devel
lcms2-devel lapack-devel"
depends="exiftool enblend-enfuse"
short_desc="Easy to use panoramic imaging toolchain"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-2.0-or-later"
homepage="http://hugin.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=047aea8a7fa47844b34ef27c19d3b697e84939dcb1fdbbeb2c204621b66eead9
python_version=3
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
else
makedepends+=" flann-devel"
fi