blob: 275ba5f7a90ee747697f50e17872c9f88b4c4df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= nomacs
PORTVERSION= 3.16
DISTVERSIONSUFFIX= .224
PORTREVISION= 3
CATEGORIES= graphics
PATCH_SITES= https://github.com/nomacs/nomacs/commit/
PATCHFILES= 8c44e10ae48a88ed2ea885f432c65a0859013011.patch:-p1
MAINTAINER= vidar@karlsen.tech
COMMENT= Small, fast, and free image viewer
LICENSE= GPLv3
LIB_DEPENDS= libexiv2.so:graphics/exiv2 \
libopencv_highgui.so:graphics/opencv \
libopencv_core.so:graphics/opencv \
liblcms2.so:graphics/lcms2 \
libquazip1-qt5.so:archivers/quazip
USES= cmake compiler:c++11-lang desktop-file-utils \
dos2unix pkgconfig qt:5
USE_QT= concurrent core gui network printsupport svg widgets \
buildtools_build linguisttools_build qmake_build
DOS2UNIX_FILES= ImageLounge/plugins/PaintPlugin/src/DkPaintPlugin.cpp \
ImageLounge/src/DkGui/DkWidgets.cpp
USE_LDCONFIG= yes
USE_GITHUB= yes
CMAKE_ARGS= -DUSE_SYSTEM_QUAZIP=ON
CMAKE_SOURCE_PATH= ${WRKSRC}/ImageLounge
OPTIONS_DEFINE= RAW TIFF TRANSLATIONS PLUGINS
OPTIONS_DEFAULT= RAW TIFF TRANSLATIONS PLUGINS
OPTIONS_SUB= yes
RAW_LIB_DEPENDS= libraw.so:graphics/libraw
RAW_CMAKE_BOOL= ENABLE_RAW
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_CMAKE_BOOL= ENABLE_TIFF
TRANSLATIONS_CMAKE_BOOL= ENABLE_TRANSLATIONS
TRANSLATIONS_DESC= Install translations
PLUGINS_GH_TUPLE= nomacs:nomacs-plugins:3.16:plugins/ImageLounge/plugins
PLUGINS_CMAKE_ON= ENABLE_PLUGINS
.include <bsd.port.mk>
|