New package: gtk-session-lock-0.2.0

This commit is contained in:
Jovan Lanik 2024-04-19 16:16:22 +02:00 committed by cinerea0
parent ba5a5e7089
commit 67c72de2d6
3 changed files with 34 additions and 0 deletions

View File

@ -4302,3 +4302,4 @@ force-stage.so.0.1 void-force-stage-0.1_1
libliftoff.so.0 libliftoff-0.4.1_1
libscfg.so libscfg-0.1.1_1
libmsgraph-0.so.1 msgraph-0.2.1_1
libgtk-session-lock.so.0 gtk-session-lock-0.2.0_1

View File

@ -0,0 +1 @@
gtk-session-lock

View File

@ -0,0 +1,32 @@
# Template file for 'gtk-session-lock'
pkgname=gtk-session-lock
version=0.2.0
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="gobject-introspection pkg-config wayland-devel"
makedepends="gtk+3-devel wayland-devel"
short_desc="Library to build screen lockers using the ext-session-lock-v1 protocol"
maintainer="Jovan Lanik <jox969@gmail.com>"
license="GPL-3.0-only, MIT"
homepage="https://github.com/Cu3PO42/gtk-session-lock"
distfiles="https://github.com/Cu3PO42/gtk-session-lock/archive/refs/tags/v${version}.tar.gz"
checksum=a4245c6930580c15ed263b9a7bb7e39f47693baec78be1026b4e0e28b233cb4e
# tests are leftovers from gtk-layer-shell as this library is based on it
make_check=no
post_install() {
vlicense LICENSE_MIT.txt
}
gtk-session-lock-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}