mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
x11-misc/i3lock-fancy-rapid: add keyworded snapshot; fix tc-direct
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
1
x11-misc/i3lock-fancy-rapid/Manifest
Normal file
1
x11-misc/i3lock-fancy-rapid/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST i3lock-fancy-rapid-0.0.0_pre20201109.tar.gz 299910 BLAKE2B 180541c4f997a16418d2ded6718788276299be6952a644cfcd3204ee321550207507079246f287374d81be3c80b77d4dfcb8b603f20fe3aa55aadaed03f6a0d4 SHA512 b0afb68a3640f0fea1ff10440f145736b7ddebf9fec6c8c5707d23f6c05f168f680cdce59abdf8e5105ae853a2fa60a9a4672ac1c486e4dd83eab1031d348247
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
MY_REV="c70ecfa8a529cb71f21f475f31d748ce9b154a8b"
|
||||
|
||||
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"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=x11-misc/i3lock-2.12
|
||||
>=x11-misc/i3lock-color-2.12
|
||||
)
|
||||
"
|
||||
DEPEND="x11-libs/libX11"
|
||||
|
||||
S="${WORKDIR}"/i3lock-fancy-rapid-${MY_REV}
|
||||
|
||||
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 "${PN}"
|
||||
einstalldocs
|
||||
}
|
||||
@@ -2,18 +2,37 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="A faster implementation of i3lock-fancy"
|
||||
HOMEPAGE="https://github.com/yvbbrjdr/i3lock-fancy-rapid"
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
EGIT_REPO_URI="https://github.com/yvbbrjdr/i3lock-fancy-rapid.git"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
RDEPEND="x11-misc/i3lock-color"
|
||||
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 "${PN}"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user