commit: 6b2f9a61715364db460e1fc668679ecfb96d45ad Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jul 15 06:09:54 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 15 06:32:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2f9a61
media-video/matroxset: EAPI 8 Signed-off-by: Sam James <sam <AT> gentoo.org> ...oxset-0.4-r1.ebuild => matroxset-0.4-r2.ebuild} | 31 ++++++++-------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/media-video/matroxset/matroxset-0.4-r1.ebuild b/media-video/matroxset/matroxset-0.4-r2.ebuild similarity index 69% rename from media-video/matroxset/matroxset-0.4-r1.ebuild rename to media-video/matroxset/matroxset-0.4-r2.ebuild index cb498e31f168..315ff4f04551 100644 --- a/media-video/matroxset/matroxset-0.4-r1.ebuild +++ b/media-video/matroxset/matroxset-0.4-r2.ebuild @@ -1,38 +1,29 @@ -# 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="Matrox utility to switch output modes (activate tvout)" HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/" SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -RDEPEND=" - sys-libs/ncurses:= -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -doecho() { - echo "$@" - "$@" -} +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_compile() { - doecho $(tc-getCC) -o ${PN} \ + edo $(tc-getCC) -o ${PN} \ ${CFLAGS} ${LDFLAGS} \ ${PN}.c \ - $($(tc-getPKG_CONFIG) --libs ncurses) \ - || die "build failed" + $($(tc-getPKG_CONFIG) --libs ncurses) - #prepare small README + # Prepare small README cat >> "${S}"/README << _EOF_ This utility has been created by Petr Vandrovec
