aboutsummaryrefslogtreecommitdiff
path: root/graphics/oyranos
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-11-11 12:17:22 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-11-11 12:17:22 +0000
commit1e6c4a8112b1f223f74e1408b4f6ae8e53c1f5b2 (patch)
tree8b7b54bb927c0b3d40a871e21c19e9d7f1b71da5 /graphics/oyranos
parent054d406447dc0b5be77c3545e1327483567a7caa (diff)
downloadports-1e6c4a8112b1f223f74e1408b4f6ae8e53c1f5b2.tar.gz
ports-1e6c4a8112b1f223f74e1408b4f6ae8e53c1f5b2.zip
FLTK-based auxiliary programs fail to build after r552109 (Mesa update),
so make them optional and disabled by default for the time being. This allows to unbreak the port and, subsequently, its consumers.
Notes
Notes: svn path=/head/; revision=554890
Diffstat (limited to 'graphics/oyranos')
-rw-r--r--graphics/oyranos/Makefile11
-rw-r--r--graphics/oyranos/pkg-plist14
2 files changed, 14 insertions, 11 deletions
diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile
index 488655cf1d61..4e75ee277d21 100644
--- a/graphics/oyranos/Makefile
+++ b/graphics/oyranos/Makefile
@@ -10,8 +10,6 @@ COMMENT= Colour Management System (CMS)
LICENSE= BSD3CLAUSE
-BROKEN= fails to build
-
RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \
${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \
xcalib:x11/xcalib
@@ -20,7 +18,6 @@ LIB_DEPENDS= libraw.so:graphics/libraw \
libpng.so:graphics/png \
libcairo.so:graphics/cairo \
libyajl.so:devel/yajl \
- libfltk.so:x11-toolkits/fltk \
libcups.so:print/cups \
libxdot.so:graphics/graphviz \
liblcms.so:graphics/lcms \
@@ -44,10 +41,16 @@ CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_JOBS_UNSAFE=yes
-OPTIONS_DEFINE= DOXYGEN DOCS
+OPTIONS_DEFINE= DOCS DOXYGEN FLTK
+OPTIONS_SUB= yes
+FLTK_DESC= Build FLTK-based auxiliary programs
+FLTK_BROKEN= fails to build, see https://github.com/oyranos-cms/oyranos/issues/62
+
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen
+FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
+
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
diff --git a/graphics/oyranos/pkg-plist b/graphics/oyranos/pkg-plist
index 6d6a3091d589..1a33776cbbcf 100644
--- a/graphics/oyranos/pkg-plist
+++ b/graphics/oyranos/pkg-plist
@@ -1,7 +1,7 @@
bin/oyranos-config
-bin/oyranos-config-fltk
+%%FLTK%%bin/oyranos-config-fltk
bin/oyranos-icc
-bin/oyranos-image-display
+%%FLTK%%bin/oyranos-image-display
bin/oyranos-monitor
bin/oyranos-monitor-daemon
bin/oyranos-policy
@@ -10,7 +10,7 @@ bin/oyranos-profile-graph
bin/oyranos-profile-install
bin/oyranos-profiles
bin/oyranos-xforms
-bin/oyranos-xforms-fltk
+%%FLTK%%bin/oyranos-xforms-fltk
bin/oyranos-xforms-modules
bin/qcmsevents
etc/xdg/autostart/oyranos-monitor-setup.desktop
@@ -106,7 +106,7 @@ lib/liboyranos_modules-static.a
lib/liboyranos_object-static.a
lib/oyranos-meta/liboyranos_oyIM_cmm_module.so
libdata/pkgconfig/oyranos.pc
-man/man1/oyranos-config-fltk.1.gz
+%%FLTK%%man/man1/oyranos-config-fltk.1.gz
man/man1/oyranos-monitor-daemon.1.gz
man/man1/oyranos-monitor.1.gz
man/man1/oyranos-policy.1.gz
@@ -119,7 +119,7 @@ man/man1/qcmsevents-qt4.1.gz
man/man1/qcmsevents.1.gz
man/man3/oyranos-config.3.gz
man/man3/oyranos.3.gz
-share/applications/oyranos-image-display.desktop
+%%FLTK%%share/applications/oyranos-image-display.desktop
share/applications/oyranos-profile-install.desktop
share/applications/qcmsevents-applet.desktop
share/color/rank-map/config.icc_profile.monitor.oyX1.qarz.json
@@ -135,8 +135,8 @@ share/locale/eo/LC_MESSAGES/oyranos.mo
share/locale/eu/LC_MESSAGES/oyranos.mo
share/locale/fr/LC_MESSAGES/oyranos.mo
share/locale/ru/LC_MESSAGES/oyranos.mo
-share/man/man1/oyranos-image-display.1.gz
-share/man/man1/oyranos-xforms-fltk.1.gz
+%%FLTK%%share/man/man1/oyranos-image-display.1.gz
+%%FLTK%%share/man/man1/oyranos-xforms-fltk.1.gz
share/man/man1/oyranos-xforms-modules.1.gz
share/pixmaps/lcms_logo2.png
share/pixmaps/oyranos_logo.png