[proaudio] [1796] media-libs/raul update, sync with portage

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


Revision: 1796
Author:   gavlee
Date:     2010-11-08 18:20:38 +0100 (Mon, 08 Nov 2010)
Log Message:
-----------
media-libs/raul update, sync with portage

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

Removed Paths:
-------------
    trunk/overlays/proaudio/media-libs/raul/raul-0.6.0.ebuild

Modified: trunk/overlays/proaudio/media-libs/raul/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/ChangeLog	2010-11-08 17:20:35 UTC (rev 1795)
+++ trunk/overlays/proaudio/media-libs/raul/ChangeLog	2010-11-08 17:20:38 UTC (rev 1796)
@@ -2,6 +2,11 @@
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  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
+  dev-python/rdflib build dependency.
+
   09 Apr 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> raul-9999.ebuild:
   Don't utilise ${S} in this ebuild...
 

Modified: trunk/overlays/proaudio/media-libs/raul/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/Manifest	2010-11-08 17:20:35 UTC (rev 1795)
+++ trunk/overlays/proaudio/media-libs/raul/Manifest	2010-11-08 17:20:38 UTC (rev 1796)
@@ -1,5 +1,3 @@
-DIST raul-0.6.0.tar.bz2 148898 RMD160 a8e646c7e9f821632dd77cecd1dc710cbaecb25b SHA1 71a18059bc67b35e0afe3f1040feda775482ea68 SHA256 0b32b364034156b57a2d4cd0e327c0ac7ede770033d9711066544ce6b1fbf41f
-EBUILD raul-0.6.0.ebuild 1114 RMD160 e0b09d37e3113ff80d29ce5edcf92c0471d67396 SHA1 fb131061d6457cf0f4c11ef730dd884197617c89 SHA256 6daad77b9fa8db2ddbba4fe99cad4047ff18644b09ed86a41d60fb6fd3ea31a0
-EBUILD raul-9999.ebuild 1064 RMD160 a9229f6e0560faf2d627a7674e2808b33c0d6bb2 SHA1 4ca8462f5ab4b07ec92e78d0497b463c01c8dfcd SHA256 f412eb09bd3a0080c21accc892a1e1c7383c6eb6baec146ffa3debec4cedcdda
-MISC ChangeLog 1160 RMD160 e26955bb8dafe652d74c5f7845e9901dc6d4cd8e SHA1 d8c83ca9a9e8d43b629ca8edd410e464170da713 SHA256 3b81a3ff2f2ffdb2790730b02071ba0ca2887ffb6bed06b13e98928161c1e1e3
+EBUILD raul-9999.ebuild 1714 RMD160 53b69c004e6340907dcdb9e62536f59c49a8c038 SHA1 1b10fc56ca49f3ddbd1000a9ccc190c67df6190b SHA256 ffffc49034e4011bf24f8a0c31ce96f9d0b09d93751f8b2fb07122eed71845c8
+MISC ChangeLog 1354 RMD160 833b331a2e40d5bf1da7329219a18a506fc0b8d2 SHA1 525d51f6119ed44bd0d01515333832a953a92aeb SHA256 e553a607611502f99e4f2f25200b1d7c4dc335a53f12f2195f2ee88d401762c2
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Deleted: trunk/overlays/proaudio/media-libs/raul/raul-0.6.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/raul-0.6.0.ebuild	2010-11-08 17:20:35 UTC (rev 1795)
+++ trunk/overlays/proaudio/media-libs/raul/raul-0.6.0.ebuild	2010-11-08 17:20:38 UTC (rev 1796)
@@ -1,41 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/raul/raul-0.5.1.ebuild,v 1.4 2009/08/02 21:06:41 chainsaw Exp $
-
-inherit eutils
-
-RESTRICT="mirror"
-DESCRIPTION="Realtime Audio Utility Library: lightweight header-only C++"
-HOMEPAGE="http://wiki.drobilla.net/Raul";
-SRC_URI="http://download.drobilla.net/${P}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug doc"
-
-#TODO: cleanup dependencies
-RDEPEND=">=dev-cpp/glibmm-2.4
-	>=dev-libs/glib-2.0
-	dev-libs/boost"
-DEPEND="${RDEPEND}
-	dev-util/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_compile() {
-	local myconf="--prefix=/usr --libdir=/usr/$(get_libdir)/"
-
-	use doc && myconf="${myconf} --build-docs --htmldir=/usr/share/doc/${P}/html"
-	use debug && myconf="${myconf} --debug"
-
-	./waf configure ${myconf} || die "configure failed"
-	./waf build ${MAKEOPTS} || die "waf failed"
-}
-
-src_install() {
-	# addpredict for the ldconfig
-	addpredict /etc/ld.so.cache
-	./waf install --destdir="${D}" || die "install failed"
-	dodoc AUTHORS README
-	ChangeLog
-}

Modified: trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild	2010-11-08 17:20:35 UTC (rev 1795)
+++ trunk/overlays/proaudio/media-libs/raul/raul-9999.ebuild	2010-11-08 17:20:38 UTC (rev 1796)
@@ -2,41 +2,68 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit multilib subversion
+EAPI=2
 
-RESTRICT="mirror"
-IUSE="debug doc"
-DESCRIPTION="Realtime Audio Utility Library: lightweight header-only C++"
+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"
 
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS=""
-SLOT="0"
+IUSE="debug doc test"
 
-RDEPEND=">=dev-libs/glib-2.14.0
-	>=dev-cpp/glibmm-2.14.0"
-DEPEND="dev-util/pkgconfig
+RDEPEND="dev-libs/boost
+	>=dev-libs/glib-2.14.0"
+DEPEND="${RDEPEND}
+	>=dev-python/rdflib-3.0.0
+	dev-util/pkgconfig
 	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"
+
+src_configure() {
+	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
+
+	tc-export CC CXX CPP AR RANLIB
+	./waf configure \
+		--prefix=/usr \
+		--libdir=/usr/$(get_libdir) \
+		--htmldir=/usr/share/doc/${PF}/html \
+		$(use debug && echo "--debug") \
+		$(use doc && echo "--docs") \
+		$(use test && echo "--test") \
+		|| die
+}
+
 src_compile() {
 	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
 
-	local myconf="--prefix=/usr"
+	./waf || die
+}
 
-	use doc && myconf="${myconf} --build-docs --htmldir=/usr/share/doc/${P}/html"
-	use debug && myconf="${myconf} --debug"
+src_test() {
+	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
 
-	./waf configure ${myconf} || die "configure failed"
-	./waf build ${MAKEOPTS} || die "waf failed"
+	cd "${S}/build/default/test" || die
+	for i in ${RAUL_TESTS} ; do
+		einfo "Running test ${i}"
+		LD_LIBRARY_PATH=.. ./${i} || die
+	done
 }
 
 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 "install failed"
-	dodoc AUTHORS ChangeLog
+
+	./waf install --destdir="${D}" || die
+	dodoc AUTHORS README ChangeLog
 }


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