diff options
author | Theo Anderson <telans@posteo.de> | 2020-12-21 18:31:29 +1300 |
---|---|---|
committer | Theo Anderson <telans@posteo.de> | 2020-12-21 18:31:29 +1300 |
commit | e5f41411b85c010dbe7dc865f377ea46dd44dfb3 (patch) | |
tree | cbf1d03ce670dd2ae922277312912dcfa89fd7c5 /x11-misc/i3lock-fancy-rapid | |
parent | x11-misc/i3lock-color: bump to 2.13.1 (diff) | |
download | guru-e5f41411b85c010dbe7dc865f377ea46dd44dfb3.tar.gz guru-e5f41411b85c010dbe7dc865f377ea46dd44dfb3.tar.bz2 guru-e5f41411b85c010dbe7dc865f377ea46dd44dfb3.zip |
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>
Diffstat (limited to 'x11-misc/i3lock-fancy-rapid')
3 files changed, 66 insertions, 3 deletions
diff --git a/x11-misc/i3lock-fancy-rapid/Manifest b/x11-misc/i3lock-fancy-rapid/Manifest new file mode 100644 index 000000000..f037f67bf --- /dev/null +++ b/x11-misc/i3lock-fancy-rapid/Manifest @@ -0,0 +1 @@ +DIST i3lock-fancy-rapid-0.0.0_pre20201109.tar.gz 299910 BLAKE2B 180541c4f997a16418d2ded6718788276299be6952a644cfcd3204ee321550207507079246f287374d81be3c80b77d4dfcb8b603f20fe3aa55aadaed03f6a0d4 SHA512 b0afb68a3640f0fea1ff10440f145736b7ddebf9fec6c8c5707d23f6c05f168f680cdce59abdf8e5105ae853a2fa60a9a4672ac1c486e4dd83eab1031d348247 diff --git a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild new file mode 100644 index 000000000..961ef1743 --- /dev/null +++ b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild @@ -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 +} diff --git a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild index 4df35e432..f9b0e9381 100644 --- a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild +++ b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-9999.ebuild @@ -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 } |