void-packages/srcpkgs/hugin/template

23 lines
913 B
Bash

# Template file for 'hugin'
pkgname=hugin
version=2014.0.0
revision=4
build_style=cmake
configure_args="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="cmake pkg-config exiftool"
makedepends="wxWidgets-devel tiff-devel libpng-devel libopenexr-devel
exiv2-devel libfreeglut-devel libpano13-devel boost-devel MesaLib-devel
lensfun-devel python-devel swig glew-devel libXmu-devel libXi-devel glu-devel"
depends="exiftool"
license="GPL-2"
homepage="http://hugin.sourceforge.net/"
short_desc="An easy to use panoramic imaging toolchain"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29
pre_configure() {
# Fix compiling against lensfun-0.3.0
sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp
}