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/audicle: audicle-1.0.0.6.ebuild metadata.xml ChangeLog Manifest
Date: Sun, 30 Mar 2008 00:20:10
Message-Id: E1JflHL-0002yF-DH@stork.gentoo.org
1 cedk 08/03/30 00:20:07
2
3 Added: audicle-1.0.0.6.ebuild metadata.xml ChangeLog
4 Manifest
5 Log:
6 New ebuild for bug #144667
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 media-sound/audicle/audicle-1.0.0.6.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/audicle-1.0.0.6.ebuild?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/audicle-1.0.0.6.ebuild?rev=1.1&content-type=text/plain
14
15 Index: audicle-1.0.0.6.ebuild
16 ===================================================================
17 # Copyright 1999-2008 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/media-sound/audicle/audicle-1.0.0.6.ebuild,v 1.1 2008/03/30 00:20:06 cedk Exp $
20
21 inherit eutils toolchain-funcs flag-o-matic
22
23 DESCRIPTION="A Context-sensitive, On-the-fly Audio Programming Environ/mentality"
24 HOMEPAGE="http://audicle.cs.princeton.edu/"
25 SRC_URI="http://audicle.cs.princeton.edu/release/files/${P}.tgz"
26
27 LICENSE="GPL-2"
28 SLOT="0"
29 KEYWORDS="~x86"
30 IUSE="oss jack alsa truetype"
31
32 RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
33 alsa? ( >=media-libs/alsa-lib-0.9 )
34 media-libs/libsndfile
35 virtual/glut
36 virtual/opengl
37 virtual/glu
38 >=x11-libs/gtk+-2
39 truetype? ( media-libs/ftgl
40 media-fonts/corefonts )"
41 DEPEND="${RDEPEND}
42 sys-devel/bison
43 sys-devel/flex"
44
45 src_unpack() {
46 unpack ${A}
47 cd "${S}"
48 epatch "${FILESDIR}/${P}-font.patch"
49 epatch "${FILESDIR}/${P}-hid-smc.patch"
50
51 sed -i \
52 -e "s@../ftgl_lib/FTGL/include@/usr/include/FTGL@" \
53 -e "s@../ftgl_lib/FTGL/mac/build@/usr/lib@" \
54 src/makefile.{alsa,jack,oss} || die "sed failed"
55 }
56
57 pkg_setup() {
58 local cnt=0
59 use jack && cnt="$((${cnt} + 1))"
60 use alsa && cnt="$((${cnt} + 1))"
61 use oss && cnt="$((${cnt} + 1))"
62 if [[ "${cnt}" -eq 0 ]]; then
63 eerror "One of the following USE flags is needed: jack, alsa or oss"
64 die "Please set one audio engine type"
65 elif [[ "${cnt}" -ne 1 ]]; then
66 ewarn "You have set ${P} to use multiple audio engine."
67 fi
68 }
69
70 src_compile() {
71 local backend
72 if use jack; then
73 backend="jack"
74 elif use alsa; then
75 backend="alsa"
76 elif use oss; then
77 backend="oss"
78 fi
79 einfo "Compiling against ${backend}"
80 local config
81 use truetype && config="USE_FREETYPE_LIBS=1"
82
83 # when compile with athlon or athlon-xp flags
84 # audicle crashes on removing a shred with a double free or corruption
85 # it happens in Chuck_VM_Stack::shutdown() on the line
86 # SAFE_DELETE_ARRAY( stack );
87 replace-cpu-flags athlon athlon-xp i686
88
89 cd "${S}/src"
90 emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) $config || die "emake failed"
91 }
92
93 src_install() {
94 dobin src/audicle
95
96 dodoc AUTHORS PROGRAMMER README THANKS TODO VERSIONS
97 }
98
99
100
101 1.1 media-sound/audicle/metadata.xml
102
103 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/metadata.xml?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/metadata.xml?rev=1.1&content-type=text/plain
105
106 Index: metadata.xml
107 ===================================================================
108 <?xml version="1.0" encoding="UTF-8"?>
109 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
110 <pkgmetadata>
111 <herd>no-herd</herd>
112 <maintainer>
113 <email>cedk@g.o</email>
114 <name>Cédric Krier</name>
115 </maintainer>
116 <longdescription lang="en">
117 a potentially new type of audio programming environment that integrates
118 the programmability of the development environment with elements of the
119 runtime environment
120 </longdescription>
121 </pkgmetadata>
122
123
124
125
126 1.1 media-sound/audicle/ChangeLog
127
128 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/ChangeLog?rev=1.1&view=markup
129 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/ChangeLog?rev=1.1&content-type=text/plain
130
131 Index: ChangeLog
132 ===================================================================
133 # ChangeLog for media-sound/audicle
134 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
135 # $Header: /var/cvsroot/gentoo-x86/media-sound/audicle/ChangeLog,v 1.1 2008/03/30 00:20:06 cedk Exp $
136
137 *audicle-1.0.0.6 (30 Mar 2008)
138
139 30 Mar 2008; Cédric Krier <cedk@g.o>
140 +files/audicle-1.0.0.6-font.patch, +files/audicle-1.0.0.6-hid-smc.patch,
141 +metadata.xml, +audicle-1.0.0.6.ebuild:
142 New ebuild for bug #144667
143
144
145
146
147 1.1 media-sound/audicle/Manifest
148
149 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/Manifest?rev=1.1&view=markup
150 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/audicle/Manifest?rev=1.1&content-type=text/plain
151
152 Index: Manifest
153 ===================================================================
154 AUX audicle-1.0.0.6-font.patch 2862 RMD160 12edc5098b4ae21adbdcc0eaef7b6c386329dd44 SHA1 2d0845bad78570b084087f4489c86bb24f6eabd2 SHA256 ca958277aaead8c7cfe4f02a4ee78a0ba3d527bfb61857f4e349ad8f1389c152
155 AUX audicle-1.0.0.6-hid-smc.patch 3105 RMD160 759c6d34beb8fb00be475f7c82f2f313d4f22e6c SHA1 21e2b0875483598ed5fdeabd07911b59d98d00c4 SHA256 051cffc2db8207f5e78cec4fa059580fc734c57d00b0055eb9de7a67b10c462d
156 DIST audicle-1.0.0.6.tgz 5531625 RMD160 66a4a69b2a7dbe0d8aa705358f71c0d8df312a3e SHA1 c8967cfb3238064fb12cb91d0fcf19dc90628bb4 SHA256 685b86a263e92be279ccbae001202b159175363ecc87d8a7bc521f8a42a92f90
157 EBUILD audicle-1.0.0.6.ebuild 2075 RMD160 f38e861255f012715d6811446cf732306c4cfa57 SHA1 88bdc942863111c020aff8bc866386b787c062e4 SHA256 9aedb595ca92b2e6113bb19aa07b542b335775d5f845347752530a72195dde1f
158 MISC ChangeLog 346 RMD160 bf6307591b2a82ab7d5f2438fd5fbccb77874c02 SHA1 b9c163b0c019a29cabf64283d0bffaba4562c651 SHA256 3f84e9a4d877eaafaeb08c00cba66526d5f1ca3d145b69e19d66680c747ce665
159 MISC metadata.xml 472 RMD160 4062e70f23fec1b713ec4661229c94fe3b5977e5 SHA1 37e6ab7cdce21b32d6c434bfaf2a23d03ea70499 SHA256 5bafa4cb9fb7a68864b326ac3b15881be3e2f9e52f0b23f47d50581e4998d895
160
161
162
163 --
164 gentoo-commits@l.g.o mailing list