Gentoo Archives: gentoo-commits

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