parent
3685a998bc
commit
c0deae56d8
|
@ -1,9 +1,11 @@
|
|||
# Template file for 'hugin'
|
||||
pkgname=hugin
|
||||
version=2014.0.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
configure_args="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
|
||||
pycompile_module="hpi.py hsi.py"
|
||||
pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates"
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
hostmakedepends="cmake pkg-config exiftool"
|
||||
makedepends="wxWidgets-devel tiff-devel libpng-devel libopenexr-devel
|
||||
|
@ -17,6 +19,13 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${
|
|||
checksum=f098aa0ede44010d3bb2bb38693177533fd776c45063a338c4c483d7e471ec29
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -i 's|PTHREAD_MUTEX_RECURSIVE_NP|PTHREAD_MUTEX_RECURSIVE|' \
|
||||
src/foreign/zthread/src/linux/FastRecursiveLock.h;;
|
||||
esac
|
||||
sed -i '/<sys\/sysctl.h>/d' src/hugin_base/hugin_utils/platform.cpp
|
||||
sed -i 's|-O3||g' src/celeste/CMakeLists.txt
|
||||
# Fix compiling against lensfun-0.3.0
|
||||
sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue