Files
guru/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20210421.ebuild
Jian Lin ae1126b867 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>
2021-04-21 08:55:27 +08:00

43 lines
823 B
Bash

# 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
}