summaryrefslogtreecommitdiff
path: root/graphics/hugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hugin/Makefile')
-rw-r--r--graphics/hugin/Makefile27
1 files changed, 14 insertions, 13 deletions
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index c44c24280485..f72c76ab3d16 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -1,6 +1,5 @@
PORTNAME= hugin
-DISTVERSION= 2024.0.1
-PORTREVISION= 7
+DISTVERSION= 2025.0.0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -12,13 +11,11 @@ LICENSE= GPLv2
LIB_DEPENDS= libOpenEXR.so:graphics/openexr \
libImath.so:math/Imath \
- libboost_thread.so:devel/boost-libs \
liblcms2.so:graphics/lcms2 \
libexiv2.so:graphics/exiv2 \
libfftw3.so:math/fftw3 \
libpano13.so:graphics/libpano13 \
libvigraimpex.so:graphics/vigra \
- libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libflann.so:math/flann \
liblz4.so:archivers/liblz4
@@ -27,8 +24,9 @@ RUN_DEPENDS= enblend>=4.1.4:graphics/enblend \
exiftool:graphics/p5-Image-ExifTool \
gmake:devel/gmake
-USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \
- jpeg pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg
+# compiler:c++17-lang
+USES= cmake desktop-file-utils gettext gl gnome \
+ pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg
USE_GL= gl glew glu glut
USE_WX= 3.2+
USE_XORG= x11
@@ -40,20 +38,23 @@ SHEBANG_FILES= src/hugin_script_interface/hpi.py \
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
CFLAGS+= -I${LOCALBASE}/include/Imath
-OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC PYTHON
-OPTIONS_DEFAULT= PANOMATIC PYTHON
+OPTIONS_DEFINE= AUTOPANOSIFTC LAPACK PANOMATIC PYTHON
+OPTIONS_DEFAULT= LAPACK PANOMATIC PYTHON
OPTIONS_SUB= yes
-PANOMATIC_DESC= Install graphics/panomatic
-PANOMATIC_RUN_DEPENDS= panomatic:graphics/panomatic
-
AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c
AUTOPANOSIFTC_RUN_DEPENDS= autopano:graphics/autopano-sift-c
+LAPACK_DESC= Use LAPACK based solver in levmar
+LAPACK_CMAKE_BOOL= ENABLE_LAPACK
+LAPACK_USES= blaslapack
+
+PANOMATIC_DESC= Install graphics/panomatic
+PANOMATIC_RUN_DEPENDS= panomatic:graphics/panomatic
+
PYTHON_DESC= Python Scripting Interface
PYTHON_BUILD_DEPENDS= swig:devel/swig
PYTHON_USES= python
-PYTHON_CMAKE_ON= -DBUILD_HSI=ON
-PYTHON_CMAKE_OFF= -DBUILD_HSI=OFF
+PYTHON_CMAKE_BOOL= BUILD_HSI
.include <bsd.port.mk>