summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 00:48:40 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 00:48:40 +0100
commit58561ed3edb095244fc16cc43e523c092a6bf5a5 (patch)
tree8dccbb63c7e38c2ad975d20fb84af025487e0648 /media-sound/wavplay
parentmedia-sound/flac123: Port to EAPI 7 (diff)
downloadgentoo-58561ed3edb095244fc16cc43e523c092a6bf5a5.tar.gz
gentoo-58561ed3edb095244fc16cc43e523c092a6bf5a5.tar.bz2
gentoo-58561ed3edb095244fc16cc43e523c092a6bf5a5.zip
media-sound/wavplay: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/wavplay')
-rw-r--r--media-sound/wavplay/files/wavplay-2.0-pkgdata-install-fix.patch9
-rw-r--r--media-sound/wavplay/wavplay-2.0.ebuild8
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 000000000000..2862af6acff9
--- /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 a60eb094a6de..4abbf1af7f6b 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
}