[proaudio] [1961] media-sound/machina-9999 update

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


Revision: 1961
Author:   gavlee
Date:     2011-05-05 13:55:11 +0200 (Thu, 05 May 2011)
Log Message:
-----------
media-sound/machina-9999 update

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/machina/ChangeLog
    trunk/overlays/proaudio/media-sound/machina/Manifest
    trunk/overlays/proaudio/media-sound/machina/machina-9999.ebuild

Modified: trunk/overlays/proaudio/media-sound/machina/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/machina/ChangeLog	2011-05-04 10:03:44 UTC (rev 1960)
+++ trunk/overlays/proaudio/media-sound/machina/ChangeLog	2011-05-05 11:55:11 UTC (rev 1961)
@@ -1,7 +1,10 @@
 # ChangeLog for media-sound/machina
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  05 May 2011; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> machina-9999.ebuild:
+  update for current svn
+
   04 Aug 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> machina-9999.ebuild:
   Update to fix build. deps may need looking at but does build for me now.
 

Modified: trunk/overlays/proaudio/media-sound/machina/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/machina/Manifest	2011-05-04 10:03:44 UTC (rev 1960)
+++ trunk/overlays/proaudio/media-sound/machina/Manifest	2011-05-05 11:55:11 UTC (rev 1961)
@@ -1,3 +1,3 @@
-EBUILD machina-9999.ebuild 950 RMD160 aa19c96d5fe82fee58c395c3b55255cb852efc38 SHA1 a37de3bf74e9029c28006e95f9075af2ada3a9b1 SHA256 dca6b0ac2cb5d4d7c2f90827b9321fcc8a6ce56fe6416c41250e5a7197a2d611
-MISC ChangeLog 363 RMD160 6cca28fcde8a5eda136b53c1a705250512ce1e79 SHA1 88b2fbbc752113729b28d39d4d5529cc0ad9e271 SHA256 2bf7500b68fd6442d3b9960218b55c51d89b904fc7010f1d519acca8c71985a8
+EBUILD machina-9999.ebuild 1358 RMD160 04ac9d52c17765a8895c68915094c4260ee2ef5c SHA1 bb4c560590d0de2024741da2430117dba9946753 SHA256 5eb6eaa31b3042b9ac7b26345793457481c3cb0055f9ec95262097431217793d
+MISC ChangeLog 466 RMD160 cfb08a4fa67b542d723679337cce885a446d6178 SHA1 48df8695d1db03097188d4f17797664908437a59 SHA256 5d667af652bb8eb191bae5a4c9a390109ffa26560683faacd27dbfcd94454e93
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-sound/machina/machina-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/machina/machina-9999.ebuild	2011-05-04 10:03:44 UTC (rev 1960)
+++ trunk/overlays/proaudio/media-sound/machina/machina-9999.ebuild	2011-05-05 11:55:11 UTC (rev 1961)
@@ -1,39 +1,58 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit subversion toolchain-funcs multilib
+EAPI=3
+inherit waf-utils subversion
 
-RESTRICT="mirror"
-IUSE="debug"
-
 DESCRIPTION="A polyphonic MIDI sequencer based on probabilistic finite-state automata"
 HOMEPAGE="http://drobilla.net/software/machina/";
 
 ESVN_REPO_URI="http://svn.drobilla.net/lad/trunk";
 ESVN_PROJECT="svn.drobilla.net"
+ESVN_UP_FREQ="1"
 
 LICENSE="GPL-2"
 KEYWORDS=""
 SLOT="0"
+IUSE="debug doc"
 
-RDEPEND="=dev-libs/redlandmm-9999
-	=media-libs/raul-9999
-	=x11-libs/flowcanvas-9999
+RDEPEND=">=dev-cpp/glibmm-2.14.0:2
+	>=dev-cpp/gtkmm-2.14.0:2
+	>=dev-cpp/libglademm-2.6.0:2
+	>=media-lib/sord-9999
+	>=media-libs/raul-9999
+	>=x11-libs/flowcanvas-9999
 	>=media-sound/jack-audio-connection-kit-0.109.0"
+RDEPEND="${DEPEND}"
 
-src_compile() {
+src_prepare() {
+	# work around ldconfig call causing sandbox violation
+	sed -i -e "s/bld.add_post_fun(autowaf.run_ldconfig)//" "${PN}/wscript" \
+		"${PN}/src/client/wscript" "${PN}/src/engine/wscript" || die
+}
+
+src_configure() {
 	cd ${PN}
 	tc-export CC CXX CPP AR RANLIB
-	./waf configure --prefix=/usr \
-		--libdir=/usr/$(get_libdir)/ \
-		$(use debug && echo "--debug") || die "waf configure failed"
+	waf-utils_src_configure \
+		$(use debug && echo "--debug") \
+		$(use doc && echo "--docs")
+}
 
-	./waf build ${MAKEOPTS} || die "waf build failed"
+src_compile() {
+	cd ${PN}
+	waf-utils_src_compile
 }
 
 src_install() {
 	cd ${PN}
-	./waf install --destdir="${D}" || die "waf install failed"
+	waf-utils_src_install
 	dodoc AUTHORS README THANKS
+
+	if use doc; then
+		mv "${D}/usr/share/doc/${PN}/html" "${D}/usr/share/doc/${PF}"
+		rmdir "${D}/usr/share/doc/${PN}"
+		find "${D}/usr/share/doc/" -name '*.md5' -delete
+	fi
 }


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