diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-07-14 14:15:42 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-07-14 14:15:42 +0000 |
commit | fc46714aa3469ac978e6e085fade1bccd80f3d93 (patch) | |
tree | 552a8d13e3e95e1f243457d67dab916b24202eec /media-sound | |
parent | keyworded ~ppc (bug #184754) (diff) | |
download | gentoo-2-fc46714aa3469ac978e6e085fade1bccd80f3d93.tar.gz gentoo-2-fc46714aa3469ac978e6e085fade1bccd80f3d93.tar.bz2 gentoo-2-fc46714aa3469ac978e6e085fade1bccd80f3d93.zip |
Add pre-release snapshot
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/radiomixer/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/radiomixer/files/digest-radiomixer-1.1_pre20070714 | 3 | ||||
-rw-r--r-- | media-sound/radiomixer/radiomixer-1.1_pre20070714.ebuild | 103 |
3 files changed, 113 insertions, 1 deletions
diff --git a/media-sound/radiomixer/ChangeLog b/media-sound/radiomixer/ChangeLog index d71161dc4f87..824cb158c81a 100644 --- a/media-sound/radiomixer/ChangeLog +++ b/media-sound/radiomixer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/radiomixer # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/ChangeLog,v 1.6 2007/05/01 00:20:01 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/ChangeLog,v 1.7 2007/07/14 14:15:42 jokey Exp $ + +*radiomixer-1.1_pre20070714 (14 Jul 2007) + + 14 Jul 2007; Markus Ullmann <jokey@gentoo.org> + +radiomixer-1.1_pre20070714.ebuild: + Add pre-release snapshot 01 May 2007; Marius Mauch <genone@gentoo.org> radiomixer-1.0.ebuild: Replacing einfo with elog diff --git a/media-sound/radiomixer/files/digest-radiomixer-1.1_pre20070714 b/media-sound/radiomixer/files/digest-radiomixer-1.1_pre20070714 new file mode 100644 index 000000000000..69ddc696e1f4 --- /dev/null +++ b/media-sound/radiomixer/files/digest-radiomixer-1.1_pre20070714 @@ -0,0 +1,3 @@ +MD5 7e7c8b9470191ba6e2cb0b3eb5685b4f radiomixer-1.1_pre20070714.tar.bz2 372104 +RMD160 0510acef621d236e13da110d53838f9e8a164de9 radiomixer-1.1_pre20070714.tar.bz2 372104 +SHA256 9bacb900bf413dc13b41a80e7f8187534e72de3ab0ad9db7f95d81aa23e748df radiomixer-1.1_pre20070714.tar.bz2 372104 diff --git a/media-sound/radiomixer/radiomixer-1.1_pre20070714.ebuild b/media-sound/radiomixer/radiomixer-1.1_pre20070714.ebuild new file mode 100644 index 000000000000..e6048f7803db --- /dev/null +++ b/media-sound/radiomixer/radiomixer-1.1_pre20070714.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/radiomixer-1.1_pre20070714.ebuild,v 1.1 2007/07/14 14:15:42 jokey Exp $ + +inherit kde-functions eutils + +DESCRIPTION="Live Radio production software written by and used for open-radio.org" +HOMEPAGE="http://sourceforge.net/projects/radiomixer" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa debug hwmixer jack mad songdb vorbis" + +DEPEND="media-libs/libsamplerate + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + mad? ( media-libs/libmad ) + vorbis? ( media-libs/libvorbis )" + +need-qt 3.3 + +pkg_setup() { + if ! use alsa && ! use jack ; then + eerror + eerror "Neither alsa nor jack USE flag is set, thus no" + eerror "no sound support would be built." + eerror + eerror "Please at least set either alsa or jack USE flag." + eerror + die "Adjust your USE flags" + fi + + if ! use jack && ! use mad && ! use vorbis ; then + eerror + eerror "You need to set at least one of the following" + eerror "USE flags to be able to mix / play some music:" + eerror + eerror "jack, mad, vorbis" + eerror + die "Adjust your USE flags" + fi + + if ! use mad && ! use vorbis ; then + ewarn + ewarn "As you didn't set vorbis and mad USE flag," + ewarn "you would only be able to mix channels but" + ewarn "cannot play any files." + ewarn + ewarn "Giving you 5 seconds to think about it" + ewarn + epause 5 + echo + fi + + elog + elog "Jack mode is recommended by upstream." + elog +} + +src_compile() { + cd ${S} + + local myconf + if ! use alsa ; then + myconf="--disable-alsa" + fi + if use hwmixer ; then + myconf="${myconf} --enable-hwmixer" + fi + if ! use jack ; then + myconf="${myconf} --disable-jackd" + fi + if ! use mad ; then + myconf="${myconf} --disable-mad" + fi + if use songdb ; then + myconf="${myconf} --enable-songdb" + fi + if ! use vorbis ; then + myconf="${myconf} --disable-vorbis" + fi + if use debug ; then + myconf="${myconf} --debug" + fi + + # Make sure we use the right qt version + PATH=${QTDIR}/bin:${PATH} + LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + DYLD_LIBRARY_PATH=${QTDIR}/lib:${DYLD_LIBRARY_PATH} + export QTDIR PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH + einfo "Using QTDIR: '$QTDIR'." + + ./configure ${myconf} + + emake || die "emake failed" +} + +src_install() { + dobin bin/radiomixer || die "dobin failed" +} + |