diff options
author | David Seifert <soap@gentoo.org> | 2019-12-10 01:41:53 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-10 01:41:53 +0100 |
commit | b2611d61ab41140874eeea9899d4b7dde9532240 (patch) | |
tree | 42690937aee0ca1d3bd2a2199927f4ade2a2a1a6 /media-sound/gstreamripper | |
parent | media-sound/normalize: Port to EAPI 7 (diff) | |
download | gentoo-b2611d61ab41140874eeea9899d4b7dde9532240.tar.gz gentoo-b2611d61ab41140874eeea9899d4b7dde9532240.tar.bz2 gentoo-b2611d61ab41140874eeea9899d4b7dde9532240.zip |
media-sound/gstreamripper: 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/gstreamripper')
-rw-r--r-- | media-sound/gstreamripper/gstreamripper-0.2.ebuild | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/media-sound/gstreamripper/gstreamripper-0.2.ebuild b/media-sound/gstreamripper/gstreamripper-0.2.ebuild index c418b4dad9ef..04fce64ff8b1 100644 --- a/media-sound/gstreamripper/gstreamripper-0.2.ebuild +++ b/media-sound/gstreamripper/gstreamripper-0.2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit eutils +EAPI=7 + +inherit autotools desktop MY_P=GStreamripperX-${PV} @@ -15,23 +16,27 @@ SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="" -COMMON_DEPEND="x11-libs/gtk+:2" -RDEPEND="${COMMON_DEPEND} +RDEPEND=" + x11-libs/gtk+:2 media-sound/streamripper" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -src_install() { - local docdir=/usr/share/doc/${PF} +src_compile() { + emake CFLAGS="${CFLAGS}" +} +src_install() { + local docdir="${EPREFIX}/usr/share/doc/${PF}" emake \ DESTDIR="${D}" \ - gstreamripperxdocdir=${docdir} \ - install || die + gstreamripperxdocdir="${docdir}" \ + install + einstalldocs - rm -f "${D}"/${docdir}/{COPYING,NEWS,TODO} + rm "${ED}"/${docdir}/COPYING || die make_desktop_entry gstreamripperx GStreamripperX } |