pkgsrc/graphics/hugin/Makefile
gutteridge 1e4ca2627d Bump all dependent packages of wayland (belatedly)
The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
2022-08-11 05:08:00 +00:00

73 lines
2.4 KiB
Makefile

# $NetBSD: Makefile,v 1.121 2022/08/11 05:08:42 gutteridge Exp $
DISTNAME= hugin-2021.0.0
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hugin/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hugin.sourceforge.net/
COMMENT= Panorama photo stitcher
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
DEPENDS+= p5-Image-ExifTool>=8.15:../../graphics/p5-Image-ExifTool
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= msgfmt pkg-config
CONFIGURE_ENV+= MANDIR=${PKGMANDIR}
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
CMAKE_ARGS+= -DBUILD_HSI=ON
PY_PATCHPLIST= yes
REPLACE_PYTHON+= src/hugin_script_interface/*.py
REPLACE_PYTHON+= src/hugin_script_interface/plugins/*.py
REPLACE_PYTHON+= src/hugin_script_interface/plugins-dev/*.py
SUBST_CLASSES+= apple
SUBST_MESSAGE.apple= Avoiding Mac OS X application bundles
SUBST_STAGE.apple= pre-configure
SUBST_FILES.apple= src/hugin1/hugin/CMakeLists.txt
SUBST_FILES.apple+= src/hugin1/calibrate_lens/CMakeLists.txt
SUBST_FILES.apple+= src/hugin1/icpfind/CMakeLists.txt
SUBST_FILES.apple+= src/hugin1/ptbatcher/CMakeLists.txt
SUBST_FILES.apple+= src/hugin1/stitch_project/CMakeLists.txt
SUBST_SED.apple= -e 's,(APPLE),(ELPPA),g'
post-extract:
${MKDIR} ${WRKDIR}/build
# Doesn't define the ZLIB::ZLIB target needed by OpenEXR 3
post-patch:
rm ${WRKSRC}/CMakeModules/FindZLIB.cmake
.include "../../mk/bsd.prefs.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/swig3/buildlink3.mk"
.include "../../devel/tclap/buildlink3.mk"
.include "../../graphics/exiv2/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/freeglut/buildlink3.mk"
.endif
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/lensfun/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/libpano13/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/vigra/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/wxGTK31/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"