[proaudio] [963] -O3 braks lmms => replace-flags -O3 -O2

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


Revision: 963
Author:   gimpel
Date:     2007-11-23 10:07:49 +0000 (Fri, 23 Nov 2007)

Log Message:
-----------
-O3 braks lmms => replace-flags -O3 -O2

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/lmms/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/lmms/files/digest-lmms-0.3.0-r1
    trunk/overlays/proaudio/media-sound/lmms/lmms-0.3.0-r1.ebuild


Modified: trunk/overlays/proaudio/media-sound/lmms/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/Manifest	2007-11-22 21:36:37 UTC (rev 962)
+++ trunk/overlays/proaudio/media-sound/lmms/Manifest	2007-11-23 10:07:49 UTC (rev 963)
@@ -17,6 +17,10 @@
 MD5 0a67b6cd2ba0954e1ef323388b1e6285 lmms-0.2.1-r1.ebuild 1639
 RMD160 af18ac6508a6d74c164687261b4d31342b83fb21 lmms-0.2.1-r1.ebuild 1639
 SHA256 b0fa5922a2735811ea3e33c6c113a781f940d8f0ddf4ad3b14f279702877cfd4 lmms-0.2.1-r1.ebuild 1639
+EBUILD lmms-0.3.0-r1.ebuild 2022 RMD160 c0ec67460742b2c9674214711696c15319b750c1 SHA1 8da27f78b22fc20f07926234fc5ade1c284a2cdf SHA256 8d99cb5ddfd73fb7ad49a3e66f1d86163c31ab3af5b2decbabc17af466afb482
+MD5 77c8bd31ec94563da84df9e4c3a75f1c lmms-0.3.0-r1.ebuild 2022
+RMD160 c0ec67460742b2c9674214711696c15319b750c1 lmms-0.3.0-r1.ebuild 2022
+SHA256 8d99cb5ddfd73fb7ad49a3e66f1d86163c31ab3af5b2decbabc17af466afb482 lmms-0.3.0-r1.ebuild 2022
 EBUILD lmms-0.3.0.ebuild 1914 RMD160 22f09c0425b4de938c14c77d6b73718c6a90f777 SHA1 364eca93aced88e0609f96299ff24a72e7ffb087 SHA256 024fcb60e79f97b3fd064e9590b6c7ef8ade25aa496083de8f1d4427e2191b9c
 MD5 803a0beaf69aa3e327082153fef2f6d0 lmms-0.3.0.ebuild 1914
 RMD160 22f09c0425b4de938c14c77d6b73718c6a90f777 lmms-0.3.0.ebuild 1914
@@ -34,6 +38,9 @@
 MD5 7ebb042d57281417755d52080cd2bbff files/digest-lmms-0.3.0 238
 RMD160 3e12051ebab3e0da25b1324f5cba89bf5a831f2f files/digest-lmms-0.3.0 238
 SHA256 5be23de18f08104ded44f1d41461e6b9d39d1eae2bab6bce30a83d1511828021 files/digest-lmms-0.3.0 238
+MD5 7ebb042d57281417755d52080cd2bbff files/digest-lmms-0.3.0-r1 238
+RMD160 3e12051ebab3e0da25b1324f5cba89bf5a831f2f files/digest-lmms-0.3.0-r1 238
+SHA256 5be23de18f08104ded44f1d41461e6b9d39d1eae2bab6bce30a83d1511828021 files/digest-lmms-0.3.0-r1 238
 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-lmms-9999-r1 0
 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-lmms-9999-r1 0
 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-lmms-9999-r1 0

Added: trunk/overlays/proaudio/media-sound/lmms/files/digest-lmms-0.3.0-r1
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/files/digest-lmms-0.3.0-r1	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/lmms/files/digest-lmms-0.3.0-r1	2007-11-23 10:07:49 UTC (rev 963)
@@ -0,0 +1,3 @@
+MD5 d5bcf979c0a917d03a321f3f6b9f8620 lmms-0.3.0.tar.bz2 7863145
+RMD160 ff65a5c0f144015241d6da771ae8b3b216348787 lmms-0.3.0.tar.bz2 7863145
+SHA256 06014a3e32feecb31107bd5dc8ecc12db3f016ad3e908cd61c9b03f83b002e12 lmms-0.3.0.tar.bz2 7863145

Added: trunk/overlays/proaudio/media-sound/lmms/lmms-0.3.0-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/lmms-0.3.0-r1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/lmms/lmms-0.3.0-r1.ebuild	2007-11-23 10:07:49 UTC (rev 963)
@@ -0,0 +1,81 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils autotools flag-o-matic
+
+DESCRIPTION="free alternative to popular programs such as FruityLoops, Cubase and Logic"
+HOMEPAGE="http://lmms.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="alsa debug flac jack ladspa oss pic samplerate sdl singerbot surround stk vorbis vst"
+
+DEPEND="=x11-libs/qt-3.3*
+	vorbis? ( media-libs/libvorbis )
+	alsa? ( media-libs/alsa-lib )
+	sdl? ( media-libs/libsdl 
+		>=media-libs/sdl-sound-1.0.1 )
+	samplerate? ( media-libs/libsamplerate )
+	jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 )
+	vst? ( >=media-libs/vst-sdk-2.3-r3 
+			app-emulation/wine )
+	ladspa? ( media-libs/ladspa-sdk )
+	singerbot? ( app-accessibility/festival )
+	stk? ( media-sound/stk )"
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	# copy VST headers
+	if use vst ; then
+		cp /usr/include/vst/{AEffect.h,aeffectx.h} include/
+	fi
+}
+
+src_compile() {
+	# autofoo
+	eautoreconf || die
+	
+	# -O3 breaks linking
+	# http://forums.gentoo.org/viewtopic-p-4533764.html#4533764
+	replace-flags -O3 -O2
+	
+	# VST won't compile with -fomit-frame-pointer
+	use vst && filter-flags "-fomit-frame-pointer"
+
+	econf \
+		`use_with alsa asound` \
+		`use_with oss` \
+		`use_with vorbis` \
+		`use_with samplerate libsrc` \
+		`use_with sdl` \
+		`use_with sdl sdlsound`\
+		`use_with jack` \
+		`use_with flac` \
+		`use_with ladspa` \
+		`use_with pic` \
+		`use_enable surround` \
+		`use_enable debug` \
+		`use_with vst` \
+		`use_with singerbot` \
+		`use_with stk` \
+		--enable-hqsinc \
+		|| die "Configure failed"
+	
+	# we need MAKEOPTS="-j1" for VST support
+	if use vst; then
+		emake -j1 || die "Make failed"
+	else
+		emake || die "Make failed"
+	fi
+}
+
+src_install() {
+	make DESTDIR="${D}" install || die "Install failed"
+	dodoc README AUTHORS ChangeLog TODO || die "dodoc failed"
+	newicon "${D}/usr/share/lmms/themes/default/icon.png" "${PN}.png"
+}


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