pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/imv imv: svg support doesn't work with librsvg-c



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c06b39722251
branches:  trunk
changeset: 455713:c06b39722251
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 09 18:33:36 2021 +0000

description:
imv: svg support doesn't work with librsvg-c

diffstat:

 graphics/imv/options.mk |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 35e6a01e7f3f -r c06b39722251 graphics/imv/options.mk
--- a/graphics/imv/options.mk   Fri Jul 09 18:31:56 2021 +0000
+++ b/graphics/imv/options.mk   Fri Jul 09 18:33:36 2021 +0000
@@ -1,16 +1,21 @@
-# $NetBSD: options.mk,v 1.3 2021/02/03 10:43:42 nia Exp $
+# $NetBSD: options.mk,v 1.4 2021/07/09 18:33:36 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.imv
-PKG_SUPPORTED_OPTIONS=         svg
 
 PKG_OPTIONS_NONEMPTY_SETS=     display
 PKG_OPTIONS_SET.display=       wayland x11
 
 .include "../../devel/wayland/platform.mk"
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
-PKG_SUGGESTED_OPTIONS= svg wayland x11
+.if ${PLATFORM_SUPPORTS_WAYLAND:tl} == "yes"
+PKG_SUGGESTED_OPTIONS= wayland x11
 .else
-PKG_SUGGESTED_OPTIONS= svg x11
+PKG_SUGGESTED_OPTIONS= x11
+.endif
+
+.include "../../graphics/librsvg/available.mk"
+.if ${LIBRSVG_TYPE:tl} == "rust"
+PKG_SUPPORTED_OPTIONS+=        svg
+PKG_SUGGESTED_OPTIONS+=        svg
 .endif
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index