Skip to content

Commit

Permalink
deskutils/i3lock: update to 2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Mar 18, 2024
1 parent 18be097 commit 91793f5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
8 changes: 2 additions & 6 deletions 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}/

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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
11 changes: 11 additions & 0 deletions 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')

0 comments on commit 91793f5

Please sign in to comment.