diff options
author | David Seifert <soap@gentoo.org> | 2019-12-10 01:41:28 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-10 01:41:28 +0100 |
commit | 8e6313f8e3ebb97f0cf40ca0d043a3684b69be46 (patch) | |
tree | 9d75a5081ecfcc6bcfd2ac94cb2dfdcc7048b8d1 /media-sound/ptabtools | |
parent | media-sound/vsound: Port to EAPI 7 (diff) | |
download | gentoo-8e6313f8e3ebb97f0cf40ca0d043a3684b69be46.tar.gz gentoo-8e6313f8e3ebb97f0cf40ca0d043a3684b69be46.tar.bz2 gentoo-8e6313f8e3ebb97f0cf40ca0d043a3684b69be46.zip |
media-sound/ptabtools: 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/ptabtools')
-rw-r--r-- | media-sound/ptabtools/ptabtools-0.5.0.ebuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/media-sound/ptabtools/ptabtools-0.5.0.ebuild b/media-sound/ptabtools/ptabtools-0.5.0.ebuild index 350f55fb39e8..55e4bca6c2ea 100644 --- a/media-sound/ptabtools/ptabtools-0.5.0.ebuild +++ b/media-sound/ptabtools/ptabtools-0.5.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit eutils multilib toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Utilities for PowerTab Guitar files (.ptb)" HOMEPAGE="https://www.samba.org/~jelmer/ptabtools/" @@ -14,15 +14,14 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" -RDEPEND="dev-libs/popt - dev-libs/libxml2 - dev-libs/libxslt" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND=" + dev-libs/popt:= + dev-libs/libxml2:= + dev-libs/libxslt:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch -} +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) src_compile() { emake AR=$(tc-getAR) @@ -30,5 +29,12 @@ src_compile() { src_install() { emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install - dodoc AUTHORS NEWS README ROADMAP TODO + einstalldocs + + # QA Notice: Missing soname symlink(s): + # usr/lib64/libptb.so.0 -> libptb.so.0.5.0 + dosym libptb.so.0.5.0 /usr/$(get_libdir)/libptb.so.0 + + # Don't want static archives + find "${D}" -name '*.a' -delete || die } |