[proaudio] [1941] media-libs/raul-9999 update

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


Revision: 1941
Author:   gavlee
Date:     2011-04-27 19:02:48 +0200 (Wed, 27 Apr 2011)
Log Message:
-----------
media-libs/raul-9999 update

Modified Paths:
--------------
    trunk/overlays/proaudio/media-libs/raul/ChangeLog
    trunk/overlays/proaudio/media-libs/raul/Manifest
    trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild

Modified: trunk/overlays/proaudio/media-libs/raul/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/ChangeLog	2011-04-27 16:27:36 UTC (rev 1940)
+++ trunk/overlays/proaudio/media-libs/raul/ChangeLog	2011-04-27 17:02:48 UTC (rev 1941)
@@ -1,7 +1,10 @@
 # ChangeLog for media-libs/raul
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Apr 2011; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> raul-9999.ebuild:
+  make use of waf-utils eclass, attempt cleaning up a little
+
   08 Nov 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> -raul-0.6.0.ebuild,
   raul-9999.ebuild:
   rm old version, sync 9999 from portage 0.7.0 ebuild, add

Modified: trunk/overlays/proaudio/media-libs/raul/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/Manifest	2011-04-27 16:27:36 UTC (rev 1940)
+++ trunk/overlays/proaudio/media-libs/raul/Manifest	2011-04-27 17:02:48 UTC (rev 1941)
@@ -1,3 +1,3 @@
-EBUILD raul-9999.ebuild 1714 RMD160 53b69c004e6340907dcdb9e62536f59c49a8c038 SHA1 1b10fc56ca49f3ddbd1000a9ccc190c67df6190b SHA256 ffffc49034e4011bf24f8a0c31ce96f9d0b09d93751f8b2fb07122eed71845c8
-MISC ChangeLog 1354 RMD160 833b331a2e40d5bf1da7329219a18a506fc0b8d2 SHA1 525d51f6119ed44bd0d01515333832a953a92aeb SHA256 e553a607611502f99e4f2f25200b1d7c4dc335a53f12f2195f2ee88d401762c2
+EBUILD raul-9999.ebuild 1393 RMD160 ffffa15108da6f3429ff28ebd3f64773e0a17f5f SHA1 60efabb50d5f6e2642c099c7d916fbf28a53e570 SHA256 6ef1b795c95e75fa9984224bf8523ba472c54d173b764e422ec0ad4494da289e
+MISC ChangeLog 1490 RMD160 2b68defdc6656d194308f1f85cbdf6a471edfc9d SHA1 7b6873113f2d72109a49440f7e45935278c91ac4 SHA256 e3c5af9a9a24ee02931748f9a16dbcab40ec58ac803e5fe79d4252d4e7573bb9
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild	2011-04-27 16:27:36 UTC (rev 1940)
+++ trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild	2011-04-27 17:02:48 UTC (rev 1941)
@@ -1,17 +1,16 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=2
+EAPI=3
+inherit waf-utils subversion
 
-inherit toolchain-funcs multilib eutils subversion
-
 DESCRIPTION="C++ utility library primarily aimed at audio/musical applications."
 HOMEPAGE="http://wiki.drobilla.net/Raul";
-#SRC_URI="http://download.drobilla.net/${P}.tar.bz2";
-SRC_URI=""
+
 ESVN_REPO_URI="http://svn.drobilla.net/lad/trunk";
 ESVN_PROJECT="svn.drobilla.net"
+ESVN_UP_FREQ="1"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -19,39 +18,36 @@
 IUSE="debug doc test"
 
 RDEPEND="dev-libs/boost
-	>=dev-libs/glib-2.14.0"
+	>=dev-libs/glib-2.26.1-r1:2"
 DEPEND="${RDEPEND}
-	>=dev-python/rdflib-3.0.0
 	dev-util/pkgconfig
+	dev-lang/python
 	doc? ( app-doc/doxygen )"
 
-RAUL_TESTS="atomic_test atom_test list_test midi_ringbuffer_test path_test quantize_test queue_test ringbuffer_test smf_test table_test thread_test time_test"
-#atomic_test list_test midi_ringbuffer_test path_test ringbuffer_test smf_test thread_test"
+RAUL_TESTS="atom_test atomic_test list_test midi_ringbuffer_test path_test quantize_test queue_test ringbuffer_test smf_test table_test thread_test time_test"
 
-src_configure() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
+src_prepare() {
+	# work around ldconfig call causing sandbox violation
+	sed -i -e "s/bld.add_post_fun(autowaf.run_ldconfig)//" ${PN}/wscript || die
+}
 
+src_configure() {
+	cd ${PN}
 	tc-export CC CXX CPP AR RANLIB
-	./waf configure \
-		--prefix=/usr \
-		--libdir=/usr/$(get_libdir) \
-		--htmldir=/usr/share/doc/${PF}/html \
+	waf-utils_src_configure \
 		$(use debug && echo "--debug") \
-		$(use doc && echo "--docs") \
-		$(use test && echo "--test") \
-		|| die
+		$(use doc && echo " --build-docs --htmldir=/usr/share/doc/${P}/html") \
+		$(use test && echo "--test")
 }
 
 src_compile() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
-
-	./waf || die
+	cd ${PN}
+	waf-utils_src_compile
 }
 
 src_test() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
+	cd "${PN}/build/test"
 
-	cd "${S}/build/default/test" || die
 	for i in ${RAUL_TESTS} ; do
 		einfo "Running test ${i}"
 		LD_LIBRARY_PATH=.. ./${i} || die
@@ -59,11 +55,7 @@
 }
 
 src_install() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
-
-	# addpredict for the ldconfig
-	addpredict /etc/ld.so.cache
-
-	./waf install --destdir="${D}" || die
+	cd ${PN}
+	waf-utils_src_install
 	dodoc AUTHORS README ChangeLog
 }


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