1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

x11/gtklock: update to 3.0.0

Changes:	https://github.com/jovanlanik/gtklock/releases/tag/v3.0.0
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2024-04-18 20:31:22 +02:00
parent 4705887679
commit f89bef84c5
3 changed files with 29 additions and 15 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= gtklock
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
PORTREVISION= 1
DISTVERSION= 3.0.0
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
@ -11,22 +10,22 @@ WWW= https://github.com/jovanlanik/gtklock
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= scdoc:textproc/scdoc
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
LIB_DEPENDS= libgtk-session-lock.so:x11-toolkits/gtk-session-lock
RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper
USES= compiler:c11 gmake gnome pkgconfig
USES= compiler:c11 gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= gtk30
GH_ACCOUNT= jovanlanik
MAKEFILE= makefile
LDFLAGS+= -Wl,--as-needed # gtk30 deps
LDFLAGS_i386= -Wl,-z,notext
PLIST_FILES= bin/${PORTNAME} \
etc/pam.d/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz
etc/pam.d/${PORTNAME}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1683380662
SHA256 (jovanlanik-gtklock-v2.1.0_GH0.tar.gz) = 47cc09ab773e90e3a28240faaabb8d9ac4e36f5234a2b5c3a956039783365f43
SIZE (jovanlanik-gtklock-v2.1.0_GH0.tar.gz) = 56550
TIMESTAMP = 1713465082
SHA256 (jovanlanik-gtklock-v3.0.0_GH0.tar.gz) = a65e8636680c1fb11c449ecb0c88771345a9535150b7a372bc615def6bea2c7c
SIZE (jovanlanik-gtklock-v3.0.0_GH0.tar.gz) = 54555
SHA256 (Cu3PO42-gtk-session-lock-v0.2.0_GH0.tar.gz) = a4245c6930580c15ed263b9a7bb7e39f47693baec78be1026b4e0e28b233cb4e
SIZE (Cu3PO42-gtk-session-lock-v0.2.0_GH0.tar.gz) = 96770

View File

@ -0,0 +1,13 @@
meson.build:19:6: ERROR: Dependency "pam" not found, tried pkgconfig
--- meson.build.orig 2024-04-18 18:31:22 UTC
+++ meson.build
@@ -16,7 +16,7 @@ gmodule_export = dependency('gmodule-export-2.0')
gtk = dependency('gtk+-3.0')
gtk_session_lock = dependency('gtk-session-lock-0')
gmodule_export = dependency('gmodule-export-2.0')
-pam = dependency('pam')
+pam = meson.get_compiler('c').find_library('pam')
dependencies = [
gtk,