[proaudio] [1370] fix zynadd (git, waf)

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


Revision: 1370
Author:   gimpel
Date:     2008-12-01 11:06:22 +0100 (Mon, 01 Dec 2008)

Log Message:
-----------
fix zynadd (git, waf)

Modified Paths:
--------------
    trunk/overlays/proaudio/media-plugins/zynadd/Manifest
    trunk/overlays/proaudio/media-plugins/zynadd/zynadd-9999.ebuild


Modified: trunk/overlays/proaudio/media-plugins/zynadd/Manifest
===================================================================
--- trunk/overlays/proaudio/media-plugins/zynadd/Manifest	2008-12-01 09:52:30 UTC (rev 1369)
+++ trunk/overlays/proaudio/media-plugins/zynadd/Manifest	2008-12-01 10:06:22 UTC (rev 1370)
@@ -1,5 +1,5 @@
 DIST zyn-1.tar.bz2 69801 RMD160 89953ccb0db26358badaa8f61bd16c6d08325285 SHA1 52103948860604f9352bbaf6bf3b2d5a51193da7 SHA256 64ba620d04245535ea331c4ace2c7cc0940d1fec73926e09f0f386dbb92d5349
 EBUILD zynadd-1.ebuild 1142 RMD160 62bf1935125c38509e856fa3024e665c35560248 SHA1 28ce46804057019cd425687e3b5c521929533568 SHA256 a892be6316cf9b868ca14dd0e6c79041e08c03b768984d1e1a8a073dd070e668
-EBUILD zynadd-9999.ebuild 1189 RMD160 5d32dbd95583a0e998a2a348719cc4733ad71d1c SHA1 7500b1c8e02af890c39683fe6e5968d6bac301c5 SHA256 e7321e4105836d385a162641225b0daa4a284dd7ecd92466c17c5b1f4e5b93ad
+EBUILD zynadd-9999.ebuild 676 RMD160 3bfba2b8320e5f154eea0828cf118bdff761c5a7 SHA1 a44706a5e5915d5abb0e7058710affefe1cb1d2d SHA256 7fa2e6ad6c4f3afb4c4224b8287a36c8637f8677bf5aacdc29b492d8a4ec510e
 MISC ChangeLog 313 RMD160 edf7fae17ba1bd595843c512931e41705858268b SHA1 dbbdb9a075443a5d0662700d72ca45a6ddd45cb8 SHA256 5eed6b7ca1d75768e78e1f00bf0320b463a46574f06456aa54188d3e0e60ac3a
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-plugins/zynadd/zynadd-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-plugins/zynadd/zynadd-9999.ebuild	2008-12-01 09:52:30 UTC (rev 1369)
+++ trunk/overlays/proaudio/media-plugins/zynadd/zynadd-9999.ebuild	2008-12-01 10:06:22 UTC (rev 1370)
@@ -1,56 +1,32 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit eutils subversion autotools
+inherit git
 
 DESCRIPTION="synth engines from ZynAddSubFX and pack them in LV2 plugin format"
 HOMEPAGE="http://home.gna.org/zyn";
 
-ESVN_REPO_URI="http://svn.gna.org/svn/zyn/code";
-ESVN_PROJECT="zyn"
+EGIT_REPO_URI="http://repo.or.cz/r/zyn.git";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-
-S="${WORKDIR}/${PN}"
-
 IUSE=""
+
 RDEPEND="=sci-libs/fftw-3*
 	=media-libs/lv2dynparam1-9999
 	=media-sound/zynjacku-9999"
-
 DEPEND="=sci-libs/fftw-3*
 	=media-libs/lv2dynparam1-9999
-	media-libs/slv2"
+	media-libs/lv2core"
 
-pkg_setup() {
-	ewarn "if building fails try the following:"
-	ewarn "emerge -O media-libs/slv2 =media-libs/lv2dynparam1-9999"
-}
-
-src_unpack() {
-	subversion_src_unpack ${A}
-	cd ${S}
-#	export WANT_AUTOMAKE="1.10"
-#	./bootstrap
-}
-
 src_compile() {
-	#econf || die "Configure failed"
-	emake || die "make failed"
+	./waf configure --lv2-dir=/usr/$(get_libdir)/lv2 || die
+	./waf || die
 }
 
 src_install() {
-	dodir /usr/lib/lv2
-	LV2_PATH="${D}/usr/lib/lv2" make DESTDIR="${D}" install || die "Install failed"
-#	dodoc README AUTHORS NEWS
+	./waf install --destdir="${D}" || die
+	dodoc AUTHORS README
 }
-
-pkg_postinst() {
-	elog "to lauch eg. zynadd type:"
-	elog "zynjacku http://home.gna.org/zyn/zynadd/0";
-	elog "(zynjacku is provided by media-sound/zynjacku)"
-}
-


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