From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-misc/betterlockscreen/
Date: Tue, 24 Mar 2020 16:37:40 +0000 (UTC) [thread overview]
Message-ID: <1584689473.1ea95e794716de029b8d9d9ac59f826685f6fb21.mgorny@gentoo> (raw)
commit: 1ea95e794716de029b8d9d9ac59f826685f6fb21
Author: Petrus Zhao <petrus.zy.07 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 20 07:31:13 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 07:31:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ea95e79
x11-misc/betterlockscreen: new package
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Petrus Zhao <petrus.zy.07 <AT> gmail.com>
x11-misc/betterlockscreen/Manifest | 1 +
.../betterlockscreen/betterlockscreen-3.0.1.ebuild | 52 ++++++++++++++++++++++
.../betterlockscreen/betterlockscreen-9999.ebuild | 52 ++++++++++++++++++++++
x11-misc/betterlockscreen/metadata.xml | 11 +++++
4 files changed, 116 insertions(+)
diff --git a/x11-misc/betterlockscreen/Manifest b/x11-misc/betterlockscreen/Manifest
new file mode 100644
index 0000000..cd22e0c
--- /dev/null
+++ b/x11-misc/betterlockscreen/Manifest
@@ -0,0 +1 @@
+DIST betterlockscreen-3.0.1.tar.gz 7519 BLAKE2B 95f71eb4bacd11267ece411e84bb0371769f5a7f0f08493f3748ac6710217354bcef7dab59907aad560bcdb0f40bc0cb8d0115486e794110ce713a0ef108b4ce SHA512 8bd12f4d5a17850e413f43b94b33126113ccb93868e5b3ef57f026dc2167d6218f9f6718bf813ef587311b9617a4283574b78c9c953321d037d516a2884266ac
diff --git a/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild
new file mode 100644
index 0000000..d264d7d
--- /dev/null
+++ b/x11-misc/betterlockscreen/betterlockscreen-3.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="sweet looking lockscreen for linux system"
+HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3 systemd
+ EGIT_REPO_URI="${HOMEPAGE}"
+else
+ inherit systemd
+ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="
+ >=x11-misc/i3lock-color-2.11:=
+ media-gfx/imagemagick
+ x11-apps/xdpyinfo
+ x11-apps/xrandr
+ sys-devel/bc
+ media-gfx/feh
+"
+RDEPEND="${DEPEND}"
+
+src_install(){
+ dobin betterlockscreen
+
+ dodoc -r examples
+
+ if [[ $PV == 9999 ]] ; then
+ systemd_dounit system/betterlockscreen@.service
+ else
+ systemd_dounit betterlockscreen@.service
+ fi
+}
+
+pkg_postinst() {
+ elog 'Lockscreen when suspended(systemd service):'
+ elog 'systemctl enable betterlockscreen@$USER'
+ elog ''
+ elog 'How to use:'
+ elog '1. Updating image cache(required)'
+ elog 'betterlockscreen -u ~/Pictures'
+ elog '2. Lockscreen'
+ elog 'betterlockscreen -l dim '
+}
diff --git a/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild
new file mode 100644
index 0000000..d264d7d
--- /dev/null
+++ b/x11-misc/betterlockscreen/betterlockscreen-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="sweet looking lockscreen for linux system"
+HOMEPAGE="https://github.com/pavanjadhaw/betterlockscreen"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3 systemd
+ EGIT_REPO_URI="${HOMEPAGE}"
+else
+ inherit systemd
+ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="
+ >=x11-misc/i3lock-color-2.11:=
+ media-gfx/imagemagick
+ x11-apps/xdpyinfo
+ x11-apps/xrandr
+ sys-devel/bc
+ media-gfx/feh
+"
+RDEPEND="${DEPEND}"
+
+src_install(){
+ dobin betterlockscreen
+
+ dodoc -r examples
+
+ if [[ $PV == 9999 ]] ; then
+ systemd_dounit system/betterlockscreen@.service
+ else
+ systemd_dounit betterlockscreen@.service
+ fi
+}
+
+pkg_postinst() {
+ elog 'Lockscreen when suspended(systemd service):'
+ elog 'systemctl enable betterlockscreen@$USER'
+ elog ''
+ elog 'How to use:'
+ elog '1. Updating image cache(required)'
+ elog 'betterlockscreen -u ~/Pictures'
+ elog '2. Lockscreen'
+ elog 'betterlockscreen -l dim '
+}
diff --git a/x11-misc/betterlockscreen/metadata.xml b/x11-misc/betterlockscreen/metadata.xml
new file mode 100644
index 0000000..660724d
--- /dev/null
+++ b/x11-misc/betterlockscreen/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>petrus.zy.07@gmail.com</email>
+ <name>Petrus Zhao</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pavanjadhaw/betterlockscreen</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2020-03-24 16:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 16:37 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-28 11:08 [gentoo-commits] repo/proj/guru:master commit in: x11-misc/betterlockscreen/ Andrew Ammerlaan
2021-03-28 11:43 Andrew Ammerlaan
2021-05-25 7:46 Andrew Ammerlaan
2021-05-30 14:47 Andrew Ammerlaan
2021-07-20 11:34 Florian Schmaus
2021-07-20 11:34 Florian Schmaus
2021-08-12 12:33 Florian Schmaus
2021-08-12 12:33 Florian Schmaus
2021-08-12 12:33 Florian Schmaus
2021-08-24 19:24 Andrew Ammerlaan
2022-05-16 12:33 Andrew Ammerlaan
2022-05-16 12:33 Andrew Ammerlaan
2024-02-05 11:57 David Roman
2024-02-05 11:57 David Roman
2024-08-06 3:19 Lucio Sauer
2024-08-06 3:19 Lucio Sauer
2024-09-18 23:46 Haelwenn Monnier
2024-09-18 23:46 Haelwenn Monnier
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=1584689473.1ea95e794716de029b8d9d9ac59f826685f6fb21.mgorny@gentoo \
--to=mgorny@gentoo.org \
--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