commit: 7a3dac0e836ff1c43accdfa20cd0118596da848a Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Thu Mar 1 18:15:56 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Thu Mar 1 18:27:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3dac0e
net-misc/vncrec: x11-libs/libXp is not really needed Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-misc/vncrec/vncrec-0.2-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/net-misc/vncrec/vncrec-0.2-r2.ebuild b/net-misc/vncrec/vncrec-0.2-r2.ebuild new file mode 100644 index 00000000000..759d2b27ac5 --- /dev/null +++ b/net-misc/vncrec/vncrec-0.2-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="VNC session recorder and player" +HOMEPAGE="http://www.sodan.org/~penny/vncrec/" +SRC_URI="http://www.sodan.org/~penny/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + x11-libs/libXaw + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt +" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/gccmakedep + x11-misc/imake + x11-proto/xextproto +" + +DOCS=( README README.vnc ) + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-includes.patch + touch vncrec/vncrec.man || die + sed -i Imakefile -e '/make Makefiles/d' || die +} + +src_configure() { + xmkmf -a || die +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CCOPTIONS="${CXXFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + World +}
