void-packages/srcpkgs/hugin/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

22 lines
913 B
Bash

# Template file for 'hugin'
pkgname=hugin
version=2014.0.0
revision=3
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
}