diff options
author | David Seifert <soap@gentoo.org> | 2020-11-14 16:04:57 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 16:04:57 +0100 |
commit | 6bac61eeceaa9d659eda0bebe4aaba212af37b87 (patch) | |
tree | 71218bd3d4a8e8d58ec5cfa53a6ac086981a562e /media-sound | |
parent | media-sound/gtkguitune: Port to EAPI 7 (diff) | |
download | gentoo-6bac61eeceaa9d659eda0bebe4aaba212af37b87.tar.gz gentoo-6bac61eeceaa9d659eda0bebe4aaba212af37b87.tar.bz2 gentoo-6bac61eeceaa9d659eda0bebe4aaba212af37b87.zip |
media-sound/gramofile: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/gramofile/gramofile-1.6_p9.ebuild | 44 |
1 files 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 481ba2576b05..c0697de57da2 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 } |