commit:     f13428d5907195692a6cafe0c012f323beacc42f
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Sep 17 14:43:18 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Sep 17 14:43:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f13428d5

x11-misc/betterlockscreen: add 4.4.0

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 x11-misc/betterlockscreen/Manifest                 |  1 +
 .../betterlockscreen/betterlockscreen-4.4.0.ebuild | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/x11-misc/betterlockscreen/Manifest 
b/x11-misc/betterlockscreen/Manifest
index 28979d380..b7ad83635 100644
--- a/x11-misc/betterlockscreen/Manifest
+++ b/x11-misc/betterlockscreen/Manifest
@@ -1 +1,2 @@
 DIST betterlockscreen-4.3.0.tar.gz 18267 BLAKE2B 
2f1d6929762f8c924d6ccaa761fa9f6041f30011da41438f068ffb6f90ecfd4c896075eb843ef2c505ea9beef206e85b34bfebacd636dc0f75339158daaac38d
 SHA512 
30d79223fb7fcbf26f49929538c613d392cfa67af91f1f49d7d0e4a650f242023ff5ea6909b8a5c3509b014ce0be054160e743d0b18ba2ed52e31d51cea74b0f
+DIST betterlockscreen-4.4.0.tar.gz 18333 BLAKE2B 
e1eb8ffd8f3ebc983c5d0b79a5cd3506bd92204a48e5ca370cf601eb619d93838fac781a9704e4ea8dfacbee9f007c3d4237ffa692ed57048703c70271b3bff0
 SHA512 
1392cac6c0e2ba923fe88408a160f93556930c20f069d553677f2c716f9dea6ca74f6c510d6bcac901318eb049303e73f9edba77a7ee35370448d14e263ab19d

diff --git a/x11-misc/betterlockscreen/betterlockscreen-4.4.0.ebuild 
b/x11-misc/betterlockscreen/betterlockscreen-4.4.0.ebuild
new file mode 100644
index 000000000..0824429c8
--- /dev/null
+++ b/x11-misc/betterlockscreen/betterlockscreen-4.4.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="sweet looking lockscreen for linux system"
+HOMEPAGE="https://github.com/betterlockscreen/betterlockscreen";
+SRC_URI="https://github.com/betterlockscreen/betterlockscreen/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       media-gfx/feh
+       media-gfx/imagemagick
+       sys-devel/bc
+       x11-apps/xdpyinfo
+       x11-apps/xrandr
+       x11-apps/xrdb
+       x11-apps/xset
+       >=x11-misc/i3lock-color-2.13.3:=
+"
+
+PATCHES=( "${FILESDIR}/00-fix-betterlockscreen-path-in-unit.patch" )
+
+src_install() {
+       dobin betterlockscreen
+
+       dodoc -r examples
+
+       systemd_dounit system/betterlockscreen@.service
+}
+
+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 "/path/to/img.jpg"'
+       elog '2. Lockscreen'
+       elog 'betterlockscreen -l dim '
+}

Reply via email to