net-misc/vncrec: x11-libs/libXp is not really needed
authorPacho Ramos <pacho@gentoo.org>
Thu, 1 Mar 2018 18:15:56 +0000 (19:15 +0100)
committerPacho Ramos <pacho@gentoo.org>
Thu, 1 Mar 2018 18:27:55 +0000 (19:27 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-misc/vncrec/vncrec-0.2-r2.ebuild [new file with mode: 0644]

diff --git a/net-misc/vncrec/vncrec-0.2-r2.ebuild b/net-misc/vncrec/vncrec-0.2-r2.ebuild
new file mode 100644 (file)
index 0000000..759d2b2
--- /dev/null
@@ -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
+}