aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2024-03-18 11:10:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2024-03-18 11:10:48 +0000
commit91793f5718ef206dc2b9d5fe5fe3ed7279c0ecce (patch)
tree27da53ae09dc7f702507e324d2b04870ba536a00
parent18be0977c739e369b029abb2b9d254bccf02b271 (diff)
downloadports-91793f5718ef206dc2b9d5fe5fe3ed7279c0ecce.tar.gz
ports-91793f5718ef206dc2b9d5fe5fe3ed7279c0ecce.zip
deskutils/i3lock: update to 2.15
-rw-r--r--deskutils/i3lock/Makefile8
-rw-r--r--deskutils/i3lock/distinfo6
-rw-r--r--deskutils/i3lock/files/patch-meson.build11
3 files changed, 16 insertions, 9 deletions
diff --git a/deskutils/i3lock/Makefile b/deskutils/i3lock/Makefile
index 6ba6ea7408bd..48e51fa8d966 100644
--- a/deskutils/i3lock/Makefile
+++ b/deskutils/i3lock/Makefile
@@ -1,6 +1,5 @@
PORTNAME= i3lock
-PORTVERSION= 2.13
-PORTREVISION= 2
+PORTVERSION= 2.15
CATEGORIES= deskutils x11
MASTER_SITES= http://i3wm.org/${PORTNAME}/
@@ -26,12 +25,10 @@ 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
@@ -40,7 +37,6 @@ 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
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')
+