2014-08-24 02:47:19 +00:00
|
|
|
# Template file for 'hugin'
|
|
|
|
pkgname=hugin
|
2015-08-20 07:22:33 +00:00
|
|
|
version=2015.0.0
|
2015-09-18 18:11:30 +00:00
|
|
|
revision=2
|
2014-08-24 02:47:19 +00:00
|
|
|
build_style=cmake
|
2014-11-20 11:08:40 +00:00
|
|
|
configure_args="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
|
2015-08-16 00:56:46 +00:00
|
|
|
pycompile_module="hpi.py hsi.py"
|
|
|
|
pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates"
|
2014-08-24 02:47:19 +00:00
|
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
2015-08-20 07:22:33 +00:00
|
|
|
hostmakedepends="cmake pkg-config exiftool swig"
|
|
|
|
makedepends="wxWidgets-devel tiff-devel libpng-devel libopenexr-devel libgomp-devel
|
|
|
|
exiv2-devel libfreeglut-devel libpano13-devel boost-devel vigra-devel sqlite-devel
|
|
|
|
lensfun-devel python-devel glew-devel libXmu-devel libXi-devel glu-devel"
|
2014-11-14 17:37:48 +00:00
|
|
|
depends="exiftool"
|
2014-08-24 02:47:19 +00:00
|
|
|
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"
|
2015-08-20 07:22:33 +00:00
|
|
|
checksum=2cd93c110be95d439f9e68653f3738d059a26f5c28973f75475ef59cbaa2cbbd
|
2015-03-08 11:27:04 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2015-08-16 00:56:46 +00:00
|
|
|
sed -i '/<sys\/sysctl.h>/d' src/hugin_base/hugin_utils/platform.cpp
|
|
|
|
sed -i 's|-O3||g' src/celeste/CMakeLists.txt
|
2015-03-08 11:27:04 +00:00
|
|
|
# Fix compiling against lensfun-0.3.0
|
|
|
|
sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp
|
|
|
|
}
|