[proaudio] [1879] fixes bug #111 thx nilekurt

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


Revision: 1879
Author:   evermind
Date:     2011-03-04 12:46:55 +0100 (Fri, 04 Mar 2011)
Log Message:
-----------
fixes bug #111 thx nilekurt

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

Modified: trunk/overlays/proaudio/media-sound/qtractor/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/ChangeLog	2011-03-03 21:00:50 UTC (rev 1878)
+++ trunk/overlays/proaudio/media-sound/qtractor/ChangeLog	2011-03-04 11:46:55 UTC (rev 1879)
@@ -1,7 +1,11 @@
 # ChangeLog for media-sound/qtractor
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Mar 2011; Frieder Buerzele <evermind@xxxxxxxxxxxxx>
+  qtractor-9999.ebuild:
+  fixes bug #111 thx nilekurt
+
 *qtractor-9999 (10 Oct 2010)
 
   10 Oct 2010; Viktor Lazarev <taurus101v@xxxxxxxxx> +qtractor-9999.ebuild,

Modified: trunk/overlays/proaudio/media-sound/qtractor/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/Manifest	2011-03-03 21:00:50 UTC (rev 1878)
+++ trunk/overlays/proaudio/media-sound/qtractor/Manifest	2011-03-04 11:46:55 UTC (rev 1879)
@@ -1,3 +1,3 @@
-EBUILD qtractor-9999.ebuild 1511 RMD160 64f8de759dc5429e11d4378df79dfb3e495448aa SHA1 51f56d42c7e3fb23d16926765c08800f7438fba3 SHA256 01d5e2e8d3f2404d5edf805a3d3630aa607cc491125c887b8971aa3d98a82526
-MISC ChangeLog 895 RMD160 3c7093f3a6b15374f44b5519b304d8ad77f2b83b SHA1 d9bdf67dbec5c682700c3e0325b39c535d38834d SHA256 55adb69d8505b015b8fcb16e37d57db02efcb66ab24feb241fde72c8a24d008e
+EBUILD qtractor-9999.ebuild 1775 RMD160 75528562fbb6cfb81257d6496a8c87b92a6b2379 SHA1 7660e9e1979580fca7ffa57eef742c8ba8a51930 SHA256 a6d5f3a6d97d126e8b355d9eb2ca0be72b3e619d4ddf0aafe4d9d8e5891605ca
+MISC ChangeLog 1007 RMD160 0791762aeca6eb6037fec0a1cedf4650403174ce SHA1 a1e5a92858c3f7391bd89ae47d738bedf110d453 SHA256 44ed818926d1d7fca18fd3a6eb21254cdfb356a461b37981e713a81165c2e1f8
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild	2011-03-03 21:00:50 UTC (rev 1878)
+++ trunk/overlays/proaudio/media-sound/qtractor/qtractor-9999.ebuild	2011-03-04 11:46:55 UTC (rev 1879)
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=2
 
-inherit flag-o-matic qt4-r2 subversion
+inherit flag-o-matic qt4-r2 subversion multilib exteutils
 
 DESCRIPTION="Qtractor is an Audio/MIDI multi-track sequencer."
 HOMEPAGE="http://qtractor.sourceforge.net/";
@@ -19,6 +19,7 @@
 
 RDEPEND=">=x11-libs/qt-core-4.2:4
 	>=x11-libs/qt-gui-4.2:4
+	x11-themes/qgtkstyle
 	media-libs/alsa-lib
 	media-libs/libsndfile
 	media-libs/slv2
@@ -33,6 +34,11 @@
 	vst? ( >=media-libs/vst-sdk-2.3 )"
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+	local regex='s!$! -L/usr/'$(get_libdir)'/qt4/plugins/styles -lgtkstyle!'
+	esed_check -i "/^\s*LIBS\s*[+=]/ ${regex}" "${S}"/src/src.pri.in
+}
+
 src_configure() {
 	append-flags "-DQT_STYLE_GTK"
 	emake -f Makefile.svn
@@ -52,6 +58,8 @@
 		$(use_enable debug) \
 		${myconf} \
 		|| die "econf failed"
+
+	append-ldflags "-Wl,-R,/usr/$(get_libdir)/qt4/plugins/styles"
 	eqmake4 qtractor.pro -o qtractor.mak
 }
 


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