diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-sound/aylet/aylet-0.5.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-sound/aylet/aylet-0.5.ebuild')
-rw-r--r-- | media-sound/aylet/aylet-0.5.ebuild | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/media-sound/aylet/aylet-0.5.ebuild b/media-sound/aylet/aylet-0.5.ebuild index 05c703dca0f4..bab06f882fe1 100644 --- a/media-sound/aylet/aylet-0.5.ebuild +++ b/media-sound/aylet/aylet-0.5.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Aylet plays music files in the .ay format" HOMEPAGE="http://rus.members.beeb.net/aylet.html" @@ -13,28 +14,29 @@ SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" IUSE="gtk" -RDEPEND="sys-libs/ncurses +RDEPEND=" + sys-libs/ncurses:= gtk? ( x11-libs/gtk+:2 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_prepare() { - epatch "${FILESDIR}"/${P}-gtk.patch -} +PATCHES=( "${FILESDIR}"/${P}-gtk.patch ) src_compile() { tc-export CC PKG_CONFIG - emake ${PN} CURSES_LIB="$( ${PKG_CONFIG} --libs ncurses)" + emake aylet CURSES_LIB="$(${PKG_CONFIG} --libs ncurses)" use gtk && emake gtk2 } src_install() { - dobin ${PN} - use gtk && dobin x${PN} + dobin aylet + use gtk && dobin xaylet - doman ${PN}.1 - use gtk && echo '.so aylet.1' > "${D}"/usr/share/man/man1/xaylet.1 + doman aylet.1 + if use gtk; then + echo '.so aylet.1' > "${ED}"/usr/share/man/man1/xaylet.1 || die + fi - dodoc ChangeLog NEWS README TODO + einstalldocs } |