summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-04-20 17:42:12 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-04-20 17:42:12 +0000
commitd0475daa3cffee1c32207efb849360ca8d071cf5 (patch)
tree5f7308aa3766a1b49db5bbfef3ed75e783805ea8 /media-sound
parentStable on ppc wrt bug 218762 (diff)
downloadgentoo-2-d0475daa3cffee1c32207efb849360ca8d071cf5.tar.gz
gentoo-2-d0475daa3cffee1c32207efb849360ca8d071cf5.tar.bz2
gentoo-2-d0475daa3cffee1c32207efb849360ca8d071cf5.zip
dont set mycmakeargs at global scope
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/traverso/ChangeLog6
-rw-r--r--media-sound/traverso/traverso-0.42.0.ebuild15
-rw-r--r--media-sound/traverso/traverso-9999.ebuild16
3 files changed, 24 insertions, 13 deletions
diff --git a/media-sound/traverso/ChangeLog b/media-sound/traverso/ChangeLog
index 7beebd680061..19aa0b98353f 100644
--- a/media-sound/traverso/ChangeLog
+++ b/media-sound/traverso/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/traverso
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/ChangeLog,v 1.18 2008/04/20 17:38:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/ChangeLog,v 1.19 2008/04/20 17:42:12 aballier Exp $
+
+ 20 Apr 2008; Alexis Ballier <aballier@gentoo.org> traverso-0.42.0.ebuild,
+ traverso-9999.ebuild:
+ dont set mycmakeargs at global scope
20 Apr 2008; Alexis Ballier <aballier@gentoo.org>
+files/traverso-0.42.0-gcc43.patch, traverso-0.42.0.ebuild:
diff --git a/media-sound/traverso/traverso-0.42.0.ebuild b/media-sound/traverso/traverso-0.42.0.ebuild
index 6b141c7dc7de..7c98421b3024 100644
--- a/media-sound/traverso/traverso-0.42.0.ebuild
+++ b/media-sound/traverso/traverso-0.42.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.42.0.ebuild,v 1.3 2008/04/20 17:38:09 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.42.0.ebuild,v 1.4 2008/04/20 17:42:12 aballier Exp $
inherit eutils qt4 cmake-utils
@@ -36,11 +36,6 @@ pkg_setup() {
fi
}
-mycmakeargs="$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA) \
- $(cmake-utils_use_want lv2 LV2) -DUSE_SYSTEM_SLV2_LIBRARY=ON \
- $(cmake-utils_use_want mad MP3_DECODE) $(cmake-utils_use_want lame MP3_ENCODE) \
- $(cmake-utils_use_want opengl OPENGL) $(cmake-utils_use_want debug TRAVERSO_DEBUG)"
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -50,6 +45,14 @@ src_unpack() {
epatch "${FILESDIR}/${P}-gcc43.patch"
}
+src_compile() {
+ local mycmakeargs="$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA) \
+ $(cmake-utils_use_want lv2 LV2) -DUSE_SYSTEM_SLV2_LIBRARY=ON \
+ $(cmake-utils_use_want mad MP3_DECODE) $(cmake-utils_use_want lame MP3_ENCODE) \
+ $(cmake-utils_use_want opengl OPENGL) $(cmake-utils_use_want debug TRAVERSO_DEBUG)"
+ cmake-utils_src_compile
+}
+
src_install() {
cmake-utils_src_install
dodoc AUTHORS ChangeLog README resources/help.text
diff --git a/media-sound/traverso/traverso-9999.ebuild b/media-sound/traverso/traverso-9999.ebuild
index ff1463774d3c..72207615c96f 100644
--- a/media-sound/traverso/traverso-9999.ebuild
+++ b/media-sound/traverso/traverso-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-9999.ebuild,v 1.2 2008/01/13 13:10:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-9999.ebuild,v 1.3 2008/04/20 17:42:12 aballier Exp $
inherit eutils qt4 cmake-utils cvs
@@ -36,11 +36,6 @@ pkg_setup() {
fi
}
-mycmakeargs="$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA) \
- $(cmake-utils_use_want lv2 LV2) -DUSE_SYSTEM_SLV2_LIBRARY=ON \
- $(cmake-utils_use_want mad MP3_DECODE) $(cmake-utils_use_want lame MP3_ENCODE) \
- $(cmake-utils_use_want opengl OPENGL) $(cmake-utils_use_want debug TRAVERSO_DEBUG)"
-
ECVS_SERVER="cvs.savannah.nongnu.org:/sources/traverso"
ECVS_USER="anonymous"
ECVS_PASS=""
@@ -49,6 +44,15 @@ ECVS_MODULE="traverso"
S="${WORKDIR}/${PN}"
+src_compile() {
+ local mycmakeargs="$(cmake-utils_use_want jack JACK) $(cmake-utils_use_want alsa ALSA) \
+ $(cmake-utils_use_want lv2 LV2) -DUSE_SYSTEM_SLV2_LIBRARY=ON \
+ $(cmake-utils_use_want mad MP3_DECODE) $(cmake-utils_use_want lame MP3_ENCODE) \
+ $(cmake-utils_use_want opengl OPENGL) $(cmake-utils_use_want debug TRAVERSO_DEBUG)"
+ cmake-utils_src_compile
+}
+
+
src_install() {
cmake-utils_src_install
dodoc AUTHORS ChangeLog README resources/help.text