From 02dd7019350a61cac1334efa03c111db1fc6a485 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Mon, 30 Jan 2023 16:58:51 +0000 Subject: [PATCH] swaylock: update to 1.7.2. --- .../fix-shm_unlink-undefined-reference.patch | 29 ------------------- srcpkgs/swaylock/template | 9 +++--- 2 files changed, 5 insertions(+), 33 deletions(-) delete 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 deleted file mode 100644 index e155d7f85ca8..000000000000 --- a/srcpkgs/swaylock/patches/fix-shm_unlink-undefined-reference.patch +++ /dev/null @@ -1,29 +0,0 @@ -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 1675363faf95..0212a1fab532 100644 --- a/srcpkgs/swaylock/template +++ b/srcpkgs/swaylock/template @@ -1,6 +1,6 @@ # Template file for 'swaylock' pkgname=swaylock -version=1.7 +version=1.7.2 revision=1 build_style=meson conf_files="/etc/pam.d/swaylock" @@ -10,9 +10,10 @@ makedepends="wayland-protocols cairo-devel gdk-pixbuf-devel pam-devel short_desc="Screen locker for Wayland" maintainer="Derriick " license="MIT" -homepage="https://swaywm.org" -distfiles="https://github.com/swaywm/swaylock/archive/${version}.tar.gz" -checksum=4c4d3c3ed838c085feb0b237b9aaaabdf66cbc05e2b034b2cb5c552957e620d6 +homepage="https://github.com/swaywm/swaylock" +changelog="https://github.com/swaywm/swaylock/releases" +distfiles="https://github.com/swaywm/swaylock/releases/download/v${version}/swaylock-${version}.tar.gz" +checksum=bf965d47fb6fc1402f854d4679d21a9459713fc0f330bc607c9585db097b4304 post_install() { vlicense LICENSE