From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- app-emulation/spectemu/spectemu-0.99.3-r1.ebuild | 26 ++++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'app-emulation/spectemu/spectemu-0.99.3-r1.ebuild') diff --git a/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild index 14d083630681..907f557d003d 100644 --- a/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild +++ b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit autotools eutils +inherit autotools DESCRIPTION="48k ZX Spectrum Emulator" HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html" @@ -16,17 +16,25 @@ IUSE="readline svga +X" REQUIRED_USE="|| ( svga X )" -DEPEND="X? ( x11-base/xorg-proto +DEPEND=" + X? ( + x11-base/xorg-proto >=x11-libs/libX11-1.0.0 >=x11-libs/libXext-1.0.0 - >=x11-libs/libXxf86vm-1.0.0 ) - readline? ( sys-libs/readline )" + >=x11-libs/libXxf86vm-1.0.0 + ) + readline? ( sys-libs/readline:= ) +" RDEPEND="${DEPEND} svga? ( media-libs/svgalib )" +PATCHES=( + "${FILESDIR}"/${P}-automagic.patch + "${FILESDIR}"/${P}-build.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-automagic.patch - epatch "${FILESDIR}"/${P}-build.patch + default eautoreconf } @@ -38,5 +46,5 @@ src_configure() { } src_install() { - emake install_root="${D}" install + emake install_root="${ED}" install } -- cgit v1.2.3