From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sndpeek/
Date: Fri, 14 Oct 2016 12:30:01 +0000 (UTC) [thread overview]
Message-ID: <1476448191.0e78c8d05c5eefa8dc3ebbf64c220d43cd2e90a1.aballier@gentoo> (raw)
commit: 0e78c8d05c5eefa8dc3ebbf64c220d43cd2e90a1
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 12:29:44 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 12:29:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e78c8d0
media-sound/sndpeek: update to eapi5 and add REQUIRED_USE, bug #581548
Package-Manager: portage-2.3.2
media-sound/sndpeek/sndpeek-1.4.ebuild | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/media-sound/sndpeek/sndpeek-1.4.ebuild b/media-sound/sndpeek/sndpeek-1.4.ebuild
index 5c4cdc3..18dfcd6 100644
--- a/media-sound/sndpeek/sndpeek-1.4.ebuild
+++ b/media-sound/sndpeek/sndpeek-1.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="real-time audio visualization"
@@ -25,6 +25,7 @@ RDEPEND="media-libs/freeglut
alsa? ( media-libs/alsa-lib )
app-eselect/eselect-sndpeek"
DEPEND="${RDEPEND}"
+REQUIRED_USE="|| ( alsa jack oss )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.3-makefile.patch \
@@ -32,13 +33,6 @@ src_prepare() {
"${FILESDIR}"/${P}-ldflags.patch
}
-pkg_setup() {
- if ! use alsa && ! use jack && ! use oss; then
- eerror "One of the following USE flags is needed: jack, alsa or oss"
- die "Please set one audio engine type"
- fi
-}
-
compile_backend() {
backend=$1
cd "${S}/src/sndpeek"
next reply other threads:[~2016-10-14 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 12:30 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-19 23:39 [gentoo-commits] repo/gentoo:master commit in: media-sound/sndpeek/ 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=1476448191.0e78c8d05c5eefa8dc3ebbf64c220d43cd2e90a1.aballier@gentoo \
--to=aballier@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