From 3cc9b4e75f63bbbf0fc9e3389c4c83dcb8efb4da Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Thu, 4 Jan 2018 09:36:54 +0100 Subject: sci-geosciences/googleearth: avoid epatch, declare size local --- sci-geosciences/googleearth/googleearth-7.1.8.3036.ebuild | 5 +++-- sci-geosciences/googleearth/googleearth-7.3.0.3832.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'sci-geosciences/googleearth') diff --git a/sci-geosciences/googleearth/googleearth-7.1.8.3036.ebuild b/sci-geosciences/googleearth/googleearth-7.1.8.3036.ebuild index 009383dc..5d2524a8 100644 --- a/sci-geosciences/googleearth/googleearth-7.1.8.3036.ebuild +++ b/sci-geosciences/googleearth/googleearth-7.1.8.3036.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -105,7 +105,7 @@ src_prepare() { die "patchelf failed on ${x}" done - epatch "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch + eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch default } @@ -117,6 +117,7 @@ src_install() { domenu google-earth-pro.desktop + local size for size in 16 22 24 32 48 64 128 256 ; do newicon -s ${size} product_logo_${size}.png google-earth-pro.png done diff --git a/sci-geosciences/googleearth/googleearth-7.3.0.3832.ebuild b/sci-geosciences/googleearth/googleearth-7.3.0.3832.ebuild index 25324715..d8fc656c 100644 --- a/sci-geosciences/googleearth/googleearth-7.3.0.3832.ebuild +++ b/sci-geosciences/googleearth/googleearth-7.3.0.3832.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -112,7 +112,7 @@ src_prepare() { die "patchelf failed on ${x}" done - epatch "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch + eapply -p0 "${FILESDIR}"/${PN}-${PV%%.*}-pro-desktopfile.patch default } @@ -124,6 +124,7 @@ src_install() { domenu google-earth-pro.desktop + local size for size in 16 22 24 32 48 64 128 256 ; do newicon -s ${size} product_logo_${size}.png google-earth-pro.png done -- cgit v1.2.3-65-gdbad