public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-libs/gtk-session-lock/
Date: Tue, 23 Apr 2024 10:26:17 +0000 (UTC)	[thread overview]
Message-ID: <1713857409.8a76a809d5cdb1280492ceb823bd35ed7f7c1749.davidroman@gentoo> (raw)

commit:     8a76a809d5cdb1280492ceb823bd35ed7f7c1749
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 07:25:37 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 07:30:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a76a809

gui-libs/gtk-session-lock: add 9999

* fix typos DEPEND, RDEPEND and BDEPEND

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

 .../gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild | 19 ++++++++++++-------
 ...k-0.2.0-r4.ebuild => gtk-session-lock-9999.ebuild} | 19 ++++++++++++-------
 2 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild b/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild
index 24f6a72b40..00e8401030 100644
--- a/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild
+++ b/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild
@@ -7,36 +7,41 @@ PYTHON_COMPAT=( python3_{10..12} )
 VALA_USE_DEPEND="vapigen"
 inherit vala meson python-any-r1
 
-SRC_URI="https://github.com/Cu3PO42/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Cu3PO42/${PN}.git"
+else
+	SRC_URI="https://github.com/Cu3PO42/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="GTK-based lockscreen for Wayland"
 HOMEPAGE="https://github.com/Cu3PO42/${PN}"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
 
 IUSE="examples gtk-doc introspection test vala"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="vala? ( introspection )"
-RDEPEND="
-	sys-libs/pam
-"
 DEPEND="
-	${DEPEND}
 	x11-libs/gtk+:3[introspection?,wayland]
 	>=dev-libs/wayland-1.22.0
 	>=dev-libs/wayland-protocols-1.34
 	test? ( gui-libs/gtk-layer-shell[introspection?] )
 "
+RDEPEND="
+	${DEPEND}
+	sys-libs/pam
+"
 BDEPEND="
 	dev-util/wayland-scanner
 	virtual/pkgconfig
 	dev-build/meson
 	gtk-doc? ( dev-util/gtk-doc )
 	test? ( ${PYTHON_DEPS} )
-	vala? ( $(vala_depend)
+	vala? ( $(vala_depend) )
 "
 
 src_prepare() {

diff --git a/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild b/gui-libs/gtk-session-lock/gtk-session-lock-9999.ebuild
similarity index 81%
copy from gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild
copy to gui-libs/gtk-session-lock/gtk-session-lock-9999.ebuild
index 24f6a72b40..00e8401030 100644
--- a/gui-libs/gtk-session-lock/gtk-session-lock-0.2.0-r4.ebuild
+++ b/gui-libs/gtk-session-lock/gtk-session-lock-9999.ebuild
@@ -7,36 +7,41 @@ PYTHON_COMPAT=( python3_{10..12} )
 VALA_USE_DEPEND="vapigen"
 inherit vala meson python-any-r1
 
-SRC_URI="https://github.com/Cu3PO42/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Cu3PO42/${PN}.git"
+else
+	SRC_URI="https://github.com/Cu3PO42/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="GTK-based lockscreen for Wayland"
 HOMEPAGE="https://github.com/Cu3PO42/${PN}"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
 
 IUSE="examples gtk-doc introspection test vala"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="vala? ( introspection )"
-RDEPEND="
-	sys-libs/pam
-"
 DEPEND="
-	${DEPEND}
 	x11-libs/gtk+:3[introspection?,wayland]
 	>=dev-libs/wayland-1.22.0
 	>=dev-libs/wayland-protocols-1.34
 	test? ( gui-libs/gtk-layer-shell[introspection?] )
 "
+RDEPEND="
+	${DEPEND}
+	sys-libs/pam
+"
 BDEPEND="
 	dev-util/wayland-scanner
 	virtual/pkgconfig
 	dev-build/meson
 	gtk-doc? ( dev-util/gtk-doc )
 	test? ( ${PYTHON_DEPS} )
-	vala? ( $(vala_depend)
+	vala? ( $(vala_depend) )
 "
 
 src_prepare() {


             reply	other threads:[~2024-04-23 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23 10:26 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-15 18:10 [gentoo-commits] repo/proj/guru:master commit in: gui-libs/gtk-session-lock/ Julien Roy
2024-12-15 18:10 Julien Roy
2024-05-25 13:01 Julien Roy
2024-04-23 10:26 David Roman
2024-04-22 20:52 David Roman
2024-04-22 20:52 David Roman
2024-04-22 20:52 David Roman
2024-04-22 20:52 David Roman
2024-04-22 20:52 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1713857409.8a76a809d5cdb1280492ceb823bd35ed7f7c1749.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox