| Home |
| About me |
| My CV |
| Hobbies |
| Professional Experiences |
| Projects |
| Computer skills |
| My Gentoo Overlay |
| Gallery |
| Personal gallery |
| Guestbook |
| Contact me |
| Gentoo |
| *nix |
| Programming |
| Softwares |
| Misc |
| baudline-1.07.ebuild |
media-sound/baudline/baudline-1.07.ebuild This is my modified ebuild for Baudline 1.07 with proper binary source for each arch.
The original ebuild is from Ilya Kashirin at https://bugs.gentoo.org/show_bug.cgi?id=202845
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # $Header: $ Ilya Kashirin ( This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ) 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/" if use x86 ; then MY_ARCH="linux_i686" elif use amd64 ; then MY_ARCH="linux_x86_64" elif use ppc ; then MY_ARCH="linux_ppc" elif use sparc ; then MY_ARCH="solaris_sparc" fi SRC_URI="http://www.baudline.com/baudline_${MY_PV}_${MY_ARCH}.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" if use x86 ; then MY_ARCH="linux_i686" elif use amd64 ; then MY_ARCH="linux_x86_64" elif use ppc ; then MY_ARCH="linux_ppc" elif use sparc ; then MY_ARCH="solaris_sparc" fi S=${WORKDIR}/baudline_${MY_PV}_${MY_ARCH} INSTALLDIR="/opt/${PN}" pkg_nofetch() { einfo "May not be automatically fetched due to licensing" einfo "restrictions. You must manually fetch baudline_${MY_PV}_${MY_ARCH}.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" } Last update: 15-03-2008 09:22
|
| < Prev | Next > |
|---|