[proaudio] [1821] media-libs/slv2-9999 update

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


Revision: 1821
Author:   gavlee
Date:     2010-12-24 15:11:48 +0100 (Fri, 24 Dec 2010)
Log Message:
-----------
media-libs/slv2-9999 update

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

Modified: trunk/overlays/proaudio/media-libs/slv2/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/slv2/ChangeLog	2010-12-23 08:12:47 UTC (rev 1820)
+++ trunk/overlays/proaudio/media-libs/slv2/ChangeLog	2010-12-24 14:11:48 UTC (rev 1821)
@@ -2,6 +2,9 @@
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Nov 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> slv2-9999.ebuild:
+  update
+
   09 Apr 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> slv2-9999.ebuild:
   Don't utilise ${S} in this ebuild...
 

Modified: trunk/overlays/proaudio/media-libs/slv2/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/slv2/Manifest	2010-12-23 08:12:47 UTC (rev 1820)
+++ trunk/overlays/proaudio/media-libs/slv2/Manifest	2010-12-24 14:11:48 UTC (rev 1821)
@@ -1,3 +1,3 @@
-EBUILD slv2-9999.ebuild 1151 RMD160 44b36004fcf1b2a487287fce6c5dcb211967f7d1 SHA1 5f34b3e96fe899dd4250b21d5ee359e331c1d5ad SHA256 1b2db2687eda374383a443e94cb8333f4c16d320828b70544ed518bb781191b7
-MISC ChangeLog 781 RMD160 5dab6c0ef53b1c31a64aa3cea8c13fd6a3f5c559 SHA1 7344e6349a459e29e338ef0110b21242417e1920 SHA256 88e0c16f4630feae415ba3981c5e4c17fba28c1455eee7c78c0463d9a360a80c
+EBUILD slv2-9999.ebuild 1294 RMD160 dc621d21d22b13a16f82f41ac404c7d9c7775305 SHA1 7d8f08a07ed50c20f7333a3736fc5046998ce19c SHA256 b7c01404c8ec9b85baa3959a6e97113b79f43148143b19c08a665b4565f5a712
+MISC ChangeLog 865 RMD160 fa22555c726417a36e41fc3fdf04a215a27a7db1 SHA1 c2761c5ae62154167b63dd6fff931eb8062964da SHA256 e38ff785a0e917f682698a6a570c1f97785f3ba2511ef1714efce57eb0dc3c07
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-libs/slv2/slv2-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/slv2/slv2-9999.ebuild	2010-12-23 08:12:47 UTC (rev 1820)
+++ trunk/overlays/proaudio/media-libs/slv2/slv2-9999.ebuild	2010-12-24 14:11:48 UTC (rev 1821)
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit multilib subversion exteutils
+EAPI=2
+inherit multilib subversion
 
 RESTRICT="mirror"
 DESCRIPTION="SLV2 is a library for LV2 hosts "
@@ -24,21 +25,30 @@
 	doc? ( app-doc/doxygen )
 	dev-util/pkgconfig"
 
-src_compile() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
-	local myconf="--prefix=/usr"
+src_prepare() {
+	cd "${S}/${PN}" || die
+	# not sure about this but works around compile failure
+	sed -i -e "s|lv2/http/lv2plug.in/ns/ext/event/||" \
+		hosts/event.lv2/event-helpers.h || die
+}
 
-	use doc && myconf="${myconf} --build-docs --htmldir=/usr/share/doc/${P}/html"
-	use debug && myconf="${myconf} --debug"
+src_configure() {
+	cd "${S}/${PN}" || die
+	tc-export CC CXX CPP AR RANLIB
+	./waf configure --prefix=/usr --libdir=/usr/$(get_libdir) \
+		$(use doc && echo " --build-docs --htmldir=/usr/share/doc/${P}/html") \
+		$(use debug && echo "--debug") || die
+}
 
-	./waf configure ${myconf} || die "configure failed"
-	./waf build ${MAKEOPTS} || die "waf failed"
+src_compile() {
+	cd "${S}/${PN}" || die
+	./waf build || die
 }
 
 src_install() {
-	cd "${S}/${PN}" || die "cd to ${S}/${PN} failed"
+	cd "${S}/${PN}" || die
 	# addpredict for the ldconfig
 	addpredict /etc/ld.so.cache
-	./waf install --destdir="${D}" || die "install failed"
+	./waf install --destdir="${D}" || die
 	dodoc AUTHORS ChangeLog
 }


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