commit: 6bac61eeceaa9d659eda0bebe4aaba212af37b87 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sat Nov 14 15:04:57 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Nov 14 15:04:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bac61ee
media-sound/gramofile: Port to EAPI 7 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert <soap <AT> gentoo.org> media-sound/gramofile/gramofile-1.6_p9.ebuild | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/media-sound/gramofile/gramofile-1.6_p9.ebuild b/media-sound/gramofile/gramofile-1.6_p9.ebuild index 481ba2576b0..c0697de57da 100644 --- a/media-sound/gramofile/gramofile-1.6_p9.ebuild +++ b/media-sound/gramofile/gramofile-1.6_p9.ebuild @@ -1,45 +1,45 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils multilib toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Transfer sound from gramophone records to CD" HOMEPAGE="http://www.opensourcepartners.nl/~costar/gramofile" SRC_URI=" mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}.orig.tar.gz - mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}-${PV/*_p}.diff.gz -" + mirror://debian/pool/main/g/${PN}/${PN}_${PV/_p*}-${PV/*_p}.diff.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" RDEPEND=" - sys-libs/ncurses - sci-libs/fftw:2.1 -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -S=${WORKDIR}/${P/_p*} + sys-libs/ncurses:= + sci-libs/fftw:2.1" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_prepare() { - epatch "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff - EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch ${P/_p*}/debian/patches +S="${WORKDIR}/${P/_p*}" - epatch "${FILESDIR}"/${P}-gentoo.patch - epatch "${FILESDIR}"/${P}-strlen_and_exit.patch +PATCHES=( + "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff + "${S}"/debian/patches + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-strlen_and_exit.patch +) +src_configure() { tc-export CC PKG_CONFIG } src_install() { - dobin ${PN} - exeinto /usr/$(get_libdir)/${PN} + dobin gramofile + + exeinto /usr/$(get_libdir)/gramofile doexe bplay_gramo brec_gramo + dodoc ChangeLog README TODO *.txt - newdoc ${P/_p*}/debian/changelog ChangeLog.debian + newdoc debian/changelog ChangeLog.debian }
