30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'hugin'
|
|
pkgname=hugin
|
|
version=2022.0.0
|
|
revision=12
|
|
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="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=97c8562a0ba9a743e0b955a43dfde048b1c60cd9e5f2ee2b69de1a81646e05a7
|
|
python_version=3
|
|
|
|
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" python3"
|
|
else
|
|
makedepends+=" flann-devel"
|
|
fi
|