From: Harri Nieminen Date: Mon, 20 Feb 2017 16:34:10 +0000 (+0200) Subject: x11-misc/xsnap: EAPI bump 5 -> 6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ff97a5a4b78b7e4b28f0c34a832a9ff4b2f31e77;p=gentoo.git x11-misc/xsnap: EAPI bump 5 -> 6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4046 --- diff --git a/x11-misc/xsnap/xsnap-1.5.15.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild similarity index 90% rename from x11-misc/xsnap/xsnap-1.5.15.ebuild rename to x11-misc/xsnap/xsnap-1.5.15-r1.ebuild index 3d0c69a1c69f..6747829d9692 100644 --- a/x11-misc/xsnap/xsnap-1.5.15.ebuild +++ b/x11-misc/xsnap/xsnap-1.5.15-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit eutils toolchain-funcs +EAPI=6 +inherit toolchain-funcs DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" @@ -34,9 +34,10 @@ DEPEND=" " DOCS=( AUTHORS Changelog README ) +PATCHES=( "${FILESDIR}"/${P}-root_name.patch ) src_prepare() { - epatch "${FILESDIR}"/${P}-root_name.patch + default sed -i \ -e 's|/usr/share/locale|$(LOCALEDIR)|g' \