[proaudio] [1774] media-sound/fastbreeder-1.0.1-r1 cleaner ebuild |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1774
Author: gavlee
Date: 2010-10-22 09:06:27 +0200 (Fri, 22 Oct 2010)
Log Message:
-----------
media-sound/fastbreeder-1.0.1-r1 cleaner ebuild
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/fastbreeder/ChangeLog
trunk/overlays/proaudio/media-sound/fastbreeder/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/fastbreeder/fastbreeder-1.0.1-r1.ebuild
trunk/overlays/proaudio/media-sound/fastbreeder/files/
trunk/overlays/proaudio/media-sound/fastbreeder/files/fastbreeder-1.0.1-SConstruct.patch
Modified: trunk/overlays/proaudio/media-sound/fastbreeder/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/fastbreeder/ChangeLog 2010-10-22 05:26:34 UTC (rev 1773)
+++ trunk/overlays/proaudio/media-sound/fastbreeder/ChangeLog 2010-10-22 07:06:27 UTC (rev 1774)
@@ -2,6 +2,13 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+*fastbreeder-1.0.1-r1 (22 Oct 2010)
+
+ 22 Oct 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+ +fastbreeder-1.0.1-r1.ebuild, +files/fastbreeder-1.0.1-SConstruct.patch:
+ try cleaning ebuild up; use scons-utils and python eclasses, add patch for
+ respecting toolchain flags.
+
*fastbreeder-1.0.1 (08 Apr 2010)
08 Apr 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
Modified: trunk/overlays/proaudio/media-sound/fastbreeder/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/fastbreeder/Manifest 2010-10-22 05:26:34 UTC (rev 1773)
+++ trunk/overlays/proaudio/media-sound/fastbreeder/Manifest 2010-10-22 07:06:27 UTC (rev 1774)
@@ -1,3 +1,6 @@
+AUX fastbreeder-1.0.1-SConstruct.patch 972 RMD160 1635c783a5980b7b3363ca256794624a649aada9 SHA1 b76e0256d68d027dd239b02bb2de979bea63e216 SHA256 67b8687dd9bd0b0b70bb1f7d3acaa380563d90ca96a0644d6e1c628742196128
DIST fastbreeder-1.0.1.tar.gz 488668 RMD160 87a80b944cc6e1c056137b9c6a30b4f47da0cfbb SHA1 93a5cd2e8d8912cd8e2c945304dcfce2e5f45a29 SHA256 5855e672355d87530f09ee28e95778b99b9e9fe12c5a929e793bb6cbd6413e02
+EBUILD fastbreeder-1.0.1-r1.ebuild 992 RMD160 51e74d14de1d1d0d0cdfabff2165bc1e6c0d13e4 SHA1 495d13bb8b7df639e129881196d3aa83eff5e4a0 SHA256 9969d8330e27d6f15c5f86c4089bace141abf509e46448005cda1d28fae603a3
EBUILD fastbreeder-1.0.1.ebuild 1193 RMD160 3b99f7faeb29dd186b75be13eac6b6a385447349 SHA1 60fa3223ae9ece68ae119de80bdf1ebcdfbed373 SHA256 7285566b5d2f05d9d9ef853db84c4d70f1212d2e35dad24aa3a08bf9d7d02001
+MISC ChangeLog 565 RMD160 2acba98ccfe428343c7e1fc1f1c9e974cab5d99a SHA1 2f781bae681749c7b4b2780d1bdeca915e28b3bd SHA256 27079f63d99f58c25d858636cb0a102831c17a94ce07cc55163d8d70494f4024
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/fastbreeder/fastbreeder-1.0.1-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/fastbreeder/fastbreeder-1.0.1-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/fastbreeder/fastbreeder-1.0.1-r1.ebuild 2010-10-22 07:06:27 UTC (rev 1774)
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+PYTHON_USE_WITH="tk"
+
+inherit eutils python toolchain-funcs scons-utils
+
+DESCRIPTION="An experimental genetic programming synthesiser."
+HOMEPAGE="http://www.pawfal.org/Software/fastbreeder/"
+SRC_URI="http://www.pawfal.org/Software/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="mirror"
+
+RDEPEND=">=media-libs/liblo-0.26
+ >=media-sound/jack-audio-connection-kit-0.116.2"
+DEPEND="${RDEPEND}"
+
+src_prepare () {
+ # patch for respecting toolchain flags
+ epatch "${FILESDIR}/${P}-SConstruct.patch"
+}
+
+src_compile() {
+ tc-export CXX
+ escons || die "escons failed"
+}
+
+src_install() {
+ # this could be better, using scons to install is a pain in the *
+ insinto "$(python_get_sitedir)"
+ doins scripts/osc.py scripts/gpy.py || die
+ dobin fastbreederserver scripts/fastbreeder || die
+ dodoc README
+}
Added: trunk/overlays/proaudio/media-sound/fastbreeder/files/fastbreeder-1.0.1-SConstruct.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/fastbreeder/files/fastbreeder-1.0.1-SConstruct.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/fastbreeder/files/fastbreeder-1.0.1-SConstruct.patch 2010-10-22 07:06:27 UTC (rev 1774)
@@ -0,0 +1,28 @@
+--- fastbreeder-1.0.1/SConstruct.old 2010-10-22 07:22:18.000000000 +0100
++++ fastbreeder-1.0.1/SConstruct 2010-10-22 07:45:48.000000000 +0100
+@@ -1,3 +1,6 @@
++import os
++import SCons.Util
++
+ Target = "fastbreederserver"
+ PyTarget = ["scripts/fastbreeder", "scripts/gpy.py", "scripts/osc.py"]
+ Install = "/usr/local/bin"
+@@ -23,7 +26,17 @@
+ src/FastBreeder.cpp \
+ src/main.cpp")
+
+-env = Environment(CCFLAGS = '-pipe -Wall -O3 -ggdb -ffast-math -Wno-unused -fPIC')
++#env = Environment(CCFLAGS = '-pipe -Wall -O3 -ggdb -ffast-math -Wno-unused -fPIC')
++env = Environment()
++
++if os.environ.has_key('CXX'):
++ env['CXX'] = os.environ['CXX']
++if os.environ.has_key('CXXFLAGS'):
++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
++if os.environ.has_key('LDFLAGS'):
++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
++
++
+ env.Program(source = Source, target = Target, LIBS=Libs, LIBPATH=LibPaths)
+
+ env.Install(Install, Target)