Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ebuild] baudline ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Seclorum
n00b
n00b


Joined: 05 Feb 2007
Posts: 8
Location: Russia

PostPosted: Sun Dec 09, 2007 10:42 am    Post subject: [ebuild] baudline ebuild Reply with quote

Baudline
HomePage: http://baudline.com
Descriptions:
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.

cat ./media-sound/baudline/baudline-1.0.6.ebuild
Code:
# 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"
}


Back to top
View user's profile Send private message
b1f1
n00b
n00b


Joined: 20 Feb 2005
Posts: 19
Location: Germany

PostPosted: Sun Dec 09, 2007 10:03 pm    Post subject: Reply with quote

i use this program at work and it's a really great tool for analysing audio signals.
Thanks for the ebuild!
Back to top
View user's profile Send private message
Seclorum
n00b
n00b


Joined: 05 Feb 2007
Posts: 8
Location: Russia

PostPosted: Thu Dec 20, 2007 4:48 am    Post subject: Reply with quote

released 1.0.7 version
changes
    Added the Play Deck equalization feature.
    Ported baudline to the x86_64 architecture.
    Optimized PPC and SPARC ports for a +4% performance boost.
    Fixed several problems with the play deck, equalization, average, histogram, and auto drift integrator windows.
    Fixed two problems with the stdin feature.
    Removed some extraneous widget warnings.


Just copy old ebuild to baudline-1.0.7.ebuild

enjoy

look last version ebuild there: https://bugs.gentoo.org/show_bug.cgi?id=202845
Back to top
View user's profile Send private message
Seclorum
n00b
n00b


Joined: 05 Feb 2007
Posts: 8
Location: Russia

PostPosted: Fri Dec 21, 2007 7:44 am    Post subject: Reply with quote

cat ./baudline-1.0.7.ebuild
Code:
# 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_${MY_PV}_linux_i686.tar.gz"

LICENSE="AS-IS"
SLOT="0"
KEYWORDS="~x86"
RESTRICT="fetch"

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
INSTALLDIR="/opt/${PN}"

pkg_nofetch() {
   einfo "May not be automatically fetched due to licensing"
   einfo "restrictions. You must manually fetch baudline_${MY_PV}_linux_i686.tar.gz from"
   einfo "${SRC_URI}. Once ${PN}"
   einfo "has been downloaded, move it to ${DISTDIR} and then"
   einfo "restart this ebuild"
}


src_unpack () {
   unpack ${A}
   cd ${S}
}

src_install() {
   dodir /${INSTALLDIR}/
   cp ${S}/baudline "${D}/${INSTALLDIR}/" || die "Install failed!"
   dosym ${INSTALLDIR}/baudline /usr/bin/baudline
   
   cp -R ${S}/icons "${D}/${INSTALLDIR}/" || die "Install failed!"
   cp -R ${S}/palettes "${D}/${INSTALLDIR}/" || die "Install failed!"

   if use jack; then
      cp ${S}/baudline_jack "${D}/${INSTALLDIR}/" || die "Install failed!"
      dosym ${INSTALLDIR}/baudline_jack /usr/bin/baudline_jack
   fi
   doicon ${FILESDIR}/baudline.png

   make_desktop_entry ${PN} ${PN} ${PN}.png "AudioVideo;Player"

   dodoc README mailcap.txt mime.types.txt
   
}

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"
}


files/baudline.png: ftp://seclorum.msk.ru/etc/gentoo/portage/portage_overlay_my/media-sound/baudline/files/baudline.png
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum