swaylock: update to 1.7.

This commit is contained in:
mhmdanas 2022-12-08 00:20:26 +00:00 committed by classabbyamp
parent ccfbf38d91
commit d4a6379899
2 changed files with 32 additions and 3 deletions

View File

@ -0,0 +1,29 @@
From d9e71c87c7af8687750901d71409140f1bd181bd Mon Sep 17 00:00:00 2001
From: nerdopolis <bluescreen_avenger@verizon.net>
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,
]

View File

@ -1,6 +1,6 @@
# Template file for 'swaylock' # Template file for 'swaylock'
pkgname=swaylock pkgname=swaylock
version=1.6 version=1.7
revision=1 revision=1
build_style=meson build_style=meson
conf_files="/etc/pam.d/swaylock" conf_files="/etc/pam.d/swaylock"
@ -11,8 +11,8 @@ short_desc="Screen locker for Wayland"
maintainer="Derriick <derriick.ensiie@yahoo.com>" maintainer="Derriick <derriick.ensiie@yahoo.com>"
license="MIT" license="MIT"
homepage="https://swaywm.org" homepage="https://swaywm.org"
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz" distfiles="https://github.com/swaywm/swaylock/archive/${version}.tar.gz"
checksum=b9181e15d8166bba3a29dabb392cfe94568e4ceb358d388a812cd28c3f61bbe3 checksum=4c4d3c3ed838c085feb0b237b9aaaabdf66cbc05e2b034b2cb5c552957e620d6
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE