mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
x11-wm/icewm: update IceWM to version 3.3.0
Build against `graphics/nanosvg' by default, which is currently supported only with Imlib2 renderer. Being a simple two-header dependency, it does not warrant an additional option. LIBRSVG2 would override it if selected.
This commit is contained in:
parent
37e6399d5c
commit
81ff56db9f
2 changed files with 16 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= icewm
|
||||
PORTVERSION= 3.2.3
|
||||
PORTVERSION= 3.3.0
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= https://github.com/ice-wm/icewm/releases/download/${PORTVERSION}/
|
||||
|
||||
|
@ -24,7 +24,7 @@ GNU_CONFIGURE= yes
|
|||
CONFIGURE_ARGS= --with-icesound=oss
|
||||
SHEBANG_FILES= contrib/icewm-menu-xrandr
|
||||
|
||||
OPTIONS_DEFINE= BEASTIE DOCS IMLIB2 NLS SVG XFT XINERAMA XRANDR
|
||||
OPTIONS_DEFINE= BEASTIE DOCS IMLIB2 LIBRSVG2 NLS XFT XINERAMA XRANDR
|
||||
OPTIONS_DEFAULT= BEASTIE IMLIB2 XFT XINERAMA XRANDR
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
|
@ -32,17 +32,19 @@ 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_USE= GNOME=librsvg2
|
||||
LIBRSVG2_CONFIGURE_OFF= --disable-rsvg
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
SVG_USE= GNOME=librsvg2
|
||||
SVG_CONFIGURE_OFF= --disable-rsvg
|
||||
|
||||
XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft
|
||||
XFT_CONFIGURE_OFF= --enable-corefonts --disable-xfreetype
|
||||
|
||||
|
@ -59,6 +61,12 @@ post-extract:
|
|||
@${LN} -sf ${STARTUP_PIXMAP} ${WRKSRC}/lib/${dir}/start.xpm
|
||||
.endfor
|
||||
|
||||
post-patch-IMLIB2-on:
|
||||
@${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}
|
||||
.for f in ChangeLog NEWS README TODO doc/*.html
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1670195464
|
||||
SHA256 (icewm-3.2.3.tar.lz) = af735dedcc8ee8912de0a7651a451e7caa68a54b343475947068b779b2d48421
|
||||
SIZE (icewm-3.2.3.tar.lz) = 1788099
|
||||
TIMESTAMP = 1671564310
|
||||
SHA256 (icewm-3.3.0.tar.lz) = f8dea2bc4f8648ee11fbcb3b7efe9162eebe0f9e33eb561f928eef9c72d97393
|
||||
SIZE (icewm-3.3.0.tar.lz) = 1794714
|
||||
|
|
Loading…
Add table
Reference in a new issue