Include headers from quazip5 and not quazip. Spodded by ajacoutot@ in a bulk build. Thanks!
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.19 2018/09/08 06:56:45 rsadowski Exp $
|
|
|
|
COMMENT = small and fast Qt image viewer
|
|
|
|
GH_ACCOUNT = nomacs
|
|
GH_PROJECT = nomacs
|
|
GH_TAGNAME = 3.10.2
|
|
REVISION = 0
|
|
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = https://nomacs.org
|
|
|
|
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
SHARED_LIBS += nomacsCore 3.0 # 3.3
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5Gui Qt5Network
|
|
WANTLIB += Qt5PrintSupport Qt5Svg Qt5Widgets c exiv2 lcms2 m opencv_core
|
|
WANTLIB += opencv_imgproc quazip5 raw tiff
|
|
|
|
MODULES = devel/cmake \
|
|
x11/qt5 \
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS = archivers/quazip,qt5 \
|
|
graphics/exiv2 \
|
|
graphics/lcms2 \
|
|
graphics/libraw \
|
|
graphics/opencv \
|
|
graphics/tiff \
|
|
x11/qt5/qtsvg
|
|
|
|
CONFIGURE_ARGS = -DUSE_SYSTEM_QUAZIP:Bool=ON \
|
|
-DDISABLE_QT_DEBUG:Bool=ON \
|
|
-DENABLE_TRANSLATIONS:Bool=ON
|
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}/ImageLounge
|
|
|
|
pre-configure:
|
|
find ${WRKSRC} -type f -name "*.cpp" -exec \
|
|
sed -i 's,#include <quazip/JlCompress.h>,#include <quazip5/JlCompress.h>,' {} \;
|
|
|
|
.include <bsd.port.mk>
|