# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ Ilya Kashirin (seclorum@seclorum.ru) inherit eutils versionator MY_PV=$(replace_version_separator 2 '') DESCRIPTION="Baudline is a time-frequency browser designed for scientific visualization of the spectral domain. Signal analysis is performed by Fourier, correlation, and raster transforms that create colorful spectrograms with vibrant detail. Conduct test and measurement experiments with the built in function generator, or play back audio files with a multitude of effects and filters. The baudline signal analyzer combines fast digital signal processing, versatile high speed displays, and continuous capture tools for hunting down and studying elusive signal characteristics." HOMEPAGE="http://www.baudline.com/" SRC_URI="http://www.baudline.com/baudline_${PV}_linux_i686.tar.gz" LICENSE="AS-IS" SLOT="0" KEYWORDS="~x86" RDEPEND="x11-libs/libXau x11-libs/libX11 x11-libs/libXt x11-libs/libXext x11-libs/libSM x11-libs/libxcb jack? ( media-sound/jack-audio-connection-kit ) " DEPEND="${RDEPEND}" IUSE="jack" S=${WORKDIR}/baudline_${MY_PV}_linux_i686 src_unpack () { unpack ${A} cd ${S} } src_install() { dodir /opt/baudline/ cp -R ${S}/* "${D}/opt/baudline/" || die "Install failed!" dosym /opt/baudline/baudline /usr/bin/baudline if use jack; then dosym /opt/baudline/baudline_jack /usr/bin/baudline_jack fi } pkg_postinst() { einfo "Baudline has been installed." einfo "to run Baudline use \"baudline\"" if use jack; then einfo "To run Baudline with Jack support use \"baudline_jack\"" fi einfo "More information about usage Baudline you can obtain at http://baudline.com/manual/index.html" }