Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gtklock: update to 3.0.0
@ 2024-04-19 14:24 jovanlanik
  2024-04-19 14:48 ` [PR PATCH] [Updated] " jovanlanik
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jovanlanik @ 2024-04-19 14:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

There is a new pull request by jovanlanik against master on the void-packages repository

https://github.com/jovanlanik/void-packages master
https://github.com/void-linux/void-packages/pull/49914

gtklock: update to 3.0.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

I was unsure if the new dependency should be a separate commit, I can squash if needed.

A patch file from https://github.com/void-linux/void-packages/pull/49914.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49914.patch --]
[-- Type: text/x-diff, Size: 3581 bytes --]

From 882312c989042a428dc137766bc515e767eff3bb Mon Sep 17 00:00:00 2001
From: Jovan Lanik <jox969@gmail.com>
Date: Fri, 19 Apr 2024 16:16:22 +0200
Subject: [PATCH 1/2] New package: gtk-session-lock

---
 common/shlibs                     |  1 +
 srcpkgs/gtk-session-lock-devel    |  1 +
 srcpkgs/gtk-session-lock/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/gtk-session-lock-devel
 create mode 100644 srcpkgs/gtk-session-lock/template

diff --git a/common/shlibs b/common/shlibs
index 7e56fe664a4515..0193ee83038ecc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4305,3 +4305,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
diff --git a/srcpkgs/gtk-session-lock-devel b/srcpkgs/gtk-session-lock-devel
new file mode 120000
index 00000000000000..ba3bfc79aab380
--- /dev/null
+++ b/srcpkgs/gtk-session-lock-devel
@@ -0,0 +1 @@
+gtk-session-lock
\ No newline at end of file
diff --git a/srcpkgs/gtk-session-lock/template b/srcpkgs/gtk-session-lock/template
new file mode 100644
index 00000000000000..773c6d73194dca
--- /dev/null
+++ b/srcpkgs/gtk-session-lock/template
@@ -0,0 +1,30 @@
+# 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 git"
+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
+
+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
+	}
+}

From 90189c76da54de9a4ac153c34e2e541bdfe898a0 Mon Sep 17 00:00:00 2001
From: Jovan Lanik <jox969@gmail.com>
Date: Fri, 19 Apr 2024 16:16:58 +0200
Subject: [PATCH 2/2] gtklock: update to 3.0.0

---
 srcpkgs/gtklock/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/gtklock/template b/srcpkgs/gtklock/template
index b6300b83477716..15f8f137e3c70d 100644
--- a/srcpkgs/gtklock/template
+++ b/srcpkgs/gtklock/template
@@ -1,17 +1,16 @@
 # Template file for 'gtklock'
 pkgname=gtklock
-version=2.1.0
+version=3.0.0
 revision=1
-build_style=gnu-makefile
-make_use_env=yes
-hostmakedepends="pkg-config wayland-devel glib-devel scdoc"
-makedepends="pam-devel gtk+3-devel gtk-layer-shell-devel"
+build_style=meson
+hostmakedepends="pkg-config glib-devel scdoc"
+makedepends="pam-devel gtk+3-devel gtk-session-lock-devel"
 short_desc="GTK-based lockscreen for Wayland"
 maintainer="Jovan Lanik <jox969@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/jovanlanik/gtklock"
 distfiles="https://github.com/jovanlanik/gtklock/archive/refs/tags/v${version}.tar.gz"
-checksum=47cc09ab773e90e3a28240faaabb8d9ac4e36f5234a2b5c3a956039783365f43
+checksum=a65e8636680c1fb11c449ecb0c88771345a9535150b7a372bc615def6bea2c7c
 
 post_install() {
 	# copying CSS example provided

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-21 19:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 14:24 [PR PATCH] gtklock: update to 3.0.0 jovanlanik
2024-04-19 14:48 ` [PR PATCH] [Updated] " jovanlanik
2024-04-19 14:55 ` jovanlanik
2024-04-19 16:52 ` cinerea0
2024-04-19 23:51 ` [PR PATCH] [Updated] " jovanlanik
2024-04-19 23:52 ` jovanlanik
2024-04-21  3:01 ` cinerea0
2024-04-21  3:08 ` jovanlanik
2024-04-21 19:40 ` [PR PATCH] [Merged]: " cinerea0

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).