diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 04:16:30 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 06:48:09 -0400 |
commit | 79fa6e86d5708d930b0d49860f89bd5c31c0253d (patch) | |
tree | 3ee8384f80f7cf31e70fbe9ef66e343f06c916db /net-misc/vncrec/vncrec-0.2-r3.ebuild | |
parent | media-radio/ibp: fix build with clang16 (diff) | |
download | gentoo-79fa6e86d5708d930b0d49860f89bd5c31c0253d.tar.gz gentoo-79fa6e86d5708d930b0d49860f89bd5c31c0253d.tar.bz2 gentoo-79fa6e86d5708d930b0d49860f89bd5c31c0253d.zip |
net-misc/vncrec: EAPI6->8, fix license, remove dead urls
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/vncrec/vncrec-0.2-r3.ebuild')
-rw-r--r-- | net-misc/vncrec/vncrec-0.2-r3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/vncrec/vncrec-0.2-r3.ebuild b/net-misc/vncrec/vncrec-0.2-r3.ebuild new file mode 100644 index 000000000000..6dd1558a8bbf --- /dev/null +++ b/net-misc/vncrec/vncrec-0.2-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="VNC session recorder and player" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" +BDEPEND=" + app-text/rman + x11-misc/gccmakedep + >=x11-misc/imake-1.0.8-r1" + +PATCHES=( + "${FILESDIR}"/${P}-includes.patch +) + +src_prepare() { + default + + touch vncrec/vncrec.man || die + sed -i '/make Makefiles/d' Imakefile || die +} + +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die +} + +src_compile() { + emake \ + AR="$(tc-getAR) cq" \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + World +} |