[linux-audio-user] linux and alsaplayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jaap wrote:

>Le Wed, Jan 28, 2004 at 11:37:18AM +0000, stone1@xxxxxxxxxxxxxx a ?crit...
>  
>
>>>I think the --enable-rtcap option is broken in the latest Muse release. 
>>>At least the last time I try it was not able to compile givertcap.c. I 
>>>think it has something to do why Muse wanting to compile it with gcc 
>>>instead of g   (Tommi Ilmonen file is givertcap.C and not givertcap.c as 
>>>in Muse). I am not sure it's the only problem .... otherwise it should 
>>>be easily fixed.
>>>
>>>What is working is the --enable-suid-install option.
>>>
>>>Christophe
>>>
>>>      
>>>
>>--enable-rtcap works for me on muse 0.6.3 (I agree it was broken on 0.6.2).
>>    
>>
>
>ok,i'll wait for the gentoo muse 0.6.3 ebuild
>
>tnx,
>Jaap
>
>
>  
>
here you are !
enjoy!

--rossen
-------------- next part --------------
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-sound/museseq/museseq-0.6.2.ebuild,v 1.3 2003/12/06 23:25:38 lanius Exp $

inherit virtualx

MY_P=muse-${PV}
DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
HOMEPAGE="http://muse.seh.de";
SRC_URI="mirror://sourceforge/lmuse/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE="jack fluidsynth ladcca"

DEPEND="media-libs/alsa-lib \
	>=media-libs/libsndfile-1.0.4 \
	>=x11-libs/qt-3.1.0
	ladcca? ( media-libs/ladcca ) \
	jack? ( virtual/jack ) \
	fluidsynth? ( media-sound/fluidsynth )"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i "s/HAVE_JACK_JACK_H/HAVE_JACK/" widgets/audioconf.cpp
	sed -i "/#include <alsa\\/asoundlib.h>/i\\#define ALSA_PCM_OLD_HW_PARAMS_API 1\\" driver/alsaaudio.cpp
}

src_compile() {
	local myconf
	myconf="--disable-suid-build"
	use ladcca || myconf="${myconf} --disable-ladcca"
	use jack || myconf="${myconf} --disable-jack"
	use fluidsynth || myconf="${myconf} --disable-fluidsynth"
	Xeconf ${myconf} || die "configure failed"
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc COPYING INSTALL README README.softsynth SECURITY TODO
}

pkg_postinst() {
	einfo ""
	einfo "Muse has been installed normally. If,"
	einfo "you would like to use muse with real time"
	einfo "time capabilities for the sequencer then do"
	einfo "chmod 4755 /usr/bin/muse"
	einfo ""
	einfo "Muse can use /dev/rtc if it is compiled in"
	einfo "to your kernel, or available as a module."
	einfo ""
}


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux