[proaudio] [1279] Bump lmms-0.4.0_beta1, switched to cmake

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


Revision: 1279
Author:   gimpel
Date:     2008-08-08 12:00:14 +0200 (Fri, 08 Aug 2008)

Log Message:
-----------
Bump lmms-0.4.0_beta1, switched to cmake

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

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_beta1.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_alpha2.ebuild


Modified: trunk/overlays/proaudio/media-sound/lmms/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/ChangeLog	2008-08-07 16:10:28 UTC (rev 1278)
+++ trunk/overlays/proaudio/media-sound/lmms/ChangeLog	2008-08-08 10:00:14 UTC (rev 1279)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  08 Aug 2008; Thomas Kuther <gimpel@xxxxxxxxxxxxxxxx>
+  -lmms-0.4.0_alpha2.ebuild, +lmms-0.4.0_beta1.ebuild, lmms-9999-r1.ebuild:
+  version bump, uses cmake now.
+
   06 Aug 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx>;
   lmms-9999-r1.ebuild:
   fixed qt4_min... QA msg

Modified: trunk/overlays/proaudio/media-sound/lmms/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/Manifest	2008-08-07 16:10:28 UTC (rev 1278)
+++ trunk/overlays/proaudio/media-sound/lmms/Manifest	2008-08-08 10:00:14 UTC (rev 1279)
@@ -2,10 +2,10 @@
 AUX lmms-qt4_configure_gentoo.patch 1711 RMD160 c011a072d5b7e55be2a46eff4e1e2c1d9924db16 SHA1 6140f36cb7684e70076aea063dd683a288ea19c8 SHA256 06d6d92288f304b567b7d58f5cc9ada17efb8dc44a9f0578c7582f4ac59ce5a2
 DIST lmms-0.3.1.tar.bz2 7962601 RMD160 e3ebd5d377165daab9592fcbbb0877bc63002ef6 SHA1 e0418ea00367e4382721725021f3dceca7c8bb6b SHA256 070f20152032de1734e5394a2ce1a7a6501a454651f3f4eb1cf907ea012e0c07
 DIST lmms-0.3.2.tar.bz2 7968454 RMD160 c422dfabdf11ab41beb91df0732b881af90964e3 SHA1 e5222a5babea3224d3b65c3c343639025d6e167a SHA256 e337d64d5aa152da443c98e1d2fabfc6897769ed9e264c31111ca39c729f15f5
-DIST lmms-0.4.0-alpha2.tar.bz2 10900396 RMD160 6c70e36c3a782627ddb2cf7fae1aae549824f457 SHA1 038953c910427ef9c68ff2929e26097716c91a01 SHA256 01d21d976ab90869a5f8111722fdce7a44ddc7ec8e7ad40034c9959591464f45
+DIST lmms-0.4.0-beta1.tar.bz2 11393116 RMD160 9c0c6bf2793685064624f570a505fe18f27eff79 SHA1 cb9c1a3a2c801904b25a35872089ecfaf6e15d93 SHA256 7191773c89ebe0ff6734445b957d8e92915e0a95dfea5b67ecdf3637b51fffb4
 EBUILD lmms-0.3.1.ebuild 2017 RMD160 6cbe9c5b0d4dcdaa0035e287f6f3aabf29c77dd1 SHA1 d709f4b42187c61e344bd59d7c9d29949482fb8b SHA256 09ce3d64313f9c20c17156d378c1b3215cc7768125de498a47abfdc1acce8f54
 EBUILD lmms-0.3.2.ebuild 1815 RMD160 1497f2d07e768e56388829e5fa199980f0f2742d SHA1 d05ff6b6a52dbd3f3661b66c508b14e2968ab53e SHA256 123a027310b4c66016471f8211bc4dbcb5fc81243751da4b22e1f3c3e30c7fe2
-EBUILD lmms-0.4.0_alpha2.ebuild 1636 RMD160 aaa9dccec49a9e41760badc2d3bd79bceb531c89 SHA1 e5c68ffc06f586130b0fc5758de9538624973600 SHA256 fe94738a12fa7d1b17776313cbb0eac7ddc05f462cf61dc1efd76daa439ef76e
-EBUILD lmms-9999-r1.ebuild 2269 RMD160 ecc4ffc3a8540d33d70c8685f0914b6faeaf62da SHA1 6df7ad6d3486e679b8d35a09a06dd81fa4e2aa99 SHA256 dbb009a72be5eb3a6b01e4ea17c70759d01e47c821010709bcf02c32af458475
-MISC ChangeLog 611 RMD160 361ddea3a2396afb662823fccca7899deaa76a20 SHA1 b7febc6f317f8584284b1e8a5b5ad90fd7138c4f SHA256 0cdc4caf553691b7083352f3b2fa185d14eddbde83714c52595f3961b55ca189
+EBUILD lmms-0.4.0_beta1.ebuild 1610 RMD160 1c2498248342267153d453641ddd7585aa075e3a SHA1 8e1144a7939e1d0083f8012872dc98fca43a526c SHA256 fad5fea151640db16ece397e953839289f03a7827bc87093d2bc8ce110a2aef2
+EBUILD lmms-9999-r1.ebuild 1636 RMD160 4d0f2336dab9b32be96f7372c7136c2e4683f9f2 SHA1 33555ac49b0401bc14f3491a438d31e60bed9faf SHA256 5ccaf9ba9bd02a6874b1b58e69b6c7761e1717900fffd15151a0fc5dfb91c95c
+MISC ChangeLog 775 RMD160 7e143784d1fd1d4832bc5e248ae5adfb3bac77b3 SHA1 9f87a6d2345cc7ce35566985e69eb050e962836b SHA256 a12f1e47cbf5b45872ecebc2a1e16be4a73c4ef17648a53e166b95dde71c915a
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Deleted: trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_alpha2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_alpha2.ebuild	2008-08-07 16:10:28 UTC (rev 1278)
+++ trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_alpha2.ebuild	2008-08-08 10:00:14 UTC (rev 1279)
@@ -1,64 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils autotools flag-o-matic
-
-MY_P="${P/_alpha/-alpha}"
-
-DESCRIPTION="free alternative to popular programs such as FruityLoops, Cubase and Logic"
-HOMEPAGE="http://lmms.sourceforge.net";
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-IUSE="alsa debug flac jack ladspa oss pic samplerate sdl singerbot stk vorbis vst"
-
-DEPEND="|| ( >=x11-libs/qt-4.3.0 x11-libs/qt-gui )
-	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? ( app-emulation/wine )
-	ladspa? ( media-libs/ladspa-sdk )
-	singerbot? ( app-accessibility/festival )
-	stk? ( media-sound/stk )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
-	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 debug` \
-		`use_with vst` \
-		`use_with singerbot` \
-		`use_with stk` \
-		--enable-hqsinc \
-		--enable-surround \
-		|| die "Configure failed"
-
-	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"
-}

Added: trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_beta1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_beta1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/lmms/lmms-0.4.0_beta1.ebuild	2008-08-08 10:00:14 UTC (rev 1279)
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+inherit eutils cmake-utils
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="free alternative to popular programs such as FruityLoops, Cubase and Logic"
+HOMEPAGE="http://lmms.sourceforge.net";
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="alsa debug fftw jack ladspa ogg pch pulseaudio samplerate sdl stk vst"
+
+RDEPEND="|| ( (
+				x11-libs/qt-core
+				x11-libs/qt-gui
+			) >=x11-libs/qt-4.3.0 )
+	alsa? ( media-libs/alsa-lib )
+	fftw? ( =sci-libs/fftw-3* )
+	jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 )
+	ladspa? ( media-libs/ladspa-sdk )
+	ogg? ( media-libs/libvorbis 
+				media-libs/libogg )
+	pulseaudio? ( media-sound/pulseaudio )
+	samplerate? ( media-libs/libsamplerate )
+	sdl? ( media-libs/libsdl
+		>=media-libs/sdl-sound-1.0.1 )
+	stk? ( media-sound/stk )
+	vst? ( app-emulation/wine )"
+DEPEND="${RDEPEND}
+	>=dev-util/cmake-2.4.5"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+	mycmakeargs="${mycmakeargs}
+		$(cmake-utils_use_want alsa ALSA)
+		$(cmake-utils_use_want ladspa CAPS)
+		$(cmake-utils_use_want ladspa TAP)
+		$(cmake-utils_use_want fftw FFTW3F)
+		$(cmake-utils_use_want fftw JACK)
+		$(cmake-utils_use_want ogg OGGVORBIS)
+		$(cmake-utils_use_want sdl SDL)
+		$(cmake-utils_use_want stk STK)
+		$(cmake-utils_use_want samplerate SYSTEM_SR)
+		$(cmake-utils_use_want vst VST)
+		$(cmake-utils_use_want pch PCH)"
+
+	cmake-utils_src_compile -j1
+}
+
+src_install() {
+	DOCS="README AUTHORS ChangeLog TODO"
+	cmake-utils_src_install
+}

Modified: trunk/overlays/proaudio/media-sound/lmms/lmms-9999-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/lmms/lmms-9999-r1.ebuild	2008-08-07 16:10:28 UTC (rev 1278)
+++ trunk/overlays/proaudio/media-sound/lmms/lmms-9999-r1.ebuild	2008-08-08 10:00:14 UTC (rev 1279)
@@ -2,93 +2,62 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=1
+EAPI="1"
 
-inherit eutils subversion autotools flag-o-matic qt4
+inherit eutils cmake-utils subversion
 
+MY_P="${P/_/-}"
+
 DESCRIPTION="free alternative to popular programs such as FruityLoops, Cubase and Logic"
 HOMEPAGE="http://lmms.sourceforge.net";
 
 ESVN_REPO_URI="https://lmms.svn.sourceforge.net/svnroot/lmms/trunk/lmms";
 
-LICENSE="GPL-2"
+LICENSE="GPL-2 LGPL"
 SLOT="0"
 KEYWORDS=""
 
-S="${WORKDIR}/${PN}"
+IUSE="alsa debug fftw jack ladspa ogg pch pulseaudio samplerate sdl stk vst"
 
-IUSE="alsa debug flac jack ladspa oss pic samplerate sdl singerbot surround
-stk vorbis vst sndfile"
-
-DEPEND="|| ( ( x11-libs/qt-core x11-libs/qt-gui x11-libs/qt-xmlpatterns )
-		>=x11-libs/qt-4.3:4 )
-	vorbis? ( media-libs/libvorbis )
+RDEPEND="|| ( (
+				x11-libs/qt-core
+				x11-libs/qt-gui
+			) >=x11-libs/qt-4.3.0 )
 	alsa? ( media-libs/alsa-lib )
-	sdl? ( media-libs/libsdl
-		>=media-libs/sdl-sound-1.0.1 )
-	samplerate? ( media-libs/libsamplerate )
+	fftw? ( =sci-libs/fftw-3* )
 	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 )
+	ogg? ( media-libs/libvorbis 
+				media-libs/libogg )
+	pulseaudio? ( media-sound/pulseaudio )
+	samplerate? ( media-libs/libsamplerate )
+	sdl? ( media-libs/libsdl
+		>=media-libs/sdl-sound-1.0.1 )
 	stk? ( media-sound/stk )
-	sndfile? ( media-libs/libsndfile )"
+	vst? ( app-emulation/wine )"
+DEPEND="${RDEPEND}
+	>=dev-util/cmake-2.4.5"
 
-src_unpack() {
-	subversion_src_unpack
-	cd ${S}
-	# copy VST headers
-	if use vst ; then
-		cp /usr/include/vst/{AEffect.h,aeffectx.h} include/
-	fi
+S="${WORKDIR}/${MY_P}"
 
-	# fix Qt4 autofoo
-	#epatch "${FILESDIR}/${P}-acinclude.patch"
-}
-
 src_compile() {
-	unset QTDIR
+	mycmakeargs="${mycmakeargs}
+		$(cmake-utils_use_want alsa ALSA)
+		$(cmake-utils_use_want ladspa CAPS)
+		$(cmake-utils_use_want ladspa TAP)
+		$(cmake-utils_use_want fftw FFTW3F)
+		$(cmake-utils_use_want fftw JACK)
+		$(cmake-utils_use_want ogg OGGVORBIS)
+		$(cmake-utils_use_want sdl SDL)
+		$(cmake-utils_use_want stk STK)
+		$(cmake-utils_use_want samplerate SYSTEM_SR)
+		$(cmake-utils_use_want vst VST)
+		$(cmake-utils_use_want pch PCH)"
 
-	# autofoo
-	eautoreconf || die
-
-	# VST won't compile with -fomit-frame-pointer
-	use vst && filter-flags "-fomit-frame-pointer"
-
-	# configure options
-	local myconf
-	myconf="`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` \
-		`use_with sndfile libsf` \
-		--with-qtdir=/usr \
-		--enable-hqsinc"
-
-	econf ${myconf} || 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
+	cmake-utils_src_compile -j1
 }
 
 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"
+	DOCS="README AUTHORS ChangeLog TODO"
+	cmake-utils_src_install
 }


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