# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils inherit wxwidgets DESCRIPTION="Wired aims to be a professional music production and creation software running on the Linux operating system." HOMEPAGE="http://bloodshed.net/wired/?sid=1" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL2" SLOT="0" KEYWORDS="~x86" IUSE="pic static" S=${WORKDIR}/${PN} DEPEND="media-libs/alsa-lib media-libs/libsndfile >=x11-libs/gtk+-2.0.0 >=x11-libs/wxGTK-2.6.0 =media-libs/portaudio-19 =media-libs/libsoundtouch-1.2.1" src_compile() { WX_GTK_VER=2.6 if need-wxwidgets gtk2 && wx-config-2.6 --version | grep 2.6 then econf $(use_with pic) \ $(use_enable static) || die "configure failed" emake || die "make failed" else die "You need to emerge >=x11-libs/xwGTK-2.6.0 with USE=\"gtk2 -unicode\"" fi } src_install() { einstall || die "make failed" dodoc AUTHORS ChangeLog README }