# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit flag-o-matic MY_P=${P/_} DESCRIPTION="GTK+ graphical music notation editor" HOMEPAGE="http://denemo.sourceforge.net/" SRC_URI="mirror://sourceforge/denemo/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~sparc ~amd64 ~ppc" IUSE="" RDEPEND=">=x11-libs/gtk+-2.0.3 >=dev-libs/libxml2-2.0.0 >=media-sound/lilypond-2.6" DEPEND="${RDEPEND} || ( sys-devel/bison dev-util/yacc ) sys-devel/flex sys-devel/gettext" S="${WORKDIR}/${MY_P}" src_compile() { local myconf append-flags -fpermissive myconf="${myconf} --enable-gtk2" # needs '=yes' use alsa && myconf="${myconf} --enable-alsa=yes" econf ${myconf} || die emake || die } src_install() { make DESTDIR="${D}" install || die dodoc ABOUT-NLS AUTHORS ChangeLog DESIGN* GOALS NEWS README* }