commit: 3d12da2001792fdd9310d7179d8f6727b77b62aa Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Aug 27 16:11:27 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Aug 27 16:11:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d12da20
x11-misc/xidle: EAPI 8, drop eval use Signed-off-by: Sam James <sam <AT> gentoo.org> ...le-26052015.ebuild => xidle-26052015-r1.ebuild} | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/x11-misc/xidle/xidle-26052015.ebuild b/x11-misc/xidle/xidle-26052015-r1.ebuild similarity index 64% rename from x11-misc/xidle/xidle-26052015.ebuild rename to 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() {
