Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update supercollider to 3.5. still need to do editor plugin installs.

  • Loading branch information...
commit 0ad9461dd42c2fa76b96e77b276dcf7b4b65e9bc 1 parent 402364a
@nightmorph authored
View
4 media-sound/supercollider/Manifest
@@ -1,5 +1,7 @@
AUX 70scel-gentoo.el 106 RMD160 e2de09b5378a1b0fe2dbd3cd61a3787c01e6e4da SHA1 8efd6732b118bff711cec662e238d93af745b32c SHA256 c3224e397bb8e9a0a57d709b9d2f99b9afce77e1df485e3ace8342d4c9cc3765
-AUX README-gentoo.txt 3246 RMD160 aabc84efe4d78e18d7a25ad65000f6d240835ce4 SHA1 2e2ce03562f30c08e645a81695bdb97379a023b4 SHA256 6f4ee95ecfe6cb2a19084e6c20c4fef71612d98bb698c7b11745d353e87d8edd
+AUX README-gentoo.txt 3355 RMD160 7cdc38d040e1383884defbdd92a588b94ba17e28 SHA1 89595e4023c879bd9a4a99cdfef695eeb9ad8694 SHA256 7580d19a540b35cdd5ad24494d6f62a1387f0eafa4eb1c4e4d56c42b5feb6f4a
DIST SuperCollider-3.4.4-Source-linux.tar.gz 5096793 RMD160 ba039e2e3e06da7b35c0a3ec924f7120b4d184c8 SHA1 a044a02a30fe8a9090f8e0d5fa539037b800f2ec SHA256 0de9feb867d8362837a55f869a52ba4de8d0aa2c0cb955967bb18727e65052f5
+DIST SuperCollider-3.5.3-Source-linux.tar.bz2 8861774 RMD160 4462190bce79c585755c6e603f30ba86801fcecc SHA1 78cab59446417a42c2d1eb8977ecbfb006d9521e SHA256 65bdc35e82393eba7f99c890cf986f40c96cd8e374bbf017303a2bd04973966b
EBUILD supercollider-3.4.4.ebuild 3345 RMD160 a2f13e7d2b3bfef7d791c43f1e214cbd547bc8dc SHA1 4fb1dce26b8b57a648d77c26130797676ff83381 SHA256 ba517056126bb673076efb23be5cae56586b35ec90c6b3032540cb79426e025b
+EBUILD supercollider-3.5.3.ebuild 3452 RMD160 c9c814574b8719ce7ec17c3f16e7e956899ca42e SHA1 6bdfe729f241d2ddb44cd4c64cffd6058b42d7bd SHA256 4168cbe55e579d7086aa938d14a4a9d54b4e9961ad71ca0029e9af57db39468c
MISC metadata.xml 711 RMD160 3b02108749d8899b2209ce13ae30f5fda62330c5 SHA1 bb78d0dc108c5186d90f45a0f3514e8da698d0a3 SHA256 ce8d9d08a1015a8a48b2197c3cd4610b544081a85c30c65b51912e1775a1d836
View
3  media-sound/supercollider/files/README-gentoo.txt
@@ -51,6 +51,9 @@ sounds/ and synthdefs/. (Technically, you could alternatively start
sclang with the "-d" option to select a different directory
containing those two subdirs.)
+Make sure that you've created ~/.local/share/SuperCollider/ before attempting to
+run SC for the first time.
+
Other Documentation in This Directory
-------------------------------------
Included in the SuperCollider source tree are quite a few .rtf files
View
108 media-sound/supercollider/supercollider-3.5.3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit cmake-utils elisp-common
+
+DESCRIPTION="An environment and a programming language for real time audio synthesis and algorithmic composition"
+HOMEPAGE="http://supercollider.sourceforge.net"
+MY_PN="SuperCollider"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="mirror://sourceforge/${PN}/Source/${PV}/${MY_P}-Source-linux.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="curl debug emacs gedit2 gedit3 portaudio +qt sse sse4 vim wii +zeroconf"
+
+RDEPEND="${DEPEND}"
+DEPEND="dev-libs/icu
+ dev-util/pkgconfig
+ media-libs/alsa-lib
+ media-libs/libsndfile
+ media-sound/jack-audio-connection-kit
+ sci-libs/fftw:3.0
+ sys-libs/readline
+ x11-libs/libXt
+ curl? ( net-misc/curl )
+ emacs? ( virtual/emacs )
+ gedit2? ( <app-editors/gedit-3 )
+ gedit3? ( >app-editors/gedit-2 )
+ portaudio? ( media-libs/portaudio )
+ qt? ( x11-libs/qt-webkit )
+ vim? ( || ( app-editors/vim[ruby] )
+ ( app-editors/gvim[ruby] ) )
+ wii? ( app-misc/cwiid )
+ zeroconf? ( net-dns/avahi )"
+
+## note that SC_ED builds the plugin for gedit3; SC_ED=2 enables the gedit2
+## plugin (currently 2.x is stable on gentoo, as of august 2012
+
+## things not really optional, thus removed from IUSE:
+## alsa, readline, X
+## upstream also really insists on avahi, libsndfile, qt activated
+
+S="${WORKDIR}/${MY_PN}-Source"
+
+src_configure() {
+ tc-export CC CXX
+ mkdir -p "${D}"
+
+ local mycmakeargs="
+ $(cmake-utils_use curl CURL)
+ $(cmake-utils_use debug SC_MEMORY_DEBUGGING)
+ $(cmake-utils_use emacs SC_EL)
+ $(use gedit2 && echo -DSC_ED=2)
+ $(cmake-utils_use gedit3 SC_ED)
+ $(cmake-utils_use sse SSE)
+ $(cmake-utils_use sse4 SSE41)
+ $(cmake-utils_use qt SC_QT)
+ $(cmake-utils_use vim SC_VIM)
+ $(cmake-utils_use wii SC_WII)"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+# When installing into /usr/local (which is the default), gedit won't find
+# the plugin since it only looks in /usr. To fix this, simply symlink
+# the plugin-files to ~/.local/share/gedit/plugins/:
+#
+# $ mkdir -p ~/.local/share/gedit/plugins
+# $ cd ~/.local/share/gedit/plugins
+# $ ln -sf /usr/local/lib/gedit/plugins/supercollider.plugin .
+# $ ln -sf /usr/local/lib/gedit/plugins/supercollider.py .
+
+ # Main install
+ cmake-utils_src_install || die "install failed"
+
+ # Upstream Documentation
+ dodoc README_LINUX.txt README.txt
+
+ mv editors/scel/README editors/scel/README-scel
+ dodoc editors/scel/README-scel
+ mv editors/sced/README editors/sced/README-sced
+ dodoc editors/sced/README-sced
+ mv editors/scvim/README editors/scvim/README-scvim
+ dodoc editors/scvim/README-scvim
+
+ # Gentoo documentation
+ sed -e "s:@DOCBASE@:/usr/share/doc/${PF}:" < "${FILESDIR}/README-gentoo.txt" | gzip > "${D}/usr/share/doc/${PF}/README-gentoo.txt.gz"
+
+ use emacs && elisp-site-file-install "${FILESDIR}/70scel-gentoo.el"
+
+ ## TODO: install sced, scel, scvim
+ # these might need to be split out into their own ebuilds, since
+ # users don't actually need to compile all of supercollider. needs
+ # a separate source tree sub-checkout, though. could then put in an
+ # IUSE with RDEP on each editor plugin.
+}
+
+pkg_postinst() {
+ elog "Notice: SuperCollider is not very intuitive to get up and running."
+ elog "The best course of action to make sure that the installation was"
+ elog "successful and get you started with using SuperCollider is to take"
+ elog "a look through /usr/share/doc/${PF}/README-gentoo.txt.gz"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.