x11-misc/i3lock-fancy-rapid: bump to 0.0.0_pre20210421

bump to 0.0.0_pre20210421
drop the sed command because it has been upstreamed

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo@outlook.com>
This commit is contained in:
Jian Lin
2021-04-21 08:55:27 +08:00
parent a589a3bd93
commit ae1126b867
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST i3lock-fancy-rapid-0.0.0_pre20201109.tar.gz 299910 BLAKE2B 180541c4f997a16418d2ded6718788276299be6952a644cfcd3204ee321550207507079246f287374d81be3c80b77d4dfcb8b603f20fe3aa55aadaed03f6a0d4 SHA512 b0afb68a3640f0fea1ff10440f145736b7ddebf9fec6c8c5707d23f6c05f168f680cdce59abdf8e5105ae853a2fa60a9a4672ac1c486e4dd83eab1031d348247
DIST i3lock-fancy-rapid-0.0.0_pre20210421.tar.gz 299917 BLAKE2B ee8ffc214da2b75971c0daebc1f24d70629c6f9f588c44c39b1a46a2cc4ce1ff88d21d0789780ff650d7f053ba32e391642078e234538eeeeebc2659789d4d12 SHA512 ba61068bb1d4780bdd2f82f9b08940f36c2054d4972b48c374efb5cd81f47a644f4f8e0112be8b07b819cc41a3ef1f5b4f80da3d26b0be284e311a55c2e3942b

View File

@@ -0,0 +1,42 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic toolchain-funcs
MY_REV="6eeebd4caa177b82fa5010b5e8828cce3f89fb97"
DESCRIPTION="A faster implementation of i3lock-fancy"
HOMEPAGE="https://github.com/yvbbrjdr/i3lock-fancy-rapid"
SRC_URI="https://github.com/yvbbrjdr/i3lock-fancy-rapid/archive/${MY_REV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_REV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
|| (
>=x11-misc/i3lock-2.12
>=x11-misc/i3lock-color-2.12
)
"
DEPEND="x11-libs/libX11"
src_prepare() {
default
sed -e "s/gcc/$(tc-getCC)/" \
-e "/CFLAGS=/d" \
-i Makefile || die
}
src_configure() {
default
append-cflags -fopenmp -lX11
}
src_install() {
dobin i3lock-fancy-rapid
einstalldocs
}