[proaudio] [1659] supercollider: version bump - 3.3.1, fix incorrect paths, repoman payment

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1659
Author:   gentoid
Date:     2010-04-28 21:22:39 +0200 (Wed, 28 Apr 2010)
Log Message:
-----------
supercollider: version bump - 3.3.1, fix incorrect paths, repoman payment

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/supercollider/ChangeLog
    trunk/overlays/proaudio/media-sound/supercollider/Manifest
    trunk/overlays/proaudio/media-sound/supercollider/metadata.xml
    trunk/overlays/proaudio/media-sound/supercollider/supercollider-99999999.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/supercollider/supercollider-3.3.1.ebuild

Modified: trunk/overlays/proaudio/media-sound/supercollider/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/supercollider/ChangeLog	2010-04-28 13:41:00 UTC (rev 1658)
+++ trunk/overlays/proaudio/media-sound/supercollider/ChangeLog	2010-04-28 19:22:39 UTC (rev 1659)
@@ -2,6 +2,12 @@
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*supercollider-3.3.1 (28 Apr 2010)
+
+  28 Apr 2010; Viktor Lazarev <taurus101v@xxxxxxxxx>
+  +supercollider-3.3.1.ebuild, supercollider-99999999.ebuild, metadata.xml:
+  version bump, repoman payment, remove strange rpath, fix incorrect paths
+
   26 Apr 2010; Viktor Lazarev <taurus101v@xxxxxxxxx>
   supercollider-99999999.ebuild, +metadata.xml:
   Added some dependencies, turned off using of readline

Modified: trunk/overlays/proaudio/media-sound/supercollider/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/supercollider/Manifest	2010-04-28 13:41:00 UTC (rev 1658)
+++ trunk/overlays/proaudio/media-sound/supercollider/Manifest	2010-04-28 19:22:39 UTC (rev 1659)
@@ -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
-EBUILD supercollider-99999999.ebuild 3370 RMD160 be31622921468f632191689b20bf232fb9708ed2 SHA1 303750180fbd0a3b18f9fb86a3a60dd611570834 SHA256 1d01b7cf3e04efd039a2ee432bd8a632f84a0616815f1c3133b7aef92591e61d
-MISC ChangeLog 392 RMD160 6212a0594cb1485d13c7643c30182e4ba9b2d4ab SHA1 fd442c3742bb4b3189b41bb3069e4aba1decf415 SHA256 25d24056e58fa02f66c7536b85fd353955c7e951e695b59a929c3a2e17868b65
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+DIST SuperCollider-3.3.1-Source-linux.tar.gz 4947164 RMD160 394893c026197d91d15c6f85a9f05a1a221b7d4f SHA1 f0a5f0ed6ebbdf0c87e049ceaf87759a66f24879 SHA256 004b9034748d5ca9ee20d50d567fd4c844f2a4c3d68797a1eb967bfc4bcf0f12
+EBUILD supercollider-3.3.1.ebuild 3502 RMD160 104316f4aa6d94446d366a5b9905a41d94d81db0 SHA1 ecccb2d5b582121edba8395658e6ab5d8b7fd39e SHA256 f88a1cffa2ad486073d59e784b79e2492e140ad700f67d78d9165b90f1f45dbd
+EBUILD supercollider-99999999.ebuild 3501 RMD160 9c66070d987ebda9f3463a0d642cb8a23c6fba1a SHA1 afd02460bdd3b84f19aef6c16e6f149316c4b507 SHA256 85984a7c9ecdfc3a5cd4d6d84f5fe277136e4c3f24193fd495631ad05de47e86
+MISC ChangeLog 633 RMD160 663afdacb8a88e8010fac2840a2c5b10be6d265c SHA1 d8ff5d25248e9adabcdefd6bf1fa67799ca59c79 SHA256 0886667493ed7cde74e01e8b2c449cc6c7cc41aa9066a9b82ebfab5b67c2f7ad
+MISC metadata.xml 529 RMD160 40a1dd56fff4b29ffe2611f850339b1b0a369c25 SHA1 2a810f8a24dbfb0b3551ca397a86cccfc32a7a23 SHA256 c518c542033e82d336586af235b435ef12e89b11e2bddaf6ac33dd53dde0bc51

Modified: trunk/overlays/proaudio/media-sound/supercollider/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/supercollider/metadata.xml	2010-04-28 13:41:00 UTC (rev 1658)
+++ trunk/overlays/proaudio/media-sound/supercollider/metadata.xml	2010-04-28 19:22:39 UTC (rev 1659)
@@ -6,4 +6,10 @@
 		<email>proaudio@xxxxxxxxxxxxx</email>
 		<name>pro-audio overlay team</name>
 	</maintainer>
+	<use>
+		<flag name="devel">Build and install the development files</flag>
+		<flag name="emacs">Enable the SCEL user interface</flag>
+		<flag name="lid">Build with Linux Input Device support</flag>
+		<flag name="wii">Build with Linux WII support</flag>
+	</use>
 </pkgmetadata>

Copied: trunk/overlays/proaudio/media-sound/supercollider/supercollider-3.3.1.ebuild (from rev 1657, trunk/overlays/proaudio/media-sound/supercollider/supercollider-99999999.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-sound/supercollider/supercollider-3.3.1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/supercollider/supercollider-3.3.1.ebuild	2010-04-28 19:22:39 UTC (rev 1659)
@@ -0,0 +1,124 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit elisp-common toolchain-funcs
+
+DESCRIPTION="An environment and a programming language for real time audio synthesis."
+HOMEPAGE="http://www.audiosynth.com http://supercollider.sourceforge.net";
+
+MY_PN="SuperCollider"
+MY_P="${MY_PN}-${PV}"
+
+SRC_URI="mirror://sourceforge/${PN}/Source/${PV}/${MY_P}-Source-linux.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+# lid means linux input device support.
+IUSE="alsa debug devel emacs lid sse wii"
+#IUSE="alsa debug devel emacs gedit lid sse vim wii"
+
+RDEPEND=">=media-sound/jack-audio-connection-kit-0.100.0
+	media-libs/alsa-lib
+	>=media-libs/libsndfile-1.0.16
+	>=sci-libs/fftw-3.0"
+	#>=sys-libs/readline-5.0
+
+DEPEND="${RDEPEND}
+	sys-apps/sed
+	sys-devel/automake
+	dev-util/scons
+	emacs? ( virtual/emacs )
+	dev-util/pkgconfig
+	dev-util/scons"
+#	gedit? ( app-editors/gedit )
+#	vim? ( app-editors/vim )
+
+S="${WORKDIR}/${MY_PN}-Source"
+
+src_prepare() {
+	# Uncommenting a line per linux/examples/sclang.cfg.in
+	if ! use emacs; then
+		sed -ie "/#-@SC_LIB_DIR@\/Common\/GUI\/Document.sc/s/^#//" \
+			"${S}/linux/examples/sclang.cfg.in" ||
+			die "sed failed."
+	else
+		sed -e "/elisp_dir = os.path.join(INSTALL_PREFIX/s/site-lisp')/site-lisp','scel')/" \
+		-i "${S}/SConstruct" ||
+		die "modifying elisp installdir failed."
+	fi
+
+	# remove strange rpath
+	sed -e "/LINKFLAGS = /s/'-Wl,-rpath,build -Wl/'-Wl/" -i "${S}/SConstruct" ||
+		die "fix rpath failed."
+}
+
+src_compile() {
+	myconf=""
+	! use alsa; myconf="${myconf} ALSA=$?"
+	! use debug; myconf="${myconf} DEBUG=$?"
+	! use devel; myconf="${myconf} DEVELOPMENT=$?"
+#	! use gedit; myconf="${myconf} SCED=$?"
+	! use emacs; myconf="${myconf} SCEL=$?"
+	! use lid;  myconf="${myconf} LID=$?"
+	! use sse; myconf="${myconf} SSE=$?"
+#	! use vim; myconf="${myconf} SCVIM=$?"
+	! use wii; myconf="${myconf} WII=$?"
+#	if use sse ;then
+#		myconf="${myconf} SSE=yes \
+#			CUSTOMCCFLAGS=-I$(dirname $(gcc-config -X)) \
+#			CUSTOMCXXFLAGS=-I$(dirname $(gcc-config -X))"
+#	fi
+#	if use pentium4 ;then
+#		myconf="${myconf} OPT_ARCH=pentium4"
+#	fi
+
+	myconf="${myconf} CROSSCOMPILE="1" READLINE="0""
+	myconf="${myconf} AUDIOAPI="jack""
+
+	tc-export CC CXX
+	myconf="${myconf} CC="${CC}" CXX="${CXX}""
+
+	mkdir -p "${D}"
+	einfo "${myconf}"
+	#CCFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+	scons CUSTOMCCFLAGS="${CFLAGS}" CUSTOMCXXFLAGS="${CXXFLAGS}" \
+		PREFIX="/usr" DESTDIR="${D}" \
+	 	${myconf} || die "scons failed."
+}
+
+src_install() {
+	# Main install
+	scons  install
+
+	# Install our config file
+	insinto /etc/supercollider
+	doins linux/examples/sclang.cfg
+
+	# Documentation
+	mv "README LINUX" "README-linux"
+	mv editors/scel/README editors/scel/README-scel
+	dodoc README-linux editors/scel/README-scel
+
+	# Our documentation
+	sed -e "s:@DOCBASE@:/usr/share/doc/${PF}:" < "${FILESDIR}/README-gentoo.txt" | gzip > "${D}/usr/share/doc/${PF}/README-gentoo.txt.gz"
+
+	# Example files (don't gzip)
+	insinto /usr/share/doc/${PF}/examples
+	doins linux/examples/onetwoonetwo.sc linux/examples/sclang.sc
+
+	use emacs && elisp-site-file-install "${FILESDIR}/70scel-gentoo.el"
+}
+
+pkg_postinst() {
+	einfo
+	einfo "Notice: SuperCollider is not very intuitive to get up and running."
+	einfo "The best course of action to make sure that the installation was"
+	einfo "successful and get you started with using SuperCollider is to take"
+	einfo "a look through /usr/share/doc/${PF}/README-gentoo.txt.gz"
+	einfo
+}

Modified: trunk/overlays/proaudio/media-sound/supercollider/supercollider-99999999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/supercollider/supercollider-99999999.ebuild	2010-04-28 13:41:00 UTC (rev 1658)
+++ trunk/overlays/proaudio/media-sound/supercollider/supercollider-99999999.ebuild	2010-04-28 19:22:39 UTC (rev 1659)
@@ -22,15 +22,14 @@
 SLOT="0"
 KEYWORDS=""
 
-FEATURES="-ccache"
 # lid means linux input device support.
 IUSE="sse emacs lid devel debug wii alsa"
 
 RDEPEND=">=media-sound/jack-audio-connection-kit-0.100.0
 	media-libs/alsa-lib
 	>=media-libs/libsndfile-1.0.16
-	>=sci-libs/fftw-3.0
-	>=sys-libs/readline-5.0"
+	>=sci-libs/fftw-3.0"
+	#>=sys-libs/readline-5.0
 
 DEPEND="${RDEPEND}
 	sys-apps/sed
@@ -40,19 +39,21 @@
 	dev-util/pkgconfig
 	dev-util/scons"
 
-src_unpack() {
-	subversion_src_unpack
-	cd "$S"
+src_prepare() {
 	# Uncommenting a line per linux/examples/sclang.cfg.in
 	if ! use emacs; then
-		sed -ie "/#-@SC_LIB_DIR@\/Common\/GUI\/Document.sc/s/^#//" \
-			${S}/linux/examples/sclang.cfg.in ||
+		sed -e "/#-@SC_LIB_DIR@\/Common\/GUI\/Document.sc/s/^#//" \
+			-i "${S}/linux/examples/sclang.cfg.in" ||
 			die "sed failed."
 	else
 		sed -e "/elisp_dir = os.path.join(INSTALL_PREFIX/s/site-lisp')/site-lisp','scel')/" \
-		-i ${S}/SConstruct ||
+		-i "${S}/common/SConstruct" ||
 		die "modifying elisp installdir failed."
 	fi
+
+	# remove strange rpath
+	sed -e "/LINKFLAGS = /s/'-Wl,-rpath,build', '-Wl/'-Wl/" -i "${S}/common/SConstruct" ||
+		die "fix rpath failed."
 }
 
 src_compile() {
@@ -79,7 +80,7 @@
 	tc-export CC CXX
 	myconf="${myconf} CC="${CC}" CXX="${CXX}""
 
-	mkdir -p ${D}
+	mkdir -p "${D}"
 	einfo "${myconf}"
 	#CCFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
 	cd "${S}/common"
@@ -95,22 +96,23 @@
 
 	# Install our config file
 	cd "${S}"
+	mv linux/examples/sclang.cfg.in linux/examples/sclang.cfg
 	insinto /etc/supercollider
 	doins linux/examples/sclang.cfg
 
 	# Documentation
-	mv linux/README linux/README-linux
-	mv linux/scel/README linux/scel/README-scel
-	dodoc COPYING linux/README-linux linux/scel/README-scel
+	mv "README LINUX" README-linux
+	mv editors/scel/README README-scel
+	dodoc README-linux README-scel
 
 	# Our documentation
-	sed -e "s:@DOCBASE@:/usr/share/doc/${PF}:" < ${FILESDIR}/README-gentoo.txt | gzip > ${D}/usr/share/doc/${PF}/README-gentoo.txt.gz
+	sed -e "s:@DOCBASE@:/usr/share/doc/${PF}:" < "${FILESDIR}/README-gentoo.txt" | gzip > "${D}/usr/share/doc/${PF}/README-gentoo.txt.gz"
 
 	# Example files (don't gzip)
 	insinto /usr/share/doc/${PF}/examples
 	doins linux/examples/onetwoonetwo.sc linux/examples/sclang.sc
 
-	use emacs && elisp-site-file-install ${FILESDIR}/70scel-gentoo.el
+	use emacs && elisp-site-file-install "${FILESDIR}/70scel-gentoo.el"
 }
 
 pkg_postinst() {
@@ -121,4 +123,3 @@
 	einfo "a look through /usr/share/doc/${PF}/README-gentoo.txt.gz"
 	einfo
 }
-


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/