void-packages/srcpkgs/hugin/template

31 lines
1.1 KiB
Bash

# Template file for 'hugin'
pkgname=hugin
version=2023.0.0
revision=1
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
configure_args="-DBUILD_WITH_EPOXY=on"
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 libepoxy-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="https://hugin.sourceforge.net/"
changelog="https://hugin.sourceforge.io/releases/${version}/en.shtml"
distfiles="${SOURCEFORGE_SITE}/hugin/hugin/hugin-${version%.*}/hugin-${version}.tar.bz2"
checksum=04a39fccc6017e0544c639bd22309472c574d35b3455cbade1fc3870e631632b
python_version=3
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
else
makedepends+=" flann-devel"
fi