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 | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-sound/aylet')
-rw-r--r-- | media-sound/aylet/Manifest | 2 | ||||
-rw-r--r-- | media-sound/aylet/aylet-0.5.ebuild | 32 |
2 files changed, 18 insertions, 16 deletions
diff --git a/media-sound/aylet/Manifest b/media-sound/aylet/Manifest index d90b90ba723a..6dbb72420155 100644 --- a/media-sound/aylet/Manifest +++ b/media-sound/aylet/Manifest @@ -1,4 +1,4 @@ AUX aylet-0.5-gtk.patch 7850 BLAKE2B 9fcfc205b0bf76d6e9e2ed6c29074f18ee7d8f78060786ca2a2a102e04cb544877ab3a3ba347045d462f9ef61186fbffbbb7a03b83f1b06ffcd8203cc6e7867f SHA512 e35bcdf111e5b819cd286e22d30bd45522fb3672de1fd841aa3dee7b0556927a912f17ab84bcad21a765bcda452ca20621a60e165db7ac38a9dff209953acf88 DIST aylet-0.5.tar.gz 43577 BLAKE2B a2de806d690fd039cadc2b735757d6de93e175914de961f8a5f0f6e96c01396b9a345cbb9925eca1fb97ea84979074c4ac6263f00c74163bc066f92d8858c0d9 SHA512 9f45982bdd18f4b9d001cd8681132b89a8fa379fd4f64131d00c749975308e9d9f7fb29c196448c60d07273f36295d9b85093a542a0993c184dec411c7fbb7f7 -EBUILD aylet-0.5.ebuild 848 BLAKE2B f39c7deb3bdceac5b1ed2640979375d657bf353c44fdb6fdd66af089ccefce81d2636d880504d657cb823e4549d39e211bc94dd98b0f88614e50055e6ff18f48 SHA512 f9d914e92ce725f8615b039e2827838dd5d6f8a4a1de3e3316b863dd541ba013dabe025f9c36c90eee018beafec470d0facbe668790f5346cce87b93423bd467 +EBUILD aylet-0.5.ebuild 837 BLAKE2B 17dc2834dcbe2f20edb98572ab753b574ed1355d4051dc1b0b2768cfa9953e3839e2e07276d4ba3f7b2c939a616f776e3ab9fb66463cf424953cae73ef3c23ee SHA512 ffdecbfedadae750305b9a535687542d156e29f98910dedc7e2b53b511d974a5173565e2623726cbc3d76709ca00b4b30c4e147a27f1f7a5c336707af6a514b2 MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 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 } |