diff options
author | Sam James <sam@gentoo.org> | 2022-08-27 17:11:27 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-27 17:11:33 +0100 |
commit | 3d12da2001792fdd9310d7179d8f6727b77b62aa (patch) | |
tree | 3274d03ad2541095562a704f7520afb1d2bc8e01 /x11-misc | |
parent | dev-util/strace: Stabilize 5.18 sparc, #866980 (diff) | |
download | gentoo-3d12da2001792fdd9310d7179d8f6727b77b62aa.tar.gz gentoo-3d12da2001792fdd9310d7179d8f6727b77b62aa.tar.bz2 gentoo-3d12da2001792fdd9310d7179d8f6727b77b62aa.zip |
x11-misc/xidle: EAPI 8, drop eval use
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xidle/xidle-26052015-r1.ebuild (renamed from x11-misc/xidle/xidle-26052015.ebuild) | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/x11-misc/xidle/xidle-26052015.ebuild b/x11-misc/xidle/xidle-26052015-r1.ebuild index 635de43fc73d..39252add1d52 100644 --- a/x11-misc/xidle/xidle-26052015.ebuild +++ b/x11-misc/xidle/xidle-26052015-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit toolchain-funcs +EAPI=8 + +inherit edo toolchain-funcs DESCRIPTION="Monitors inactivity in X and runs the specified program when a timeout occurs" HOMEPAGE="http://www.freebsdsoftware.org/x11/xidle.html" @@ -11,24 +12,20 @@ SRC_URI="http://distcache.freebsd.org/local-distfiles/novel/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~x86" -IUSE="" RDEPEND=" x11-libs/libX11 x11-libs/libXScrnSaver " -DEPEND=" - ${DEPEND} - virtual/pkgconfig -" +DEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${P}-dead.patch" ) +PATCHES=( + "${FILESDIR}/${P}-dead.patch" +) src_compile() { - local my_compile="$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN}{,.c} - $($(tc-getPKG_CONFIG) --libs xscrnsaver) $($(tc-getPKG_CONFIG) --libs x11)" - echo ${my_compile} || die - eval ${my_compile} || die + edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN}{,.c} $($(tc-getPKG_CONFIG) --libs xscrnsaver) $($(tc-getPKG_CONFIG) --libs x11) } src_install() { |