Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sndfile-tools/
Date: Sat, 14 Oct 2017 19:23:37
Message-Id: 1508008991.d4b281c4356752d16282d691382027a274910071.soap@gentoo
1 commit: d4b281c4356752d16282d691382027a274910071
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 14 19:23:11 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 14 19:23:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b281c4
7
8 media-sound/sndfile-tools: Add live ebuild
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 .../sndfile-tools/sndfile-tools-9999.ebuild | 39 ++++++++++++++++++++++
13 1 file changed, 39 insertions(+)
14
15 diff --git a/media-sound/sndfile-tools/sndfile-tools-9999.ebuild b/media-sound/sndfile-tools/sndfile-tools-9999.ebuild
16 new file mode 100644
17 index 00000000000..b09d2f4021f
18 --- /dev/null
19 +++ b/media-sound/sndfile-tools/sndfile-tools-9999.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="A small collection of programs that use libsndfile"
27 +HOMEPAGE="http://www.mega-nerd.com/libsndfile/tools/"
28 +
29 +if [[ ${PV} == *9999 ]]; then
30 + inherit autotools git-r3
31 + EGIT_REPO_URI="https://github.com/erikd/sndfile-tools.git"
32 +else
33 + SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
34 + KEYWORDS="~amd64"
35 +fi
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +IUSE="jack"
40 +
41 +RDEPEND="
42 + media-libs/libsndfile:=
43 + media-libs/libsamplerate:=
44 + x11-libs/cairo:=
45 + sci-libs/fftw:3.0=
46 + jack? ( media-sound/jack-audio-connection-kit:= )"
47 +DEPEND="
48 + virtual/pkgconfig
49 + ${RDEPEND}"
50 +
51 +src_prepare() {
52 + default
53 +
54 + [[ ${PV} == *9999 ]] && eautoreconf
55 +}
56 +
57 +src_configure() {
58 + econf $(use_enable jack)
59 +}