diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-sound/gstreamripper/gstreamripper-0.2.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'media-sound/gstreamripper/gstreamripper-0.2.ebuild')
-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 } |