From 5094049859df3b39673cc170ee1727b69183d8e3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 18 Jun 2021 23:04:39 +0200 Subject: media-video/matroxset: add pkgconfig or pkgconfig-referenced libs deps Add dependencies for either virtual/pkgconfig, move it into BDEPEND where applicable, or add dependencies for libraries we're trying to find with pkgconfig. Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James Signed-off-by: David Seifert --- media-video/matroxset/matroxset-0.4-r1.ebuild | 49 +++++++++++++++++++++++++++ media-video/matroxset/matroxset-0.4.ebuild | 48 -------------------------- 2 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 media-video/matroxset/matroxset-0.4-r1.ebuild delete mode 100644 media-video/matroxset/matroxset-0.4.ebuild (limited to 'media-video') diff --git a/media-video/matroxset/matroxset-0.4-r1.ebuild b/media-video/matroxset/matroxset-0.4-r1.ebuild new file mode 100644 index 000000000000..cb498e31f168 --- /dev/null +++ b/media-video/matroxset/matroxset-0.4-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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" + +SLOT="0" +KEYWORDS="amd64 ppc x86" + +RDEPEND=" + sys-libs/ncurses:= +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +doecho() { + echo "$@" + "$@" +} + +src_compile() { + doecho $(tc-getCC) -o ${PN} \ + ${CFLAGS} ${LDFLAGS} \ + ${PN}.c \ + $($(tc-getPKG_CONFIG) --libs ncurses) \ + || die "build failed" + + #prepare small README + cat >> "${S}"/README << _EOF_ +This utility has been created by Petr Vandrovec + +Not much info here, but here are some pointers +http://davedina.apestaart.org/download/doc/Matrox-TVOUT-HOWTO-0.1.txt +http://www.netnode.de/howto/matrox-fb.html +_EOF_ +} + +src_install() { + dobin matroxset + + dodoc README +} diff --git a/media-video/matroxset/matroxset-0.4.ebuild b/media-video/matroxset/matroxset-0.4.ebuild deleted file mode 100644 index 9fea3c6f1738..000000000000 --- a/media-video/matroxset/matroxset-0.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit 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" - -SLOT="0" -KEYWORDS="amd64 ppc x86" -RDEPEND=" - sys-libs/ncurses -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -doecho() { - echo "$@" - "$@" -} - -src_compile() { - doecho $(tc-getCC) -o ${PN} \ - ${CFLAGS} ${LDFLAGS} \ - ${PN}.c \ - $($(tc-getPKG_CONFIG) --libs ncurses) \ - || die "build failed" - - #prepare small README - cat >> "${S}"/README << _EOF_ -This utility has been created by Petr Vandrovec - -Not much info here, but here are some pointers -http://davedina.apestaart.org/download/doc/Matrox-TVOUT-HOWTO-0.1.txt -http://www.netnode.de/howto/matrox-fb.html -_EOF_ -} - -src_install() { - dobin matroxset - - dodoc README -} -- cgit v1.2.3-65-gdbad