diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-02-04 21:39:59 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-02-05 19:04:20 +0900 |
commit | 4b9a80761586dd80c4a8d51f9f421ff62325cf96 (patch) | |
tree | 578871ad6f7adbc2fee980dc7f59234d16c48cfc | |
parent | app-voices/rhvoice-arina: new package, add 4.0 (diff) | |
download | guru-4b9a80761586dd80c4a8d51f9f421ff62325cf96.tar.gz guru-4b9a80761586dd80c4a8d51f9f421ff62325cf96.tar.bz2 guru-4b9a80761586dd80c4a8d51f9f421ff62325cf96.zip |
x11-misc/betterlockscreen: add 4.2.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
-rw-r--r-- | x11-misc/betterlockscreen/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/betterlockscreen/betterlockscreen-4.2.0.ebuild | 46 | ||||
-rw-r--r-- | x11-misc/betterlockscreen/metadata.xml | 2 |
3 files changed, 48 insertions, 1 deletions
diff --git a/x11-misc/betterlockscreen/Manifest b/x11-misc/betterlockscreen/Manifest index 6e310a6c2..3fe8ac3fd 100644 --- a/x11-misc/betterlockscreen/Manifest +++ b/x11-misc/betterlockscreen/Manifest @@ -1 +1,2 @@ DIST betterlockscreen-4.0.4.tar.gz 14532 BLAKE2B af85084956bf8831d8fb9f6999ca3fd5c07a0c7a69a11749eb2e929952d9ab4c579633e8efd58ea5ac075c3e87eb8930f7414b482c3a33cee8f131d35823e442 SHA512 244e5c3fa4aaa50f95f1a5cba1458d93290f4f2e821e94161c21ebb55f5a79aeccc773a79e77beed926f47f3c75fa6982f92b257168d70598426418a37110379 +DIST betterlockscreen-4.2.0.tar.gz 18383 BLAKE2B ba5f6c4d63b1b8f48bf3a805207cb45a240f1f7262c3ae8e0a163dd03c6d84d5b7621216511cf3f1c37e49191750a4adab03cbde252fab3784c380d21577a612 SHA512 e8445c10d3bcf59db782c9afbb15114e3191e5a689a84eab4976905ac7ab003228cb34c4805fccea160c9b0b87fdb51f4af8bfba1b19b850961f34b15ca9fbcb diff --git a/x11-misc/betterlockscreen/betterlockscreen-4.2.0.ebuild b/x11-misc/betterlockscreen/betterlockscreen-4.2.0.ebuild new file mode 100644 index 000000000..0824429c8 --- /dev/null +++ b/x11-misc/betterlockscreen/betterlockscreen-4.2.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 ' +} diff --git a/x11-misc/betterlockscreen/metadata.xml b/x11-misc/betterlockscreen/metadata.xml index 966206cd6..08be868a6 100644 --- a/x11-misc/betterlockscreen/metadata.xml +++ b/x11-misc/betterlockscreen/metadata.xml @@ -6,6 +6,6 @@ <name>Petrus Zhao</name> </maintainer> <upstream> - <remote-id type="github">pavanjadhaw/betterlockscreen</remote-id> + <remote-id type="github">betterlockscreen/betterlockscreen</remote-id> </upstream> </pkgmetadata> |