1 |
tomwij 14/01/30 01:29:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tapestrea-0.1.0.5-r1.ebuild |
5 |
Removed: tapestrea-0.1.0.5.ebuild |
6 |
Log: |
7 |
[QA] Revision bump. EAPI 5. Fixed underlinking bug #369759 and LDFLAGS bug #333743 (with contribution by iamnr3), both reported by flameeyes; and some other small fixes. |
8 |
|
9 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.7 media-sound/tapestrea/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tapestrea/ChangeLog?rev=1.7&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tapestrea/ChangeLog?rev=1.7&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tapestrea/ChangeLog?r1=1.6&r2=1.7 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/tapestrea/ChangeLog,v |
21 |
retrieving revision 1.6 |
22 |
retrieving revision 1.7 |
23 |
diff -u -r1.6 -r1.7 |
24 |
--- ChangeLog 1 Jun 2013 12:18:01 -0000 1.6 |
25 |
+++ ChangeLog 30 Jan 2014 01:29:12 -0000 1.7 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for media-sound/tapestrea |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/tapestrea/ChangeLog,v 1.6 2013/06/01 12:18:01 pacho Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/tapestrea/ChangeLog,v 1.7 2014/01/30 01:29:12 tomwij Exp $ |
32 |
+ |
33 |
+*tapestrea-0.1.0.5-r1 (30 Jan 2014) |
34 |
+ |
35 |
+ 30 Jan 2014; Tom Wijsman <TomWij@g.o> |
36 |
+ +files/tapestrea-0.1.0.5-r1-underlinking-alsa-pthread.patch, |
37 |
+ +tapestrea-0.1.0.5-r1.ebuild, -tapestrea-0.1.0.5.ebuild: |
38 |
+ [QA] Revision bump. EAPI 5. Fixed underlinking bug #369759 and LDFLAGS bug |
39 |
+ #333743 (with contribution by iamnr3), both reported by flameeyes; and some |
40 |
+ other small fixes. |
41 |
|
42 |
01 Jun 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
43 |
Cleanup due bug #151880 |
44 |
|
45 |
|
46 |
|
47 |
1.1 media-sound/tapestrea/tapestrea-0.1.0.5-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.5-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.5-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: tapestrea-0.1.0.5-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/tapestrea/tapestrea-0.1.0.5-r1.ebuild,v 1.1 2014/01/30 01:29:12 tomwij Exp $ |
57 |
|
58 |
EAPI="5" |
59 |
|
60 |
inherit eutils flag-o-matic |
61 |
|
62 |
DESCRIPTION="Techniques + Paradigms for Expressive Synthesis, Transformation, Rendering of Environmental Audio" |
63 |
HOMEPAGE="http://taps.cs.princeton.edu/" |
64 |
SRC_URI="http://taps.cs.princeton.edu/release/files/${P}.tgz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="+alsa doc jack oss" |
70 |
|
71 |
RDEPEND="jack? ( media-sound/jack-audio-connection-kit:0 ) |
72 |
alsa? ( >=media-libs/alsa-lib-0.9:0 ) |
73 |
media-libs/libsndfile:0 |
74 |
media-libs/freeglut:0 |
75 |
virtual/opengl:0 |
76 |
virtual/glu:0 |
77 |
x11-libs/gtk+:2" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
sys-devel/bison:0 |
81 |
sys-devel/flex:0" |
82 |
|
83 |
pkg_setup() { |
84 |
if ! use alsa && ! use jack && ! use oss; then |
85 |
eerror "One of the following USE flags is needed: jack, alsa or oss" |
86 |
die "Please set at least one audio engine type" |
87 |
fi |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
epatch "${FILESDIR}"/${P}-gcc44.patch |
92 |
|
93 |
# Respect LDFLAGS/CC |
94 |
for bend in alsa jack oss; do |
95 |
sed -i -e "s:gcc -o:\$(CC) \$(LDFLAGS) -o :" \ |
96 |
-e "s:-O3 -c:\$(CFLAGS) -c:" \ |
97 |
-e "s:make -C:\$(MAKE) -C :" \ |
98 |
"${S}/src/makefile.${bend}" || die |
99 |
done |
100 |
|
101 |
# Avoid "make jobserver unavailable" warning |
102 |
sed -i -e "s:-make:\$(MAKE):g" \ |
103 |
"${S}/src/makefile" || die |
104 |
|
105 |
sed -i -e "s:-make:\$(MAKE):g" \ |
106 |
"${S}/scripting/chuck-1.2.1.2/src/makefile" || die |
107 |
|
108 |
epatch "${FILESDIR}"/${PF}-underlinking-alsa-pthread.patch |
109 |
} |
110 |
|
111 |
compile_backend() { |
112 |
backend=$1 |
113 |
einfo "Compiling against ${backend}" |
114 |
|
115 |
cd "${S}/scripting/chuck-1.2.1.2/src" |
116 |
emake -f "makefile.${backend}" \ |
117 |
CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
118 |
|
119 |
cd "${S}/src" |
120 |
emake -f "makefile.${backend}" \ |
121 |
CC=$(tc-getCC) CXX=$(tc-getCXX) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
122 |
|
123 |
mv taps{,-${backend}} || die |
124 |
emake -f makefile clean |
125 |
cd "${S}/scripting/chuck-1.2.1.2/src" |
126 |
emake -f makefile clean |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
# When compiled with athlon or athlon-xp flags |
131 |
# chuck crashes on removing a shred with a double free or corruption, |
132 |
# it happens in Chuck_VM_Stack::shutdown() on the line |
133 |
# SAFE_DELETE_ARRAY( stack ); |
134 |
replace-cpu-flags athlon athlon-xp i686 |
135 |
|
136 |
use jack && compile_backend jack |
137 |
use alsa && compile_backend alsa |
138 |
use oss && compile_backend oss |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
use jack && dobin src/taps-jack |
143 |
use alsa && dobin src/taps-alsa |
144 |
use oss && dobin src/taps-oss |
145 |
|
146 |
dodoc AUTHORS BUGS DEVELOPER PROGRAMMER QUICKSTART README THANKS TODO VERSIONS |
147 |
|
148 |
if use doc ; then |
149 |
for tapedir in `find examples/* -type d -maxdepth 0`; do |
150 |
docinto $tapedir |
151 |
dodoc `find $tapedir/* -type f -maxdepth 0` |
152 |
for tapedir2 in `find $tapedir/* -type d -maxdepth 0`; do |
153 |
docinto $tapedir2 |
154 |
dodoc `find $tapedir2/* -type f -maxdepth 0` |
155 |
done |
156 |
done |
157 |
docinto doc |
158 |
dodoc doc/* |
159 |
fi |
160 |
} |