Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/jack2/
Date: Sun, 28 Jan 2018 23:20:06
Message-Id: 1517181544.d431cc2483474e83efb49b660ca463791939dd82.asturm@gentoo
1 commit: d431cc2483474e83efb49b660ca463791939dd82
2 Author: Hector Martin <marcan <AT> marcan <DOT> st>
3 AuthorDate: Sat Jan 20 08:43:29 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 23:19:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d431cc24
7
8 media-sound/jack2-1.9.12-r1: Add USE ieee1394
9
10 Pulling in media-libs/libffado.
11
12 Closes: https://github.com/gentoo/gentoo/pull/6911
13 Package-Manager: Portage-2.3.19, Repoman-2.3.6
14
15 media-sound/jack2/jack2-1.9.12-r1.ebuild | 91 ++++++++++++++++++++++++++++++++
16 1 file changed, 91 insertions(+)
17
18 diff --git a/media-sound/jack2/jack2-1.9.12-r1.ebuild b/media-sound/jack2/jack2-1.9.12-r1.ebuild
19 new file mode 100644
20 index 00000000000..4856ae84043
21 --- /dev/null
22 +++ b/media-sound/jack2/jack2-1.9.12-r1.ebuild
23 @@ -0,0 +1,91 @@
24 +# Copyright 1999-2018 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI="6"
28 +
29 +PYTHON_COMPAT=( python2_7 )
30 +PYTHON_REQ_USE="threads(+)"
31 +inherit python-single-r1 waf-utils multilib-minimal
32 +
33 +DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
34 +HOMEPAGE="http://jackaudio.org/"
35 +
36 +if [[ "${PV}" = "9999" ]]; then
37 + inherit git-r3
38 + EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git"
39 +else
40 + MY_PV="${PV/_rc/-RC}"
41 + MY_P="${PN}-${MY_PV}"
42 + S="${WORKDIR}/${MY_P}"
43 + SRC_URI="https://github.com/jackaudio/jack2/releases/download/v${MY_PV}/${MY_P}.tar.gz"
44 + KEYWORDS="~amd64 ~ppc ~x86"
45 +fi
46 +
47 +LICENSE="GPL-2"
48 +SLOT="2"
49 +IUSE="alsa celt +classic dbus doc ieee1394 libsamplerate opus pam readline sndfile"
50 +
51 +REQUIRED_USE="
52 + ${PYTHON_REQUIRED_USE}
53 + || ( classic dbus )"
54 +
55 +CDEPEND="${PYTHON_DEPS}
56 + media-libs/libsamplerate
57 + media-libs/libsndfile
58 + sys-libs/readline:0=
59 + alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
60 + celt? ( media-libs/celt:0[${MULTILIB_USEDEP}] )
61 + dbus? (
62 + dev-libs/expat[${MULTILIB_USEDEP}]
63 + sys-apps/dbus[${MULTILIB_USEDEP}]
64 + )
65 + ieee1394? ( media-libs/libffado:=[${MULTILIB_USEDEP}] )
66 + opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )"
67 +DEPEND="${CDEPEND}
68 + virtual/pkgconfig
69 + doc? ( app-doc/doxygen )"
70 +RDEPEND="${CDEPEND}
71 + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
72 + pam? ( sys-auth/realtime-base )
73 + !media-sound/jack-audio-connection-kit:0"
74 +
75 +DOCS=( ChangeLog README README_NETJACK2 TODO )
76 +
77 +src_prepare() {
78 + default
79 + multilib_copy_sources
80 +}
81 +
82 +multilib_src_configure() {
83 + local mywafconfargs=(
84 + --htmldir=/usr/share/doc/${PF}/html
85 + $(usex dbus --dbus "")
86 + $(usex classic --classic "")
87 + --alsa=$(usex alsa yes no)
88 + --celt=$(usex celt yes no)
89 + --doxygen=$(multilib_native_usex doc yes no)
90 + --firewire=$(usex ieee1394 yes no)
91 + --freebob=no
92 + --iio=no
93 + --opus=$(usex opus yes no)
94 + --portaudio=no
95 + --readline=$(multilib_native_usex readline yes no)
96 + --samplerate=$(multilib_native_usex libsamplerate yes no)
97 + --sndfile=$(multilib_native_usex sndfile yes no)
98 + --winmme=no
99 + )
100 +
101 + waf-utils_src_configure ${mywafconfargs[@]}
102 +}
103 +
104 +multilib_src_compile() {
105 + WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_compile
106 +}
107 +
108 +multilib_src_install() {
109 + WAF_BINARY="${BUILD_DIR}"/waf waf-utils_src_install
110 +}
111 +
112 +multilib_src_install_all() {
113 + python_fix_shebang "${ED}"
114 +}