aboutsummaryrefslogtreecommitdiff
path: root/x11/cinnamon-screensaver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/cinnamon-screensaver/Makefile')
-rw-r--r--x11/cinnamon-screensaver/Makefile27
1 files changed, 18 insertions, 9 deletions
diff --git a/x11/cinnamon-screensaver/Makefile b/x11/cinnamon-screensaver/Makefile
index 6b4de701e272..72e6cb13fbe7 100644
--- a/x11/cinnamon-screensaver/Makefile
+++ b/x11/cinnamon-screensaver/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cinnamon-screensaver
-PORTVERSION= 5.4.2
-PORTREVISION= 3
+DISTVERSION= 6.4.0
+PORTREVISION= 1
CATEGORIES= x11 gnome
DIST_SUBDIR= gnome
@@ -13,7 +13,6 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
-BUILD_DEPENDS= gsettings-desktop-schemas>=3.2.0:devel/gsettings-desktop-schemas
LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \
libcinnamon-desktop.so:x11/cinnamon-desktop \
libdbus-glib-1.so:devel/dbus-glib \
@@ -22,16 +21,17 @@ RUN_DEPENDS= ${LOCALBASE}/lib/pam_gnome_keyring.so:security/gnome-keyring \
${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \
- ${LOCALBASE}/libexec/unix-selfauth-helper:security/unix-selfauth-helper
+ ${LOCALBASE}/libexec/unix-selfauth-helper:security/unix-selfauth-helper \
+ pidof:sysutils/pidof
-USES= gettext-tools gnome meson pkgconfig python shebangfix xorg
+USES= gnome meson pkgconfig python shebangfix xorg localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
-USE_XORG= x11 xext xinerama xrandr xscrnsaver
+USE_XORG= x11 xext xrandr
-USE_GNOME= cairo gdkpixbuf glib20 intltool introspection:build libgnomekbd pygobject3
+USE_GNOME= cairo gdkpixbuf glib20 gtk30 introspection:build pygobject3
SHEBANG_GLOB= *.py
BINARY_ALIAS= python3=${PYTHON_CMD}
@@ -40,9 +40,18 @@ USE_LDCONFIG= yes
SUB_FILES+= cinnamon-screensaver.pam
+OPTIONS_DEFINE= LOCKING SETRES XINERAMA
+OPTIONS_DEFAULT= LOCKING XINERAMA
+
+LOCKING_DESC= Compile in support for locking the display
+SETRES_DESC= Use setresuid/setresgid in the setuid.c helper
+
+LOCKING_MESON_TRUE= locking
+SETRES_MESON_TRUE= setres
+XINERAMA_USE= XORG=xinerama
+XINERAMA_MESON_TRUE= xinerama
+
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/lib|${PREFIX}/lib|g' \
- ${WRKSRC}/src/pamhelper/authClient.py
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${WRKSRC}/src/pamhelper/cinnamon-screensaver-pam-helper.c \
${WRKSRC}/libcscreensaver/test-passwd.c \