aboutsummaryrefslogtreecommitdiff
path: root/x11/wayland-logout
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-03-07 19:02:05 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-03-07 19:02:05 +0000
commit2272d1605e7dc0544771dc0d420597976ef08cd5 (patch)
tree9cb8304dd0b467b65fa8f377bf7cc68c1bee3fb8 /x11/wayland-logout
parent16fc0177fa36008eb50d94c451303e0e5c1421b1 (diff)
downloadports-2272d1605e7dc0544771dc0d420597976ef08cd5.tar.gz
ports-2272d1605e7dc0544771dc0d420597976ef08cd5.zip
Notes
Diffstat (limited to 'x11/wayland-logout')
-rw-r--r--x11/wayland-logout/Makefile18
-rw-r--r--x11/wayland-logout/distinfo12
2 files changed, 17 insertions, 13 deletions
diff --git a/x11/wayland-logout/Makefile b/x11/wayland-logout/Makefile
index ebfa34885128..d48139de3f2a 100644
--- a/x11/wayland-logout/Makefile
+++ b/x11/wayland-logout/Makefile
@@ -2,13 +2,9 @@
PORTNAME= wayland-logout
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1
+DISTVERSION= 1.4
CATEGORIES= x11
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+= 6e0c13c8b198.patch:-p1 # https://github.com/soreau/wayland-logout/pull/6
-PATCHFILES+= 64eb1c3c9a4d.patch:-p1 # https://github.com/soreau/wayland-logout/pull/6
-
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple logout on Wayland
@@ -18,8 +14,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= meson
USE_GITHUB= yes
GH_ACCOUNT= soreau
-MESON_ARGS= ${${OPSYS} == FreeBSD && ${OSREL:R} >= 13:?-Dimplementation=c:}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
+.include <bsd.port.options.mk>
+
+# Cannot use C implementation without cr_pid
+.if make(makesum)
+DISTFILES= ${DISTNAME:S/${DISTVERSION}/1.3/}${EXTRACT_SUFX}
+.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1300030
+DISTVERSION= 1.3
+NO_ARCH= yes
+MESON_ARGS+= -Dimplementation=shell
+.endif
+
.include <bsd.port.mk>
diff --git a/x11/wayland-logout/distinfo b/x11/wayland-logout/distinfo
index b3ebfc2d6bdf..788ebb5b75bc 100644
--- a/x11/wayland-logout/distinfo
+++ b/x11/wayland-logout/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1607050775
-SHA256 (soreau-wayland-logout-v1.1_GH0.tar.gz) = 814765492340d52c3371f46a37f0ebae1225f2db686ff0eab57c9464b80d756f
-SIZE (soreau-wayland-logout-v1.1_GH0.tar.gz) = 17731
-SHA256 (6e0c13c8b198.patch) = e22a33f9b4b99e3450b7527fc6124c7ee1bca93f95ae89fbb56b6b4a404ed98d
-SIZE (6e0c13c8b198.patch) = 1110
-SHA256 (64eb1c3c9a4d.patch) = df379f6e150417facd1973bb2dbc435bb3212d8a2edc09277481cfc0a0f32d36
-SIZE (64eb1c3c9a4d.patch) = 818
+TIMESTAMP = 1609062245
+SHA256 (soreau-wayland-logout-v1.3_GH0.tar.gz) = dc59dd2e80c340bc77d119e5e39fb4aec956177212cb63b87fe10096a35e8ddb
+SIZE (soreau-wayland-logout-v1.3_GH0.tar.gz) = 18033
+SHA256 (soreau-wayland-logout-v1.4_GH0.tar.gz) = 092b5f04b3e05662c91ab55251b3bd8571cfaa3e347ba1200b0b84bcb32e980f
+SIZE (soreau-wayland-logout-v1.4_GH0.tar.gz) = 16878