x11-wm/icewm: the port had been updated to version 3.3.1

Now fully supports nanosvg as an alternative to librsvg!
This commit is contained in:
Alexey Dokuchaev 2023-01-25 05:45:24 +00:00
parent 8ed4a7d97c
commit e85ce0128c
2 changed files with 7 additions and 10 deletions

View File

@ -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}

View File

@ -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