1 |
cedk 08/03/29 22:35:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: chuck-1.2.1.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 media-sound/chuck/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/chuck/ChangeLog?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/chuck/ChangeLog?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/chuck/ChangeLog?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- ChangeLog 23 Aug 2007 22:01:34 -0000 1.5 |
23 |
+++ ChangeLog 29 Mar 2008 22:35:11 -0000 1.6 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-sound/chuck |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v 1.5 2007/08/23 22:01:34 cedk Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v 1.6 2008/03/29 22:35:11 cedk Exp $ |
30 |
+ |
31 |
+*chuck-1.2.1.1 (29 Mar 2008) |
32 |
+ |
33 |
+ 29 Mar 2008; Cédric Krier <cedk@g.o> |
34 |
+ +files/chuck-1.2.1.1-hid-smc.patch, +chuck-1.2.1.1.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
*chuck-1.2.1.0 (23 Aug 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-sound/chuck/chuck-1.2.1.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/chuck/chuck-1.2.1.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/chuck/chuck-1.2.1.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: chuck-1.2.1.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/chuck-1.2.1.1.ebuild,v 1.1 2008/03/29 22:35:11 cedk Exp $ |
52 |
|
53 |
inherit toolchain-funcs flag-o-matic eutils |
54 |
|
55 |
DESCRIPTION="Strongly-timed, Concurrent, and On-the-fly |
56 |
Audio Programming Language" |
57 |
HOMEPAGE="http://chuck.cs.princeton.edu/release/" |
58 |
SRC_URI="http://chuck.cs.princeton.edu/release/files/${P}.tgz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~x86" |
63 |
IUSE="oss jack alsa examples" |
64 |
|
65 |
RDEPEND="jack? ( media-sound/jack-audio-connection-kit ) |
66 |
alsa? ( >=media-libs/alsa-lib-0.9 ) |
67 |
media-libs/libsndfile" |
68 |
DEPEND="${RDEPEND} |
69 |
sys-devel/bison |
70 |
sys-devel/flex" |
71 |
|
72 |
pkg_setup() { |
73 |
local cnt=0 |
74 |
use jack && cnt="$((${cnt} + 1))" |
75 |
use alsa && cnt="$((${cnt} + 1))" |
76 |
use oss && cnt="$((${cnt} + 1))" |
77 |
if [[ "${cnt}" -eq 0 ]] ; then |
78 |
eerror "One of the following USE flags is needed: jack, alsa or oss" |
79 |
die "Please set one audio engine type" |
80 |
elif [[ "${cnt}" -ne 1 ]] ; then |
81 |
ewarn "You have set ${P} to use multiple audio engine." |
82 |
fi |
83 |
} |
84 |
|
85 |
src_unpack() { |
86 |
unpack ${A} |
87 |
cd "${S}" |
88 |
epatch "$FILESDIR/${P}-hid-smc.patch" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
local backend |
93 |
if use jack ; then |
94 |
backend="jack" |
95 |
elif use alsa ; then |
96 |
backend="alsa" |
97 |
elif use oss ; then |
98 |
backend="oss" |
99 |
fi |
100 |
einfo "Compiling against ${backend}" |
101 |
|
102 |
# when compile with athlon or athlon-xp flags |
103 |
# chuck crashes on removing a shred with a double free or corruption |
104 |
# it happens in Chuck_VM_Stack::shutdown() on the line |
105 |
# SAFE_DELETE_ARRAY( stack ); |
106 |
replace-cpu-flags athlon athlon-xp i686 |
107 |
|
108 |
cd "${S}/src" |
109 |
emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
dobin src/chuck |
114 |
|
115 |
dodoc AUTHORS DEVELOPER PROGRAMMER QUICKSTART README THANKS TODO VERSIONS |
116 |
docinto doc |
117 |
dodoc doc/* |
118 |
if use examples; then |
119 |
insinto /usr/share/doc/${P}/examples |
120 |
doins `find examples -type f` |
121 |
for dir in `find examples/* -type d`; do |
122 |
insinto /usr/share/doc/${P}/$dir |
123 |
doins $dir/* |
124 |
done |
125 |
fi |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
-- |
131 |
gentoo-commits@l.g.o mailing list |