diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-11-09 20:42:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-09 20:50:42 +0100 |
commit | dc5d0e9cc2224a38d29f6aade494ed9948155536 (patch) | |
tree | cc9ff74a6f03b51afd088fd7f328cea69df07831 /x11-misc | |
parent | x11-misc/vnc2swf: Bump to EAPI 7 (diff) | |
download | gentoo-dc5d0e9cc2224a38d29f6aade494ed9948155536.tar.gz gentoo-dc5d0e9cc2224a38d29f6aade494ed9948155536.tar.bz2 gentoo-dc5d0e9cc2224a38d29f6aade494ed9948155536.zip |
x11-misc/x2vnc: Bump to EAPI 7
Closes: https://bugs.gentoo.org/697150
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/x2vnc/files/expectk.patch | 4 | ||||
-rw-r--r-- | x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild | 18 |
2 files changed, 9 insertions, 13 deletions
diff --git a/x11-misc/x2vnc/files/expectk.patch b/x11-misc/x2vnc/files/expectk.patch index 5c5ba6887cb1..354dc4ffbe9e 100644 --- a/x11-misc/x2vnc/files/expectk.patch +++ b/x11-misc/x2vnc/files/expectk.patch @@ -1,5 +1,5 @@ ---- tkx2vnc 2010-03-14 21:31:49.000000000 +0100 -+++ tkx2vnc.new 2010-03-14 21:32:58.000000000 +0100 +--- a/contrib/tkx2vnc 2010-03-14 21:31:49.000000000 +0100 ++++ b/contrib/tkx2vnc 2010-03-14 21:32:58.000000000 +0100 @@ -1,10 +1,13 @@ -#!/usr/bin/expectk -f +#!/usr/bin/wish diff --git a/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild index 7a41c7b368d7..31f6fe487ba8 100644 --- a/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild +++ b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild @@ -1,15 +1,13 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -inherit eutils +EAPI=7 DESCRIPTION="Control a remote computer running VNC from X" HOMEPAGE="http://fredrik.hubbe.net/x2vnc.html" SRC_URI="http://fredrik.hubbe.net/${PN}/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="alpha amd64 ppc sparc x86" IUSE="tk" @@ -22,15 +20,13 @@ DEPEND="${RDEPEND} x11-base/xorg-proto tk? ( dev-tcltk/expect )" -src_unpack() { - unpack ${A} - cd "${S}/contrib" - epatch "${FILESDIR}/expectk.patch" -} +PATCHES=( + "${FILESDIR}/expectk.patch" +) src_install() { dodir /usr/share /usr/bin - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install use tk && dobin contrib/tkx2vnc dodoc ChangeLog README } |