From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/aylet/
Date: Sat, 14 Nov 2020 15:06:15 +0000 (UTC) [thread overview]
Message-ID: <1605366282.e5c2dd8db6424f075e1811b8ea697630176e7488.soap@gentoo> (raw)
commit: e5c2dd8db6424f075e1811b8ea697630176e7488
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 15:04:42 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 15:04:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c2dd8d
media-sound/aylet: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/aylet/aylet-0.5.ebuild | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/media-sound/aylet/aylet-0.5.ebuild b/media-sound/aylet/aylet-0.5.ebuild
index 05c703dca0f..bab06f882fe 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
}
next reply other threads:[~2020-11-14 15:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-14 15:06 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-02 2:50 [gentoo-commits] repo/gentoo:master commit in: media-sound/aylet/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1605366282.e5c2dd8db6424f075e1811b8ea697630176e7488.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox