aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-08-05 23:31:41 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-08-05 23:32:17 +0900
commit29d6160551c39f2ebb2c0f331a1b81595e7682f7 (patch)
treeeba6621cee3741f77a274d73c285ecd4f43fc921 /x11-misc
parentx11-misc/i3lock-color: switch to out of source build (diff)
downloadguru-29d6160551c39f2ebb2c0f331a1b81595e7682f7.tar.gz
guru-29d6160551c39f2ebb2c0f331a1b81595e7682f7.tar.bz2
guru-29d6160551c39f2ebb2c0f331a1b81595e7682f7.zip
x11-misc/betterlockscreen: add 4.3.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/betterlockscreen/Manifest1
-rw-r--r--x11-misc/betterlockscreen/betterlockscreen-4.3.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/betterlockscreen/Manifest b/x11-misc/betterlockscreen/Manifest
index f13770aa1..cb3cbe55b 100644
--- a/x11-misc/betterlockscreen/Manifest
+++ b/x11-misc/betterlockscreen/Manifest
@@ -1 +1,2 @@
DIST betterlockscreen-4.2.0.tar.gz 18383 BLAKE2B ba5f6c4d63b1b8f48bf3a805207cb45a240f1f7262c3ae8e0a163dd03c6d84d5b7621216511cf3f1c37e49191750a4adab03cbde252fab3784c380d21577a612 SHA512 e8445c10d3bcf59db782c9afbb15114e3191e5a689a84eab4976905ac7ab003228cb34c4805fccea160c9b0b87fdb51f4af8bfba1b19b850961f34b15ca9fbcb
+DIST betterlockscreen-4.3.0.tar.gz 18267 BLAKE2B 2f1d6929762f8c924d6ccaa761fa9f6041f30011da41438f068ffb6f90ecfd4c896075eb843ef2c505ea9beef206e85b34bfebacd636dc0f75339158daaac38d SHA512 30d79223fb7fcbf26f49929538c613d392cfa67af91f1f49d7d0e4a650f242023ff5ea6909b8a5c3509b014ce0be054160e743d0b18ba2ed52e31d51cea74b0f
diff --git a/x11-misc/betterlockscreen/betterlockscreen-4.3.0.ebuild b/x11-misc/betterlockscreen/betterlockscreen-4.3.0.ebuild
new file mode 100644
index 000000000..0824429c8
--- /dev/null
+++ b/x11-misc/betterlockscreen/betterlockscreen-4.3.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 '
+}