summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-15 07:09:54 +0100
committerSam James <sam@gentoo.org>2022-07-15 07:32:44 +0100
commit6b2f9a61715364db460e1fc668679ecfb96d45ad (patch)
tree82f3f033fea35467db892c307aa609f27073c121 /media-video
parentdev-util/bsdiff: use edo (diff)
downloadgentoo-6b2f9a61715364db460e1fc668679ecfb96d45ad.tar.gz
gentoo-6b2f9a61715364db460e1fc668679ecfb96d45ad.tar.bz2
gentoo-6b2f9a61715364db460e1fc668679ecfb96d45ad.zip
media-video/matroxset: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/matroxset/matroxset-0.4-r2.ebuild (renamed from media-video/matroxset/matroxset-0.4-r1.ebuild)31
1 files 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
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