diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-12-31 16:01:37 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-12-31 16:01:37 +0000 |
commit | b57599558ff496ebee72b244754e9fe4500196e2 (patch) | |
tree | 554e1042466def7aedc71795bb630b9d80d83445 /media-sound/chuck | |
parent | Add ~alpha keyword, bug 158907. (diff) | |
download | gentoo-2-b57599558ff496ebee72b244754e9fe4500196e2.tar.gz gentoo-2-b57599558ff496ebee72b244754e9fe4500196e2.tar.bz2 gentoo-2-b57599558ff496ebee72b244754e9fe4500196e2.zip |
New ebuild
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-sound/chuck')
-rw-r--r-- | media-sound/chuck/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/chuck/Manifest | 16 | ||||
-rw-r--r-- | media-sound/chuck/chuck-1.2.0.7.ebuild | 72 | ||||
-rw-r--r-- | media-sound/chuck/files/digest-chuck-1.2.0.7 | 3 | ||||
-rw-r--r-- | media-sound/chuck/metadata.xml | 10 |
5 files changed, 111 insertions, 0 deletions
diff --git a/media-sound/chuck/ChangeLog b/media-sound/chuck/ChangeLog new file mode 100644 index 000000000000..2d774a4fb69d --- /dev/null +++ b/media-sound/chuck/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/chuck +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/ChangeLog,v 1.1 2006/12/31 16:01:37 cedk Exp $ + +*chuck-1.2.0.7 (31 Dec 2006) + + 31 Dec 2006; Cedric Krier <cedk@gentoo.org> +metadata.xml, + +chuck-1.2.0.7.ebuild: + New ebuild for bug #122332 + diff --git a/media-sound/chuck/Manifest b/media-sound/chuck/Manifest new file mode 100644 index 000000000000..1cf49f61a4f2 --- /dev/null +++ b/media-sound/chuck/Manifest @@ -0,0 +1,16 @@ +DIST chuck-1.2.0.7.tgz 1422688 RMD160 bf934d7fa8ca4f39941ab30ac8d1e97cbcf03570 SHA1 574bfd079d1452a99ab459a76b8cb9ad94180d5b SHA256 d70653dcf81db4ceed962234bdec19510acb6ebf12081187e72904a2cbaaa9ee +EBUILD chuck-1.2.0.7.ebuild 1851 RMD160 0947de2ede0baeb1a9d718c82d2fba094f503324 SHA1 28d32345abee26e529030ab2b1db5ef5bf94d9bb SHA256 39cff9c825aa270188fd429889cbc88ac831984bf555334471bf2c1226c5522d +MD5 047e56a11d642082b8ee686016763c40 chuck-1.2.0.7.ebuild 1851 +RMD160 0947de2ede0baeb1a9d718c82d2fba094f503324 chuck-1.2.0.7.ebuild 1851 +SHA256 39cff9c825aa270188fd429889cbc88ac831984bf555334471bf2c1226c5522d chuck-1.2.0.7.ebuild 1851 +MISC ChangeLog 264 RMD160 14312ac60d9d20f2b544c197272dd6c81f5f68cf SHA1 e9a124247cb3dda5cc35bdb9e2779e097a8c189c SHA256 036c7d1cfa407994d0420523120924992d01307108768e3cab775874d3155038 +MD5 8539e25f57092b402ad1fb55f6d3411e ChangeLog 264 +RMD160 14312ac60d9d20f2b544c197272dd6c81f5f68cf ChangeLog 264 +SHA256 036c7d1cfa407994d0420523120924992d01307108768e3cab775874d3155038 ChangeLog 264 +MISC metadata.xml 368 RMD160 1bdbac2a814e0ac3680a3fbdbbb426c4b42aa1f0 SHA1 e0f26be139138f200081a60985b3a13d75b6c359 SHA256 27805233ee7ce2aaa17abecafbc40d5b5f2664636e1849f314f3e1dc56241030 +MD5 37f5331ee01f827c5992c108eb5f4215 metadata.xml 368 +RMD160 1bdbac2a814e0ac3680a3fbdbbb426c4b42aa1f0 metadata.xml 368 +SHA256 27805233ee7ce2aaa17abecafbc40d5b5f2664636e1849f314f3e1dc56241030 metadata.xml 368 +MD5 38faf60379b772c4775be7f3f8843a95 files/digest-chuck-1.2.0.7 235 +RMD160 c9b61820e51f96b0f529756ab2a68c9d7345029f files/digest-chuck-1.2.0.7 235 +SHA256 5e751645f614213d1e1df668641e99e5554dccc77523f62fb6b1e41936ae71a9 files/digest-chuck-1.2.0.7 235 diff --git a/media-sound/chuck/chuck-1.2.0.7.ebuild b/media-sound/chuck/chuck-1.2.0.7.ebuild new file mode 100644 index 000000000000..c784fb5ca388 --- /dev/null +++ b/media-sound/chuck/chuck-1.2.0.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/chuck/chuck-1.2.0.7.ebuild,v 1.1 2006/12/31 16:01:37 cedk Exp $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Strongly-timed, Concurrent, and On-the-fly +Audio Programming Language" +HOMEPAGE="http://chuck.cs.princeton.edu/release/" +SRC_URI="http://chuck.cs.princeton.edu/release/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="oss jack alsa examples" + +RDEPEND="jack? ( media-sound/jack-audio-connection-kit ) + alsa? ( >=media-libs/alsa-lib-0.9 ) + media-libs/libsndfile" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex" + +pkg_setup() { + local cnt=0 + use jack && cnt="$((${cnt} + 1))" + use alsa && cnt="$((${cnt} + 1))" + use oss && cnt="$((${cnt} + 1))" + if [[ "${cnt}" -eq 0 ]] ; then + eerror "One of the following USE flags is needed: jack, alsa or oss" + die "Please set one audio engine type" + elif [[ "${cnt}" -ne 1 ]] ; then + ewarn "You have set ${P} to use multiple audio engine." + fi +} + +src_compile() { + local backend + if use jack ; then + backend="jack" + elif use alsa ; then + backend="alsa" + elif use oss ; then + backend="oss" + fi + einfo "Compiling against ${backend}" + + # when compile with athlon or athlon-xp flags + # chuck crashes on removing a shred with a double free or corruption + # it happens in Chuck_VM_Stack::shutdown() on the line + # SAFE_DELETE_ARRAY( stack ); + replace-cpu-flags athlon athlon-xp i686 + + cd "${S}/src" + emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed" +} + +src_install() { + dobin src/chuck + + dodoc AUTHORS DEVELOPER PROGRAMMER QUICKSTART README THANKS TODO VERSIONS + docinto doc + dodoc doc/* + if use examples; then + insinto /usr/share/doc/${P}/examples + doins `find examples -type f` + for dir in `find examples/* -type d`; do + insinto /usr/share/doc/${P}/$dir + doins $dir/* + done + fi +} diff --git a/media-sound/chuck/files/digest-chuck-1.2.0.7 b/media-sound/chuck/files/digest-chuck-1.2.0.7 new file mode 100644 index 000000000000..6feb17515d07 --- /dev/null +++ b/media-sound/chuck/files/digest-chuck-1.2.0.7 @@ -0,0 +1,3 @@ +MD5 d69f62bc33fa24249f189f7eaa311611 chuck-1.2.0.7.tgz 1422688 +RMD160 bf934d7fa8ca4f39941ab30ac8d1e97cbcf03570 chuck-1.2.0.7.tgz 1422688 +SHA256 d70653dcf81db4ceed962234bdec19510acb6ebf12081187e72904a2cbaaa9ee chuck-1.2.0.7.tgz 1422688 diff --git a/media-sound/chuck/metadata.xml b/media-sound/chuck/metadata.xml new file mode 100644 index 000000000000..80ee97b367a5 --- /dev/null +++ b/media-sound/chuck/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>cedk@gentoo.org</email> +</maintainer> +<longdescription>ChucK is a new (and developing) audio programming language for +real-time synthesis, composition, and performance</longdescription> +</pkgmetadata> |