/[gentoo-x86]/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild
Gentoo

Contents of /media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Dec 9 16:10:27 2003 UTC (16 years, 11 months ago) by torbenh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
removing jack-cvs

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-sound/jack-cvs/jack-cvs-0.7-r2.ebuild,v 1.3 2003/09/11 01:21:31 msterret Exp $
4
5 IUSE="doc jack-tmpfs debug"
6
7 inherit cvs
8 inherit flag-o-matic
9
10 DESCRIPTION="A low-latency audio server - cvs version"
11 HOMEPAGE="http://jackit.sourceforge.net/"
12
13 ECVS_SERVER="cvs.sourceforge.net:/cvsroot/jackit"
14 ECVS_MODULE="jack"
15 ECVS_TOP_DIR="${DISTDIR}/cvs-src/jackit"
16
17 SRC_URI=""
18
19 # libjack is LGPL, the rest is GPL
20 SLOT="0"
21 LICENSE="GPL-2 LGPL-2.1"
22 KEYWORDS="~x86 ~ppc"
23
24 DEPEND="$DEPEND
25 >=media-libs/alsa-lib-0.9.1
26 >=media-libs/libsndfile-1.0.0
27 dev-libs/glib
28 dev-util/pkgconfig
29 sys-libs/ncurses
30 doc? ( app-doc/doxygen )
31 !media-sound/jack-audio-connection-kit"
32
33 PROVIDE="virtual/jack"
34
35 S="${WORKDIR}/${PN/-cvs/}"
36
37 src_compile() {
38 export WANT_AUTOCONF_2_5=1
39 sh autogen.sh
40
41 local myconf
42 local myarch
43
44 myarch=`get-flag -march`
45
46 cd $S
47 sed -i "s/^CFLAGS=\$JACK_CFLAGS/CFLAGS=\"\$JACK_CFLAGS $myarch\"/" configure
48
49 use doc \
50 && myconf="--with-html-dir=/usr/share/doc/${PF}/html" \
51 || myconf="--without-html-dir"
52
53 use jack-tmpfs && myconf="${myconf} --with-default-tmpdir=/dev/shm"
54 use debug && myconf="${myconf} --enable-debug"
55
56 myconf="${myconf} --enable-optimize --with-gnu-ld"
57
58 econf ${myconf} || die "configure failed"
59 emake || die "parallel make failed"
60 }
61
62 src_install() {
63
64 use doc && dodir /usr/share/doc/${PF}/html
65
66 make DESTDIR=${D} \
67 datadir=${D}/usr/share \
68 install || die
69
70 use doc && mv \
71 ${D}/usr/share/jack-audio-connection-kit/reference/html/* \
72 ${D}/usr/share/doc/${PF}/html
73
74 use doc && rm -rf ${D}/usr/share/jack-audio-connection-kit
75 }
76
77 pkg_postinst() {
78
79 einfo ""
80 einfo "Remember to re-emerge jack-cvs before re-emerging ardour-cvs"
81 einfo ""
82 }

  ViewVC Help
Powered by ViewVC 1.1.20