Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/jack-audio-connection-kit: ChangeLog jack-audio-connection-kit-0.109.2.ebuild
Date: Wed, 30 Jan 2008 19:43:15
Message-Id: E1JKIpy-0007Rt-MJ@stork.gentoo.org
1 aballier 08/01/30 19:43:10
2
3 Modified: ChangeLog
4 Added: jack-audio-connection-kit-0.109.2.ebuild
5 Log:
6 bump
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.105 media-sound/jack-audio-connection-kit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog?rev=1.105&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog?rev=1.105&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog?r1=1.104&r2=1.105
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v
19 retrieving revision 1.104
20 retrieving revision 1.105
21 diff -u -r1.104 -r1.105
22 --- ChangeLog 14 Jan 2008 20:16:07 -0000 1.104
23 +++ ChangeLog 30 Jan 2008 19:43:10 -0000 1.105
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/jack-audio-connection-kit
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.104 2008/01/14 20:16:07 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/ChangeLog,v 1.105 2008/01/30 19:43:10 aballier Exp $
29 +
30 +*jack-audio-connection-kit-0.109.2 (30 Jan 2008)
31 +
32 + 30 Jan 2008; Alexis Ballier <aballier@g.o>
33 + +jack-audio-connection-kit-0.109.2.ebuild:
34 + bump
35
36 *jack-audio-connection-kit-0.109.0 (14 Jan 2008)
37
38
39
40
41 1.1 media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.109.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.109.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.109.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jack-audio-connection-kit-0.109.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.109.2.ebuild,v 1.1 2008/01/30 19:43:10 aballier Exp $
51
52 inherit flag-o-matic eutils multilib linux-info autotools multilib
53
54 NETJACK=netjack-0.12
55
56 DESCRIPTION="A low-latency audio server"
57 HOMEPAGE="http://www.jackaudio.org"
58 SRC_URI="mirror://sourceforge/jackit/${P}.tar.gz netjack? ( mirror://sourceforge/netjack/${NETJACK}.tar.bz2 )"
59
60 LICENSE="GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
63 IUSE="altivec alsa caps coreaudio doc debug mmx oss portaudio sse netjack cpudetection"
64
65 RDEPEND=">=media-libs/libsndfile-1.0.0
66 sys-libs/ncurses
67 caps? ( sys-libs/libcap )
68 portaudio? ( =media-libs/portaudio-18* )
69 alsa? ( >=media-libs/alsa-lib-0.9.1 )
70 netjack? ( media-libs/libsamplerate )
71 !media-sound/jack-cvs"
72
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig
75 doc? ( app-doc/doxygen )
76 netjack? ( dev-util/scons )"
77
78 pkg_setup() {
79 if use caps; then
80 if kernel_is 2 4 ; then
81 einfo "will build jackstart for 2.4 kernel"
82 else
83 einfo "using compatibility symlink for jackstart"
84 fi
85 fi
86
87 if use netjack; then
88 einfo "including support for experimental netjack, see http://netjack.sourceforge.net/"
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94
95 cd "${S}"
96 epatch "${FILESDIR}/${PN}-transport.patch"
97 epatch "${FILESDIR}/${PN}-0.103.0-riceitdown.patch"
98 epatch "${FILESDIR}/${PN}-0.103.0-ppc64fix.patch"
99
100 eautoreconf
101 }
102
103 src_compile() {
104 local myconf=""
105
106 if [[ ${CHOST} == *-darwin* ]] ; then
107 append-flags -fno-common
108 use altivec && append-flags -force_cpusubtype_ALL \
109 -maltivec -mabi=altivec -mhard-float -mpowerpc-gfxopt
110 fi
111
112 # CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse.
113 # Also, without -O2 it will not compile as well.
114 # we test if it is present before enabling the configure flag.
115 if use cpudetection ; then
116 if (! grep 3dnow /proc/cpuinfo >/dev/null) ; then
117 ewarn "Can't build cpudetection (dynsimd) without cpu 3dnow support. see bug #136565."
118 elif (! grep sse /proc/cpuinfo >/dev/null) ; then
119 ewarn "Can't build cpudetection (dynsimd) without cpu sse support. see bug #136565."
120 elif (! grep mmx /proc/cpuinfo >/dev/null) ; then
121 ewarn "Can't build cpudetection (dynsimd) without cpu mmx support. see bug #136565."
122 else
123 einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS."
124 myconf="${myconf} --enable-dynsimd"
125
126 filter-flags -O*
127 append-flags -mmmx -msse -m3dnow -O2
128 fi
129 fi
130
131 use doc || export ac_cv_prog_HAVE_DOXYGEN=false
132
133 econf \
134 $(use_enable altivec) \
135 $(use_enable alsa) \
136 $(use_enable caps capabilities) \
137 $(use_enable coreaudio) \
138 $(use_enable debug) \
139 $(use_enable mmx) \
140 $(use_enable oss) \
141 $(use_enable portaudio) \
142 $(use_enable sse) \
143 --with-html-dir=/usr/share/doc/${PF} \
144 --disable-dependency-tracking \
145 ${myconf} || die "configure failed"
146 emake || die "compilation failed"
147
148 if use caps && kernel_is 2 4 ; then
149 einfo "Building jackstart for 2.4 kernel"
150 cd "${S}/jackd"
151 emake jackstart || die "jackstart build failed."
152 fi
153
154 if use netjack; then
155 cd "${WORKDIR}/${NETJACK}"
156 scons jack_source_dir="${S}"
157 fi
158
159 }
160
161 src_install() {
162 make DESTDIR="${D}" install || die
163
164 if use caps; then
165 if kernel_is 2 4 ; then
166 cd "${S}/jackd"
167 dobin jackstart
168 else
169 dosym /usr/bin/jackd /usr/bin/jackstart
170 fi
171 fi
172
173 if use doc; then
174 insinto /usr/share/doc/${PF}
175 doins -r "${S}/example-clients"
176 fi
177
178 if use netjack; then
179 cd "${WORKDIR}/${NETJACK}"
180 dobin alsa_in
181 dobin alsa_out
182 dobin jacknet_client
183 insinto /usr/$(get_libdir)/jack
184 doins jack_net.so
185 fi
186 }
187
188
189
190 --
191 gentoo-commits@l.g.o mailing list