diff --git a/deskutils/i3lock/Makefile b/deskutils/i3lock/Makefile index 6ba6ea7408bd..48e51fa8d966 100644 --- a/deskutils/i3lock/Makefile +++ b/deskutils/i3lock/Makefile @@ -1,52 +1,48 @@ PORTNAME= i3lock -PORTVERSION= 2.13 -PORTREVISION= 2 +PORTVERSION= 2.15 CATEGORIES= deskutils x11 MASTER_SITES= http://i3wm.org/${PORTNAME}/ MAINTAINER= bapt@FreeBSD.org COMMENT= Slightly improved screen locker based on slock WWW= https://i3wm.org/i3lock/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcairo.so:graphics/cairo \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-image.so:x11/xcb-util-image \ libev.so:devel/libev \ libxkbfile.so:x11/libxkbfile \ libxkbcommon.so:x11/libxkbcommon \ libxcb-util.so:x11/xcb-util \ libxcb-xrm.so:x11/xcb-util-xrm RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper PLIST_FILES= bin/i3lock \ share/man/man1/i3lock.1.gz \ etc/pam.d/i3lock -USES= gmake iconv localbase pkgconfig tar:bzip2 xorg +USES= iconv localbase meson pkgconfig tar:xz xorg LDFLAGS+= ${ICONV_LIB} USE_XORG= x11 xcb xt xorgproto xext USE_CSTD= c99 -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFLICTS_INSTALL= i3lock-color PORTDOCS= CHANGELOG README.md OPTIONS_DEFINE= DOCS post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock @${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock @${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \ ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/deskutils/i3lock/distinfo b/deskutils/i3lock/distinfo index 5fafb62c0ff6..fe079f912a61 100644 --- a/deskutils/i3lock/distinfo +++ b/deskutils/i3lock/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1603984277 -SHA256 (i3lock-2.13.tar.bz2) = 637fe898acb324337d3ebc4fcdb2e390b082147fdc8a0cda6c19e7f395965f0b -SIZE (i3lock-2.13.tar.bz2) = 149332 +TIMESTAMP = 1710759931 +SHA256 (i3lock-2.15.tar.xz) = 5711ae5255e82b1dc8d8b4c035c520230921aba7ceee23d66f79765b21a84baa +SIZE (i3lock-2.15.tar.xz) = 29100 diff --git a/deskutils/i3lock/files/patch-meson.build b/deskutils/i3lock/files/patch-meson.build new file mode 100644 index 000000000000..ebf7b27d07de --- /dev/null +++ b/deskutils/i3lock/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2024-03-16 09:37:48 UTC ++++ meson.build +@@ -92,7 +92,7 @@ i3lock_srcs = [ + 'xcb.c', + ] + +-ev_dep = cc.find_library('ev') ++ev_dep = dependency('libev', method: 'pkg-config') + + thread_dep = dependency('threads') +