From 17490461f48bf94409ccd112b742befc2722e455 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Sun, 27 May 2018 20:01:15 -0400 Subject: [PATCH] media-sound/cvoicecontrol: bump EAPI Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- .../cvoicecontrol-0.9_alpha-r1.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild index eb49302b044e..1ae69c38d01c 100644 --- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild +++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils +EAPI=7 MY_P=${P/_/} @@ -17,15 +16,16 @@ IUSE="" S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}/${P}-gentoo-2.patch" ) + src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo-2.patch + eapply_user sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in # Handle documentation with dohtml instead. sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" cvoicecontrol/Makefile.in } src_install () { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS BUGS ChangeLog FAQ README - dohtml cvoicecontrol/docs/en/*.html + HTML_DOCS=( cvoicecontrol/docs/en/*.html ) + default } -- 2.26.2