diff options
Diffstat (limited to 'media-sound/ptabtools/ptabtools-0.5.0.ebuild')
-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 } |