# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Paraphrasing description from README DESCRIPTION="A graphical music notation program with gtk+" HOMEPAGE="http://sourceforge.net/projects/denemo/" SRC_URI="mirror://sourceforge/${PN}/${PF}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="gtk2 debug alsa" RDEPEND="gtk2? ( >=x11-libs/gtk+-2.0.3 ) ( || ( >=x11-libs/gtk+-1.2 ) ) >=dev-libs/libxml2-2.0.0 alsa? ( >=media-libs/alsa-lib-0.9 virtual/alsa )" DEPEND="dev-util/pkgconfig dev-util/intltool ${RDEPEND}" # Not technically an exclusive requirement, but AFAIK denemo doesn't work # with anything else as of this writing; commented out for now #PDEPEND="media-sound/lilypond" src_compile() { # NIFF isn't in portage, so only build analysis plugin econf \ `use_enable gtk2` `use_enable debug` `use_enable alsa` \ --with-plugins=analysis \ || die emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc ABOUT-NLS AUTHORS COPYING ChangeLog DESIGN DESIGN.lilypond GOALS \ INSTALL NEWS README README.lilypond TODO }