Gentoo Archives: gentoo-commits

From: "Cedric Krier (cedk)" <cedk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/tapestrea: metadata.xml ChangeLog tapestrea-0.1.0.4.ebuild Manifest
Date: Sun, 30 Mar 2008 00:52:51
Message-Id: E1Jflmy-0003BN-ER@stork.gentoo.org
1 cedk 08/03/30 00:52:48
2
3 Added: metadata.xml ChangeLog tapestrea-0.1.0.4.ebuild
4 Manifest
5 Log:
6 New ebuild fog bug #143368
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 media-sound/tapestrea/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd></herd>
21 <maintainer>
22 <email>cedk@g.o</email>
23 <name>Cédric Krier</name>
24 </maintainer>
25 <longdescription lang="en">
26 a set of new tools and techniques for sound design
27 </longdescription>
28 </pkgmetadata>
29
30
31
32
33 1.1 media-sound/tapestrea/ChangeLog
34
35 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/ChangeLog?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/ChangeLog?rev=1.1&content-type=text/plain
37
38 Index: ChangeLog
39 ===================================================================
40 # ChangeLog for media-sound/tapestrea
41 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
42 # $Header: /var/cvsroot/gentoo-x86/media-sound/tapestrea/ChangeLog,v 1.1 2008/03/30 00:52:47 cedk Exp $
43
44 *tapestrea-0.1.0.4 (30 Mar 2008)
45
46 30 Mar 2008; Cédric Krier <cedk@g.o> +metadata.xml,
47 +tapestrea-0.1.0.4.ebuild:
48 New ebuild fog bug #143368
49
50
51
52
53 1.1 media-sound/tapestrea/tapestrea-0.1.0.4.ebuild
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.4.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.4.ebuild?rev=1.1&content-type=text/plain
57
58 Index: tapestrea-0.1.0.4.ebuild
59 ===================================================================
60 # Copyright 1999-2008 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.4.ebuild,v 1.1 2008/03/30 00:52:47 cedk Exp $
63
64 EAPI="1"
65
66 inherit eutils toolchain-funcs flag-o-matic
67
68 DESCRIPTION="Techniques + Paradigms for Expressive Synthesis, Transformation, Rendering of Environmental Audio"
69 HOMEPAGE="http://taps.cs.princeton.edu/"
70 SRC_URI="http://taps.cs.princeton.edu/release/files/${P}.tgz"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~x86"
75 IUSE="oss jack +alsa doc"
76
77 RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
78 alsa? ( >=media-libs/alsa-lib-0.9 )
79 media-libs/libsndfile
80 virtual/glut
81 virtual/opengl
82 virtual/glu
83 >=x11-libs/gtk+-2"
84 DEPEND="${RDEPEND}
85 sys-devel/bison
86 sys-devel/flex"
87
88 pkg_setup() {
89 local cnt=0
90 use jack && cnt="$((${cnt} + 1))"
91 use alsa && cnt="$((${cnt} + 1))"
92 use oss && cnt="$((${cnt} + 1))"
93 if [[ "${cnt}" -eq 0 ]] ; then
94 eerror "One of the following USE flags is needed: jack, alsa or oss"
95 die "Please set one audio engine type"
96 elif [[ "${cnt}" -ne 1 ]] ; then
97 ewarn "You have set ${P} to use multiple audio engine."
98 fi
99 }
100
101 src_compile() {
102 local backend
103 if use jack; then
104 backend="jack"
105 elif use alsa; then
106 backend="alsa"
107 elif use oss; then
108 backend="oss"
109 fi
110 einfo "Compiling against ${backend}"
111
112 # when compile with athlon or athlon-xp flags
113 # chuck crashes on removing a shred with a double free or corruption
114 # it happens in Chuck_VM_Stack::shutdown() on the line
115 # SAFE_DELETE_ARRAY( stack );
116 replace-cpu-flags athlon athlon-xp i686
117
118 cd "${S}/scripting/chuck-1.2.0.8/src"
119 emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
120
121 cd "${S}/src"
122 emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
123 }
124
125 src_install() {
126 dobin src/taps
127
128 dodoc AUTHORS BUGS DEVELOPER PROGRAMMER QUICKSTART README THANKS TODO VERSIONS
129 if use doc; then
130 for dir in `find examples/* -type d -maxdepth 0`; do
131 docinto $dir
132 dodoc `find $dir/* -type f -maxdepth 0`
133 for dir2 in `find $dir/* -type d -maxdepth 0`; do
134 docinto $dir2
135 dodoc `find $dir2/* -type f -maxdepth 0`
136 done
137 done
138 docinto doc
139 dodoc doc/*
140 fi
141 }
142
143
144
145 1.1 media-sound/tapestrea/Manifest
146
147 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/Manifest?rev=1.1&view=markup
148 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/tapestrea/Manifest?rev=1.1&content-type=text/plain
149
150 Index: Manifest
151 ===================================================================
152 DIST tapestrea-0.1.0.4.tgz 21685893 RMD160 78386e694348a1aa48f0b21ae1015584178989ee SHA1 d5d1252e5033910dd0d3f56ed9c6809271a9a144 SHA256 ac009c8563c20bee334dcfb4cc36641f49df3e17f193c5fddf61f53e8a268f51
153 EBUILD tapestrea-0.1.0.4.ebuild 2140 RMD160 52d494758a34f36acf8a2659fc7e7f3697d21092 SHA1 037e26b125fb6b62e3edc89f9608da989e313f70 SHA256 a156817d75edff73a4486c25b3bc7bf455154e22b492ee6fa4701f6ee1420d74
154 MISC ChangeLog 277 RMD160 18c4590587380082c106cc016d75c27e58bc891d SHA1 d8dcb39209fe6e6d3136935e98c94df5bea6ae62 SHA256 149796a1cac5237d3b753a2a58ceeedca7dcb271707009d5ed30df194cf00ba8
155 MISC metadata.xml 348 RMD160 bf2ae27aa52e15462eea879cb6abf8625aa45f7b SHA1 69f1cdf502fb6f08ddcca83603e4f87c34fddc3b SHA256 3b20dc8edb47286f6e0a97979ef6a31273f7153d01bfc68240386a32e65445fb
156
157
158
159 --
160 gentoo-commits@l.g.o mailing list