aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-01-25 05:45:24 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-01-25 05:45:24 +0000
commite85ce0128c32742d1ec14d6fb9f8489f5bd1fa02 (patch)
tree7dd32b5c57517ca8c18b62e83033b6fefb26788f
parent8ed4a7d97cc71f7763a84ccf7478072c4213b483 (diff)
downloadports-e85ce0128c32742d1ec14d6fb9f8489f5bd1fa02.tar.gz
ports-e85ce0128c32742d1ec14d6fb9f8489f5bd1fa02.zip
x11-wm/icewm: the port had been updated to version 3.3.1
Now fully supports nanosvg as an alternative to librsvg!
-rw-r--r--x11-wm/icewm/Makefile11
-rw-r--r--x11-wm/icewm/distinfo6
2 files changed, 7 insertions, 10 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 4ea013a8834f..db9e17df9e29 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= icewm
-PORTVERSION= 3.3.0
+PORTVERSION= 3.3.1
CATEGORIES= x11-wm
MASTER_SITES= https://github.com/ice-wm/icewm/releases/download/${PORTVERSION}/
@@ -32,15 +32,14 @@ BEASTIE_DESC= Use Beastie'fied startup button
BEASTIE_VARS= STARTUP_PIXMAP=bsd-daemon.xpm
BEASTIE_VARS_OFF= STARTUP_PIXMAP=icewm-logo.xpm
-IMLIB2_BUILD_DEPENDS= ${LOCALBASE}/include/nanosvg.h:graphics/nanosvg
IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2
IMLIB2_DESC= Use Imlib2 for rendering
-IMLIB2_CONFIGURE_ON= --enable-nanosvg
IMLIB2_CONFIGURE_OFF= --disable-imlib2 --enable-gdk-pixbuf
IMLIB2_USE_OFF= GNOME=gdkpixbuf2xlib
+LIBRSVG2_BUILD_DEPENDS_OFF= ${LOCALBASE}/include/nanosvg.h:graphics/nanosvg
LIBRSVG2_USE= GNOME=librsvg2
-LIBRSVG2_CONFIGURE_OFF= --disable-rsvg
+LIBRSVG2_CONFIGURE_OFF= --disable-rsvg --enable-nanosvg
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
@@ -61,11 +60,9 @@ post-extract:
@${LN} -sf ${STARTUP_PIXMAP} ${WRKSRC}/lib/${dir}/start.xpm
.endfor
-post-patch-IMLIB2-on:
+post-patch-LIBRSVG2-off:
@${LN} -sf ${LOCALBASE}/include/nanosvg.h \
${LOCALBASE}/include/nanosvgrast.h ${WRKSRC}/src
- @${REINPLACE_CMD} -e '/NANOSVG_IMPLEMENTATION/{ x; \
- s,^,#include <stdio.h>,; G; }' ${WRKSRC}/src/ysvg.cc
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/x11-wm/icewm/distinfo b/x11-wm/icewm/distinfo
index 6497a5eb0615..67f701b39b29 100644
--- a/x11-wm/icewm/distinfo
+++ b/x11-wm/icewm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671564310
-SHA256 (icewm-3.3.0.tar.lz) = f8dea2bc4f8648ee11fbcb3b7efe9162eebe0f9e33eb561f928eef9c72d97393
-SIZE (icewm-3.3.0.tar.lz) = 1794714
+TIMESTAMP = 1674556168
+SHA256 (icewm-3.3.1.tar.lz) = 936ac3e692877884355c6886e153549520388e3b78d4cb840e8bcf285aa212d4
+SIZE (icewm-3.3.1.tar.lz) = 1875279