diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-05-18 11:47:27 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-05-18 11:47:27 +0000 |
commit | ad56e9392ac694400431fae61780f903ea60947c (patch) | |
tree | 41ca987e90139b30baf4a17654091a4aa8352c45 /media-sound/radiomixer | |
parent | - version bump (diff) | |
download | historical-ad56e9392ac694400431fae61780f903ea60947c.tar.gz historical-ad56e9392ac694400431fae61780f903ea60947c.tar.bz2 historical-ad56e9392ac694400431fae61780f903ea60947c.zip |
Version bump and cleanup
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'media-sound/radiomixer')
-rw-r--r-- | media-sound/radiomixer/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/radiomixer/files/digest-radiomixer-1.0 | 3 | ||||
-rw-r--r-- | media-sound/radiomixer/radiomixer-1.0.ebuild | 105 |
3 files changed, 116 insertions, 1 deletions
diff --git a/media-sound/radiomixer/ChangeLog b/media-sound/radiomixer/ChangeLog index f48ad72bed2b..38b9caad1426 100644 --- a/media-sound/radiomixer/ChangeLog +++ b/media-sound/radiomixer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/radiomixer # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/ChangeLog,v 1.2 2006/04/05 22:20:32 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/ChangeLog,v 1.3 2006/05/18 11:47:27 jokey Exp $ + +*radiomixer-1.0 (18 May 2006) + + 18 May 2006; Markus Ullmann <jokey@gentoo.org> + -radiomixer-1.0_pre20060308.ebuild, -radiomixer-1.0_pre20060405.ebuild, + +radiomixer-1.0.ebuild: + Version bump and cleanup *radiomixer-1.0_pre20060405 (05 Apr 2006) diff --git a/media-sound/radiomixer/files/digest-radiomixer-1.0 b/media-sound/radiomixer/files/digest-radiomixer-1.0 new file mode 100644 index 000000000000..f16a55de42f9 --- /dev/null +++ b/media-sound/radiomixer/files/digest-radiomixer-1.0 @@ -0,0 +1,3 @@ +MD5 e44fad99f0d41c6fe9caeab276feb068 radiomixer-1.0.tar.bz2 188162 +RMD160 5599208c830dd640e247266fb7228c66d9710096 radiomixer-1.0.tar.bz2 188162 +SHA256 cf64bae7127da5559b3bb2e17ea011b52f078ccaa912580ee79757a7d2728100 radiomixer-1.0.tar.bz2 188162 diff --git a/media-sound/radiomixer/radiomixer-1.0.ebuild b/media-sound/radiomixer/radiomixer-1.0.ebuild new file mode 100644 index 000000000000..4814c32df0ba --- /dev/null +++ b/media-sound/radiomixer/radiomixer-1.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/radiomixer/radiomixer-1.0.ebuild,v 1.1 2006/05/18 11:47:27 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://sourceforge/radiomixer/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa debug hwmixer jack mad songdb vorbis" + +DEPEND="media-libs/libsamplerate + alsa? ( virtual/alsa ) + 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 + + einfo + einfo "Jack mode is recommended by upstream." + einfo +} + +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 + + ./configure ${myconf} + einfo "Using QTDIR: '$QTDIR'." + + # 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 + + ${QTDIR}/bin/qmake -unix radiomixer.pro || die "qmake failed" + + emake || die "emake failed" +} + +src_install() { + dobin bin/radiomixer || die "dobin failed" +} + |