[proaudio] [1752] traverso: rewrote to use git-sources instead of cvs ones, added ' lame', 'pch' & 'pulseaudio' use-flags, cleanup

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


Revision: 1752
Author:   gentoid
Date:     2010-09-11 18:58:01 +0200 (Sat, 11 Sep 2010)
Log Message:
-----------
traverso: rewrote to use git-sources instead of cvs ones, added 'lame', 'pch' & 'pulseaudio' use-flags, cleanup

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/traverso/ChangeLog
    trunk/overlays/proaudio/media-sound/traverso/Manifest
    trunk/overlays/proaudio/media-sound/traverso/metadata.xml
    trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild

Modified: trunk/overlays/proaudio/media-sound/traverso/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/ChangeLog	2010-09-11 12:48:42 UTC (rev 1751)
+++ trunk/overlays/proaudio/media-sound/traverso/ChangeLog	2010-09-11 16:58:01 UTC (rev 1752)
@@ -1,7 +1,12 @@
 # ChangeLog for media-sound/traverso
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Sep 2010; Viktor Lazarev <taurus101v@xxxxxxxxx> traverso-9999.ebuild,
+  metadata.xml:
+  rewrote to use git-sources instead of cvs ones, added 'lame', 'pch' &
+  'pulseaudio' use-flags, cleanup
+
   06 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
   traverso-9999.ebuild:
   fixed qt4_min... QA msg

Modified: trunk/overlays/proaudio/media-sound/traverso/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/Manifest	2010-09-11 12:48:42 UTC (rev 1751)
+++ trunk/overlays/proaudio/media-sound/traverso/Manifest	2010-09-11 16:58:01 UTC (rev 1752)
@@ -1,3 +1,3 @@
-EBUILD traverso-9999.ebuild 2159 RMD160 9121d267ff804e4a47d8de9ad10df5cf2b0b7a04 SHA1 ffa1d8c53a9f1f199f158a84f64278599ccaad4f SHA256 c035fa2fc3df10a8bdf32d6cdf97c203982d57e6a206fba2e94d4488ab17706d
-MISC ChangeLog 317 RMD160 b852a0fe145d159e5976c2b557cd9bb225f21003 SHA1 0c8df35888dc7b3859402d450fce7caa1503d2f1 SHA256 608f005e12fe67bd374065ca0f8cbe87dd62ee22162e9630c91b3d8822a286eb
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+EBUILD traverso-9999.ebuild 1896 RMD160 3775489e52ecfca78d230b0ca4e55e871c8a407e SHA1 dba34a546efea3c42e55f547eb836723eef7946c SHA256 9a1c0a7b219e8b7b25d8d09ef1bd0453db9023a3744183357ceb984d0faa223e
+MISC ChangeLog 515 RMD160 80439f0a913ceb9ab01d39a7caf58db821aea972 SHA1 f12a547ff822f7de43b49d7451bbad95ae2563b3 SHA256 2738cc38281c1219687409057defbc244567b03a3b75b63f02706eccddf43c4e
+MISC metadata.xml 335 RMD160 f838118e0ed9f3b40ee86d1f30bcdd495cbc9447 SHA1 98f3d8be2f38b2332fc81639c17c0fd994ec58ba SHA256 093de1a8fe562e034e480fc2f43b6e1d8c89895eab0fa591db9cd1bd257329b4

Modified: trunk/overlays/proaudio/media-sound/traverso/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/metadata.xml	2010-09-11 12:48:42 UTC (rev 1751)
+++ trunk/overlays/proaudio/media-sound/traverso/metadata.xml	2010-09-11 16:58:01 UTC (rev 1752)
@@ -6,4 +6,7 @@
 		<email>proaudio@xxxxxxxxxxxxx</email>
 		<name>pro-audio overlay team</name>
 	</maintainer>
+	<use>
+		<flag name="lv2">Add support for Ladspa V2</flag>
+	</use>
 </pkgmetadata>

Modified: trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild	2010-09-11 12:48:42 UTC (rev 1751)
+++ trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild	2010-09-11 16:58:01 UTC (rev 1752)
@@ -1,77 +1,73 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=1
+EAPI="2"
 
-inherit eutils qt4 cmake-utils cvs
+CMAKE_IN_SOURCE_BUILD="1"
 
+inherit eutils qt4-r2 cmake-utils git
+
 DESCRIPTION="Professional Audio Tools for GNU/Linux"
 HOMEPAGE="http://traverso-daw.org/";
 
-ECVS_SERVER="cvs.savannah.nongnu.org:/sources/traverso"
-ECVS_MODULE="traverso"
-S="${WORKDIR}/${ECVS_MODULE}"
+EGIT_REPO_URI="git://git.savannah.nongnu.org/${PN}.git"
 
-IUSE="alsa debug jack lv2 mad portaudio opengl"
+IUSE="alsa debug jack lame lv2 mad opengl pch portaudio pulseaudio"
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS=""
 
-RDEPEND="|| ( ( x11-libs/qt-core x11-libs/qt-gui opengl? ( x11-libs/qt-opengl ) )
-			>=x11-libs/qt-4.3:4 )
+RDEPEND=">=media-libs/libsndfile-1.0.12
+	media-libs/libogg
+	media-libs/libsamplerate
+	media-libs/libvorbis
+	media-sound/wavpack
+	sci-libs/fftw:3
+	x11-libs/qt-core:4
+	x11-libs/qt-gui:4
 	alsa? ( media-libs/alsa-lib )
 	jack? ( media-sound/jack-audio-connection-kit )
-	portaudio? ( =media-libs/portaudio-19* )
-	>=media-libs/libsndfile-1.0.12
-	media-libs/libsamplerate
-	>=sci-libs/fftw-3
-	lv2? ( dev-libs/rasqal dev-libs/redland media-libs/slv2 )
-	mad? ( media-libs/libmad )
 	lame? ( media-sound/lame )
-	opengl? ( virtual/opengl )
-	media-libs/libogg
-	media-libs/libvorbis
-	media-sound/wavpack"
+	lv2? ( dev-libs/rasqal
+		dev-libs/redland
+		media-libs/slv2 )
+	mad? ( media-libs/libmad )
+	opengl? ( virtual/opengl
+		x11-libs/qt-opengl )
+	portaudio? ( =media-libs/portaudio-19* )
+	pulseaudio? ( media-sound/pulseaudio )"
 	# Note: wavpack and vorbis are not configurable at this point
 
 DEPEND="${RDEPEND}
-	>=dev-util/cmake-2.4.3"
+	>=dev-util/cmake-2.4.6"
 
-pkg_setup() {
-	if use opengl && ! has_version x11-libs/qt-opengl && ! built_with_use =x11-libs/qt-4* opengl; then
-		eerror "You need to build qt4 with opengl support to have it in ${PN}"
-		die "Enabling opengl for traverso requires qt4 to be built with opengl support"
-	fi
-}
-
-
-src_compile() {
-	mycmakeargs="${mycmakeargs}
+src_configure() {
+	local mycmakeargs+="
 		$(cmake-utils_use_want jack JACK)
 		$(cmake-utils_use_want alsa ALSA)
+		$(cmake-utils_use_want pulseaudio PULSEAUDIO)
 		$(cmake-utils_use_want lv2 LV2)
 		$(cmake-utils_use_want mad MP3_DECODE)
 		$(cmake-utils_use_want lame MP3_ENCODE)
+		$(cmake-utils_use_want pch PCH)
 		$(cmake-utils_use_want opengl OPENGL)
 		$(cmake-utils_use_want debug DEBUG)
 		$(cmake-utils_use_want portaudio PORTAUDIO)"
 
-	use lv2 && mycmakeargs="${mycmakeargs} -DUSE_SYSTEM_SLV2_LIBRARY=ON"
+	use lv2 && mycmakeargs+=" -DUSE_SYSTEM_SLV2_LIBRARY=ON"
+	cmake-utils_src_configure
+}
 
-	CMAKE_IN_SOURCE_BUILD=1
+src_compile() {
 	cmake-utils_src_compile
 }
 
 src_install() {
 	cmake-utils_src_install
-	dodoc AUTHORS ChangeLog README resources/help.text
-
-	doicon resources/freedesktop/icons/128x128/apps/${PN}.png
-	make_desktop_entry ${PN} Traverso ${PN} "AudioVideo;Audio;"
-	cd resources/themes
-	for i in */*.xml; do
-		insinto "/usr/share/${PN}/themes/$(dirname $i)"
-		doins $i
-	done
+	dodoc AUTHORS ChangeLog HISTORY README resources/help.text
+	doicon "resources/freedesktop/icons/128x128/apps/${PN}.png"
+	domenu resources/traverso.desktop
+	insinto "/usr/share/${PN}"
+	doins -r resources/themes
 }


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