public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/gtklock/files/, gui-apps/gtklock/
@ 2022-12-01  3:59 Haelwenn Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Haelwenn Monnier @ 2022-12-01  3:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f47803c07e99e255823b537545849b2fa4e85b78
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Thu Dec  1 02:26:05 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Dec  1 02:26:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f47803c0

gui-apps/gtklock: new package, add 2.0.1

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 gui-apps/gtklock/Manifest                           |  4 ++++
 gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch | 13 +++++++++++++
 gui-apps/gtklock/gtklock-2.0.1.ebuild               | 21 +++++++++++++++++++++
 gui-apps/gtklock/metadata.xml                       | 11 +++++++++++
 4 files changed, 49 insertions(+)

diff --git a/gui-apps/gtklock/Manifest b/gui-apps/gtklock/Manifest
new file mode 100644
index 000000000..b2458341b
--- /dev/null
+++ b/gui-apps/gtklock/Manifest
@@ -0,0 +1,4 @@
+AUX gtklock-2.0.1-makefile.patch 309 BLAKE2B 3167acde7c0e90c17b3fd26a070bc673f324b1faf9939428c14f6a3569636fd7ce9974d81b1a5f4e15f9b68d98a9197d384b7487c8f315cd4ea6916e7f63289f SHA512 9307d643210b519b6a43c3fd631608c67e512be76c15a183c3e133829ba8ab813e4b301f4e5f594aae56ef6b44a7191e55a00b2c79c9a0dcfa7387cc3dacf1c5
+DIST gtklock-2.0.1.tar.gz 56129 BLAKE2B 70b0aa3be5430665314d50f2d1322a4c57e7202b44b579f06712608b34797928b050aedb5a1c86e98d80a16f8c90fbd1a9b466a499ed04c44ef690805ea6bbf7 SHA512 d9ef0bacf78bcfaf71b4252b8f48678970b044a8fb4de4ab6e6c8a7ac5047b5ad1092401b5f1f57fd009cd9bf508ed7390ef84b71dffa2e994b74b996d7136f3
+EBUILD gtklock-2.0.1.ebuild 462 BLAKE2B f2d5ec82cfa852a4d5e155603c46c728ce8baa5d7e159b53d162ef21e3810d00d649c0f00c65abfff100a746d400998bfc0446338eb35d8d3b838934c4e84c8d SHA512 43e8accab79492899e048a2f1abec0a396ca9bffd2351ff9de2d12fbd5235cda423cbb141ccaf15a419fd13ce5691fa84d9c6e044e5cfa6cbb435d22a74fcfb5
+MISC metadata.xml 323 BLAKE2B ce78e71bc84ee58711e086cbd255ec901d3786d927f96d7564cf564869760c3ca532dca340b7123e33038477e869a48e1a3bf8087a0758fd7c8f876b65f13bce SHA512 071c746703586fb82565822e4050002eee97218703639ed0ac7db35f1e5e919da2f073eb8dbfb6a0f0d3ea45b147beaeef0ccfbc06e25d526958b8a0ff7a77ab

diff --git a/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch b/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch
new file mode 100644
index 000000000..bb62649ac
--- /dev/null
+++ b/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/makefile b/makefile
+index 6541641..4c2b2bd 100644
+--- a/makefile
++++ b/makefile
+@@ -8,7 +8,7 @@ MAJOR_VERSION := 2
+ MINOR_VERSION := 0
+ MICRO_VERSION := 0
+ 
+-PREFIX = /usr/local
++PREFIX = /usr
+ INSTALL = install
+ 
+ LIBS := pam wayland-client gtk+-wayland-3.0 gtk-layer-shell-0 gmodule-export-2.0

diff --git a/gui-apps/gtklock/gtklock-2.0.1.ebuild b/gui-apps/gtklock/gtklock-2.0.1.ebuild
new file mode 100644
index 000000000..d66478055
--- /dev/null
+++ b/gui-apps/gtklock/gtklock-2.0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="GTK-based lockscreen for Wayland"
+HOMEPAGE="https://github.com/jovanlanik/gtklock"
+SRC_URI="https://github.com/jovanlanik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="sys-libs/pam
+	gui-libs/gtk-layer-shell"
+
+BDEPEND="app-text/scdoc"
+
+PATCHES=(
+	"${FILESDIR}"/"${P}"-makefile.patch
+)

diff --git a/gui-apps/gtklock/metadata.xml b/gui-apps/gtklock/metadata.xml
new file mode 100644
index 000000000..a37dd1168
--- /dev/null
+++ b/gui-apps/gtklock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>julien@jroy.ca</email>
+		<name>Julien Roy</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">jovanlanik/gtklock</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/gtklock/files/, gui-apps/gtklock/
@ 2024-04-22 20:52 David Roman
  0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-04-22 20:52 UTC (permalink / raw
  To: gentoo-commits

commit:     fe97381e24a4913b2c87cd3fb0ed303f1a97d153
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Apr 22 15:10:57 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Apr 22 15:38:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe97381e

gui-apps/gtklock: drop 2.0.1, add 3.0.0

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 gui-apps/gtklock/Manifest                          |  3 +--
 .../gtklock/files/gtklock-2.0.1-makefile.patch     | 13 -----------
 .../gtklock/files/gtklock-2.1.0-makefile.patch     | 13 -----------
 gui-apps/gtklock/gtklock-2.0.1.ebuild              | 21 -----------------
 .../{gtklock-2.1.0.ebuild => gtklock-3.0.0.ebuild} | 27 ++++++++++++++++------
 5 files changed, 21 insertions(+), 56 deletions(-)

diff --git a/gui-apps/gtklock/Manifest b/gui-apps/gtklock/Manifest
index 2f1b1500c6..a9aaa4a02b 100644
--- a/gui-apps/gtklock/Manifest
+++ b/gui-apps/gtklock/Manifest
@@ -1,2 +1 @@
-DIST gtklock-2.0.1.tar.gz 56129 BLAKE2B 70b0aa3be5430665314d50f2d1322a4c57e7202b44b579f06712608b34797928b050aedb5a1c86e98d80a16f8c90fbd1a9b466a499ed04c44ef690805ea6bbf7 SHA512 d9ef0bacf78bcfaf71b4252b8f48678970b044a8fb4de4ab6e6c8a7ac5047b5ad1092401b5f1f57fd009cd9bf508ed7390ef84b71dffa2e994b74b996d7136f3
-DIST gtklock-2.1.0.tar.gz 56550 BLAKE2B 1875321d501970e82d75e32a76629697ef27fa049f795e0f9f3cb30a400ef30aec5f93b4bac9bc6049dc599ed8df8529ab22d6452ee7dd37336e96b40952bda7 SHA512 63fedae301089d922804398aa957eb784778ec033f0f7fd49e85fef0bbf6a029942e55751bcb05e99ded6c42ea88d601531a3b81cd33509ba0cae4cf81d84ce8
+DIST gtklock-3.0.0.tar.gz 54555 BLAKE2B 9c109c37cb3390bfd01b0a54446ec45bb9b4b234bdc547cf4b1c0bd77daf87743f9e4d22c687800f42ae77b81d169874ede203f8f38f6f07bc0612147cdcf60e SHA512 01c3d4eea155c1d8472f191af5ab6c66509cd7bd3c4b9b7beb1c50005d6015d977474d85e0da5a307e8a6a970456a89ef1b86fb5b218a7943ebc57f710bf534b

diff --git a/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch b/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch
deleted file mode 100644
index bb62649ac7..0000000000
--- a/gui-apps/gtklock/files/gtklock-2.0.1-makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/makefile b/makefile
-index 6541641..4c2b2bd 100644
---- a/makefile
-+++ b/makefile
-@@ -8,7 +8,7 @@ MAJOR_VERSION := 2
- MINOR_VERSION := 0
- MICRO_VERSION := 0
- 
--PREFIX = /usr/local
-+PREFIX = /usr
- INSTALL = install
- 
- LIBS := pam wayland-client gtk+-wayland-3.0 gtk-layer-shell-0 gmodule-export-2.0

diff --git a/gui-apps/gtklock/files/gtklock-2.1.0-makefile.patch b/gui-apps/gtklock/files/gtklock-2.1.0-makefile.patch
deleted file mode 100644
index 7d5a8dd008..0000000000
--- a/gui-apps/gtklock/files/gtklock-2.1.0-makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/makefile b/makefile
-index 0d01ffb..e918d0b 100644
---- a/makefile
-+++ b/makefile
-@@ -8,7 +8,7 @@ MAJOR_VERSION := 2
- MINOR_VERSION := 1
- MICRO_VERSION := 0
- 
--PREFIX = /usr/local
-+PREFIX = /usr
- SYSCONFDIR = $(PREFIX)/etc
- 
- ifeq '$(shell uname)' 'Linux'

diff --git a/gui-apps/gtklock/gtklock-2.0.1.ebuild b/gui-apps/gtklock/gtklock-2.0.1.ebuild
deleted file mode 100644
index be9e541f9d..0000000000
--- a/gui-apps/gtklock/gtklock-2.0.1.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="GTK-based lockscreen for Wayland"
-HOMEPAGE="https://github.com/jovanlanik/gtklock"
-SRC_URI="https://github.com/jovanlanik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="sys-libs/pam
-	>=gui-libs/gtk-layer-shell-0.6.0"
-
-BDEPEND="app-text/scdoc"
-
-PATCHES=(
-	"${FILESDIR}"/"${P}"-makefile.patch
-)

diff --git a/gui-apps/gtklock/gtklock-2.1.0.ebuild b/gui-apps/gtklock/gtklock-3.0.0.ebuild
similarity index 51%
rename from gui-apps/gtklock/gtklock-2.1.0.ebuild
rename to gui-apps/gtklock/gtklock-3.0.0.ebuild
index be9e541f9d..1f3d329c3c 100644
--- a/gui-apps/gtklock/gtklock-2.1.0.ebuild
+++ b/gui-apps/gtklock/gtklock-3.0.0.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit meson
+
 DESCRIPTION="GTK-based lockscreen for Wayland"
 HOMEPAGE="https://github.com/jovanlanik/gtklock"
 SRC_URI="https://github.com/jovanlanik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -11,11 +13,22 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 
-RDEPEND="sys-libs/pam
-	>=gui-libs/gtk-layer-shell-0.6.0"
-
-BDEPEND="app-text/scdoc"
+IUSE="man"
+RDEPEND="
+	sys-libs/pam
+	x11-libs/gtk+:3[wayland]
+	gui-libs/gtk-session-lock
+"
+DEPEND="${DEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	dev-build/meson
+	man? ( app-text/scdoc )
+"
 
-PATCHES=(
-	"${FILESDIR}"/"${P}"-makefile.patch
-)
+src_configure() {
+        local emesonargs=(
+                $(meson_feature man man-pages)
+		)
+        meson_src_configure
+}


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

end of thread, other threads:[~2024-04-22 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 20:52 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/gtklock/files/, gui-apps/gtklock/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2022-12-01  3:59 Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox