[proaudio] [2755] media-sound/qtractor: new use flags, qt4-r2 eclass, required USE, autotools variables before inherit

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


Revision: 2755
Author:   lilrc
Date:     2013-07-07 12:19:27 +0200 (Sun, 07 Jul 2013)
Log Message:
-----------
media-sound/qtractor: new use flags, qt4-r2 eclass, required USE, autotools variables before inherit

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

Modified: trunk/overlays/proaudio/media-sound/qtractor/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/ChangeLog	2013-07-05 22:14:37 UTC (rev 2754)
+++ trunk/overlays/proaudio/media-sound/qtractor/ChangeLog	2013-07-07 10:19:27 UTC (rev 2755)
@@ -2,6 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 Jul 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+  qtractor-9999.ebuild, metadata.xml:
+  New jacksession and nsm USE flags.
+  qt4-r2 eclass for eqmake4.
+  Some required USE.
+  Autotools variables before inherit.
+
   09 Mar 2013; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
   qtractor-9999.ebuild: Moved QT depends to dev-qt/*
 

Modified: trunk/overlays/proaudio/media-sound/qtractor/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/Manifest	2013-07-05 22:14:37 UTC (rev 2754)
+++ trunk/overlays/proaudio/media-sound/qtractor/Manifest	2013-07-07 10:19:27 UTC (rev 2755)
@@ -1,3 +1,3 @@
-EBUILD qtractor-9999.ebuild 1764 SHA256 3e2473c1fd798e0dcf7d85761a9af677de5a243fe2ec7ac562b14d0b60fe4737 SHA512 9ea50ef0fbc21dc94d881c37cbe4b49b283f301c67b7c66709a2a41394a76f61b985adbc6b465f2ab1907d3365848781f5fd21b74b05e403b9428433e2ea8c72 WHIRLPOOL a2cd1276de648d52122d5e49b9d3cae8bc846a3082057ea9926c1859c4e5e6eb50da83c0547ca4b2a1b7cfd9c04d36afa718f3ac42ad811b418e86176c5579db
-MISC ChangeLog 1803 SHA256 6674e003646cb4e50ccc54372b269323bbf0d5ad3c679cb888860cc57a771a9e SHA512 bcc9f763968775c058e8452d58ed28829965c70c79b0edddce2b6482f37be238aca03ef94caf77418defd3733c05925bb8e7ae4258be08fa47e6d2e3cd2de1de WHIRLPOOL 192a37894255216c076dca73511fba138d945088eeab8ca5eae1643e45b6736d19c77d1a5ebb5c5b1c26fbdef11fdcaf60ba554c2d8c9cb58eb6f38e503a5101
-MISC metadata.xml 472 SHA256 0923a93fe6cc696a6b30474a2640fe1897b5851c39ad26fc61198dd33e2d4fb1 SHA512 d0a114613ce4e0fc859d7a9be4208274643bd4b0693f0ebdb153f62574d2cd591ca9718ad5a6590e9b7cc5940227cab33297349afd603f8c7998a8192b5e3a86 WHIRLPOOL 49db72257448719468db9a165d68c1f91a18a7d2c98a53d89f362e80569358aaa89b02bfbd93acbc5e0114c32ea4ff1860fce7377f1482a34733ec62385ca7d2
+EBUILD qtractor-9999.ebuild 2054 SHA256 83abfb9f44f149c2ddc58608e8d89897ed7be136711f33e466a86829bc2d61a4 SHA512 d5d4c5db3b82d3aff98e0466becc218980d7a03c2baf8da1627b21213746ea9a09f95ea1756a43a8c8d944e548f143185266a3a0c78fd2da9f61fc25cbe70e83 WHIRLPOOL 037e96241e15d308ad102bf87dfb3c6fc546ebc458b488e6918e17ee19a7b4d886e4cf8c5d54f75f5cdfa390c599fe6a93a5b4873069a3722880f3957c035e19
+MISC ChangeLog 2032 SHA256 3c1e9ecb6160346f94640b8951f711f52b46ddae788ddb7ce477fb51d3e1f7c8 SHA512 3ceafc58262eeac15a889b2990863ae29dd20e46ae670a002a630e3d8496fb7949141738643c3b9654bf17f1fd55499d666e5c340436ca1fade3eb5a6dbfb68a WHIRLPOOL e622fa627a95a5906b3b42d60c85414f45cbfc32ff4032d6982d5633f69d0e027c180b9f4a780860cf8ed9b798b94d5c69cd8c63e109c7937b4f04a383a60bbd
+MISC metadata.xml 606 SHA256 cc206705ef1ccc88ae2152e5316d9b62ffbbb9dfab3df82edb29a062ff595771 SHA512 0a05e2f7c77a6c3afaa4bf4ed494fbe854c34234778c7f93b2406bdebf119e12c7d9f2fbd27852c098b0ec6fb2a063a06999da372d43357ac2de0ab506a0564a WHIRLPOOL 942501f6d17122196f47498d08fd01a3f8784f1e4b0e0c5b2762094033a0ac39ed7594b30449f569c8a77c1753d7b5e8816e0e4572f424fd1e938f12dde097ac

Modified: trunk/overlays/proaudio/media-sound/qtractor/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/metadata.xml	2013-07-05 22:14:37 UTC (rev 2754)
+++ trunk/overlays/proaudio/media-sound/qtractor/metadata.xml	2013-07-07 10:19:27 UTC (rev 2755)
@@ -6,8 +6,10 @@
 		<name>pro-audio overlay team</name>
 	</maintainer>
 	<use>
+		<flag name="jacksession">Build with JACK session support</flag>
 		<flag name="lilv">Enable lilv interface</flag>
 		<flag name="lv2">Add support for Ladspa V2</flag>
+		<flag name="nsm">Build with non-session management support</flag>
 		<flag name="rubberband">Enable rubberband interface</flag>
 		<flag name="suil">Enable suil interface</flag>
 	</use>

Modified: trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild	2013-07-05 22:14:37 UTC (rev 2754)
+++ trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild	2013-07-07 10:19:27 UTC (rev 2755)
@@ -4,7 +4,9 @@
 
 EAPI="5"
 
-inherit subversion autotools-utils
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-utils flag-o-matic qt4-r2 subversion
 
 DESCRIPTION="An Audio/MIDI multi-track sequencer."
 HOMEPAGE="http://qtractor.sourceforge.net/";
@@ -15,7 +17,9 @@
 SLOT="0"
 KEYWORDS=""
 
-IUSE="debug dssi ladspa libsamplerate lilv lv2 mad osc rubberband sse suil vorbis vst zlib"
+IUSE="debug dssi jacksession ladspa libsamplerate lilv lv2 mad nsm osc rubberband sse suil vorbis vst zlib"
+REQUIRED_USE="lv2? ( lilv )
+	nsm? ( osc )"
 
 RDEPEND=">=dev-qt/qtcore-4.2:4
 	>=dev-qt/qtgui-4.2:4
@@ -26,7 +30,6 @@
 	ladspa? ( media-libs/ladspa-sdk )
 	libsamplerate? ( media-libs/libsamplerate )
 	lilv? ( || ( =media-sound/drobilla-9999 media-libs/lilv ) )
-	lv2? ( || ( =media-sound/drobilla-9999 media-libs/lilv ) )
 	mad? ( media-libs/libmad )
 	osc? ( media-libs/liblo )
 	rubberband? ( media-libs/rubberband )
@@ -34,28 +37,49 @@
 	vorbis? ( media-libs/libvorbis )
 	vst? ( >=media-libs/vst-sdk-2.3 )
 	zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND} sys-devel/autoconf sys-devel/autoconf-wrapper"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
 
-DOCS=( AUTHORS ChangeLog README TODO )
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-AUTOTOOLS_AUTORECONF="1"
+src_unpack() {
+	subversion_src_unpack
+}
 
+src_prepare() {
+	autotools-utils_src_prepare
+}
+
 src_configure() {
-	local myeconfargs=(	$(use_enable debug)
-						$(use_enable dssi)
-						$(use_enable ladspa)
-						$(use_enable osc liblo)
-						$(use_enable mad libmad)
-						$(use_enable libsamplerate)
-						$(use_enable lilv)
-						$(use_enable lv2)
-						$(use_enable rubberband librubberband)
-						$(use_enable sse)
-						$(use_enable suil)
-						$(use_enable vorbis libvorbis)
-						$(use_enable vst)
-						$(use_enable zlib libz)
+	local myeconfargs=(
+		$(use_enable debug)
+		$(use_enable dssi)
+		$(use_enable jacksession jack-session)
+		$(use_enable ladspa)
+		$(use_enable libsamplerate)
+		$(use_enable lilv)
+		$(use_enable lv2)
+		$(use_enable mad libmad)
+		$(use_enable nsm)
+		$(use_enable osc liblo)
+		$(use_enable rubberband librubberband)
+		$(use_enable sse)
+		$(use_enable suil)
+		$(use_enable vorbis libvorbis)
+		$(use_enable vst)
+		$(use_enable zlib libz)
 	)
-	use vst && myconf+="--with-vst=${EPREFIX}/usr/include/vst"
+	use vst && myconf+=( --with-vst="${EPREFIX}"/usr/include/vst )
+
+	# The configure fails without this... Strange...
+	append-cppflags -I"${EPREFIX}"/usr/include/qt4
+
 	autotools-utils_src_configure
+	eqmake4 qtractor.pro -o qtractor.mak
 }
+
+src_compile() {
+	autotools-utils_src_compile
+}
+
+src_install() {
+	autotools-utils_src_install
+}


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