From 01e39f52064f61a5f7d360ad027a9b33f5e902c9 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Thu, 8 Dec 2022 00:20:26 +0000 Subject: [PATCH] swaylock: update to 1.7. --- .../fix-shm_unlink-undefined-reference.patch | 29 +++++++++++++++++++ srcpkgs/swaylock/template | 4 +-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/swaylock/patches/fix-shm_unlink-undefined-reference.patch diff --git a/srcpkgs/swaylock/patches/fix-shm_unlink-undefined-reference.patch b/srcpkgs/swaylock/patches/fix-shm_unlink-undefined-reference.patch new file mode 100644 index 000000000000..e155d7f85ca8 --- /dev/null +++ b/srcpkgs/swaylock/patches/fix-shm_unlink-undefined-reference.patch @@ -0,0 +1,29 @@ +From d9e71c87c7af8687750901d71409140f1bd181bd Mon Sep 17 00:00:00 2001 +From: nerdopolis +Date: Sun, 27 Nov 2022 18:46:05 -0500 +Subject: [PATCH] Fix build on Debian Stable + +--- + meson.build | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/meson.build b/meson.build +index ace7c933..13548b74 100644 +--- a/meson.build ++++ b/meson.build +@@ -47,6 +47,7 @@ fish_comp = dependency('fish', required: false) + libpam = cc.find_library('pam', required: get_option('pam')) + crypt = cc.find_library('crypt', required: not libpam.found()) + math = cc.find_library('m') ++rt = cc.find_library('rt') + + git = find_program('git', required: false) + scdoc = find_program('scdoc', required: get_option('man-pages')) +@@ -112,6 +113,7 @@ dependencies = [ + client_protos, + gdk_pixbuf, + math, ++ rt, + xkbcommon, + wayland_client, + ] diff --git a/srcpkgs/swaylock/template b/srcpkgs/swaylock/template index 5908bfe376af..3388c23bf395 100644 --- a/srcpkgs/swaylock/template +++ b/srcpkgs/swaylock/template @@ -1,6 +1,6 @@ # Template file for 'swaylock' pkgname=swaylock -version=1.6 +version=1.7 revision=1 build_style=meson conf_files="/etc/pam.d/swaylock" @@ -12,7 +12,7 @@ maintainer="Derriick " license="MIT" homepage="https://swaywm.org" distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz" -checksum=b9181e15d8166bba3a29dabb392cfe94568e4ceb358d388a812cd28c3f61bbe3 +checksum=4c4d3c3ed838c085feb0b237b9aaaabdf66cbc05e2b034b2cb5c552957e620d6 post_install() { vlicense LICENSE