Hi all,

I'm trying to build media-libs/dssi-0.9
for use with jack and rosegarden,
but with following error:
 * WARNING: fluidsynth-1.0.5.tar.gz integrity (md5) not checked
>>> Unpacking fluidsynth-1.0.5.tar.gz to /var/tmp/portage/dssi-0.9/work
>>> Unpacking dssi-0.9.tar.gz to /var/tmp/portage/dssi-0.9/work
>>> Source unpacked.
 * Building against fluidsynth sources in
/var/tmp/portage/dssi-0.9/work/fluidsynth-1.0.5
 * You must have the same version of fluidsynth library installed
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-libs/dssi-0.9 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status
message.

I have fluidsynth installed. I'm attaching dssi.ebuild.
Thank you

Michal
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# unofficial ebuild by Kai Bernhard <[EMAIL PROTECTED]>,
# not submitted to gentoo yet. Currently available from:
# http://www.kaidimensional.de/ebuilds/

inherit eutils

IUSE="fluidsynth"

DESCRIPTION="DSSI Soft Synth Interface"

HOMEPAGE="http://dssi.sourceforge.net";

SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="~x86 ~amd64"

DEPEND=">=media-libs/liblo-0.16
        >=media-sound/jack-audio-connection-kit-0.99.0-r1
                >=media-libs/ladspa-sdk-1.12-r2
                >=media-libs/libsndfile-1.0.11
                >=media-libs/libsamplerate-0.1.1-r1
                >=x11-libs/qt-3.0.0
                fluidsynth? ( >=media-sound/fluidsynth-1.0.3
                              >=x11-libs/gtk+-1.2.0 )
                sys-apps/sed
                dev-util/pkgconfig"

pkg_setup() {
        if use fluidsynth; then
                ebegin "Checking fluidsynth version"
                BEST_FLUID=$(best_version "media-sound/fluidsynth")
                if has_version =${BEST_FLUID}; then
                        eend 0
                        einfo ${BEST_FLUID} found
                else
                        eend 1
                        die "Please upgrade to " ${BEST_FLUID}
                fi

                FLUID_P=`echo ${BEST_FLUID}|sed \
                "s/media-sound\/\(.*\)/\1/"`
                FLUID_DISTFILE=${FLUID_P}.tar.gz
        fi
}

src_unpack() {
        if use fluidsynth; then
                if [ ! -f ${DISTDIR}/${FLUID_DISTFILE} ]; then
                        einfo "Please download "${FLUID_DISTFILE} "to" 
${DISTDIR}
                        einfo "# emerge -f fluidsynth"
                        die "Fluidsynth sources required with USE fluidsynth"
                fi
                einfo "WARNING:" ${FLUID_DISTFILE} "integrity (md5) not checked"
                unpack ${FLUID_DISTFILE}
                FLUID=${WORKDIR}/${FLUID_P}
        fi
        unpack ${A}
}

src_compile() {
#       dssi (0.9) does not provide a configure script
        if use fluidsynth; then
                einfo "Building against fluidsynth sources in" ${FLUID} 
                einfo "You must have the same version of fluidsynth library 
installed"
                export FLUID
        fi
        emake || die "emake failed"
}

src_install() {
        if use fluidsynth; then
                export FLUID
        fi
                                                
        make PREFIX="${D}/usr" install || die
        
        dodoc README doc/TODO doc/midi-controllers.txt doc/RFC.txt 
doc/why-use.txt
        dohtml doc/RFC.html doc/why-use.html
        if use fluidsynth; then
                docinto fluidsynth-dssi
                dodoc fluidsynth-dssi/ChangeLog fluidsynth-dssi/README 
fluidsynth-dssi/TODO
        fi
}

Reply via email to