commit:     58561ed3edb095244fc16cc43e523c092a6bf5a5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 23:48:40 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 23:48:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58561ed3

media-sound/wavplay: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch | 9 +++++++++
 media-sound/wavplay/wavplay-2.0.ebuild                          | 8 +++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch 
b/media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch
new file mode 100644
index 00000000000..2862af6acff
--- /dev/null
+++ b/media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch
@@ -0,0 +1,9 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,6 +1,5 @@
+ # src/Makefile.am for z9basic
+ 
+-dist_pkgdata_DATA = wavplay.1
+ 
+ man1_MANS = wavplay.1
+ 

diff --git a/media-sound/wavplay/wavplay-2.0.ebuild 
b/media-sound/wavplay/wavplay-2.0.ebuild
index a60eb094a6d..4abbf1af7f6 100644
--- a/media-sound/wavplay/wavplay-2.0.ebuild
+++ b/media-sound/wavplay/wavplay-2.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 inherit autotools
 
@@ -14,8 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 x86"
 IUSE=""
 
+PATCHES=( "${FILESDIR}"/${PN}-2.0-pkgdata-install-fix.patch )
+
 src_prepare() {
-       sed -i -e "/dist_pkgdata/d" src/Makefile.am
+       default
        eautoreconf
 }
 

Reply via email to